C# Class Fun.FunapiChatClient

Afficher le fichier Open project: iFunFactory/demo-kgc-2015 Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
OnMulticastingReceived ( string chat_channel, object data ) : void

Method Details

FunapiChatClient() public méthode

public FunapiChatClient ( FunapiNetwork network, FunEncoding encoding ) : UnityEngine
network FunapiNetwork
encoding FunEncoding
Résultat UnityEngine

InChannel() public méthode

public InChannel ( string chat_channel ) : bool
chat_channel string
Résultat bool

JoinChannel() public méthode

public JoinChannel ( string chat_channel, string my_name, OnChannelMessage handler ) : bool
chat_channel string
my_name string
handler OnChannelMessage
Résultat bool

LeaveChannel() public méthode

public LeaveChannel ( string chat_channel ) : bool
chat_channel string
Résultat bool

SendText() public méthode

public SendText ( string chat_channel, string text ) : bool
chat_channel string
text string
Résultat bool