9 src.WriteToContext(ctx);
10 dst.WriteToContext(ctx);
19 SerializeMove(ctx, type, src, dst);
30 SerializeMove(ctx, type, src, dst);
31 GameInventory.ServerLocationSyncMoveEntity(player, src.GetItem(), ctx);
41 src1.WriteToContext(ctx);
42 src2.WriteToContext(ctx);
43 dst1.WriteToContext(ctx);
44 dst2.WriteToContext(ctx);
45 ctx.Write(skippedSwap);
54 SerializeSwap(ctx, src1, src2, dst1, dst2, skippedSwap);
65 SerializeSwap(ctx, src1, src2, dst1, dst2, skippedSwap);
66 GameInventory.ServerLocationSwap(src1, src2, dst1, dst2, ctx);
76 e.WriteToContext(ctx);
85 SerializeHandEvent(ctx, e);
90 static void SendServerHandEventViaInventoryCommand(notnull Man player,
HandEventBase e)
95 if (e.IsServerSideOnly())
96 Error(
"[syncinv] SendServerHandEvent - called on server side event only, e=" + e.DumpToString());
98 Error(
"[syncinv] SendServerHandEvent - called on living thing.. server hand command is only for dead people, e=" + e.DumpToString());
99 if (
LogManager.IsSyncLogEnable())
syncDebugPrint(
"[syncinv] SendServerHandEventViaInventoryCommand SendInputUserDataHandEvent e=" + e.DumpToString());
101 SerializeHandEvent(ctx, e);
102 GameInventory.ServerHandEvent(player, e.GetSrcEntity(), ctx);
111 src.WriteToContext(ctx);
120 SerializeDestroy(ctx, src);