summaryrefslogtreecommitdiffstats
path: root/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests/TestData/Sources/ScriptBoilerplate.cs
blob: 5506465b92e398ba4945491fc8490cc4f7d2de3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using Godot;

public partial class ScriptBoilerplate : Node
{
    private NodePath _nodePath;
    private int _velocity;

    public override void _Process(double delta)
    {
        _ = delta;

        base._Process(delta);
    }

    public int Bazz(StringName name)
    {
        _ = name;
        return 1;
    }

    public void IgnoreThisMethodWithByRefParams(ref int a)
    {
        _ = a;
    }
}

partial struct OuterClass
{
    public partial class NestedClass : RefCounted
    {
        public override Variant _Get(StringName property) => default;
    }
}