void OnCompRemovedFromEnt(object o, ComponentEventArgs args) { EntChanged?.Invoke(o, new ChangeEventArgs(args.id, args.compName, false)); }
protected virtual void OnEntChanged(EntityChangedArgs e) { EntChanged?.Invoke(this, e); }
void OnCompAddedToEnt(object o, ComponentEventArgs args) { EntChanged?.Invoke(o, new ChangeEventArgs(args.id, args.compName, true)); }