Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/system/LocalTurnManager.h
Show All 25 Lines | |||||
class CLocalTurnManager : public CTurnManager | class CLocalTurnManager : public CTurnManager | ||||
{ | { | ||||
public: | public: | ||||
CLocalTurnManager(CSimulation2& simulation, IReplayLogger& replay); | CLocalTurnManager(CSimulation2& simulation, IReplayLogger& replay); | ||||
void OnSimulationMessage(CSimulationMessage* msg) override; | void OnSimulationMessage(CSimulationMessage* msg) override; | ||||
void PostCommand(JS::HandleValue data) override; | void PostCommand(JS::HandleValue data) override; | ||||
void PostCommand(player_id_t playerid, JS::HandleValue data); | |||||
Stan: player_id_t ? | |||||
protected: | protected: | ||||
void NotifyFinishedOwnCommands(u32 turn) override; | void NotifyFinishedOwnCommands(u32 turn) override; | ||||
virtual void NotifyFinishedUpdate(u32 turn) override; | virtual void NotifyFinishedUpdate(u32 turn) override; | ||||
}; | }; | ||||
#endif // INCLUDED_LOCALTURNMANAGER | #endif // INCLUDED_LOCALTURNMANAGER |
Wildfire Games · Phabricator
player_id_t ?