2022-02-28 04:57:30 +08:00
|
|
|
#pragma warning disable CS0169
|
2021-12-29 06:25:16 +08:00
|
|
|
|
2021-12-29 06:25:16 +08:00
|
|
|
namespace Godot.SourceGenerators.Sample
|
|
|
|
{
|
2021-12-29 06:25:16 +08:00
|
|
|
public partial class ScriptBoilerplate : Node
|
2021-12-29 06:25:16 +08:00
|
|
|
{
|
|
|
|
private NodePath _nodePath;
|
|
|
|
private int _velocity;
|
|
|
|
|
2022-09-01 06:40:59 +08:00
|
|
|
public override void _Process(double delta)
|
2021-12-29 06:25:16 +08:00
|
|
|
{
|
|
|
|
_ = delta;
|
|
|
|
|
|
|
|
base._Process(delta);
|
|
|
|
}
|
|
|
|
|
|
|
|
public int Bazz(StringName name)
|
|
|
|
{
|
|
|
|
_ = name;
|
|
|
|
return 1;
|
|
|
|
}
|
2021-12-29 06:25:16 +08:00
|
|
|
|
|
|
|
public void IgnoreThisMethodWithByRefParams(ref int a)
|
|
|
|
{
|
|
|
|
_ = a;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
partial struct OuterClass
|
|
|
|
{
|
|
|
|
public partial class NesterClass : RefCounted
|
|
|
|
{
|
2022-07-28 23:41:49 +08:00
|
|
|
public override Variant _Get(StringName property) => default;
|
2021-12-29 06:25:16 +08:00
|
|
|
}
|
2021-12-29 06:25:16 +08:00
|
|
|
}
|
|
|
|
}
|