60 {
62 {
63 if (LogManager.IsSyncLogEnable())
syncDebugPrint(
"[syncinv] server sending cmd=SWAP src1=" + InventoryLocation.DumpToStringNullSafe(src1) +
" src2=" + InventoryLocation.DumpToStringNullSafe(src2) +
" dst1=" + InventoryLocation.DumpToStringNullSafe(dst1) +
" dst2=" + InventoryLocation.DumpToStringNullSafe(dst2));
64 ScriptInputUserData ctx = new ScriptInputUserData;
66 GameInventory.ServerLocationSwap(src1, src2, dst1, dst2, ctx);
67 }
68 }
void syncDebugPrint(string s)
proto native CGame GetGame()