示例#1
0
		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);
		}
示例#2
0
		public static void initFighterRecord(BattleFighter fighter, SingleFighterRecord record)
		{
			record.Index = fighter.Index;
			record.Side = fighter.Side;
		}
示例#3
0
		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);
			}
		}
示例#4
0
		public virtual void updateStateRecord(SingleFighterRecord record)
		{
			stateManager.updateStateRecord(record);
		}