Merge branch 'outpost_refactoring'

feature/prepare-cross-merge
Nuno 4 years ago committed by kaetemi
parent 73fc8e09ef
commit ca543ce9b6
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -415,6 +415,19 @@ private:
public: //for commands
/// changes the state of the outpost
void setState(OUTPOSTENUMS::TOutpostState state);
/// update timers for client
/// the updated values are accessible with the following methods:
/// computeStateEndDateTickForClient()
/// computeRoundEndDateTickForClient()
void updateTimersForClient();
/// ask an update in the guild database for this outpost
void askGuildDBUpdate(COutpostGuildDBUpdater::TDBPropSet dbPropSet) const;
/// ask an update of the outpost database
void askOutpostDBUpdate();
private:
/// get an attack/defense squad from slot
@ -435,18 +448,6 @@ private:
/// \return false if index cannot be converted
bool convertSpawnZoneIndex(uint32 spawnZoneIndex, TAIAlias & spawnZoneAlias) const;
/// ask an update in the guild database for this outpost
void askGuildDBUpdate(COutpostGuildDBUpdater::TDBPropSet dbPropSet) const;
/// ask an update of the outpost database
void askOutpostDBUpdate();
/// update timers for client
/// the updated values are accessible with the following methods:
/// computeStateEndDateTickForClient()
/// computeRoundEndDateTickForClient()
void updateTimersForClient();
std::string getBroadcastString(TBroadcastMessage message) const;
void broadcastMessageMsg(std::vector<TDataSetRow> const& audience, std::string const& message, TVectorParamCheck const& params=TVectorParamCheck()) const;
void broadcastMessagePopup(std::vector<TDataSetRow> const& audience, std::string const& message, TVectorParamCheck const& params=TVectorParamCheck(), TVectorParamCheck const& paramsTitle=TVectorParamCheck()) const;

Loading…
Cancel
Save