Skip to content

Clean up WantEvent syntax #4

@visceralfield

Description

@visceralfield

from books: WantEvents are a little fucky when decompiled; all u really need is:

public override bool WantEvent(int ID, int Propagation)
{
  return base.WantEvent(ID, Propagation)
    || ID == EnterElementEvent.ID
    || ID == LeaveElementEvent.ID;
}

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