public PassiveProcessFunction(PassiveProcessHook <TEvent, TDomain, TDataStore> processHook) { _processHook = processHook; }
public PurePassiveProcessFunction(PassiveProcessHook <TEvent, TDomain> processFunc) { _processFunc = processFunc; }
public PassiveHooker(PassiveProcessHook <TEvent, TDomain, TDataStore> processHook) { _processHook = processHook; }
public void Register <TEvent>(PassiveProcessHook <TEvent, TDomain> processFunc) where TEvent : IBattleEvent <TDomain> { Functions.Add(new PurePassiveHooker <TEvent, TDomain>(processFunc)); }
public void Register <TEvent>(PassiveProcessHook <TEvent, TDomain, TDataStore> processFunc) where TEvent : IBattleEvent <TDomain> { Functions.Add(new PassiveProcessFunction <TEvent, TDomain, TDataStore>(processFunc)); }