Fun.FunapiMessage.FunapiMessage C# (CSharp) Method

FunapiMessage() public method

public FunapiMessage ( TransportProtocol protocol, string msg_type, object message, EncryptionType enc = EncryptionType.kDefaultEncryption ) : UnityEngine
protocol TransportProtocol
msg_type string
message object
enc EncryptionType
return UnityEngine
        public FunapiMessage(TransportProtocol protocol, string msg_type, object message,
                              EncryptionType enc = EncryptionType.kDefaultEncryption)
        {
            this.protocol = protocol;
            this.enc_type = enc;
            this.msg_type = msg_type;
            this.message = message;
        }