Exemplo n.º 1
0
        public override void SendClientChanges(ModPlayer clientPlayer)
        {
            OraclePlayer clone = clientPlayer as OraclePlayer;

            if (clone.playerHasGottenBag != playerHasGottenBag)
            {
                var packet = mod.GetPacket();
                packet.Write((byte)CalValEX.MessageType.PlayerBagChanged);
                packet.Write((byte)player.whoAmI);
                packet.Write(playerHasGottenBag);
                packet.Send();
            }
        }
Exemplo n.º 2
0
        public override void clientClone(ModPlayer clientClone)
        {
            OraclePlayer clone = clientClone as OraclePlayer;

            clone.playerHasGottenBag = playerHasGottenBag;
        }