public static PhotonServerPacket CreatePacket(PhotonCode code = PhotonCode.OperationResponse)
        {
            var packet = new PhotonServerPacket();

            packet.Write((byte)code);
            return(packet);
        }
Esempio n. 2
0
        public static PhotonClientPacket CreatePacket(PhotonCode code = PhotonCode.OperationRequest)
        {
            var packet = new PhotonClientPacket();

            packet.Write((byte)code);
            return(packet);
        }