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