コード例 #1
0
		public void FillPackage(PacketBase packet, byte code)
		{
			PacketObject = packet;
			Code = code;
		}
コード例 #2
0
        //Unity really hates Internal. Unity I hate you.
        //TODO: Implementation encryption functionality
#if !UNITYDEBUG && !UNITYRELEASE
        internal virtual Packet.SendResult SendMessage(Packet.OperationType type, PacketBase packet, byte packetCode, Packet.DeliveryMethod deliveryMethod, int channel = 0, byte encrypt = EncryptionBase.NoEncryptionByte, bool isInternal = false)