2022-02-27 21:57:30 +01:00
|
|
|
#pragma warning disable CS0169
|
2021-12-28 23:25:16 +01:00
|
|
|
|
2021-12-28 23:25:16 +01:00
|
|
|
namespace Godot.SourceGenerators.Sample
|
|
|
|
{
|
2021-12-28 23:25:16 +01:00
|
|
|
public partial class ScriptBoilerplate : Node
|
2021-12-28 23:25:16 +01:00
|
|
|
{
|
|
|
|
private NodePath _nodePath;
|
|
|
|
private int _velocity;
|
|
|
|
|
|
|
|
public override void _Process(float delta)
|
|
|
|
{
|
|
|
|
_ = delta;
|
|
|
|
|
|
|
|
base._Process(delta);
|
|
|
|
}
|
|
|
|
|
|
|
|
public int Bazz(StringName name)
|
|
|
|
{
|
|
|
|
_ = name;
|
|
|
|
return 1;
|
|
|
|
}
|
2021-12-28 23:25:16 +01:00
|
|
|
|
|
|
|
public void IgnoreThisMethodWithByRefParams(ref int a)
|
|
|
|
{
|
|
|
|
_ = a;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
partial struct OuterClass
|
|
|
|
{
|
|
|
|
public partial class NesterClass : RefCounted
|
|
|
|
{
|
|
|
|
public override object _Get(StringName property) => null;
|
|
|
|
}
|
2021-12-28 23:25:16 +01:00
|
|
|
}
|
|
|
|
}
|