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

Function DeltaSyncObject

Source/msg.cpp:725–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

723}
724
725void DeltaSyncObject(WorldTilePosition position, _cmd_id bCmd, const Player &player)
726{
727 if (!gbIsMultiplayer)
728 return;
729
730 auto &objectDeltas = GetDeltaLevel(player).object;
731 objectDeltas[position].bCmd = bCmd;
732}
733
734bool DeltaGetItem(const TCmdGItem &message, uint8_t bLevel)
735{

Callers 2

OnOperateObjectFunction · 0.85
OnBreakObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected