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;
|
|
|
|
|
2022-09-01 00:40:59 +02:00
|
|
|
public override void _Process(double delta)
|
2021-12-28 23:25:16 +01:00
|
|
|
{
|
|
|
|
_ = 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
|
|
|
|
{
|
2022-07-28 17:41:49 +02:00
|
|
|
public override Variant _Get(StringName property) => default;
|
2021-12-28 23:25:16 +01:00
|
|
|
}
|
2021-12-28 23:25:16 +01:00
|
|
|
}
|
|
|
|
}
|