MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / GetLevelForMultiplayer

Function GetLevelForMultiplayer

Source/msg.cpp:271–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269TCmdLocParam5 lastSentPlayerCmd;
270
271uint8_t GetLevelForMultiplayer(uint8_t level, bool isSetLevel)
272{
273 if (isSetLevel)
274 return level + NUMLEVELS;
275 return level;
276}
277
278/** @brief Gets a delta level. */
279DLevel &GetDeltaLevel(uint8_t level)

Callers 10

msg.cppFile · 0.85
OnGetItemFunction · 0.85
OnAutoGetItemFunction · 0.85
DeltaAddItemFunction · 0.85
DeltaSaveLevelFunction · 0.85
DeltaLoadLevelFunction · 0.85
NetSendCmdGItemFunction · 0.85
SpawnGolemFunction · 0.85
sync_all_monstersFunction · 0.85
OnSyncDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected