Skip to content

GDI_M060 Interface does not implement itself #24

@salmelo

Description

@salmelo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions