C# Class Fun.FunapiMessage

Show file Open project: iFunFactory/demo-kgc-2015 Class Usage Examples

Public Properties

Property Type Description
buffer ArraySegment
enc_type EncryptionType
message object
msg_type string
protocol TransportProtocol
reply_timeout float
reply_type string
timeout_callback TimeoutEventHandler

Public Methods

Method Description
FunapiMessage ( TransportProtocol protocol, string msg_type, object message, EncryptionType enc = EncryptionType.kDefaultEncryption ) : UnityEngine
SetReply ( string reply_type, float reply_timeout, TimeoutEventHandler callback ) : void

Method Details

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

SetReply() public method

public SetReply ( string reply_type, float reply_timeout, TimeoutEventHandler callback ) : void
reply_type string
reply_timeout float
callback TimeoutEventHandler
return void

Property Details

buffer public property

public ArraySegment buffer
return ArraySegment

enc_type public property

public EncryptionType enc_type
return EncryptionType

message public property

public object message
return object

msg_type public property

public string msg_type
return string

protocol public property

public TransportProtocol protocol
return TransportProtocol

reply_timeout public property

public float reply_timeout
return float

reply_type public property

public string reply_type
return string

timeout_callback public property

public TimeoutEventHandler timeout_callback
return TimeoutEventHandler