public virtual void updateStateRecord(SingleFighterRecord record) { record.clearState(); record.addProp(BattleRecordConstants.BATTLE_FIGHTER_STATE_FLAG, FighterStateFlag); BattleRecordHelper.updateStateRecord(record, stateMap, false); BattleRecordHelper.updateStateRecord(record, lastStateMap, true); }
public static void initFighterRecord(BattleFighter fighter, SingleFighterRecord record) { record.Index = fighter.Index; record.Side = fighter.Side; }
public static void updateStateRecord(SingleFighterRecord record, Dictionary<int, BattleFighterState> stateMap, bool removeState) { foreach (BattleFighterState _state in stateMap.Values) { int _round = removeState ? 0 : _state.Round; record.addState(_state.BuffId, _state.ShowId, _state.Index, _round, _state.ParamMap); } }
public virtual void updateStateRecord(SingleFighterRecord record) { stateManager.updateStateRecord(record); }