public void FillPackage(PacketBase packet, byte code) { PacketObject = packet; Code = code; }
//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)