Proud::CDisconnectArgs Class Reference

Public Attributes

int64_t m_gracefulDisconnectTimeoutMs
 
uint32_t m_disconnectSleepIntervalMs
 
ByteArray m_comment
 

Detailed Description

TODO:translate needed. This is the factor used in Disconnect()

Member Data Documentation

ByteArray Proud::CDisconnectArgs::m_comment

TODO:translate needed. In the server, you can transmit the client disconnection reason through this.

uint32_t Proud::CDisconnectArgs::m_disconnectSleepIntervalMs

TODO:translate needed. With this, you can adjust the sleep time waiting during disconnection.

int64_t Proud::CDisconnectArgs::m_gracefulDisconnectTimeoutMs

TODO:translate needed. If you exceed this time, Proud.CNetClient.Disconnect() unconditionally returns and the server cannot immediately recognize the disconnection of the client. Unless absolutely necessary, do not change this value.