The following code
[Host]
public partial class StateManager : Node, ICombatState
{
//[Provide(ExposedTypes = [typeof(ICombatState)])]
[Provide]
public ICombatState Self => this;
public override partial void _Notification(int what);
}
is giving me the following error: GDI_M060: [Provide] member 'Self' has exposed type 'ICombatState', but type 'ICombatState' does not implement it. The error is the same regardless which version of the attribute used.
The following code
is giving me the following error:
GDI_M060: [Provide] member 'Self' has exposed type 'ICombatState', but type 'ICombatState' does not implement it. The error is the same regardless which version of the attribute used.