Méthode | Description | |
---|---|---|
FunapiMulticastClient ( |
||
InChannel ( string channel_id ) : bool | ||
JoinChannel ( string channel_id, ChannelReceiveHandler handler ) : bool | ||
LeaveChannel ( string channel_id ) : bool | ||
SendToChannel ( FunMulticastMessage mcast_msg ) : bool |
The sender must fill in the mcast_msg. The "channel_id" field is mandatory. And mcas_msg must have join and leave flags set.
|
|
SendToChannel ( object json_msg ) : bool |
The sender must fill in the mcast_msg. The "channel_id" field is mandatory. And mcas_msg must have join and leave flags set.
|
Méthode | Description | |
---|---|---|
OnReceived ( string msg_type, object body ) : void |
public FunapiMulticastClient ( |
||
network | ||
encoding | FunEncoding | |
Résultat | UnityEngine |
public InChannel ( string channel_id ) : bool | ||
channel_id | string | |
Résultat | bool |
public JoinChannel ( string channel_id, ChannelReceiveHandler handler ) : bool | ||
channel_id | string | |
handler | ChannelReceiveHandler | |
Résultat | bool |
public LeaveChannel ( string channel_id ) : bool | ||
channel_id | string | |
Résultat | bool |
public SendToChannel ( FunMulticastMessage mcast_msg ) : bool | ||
mcast_msg | FunMulticastMessage | |
Résultat | bool |
public SendToChannel ( object json_msg ) : bool | ||
json_msg | object | |
Résultat | bool |