using Godot; using Godot.NativeInterop; partial struct OuterClass { partial class NestedClass { #pragma warning disable CS0109 // Disable warning about redundant 'new' keyword /// /// Cached StringNames for the methods contained in this class, for fast lookup. /// public new class MethodName : global::Godot.RefCounted.MethodName { /// /// Cached name for the '_Get' method. /// public new static readonly global::Godot.StringName @_Get = "_Get"; } /// /// Get the method information for all the methods declared in this class. /// This method is used by Redot to register the available methods in the editor. /// Do not call this method. /// [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] internal new static global::System.Collections.Generic.List GetGodotMethodList() { var methods = new global::System.Collections.Generic.List(1); methods.Add(new(name: MethodName.@_Get, returnVal: new(type: (global::Godot.Variant.Type)0, name: "", hint: (global::Godot.PropertyHint)0, hintString: "", usage: (global::Godot.PropertyUsageFlags)131078, exported: false), flags: (global::Godot.MethodFlags)1, arguments: new() { new(type: (global::Godot.Variant.Type)21, name: "property", hint: (global::Godot.PropertyHint)0, hintString: "", usage: (global::Godot.PropertyUsageFlags)6, exported: false), }, defaultArguments: null)); return methods; } #pragma warning restore CS0109 /// [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] protected override bool InvokeGodotClassMethod(in godot_string_name method, NativeVariantPtrArgs args, out godot_variant ret) { if (method == MethodName.@_Get && args.Count == 1) { var callRet = @_Get(global::Godot.NativeInterop.VariantUtils.ConvertTo(args[0])); ret = global::Godot.NativeInterop.VariantUtils.CreateFrom(callRet); return true; } return base.InvokeGodotClassMethod(method, args, out ret); } /// [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] protected override bool HasGodotClassMethod(in godot_string_name method) { if (method == MethodName.@_Get) { return true; } return base.HasGodotClassMethod(method); } } }