C# Class Fun.FunapiChatClient

Exibir arquivo Open project: iFunFactory/demo-kgc-2015 Class Usage Examples

Public Methods

Method Description
FunapiChatClient ( FunapiNetwork network, FunEncoding encoding ) : UnityEngine
InChannel ( string chat_channel ) : bool
JoinChannel ( string chat_channel, string my_name, OnChannelMessage handler ) : bool
LeaveChannel ( string chat_channel ) : bool
SendText ( string chat_channel, string text ) : bool

Private Methods

Method Description
OnMulticastingReceived ( string chat_channel, object data ) : void

Method Details

FunapiChatClient() public method

public FunapiChatClient ( FunapiNetwork network, FunEncoding encoding ) : UnityEngine
network FunapiNetwork
encoding FunEncoding
return UnityEngine

InChannel() public method

public InChannel ( string chat_channel ) : bool
chat_channel string
return bool

JoinChannel() public method

public JoinChannel ( string chat_channel, string my_name, OnChannelMessage handler ) : bool
chat_channel string
my_name string
handler OnChannelMessage
return bool

LeaveChannel() public method

public LeaveChannel ( string chat_channel ) : bool
chat_channel string
return bool

SendText() public method

public SendText ( string chat_channel, string text ) : bool
chat_channel string
text string
return bool