- ヘルプセンター
- Diarkis C# SDK
- UDP Client
UDP クライアントイベント - OnDisconnect
このイベントは、クライアントが Diarkis サーバクラスターから正常に切断されたときに発生します。
udp.OnDisconnect += OnUdpDisconnect;
private void OnUdpDisconnect(bool reconnecting)
{
// bool reconnecting is set to true only when the client re-establishes a connection
}