public RoleStateChangeGameEvent Fill(Entity owner, SpecialStateType specialStateType, bool value) { Owner = owner; SpecialStateType = specialStateType; Value = value; return(this); }
public bool Get(SpecialStateType st) { return(StateDic[(int)st]); }
public void Set(SpecialStateType st, bool value) { StateDic[(int)st] = value; GameEntry.Event.CommonEvent.Dispatch(this, GameEntry.Pool.SpawnClassObject <RoleStateChangeGameEvent>().Fill(Owner, st, value)); }
public void Set(SpecialStateType st, bool value) { StateDic[(int)st] = value; Game.EventSystem.Run(EventIdType.CharacterStateUpdate, st, value); }