public PassiveProcessFunction(PassiveProcessHook <TEvent, TDomain, TDataStore> processHook)
 {
     _processHook = processHook;
 }
示例#2
0
 public PurePassiveProcessFunction(PassiveProcessHook <TEvent, TDomain> processFunc)
 {
     _processFunc = processFunc;
 }
示例#3
0
 public PassiveHooker(PassiveProcessHook <TEvent, TDomain, TDataStore> processHook)
 {
     _processHook = processHook;
 }
示例#4
0
 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));
 }