C# Class Fun.FunapiMessage

Datei anzeigen 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_oe property

public ArraySegment buffer
return ArraySegment

enc_type public_oe property

public EncryptionType enc_type
return EncryptionType

message public_oe property

public object message
return object

msg_type public_oe property

public string msg_type
return string

protocol public_oe property

public TransportProtocol protocol
return TransportProtocol

reply_timeout public_oe property

public float reply_timeout
return float

reply_type public_oe property

public string reply_type
return string

timeout_callback public_oe property

public TimeoutEventHandler timeout_callback
return TimeoutEventHandler