ET framework---SessionComponent study notes

SessionComponent

Please follow me on Weibo: @NormanLin_BadPixel Bad Pixel


This is a very simple component. When the client establishes a connection with the Gate server, it will be added after the login is successful, and the session between the client and the Gate server will be saved, and then all requests will be sent through this connection.

The client can then send messages in the following ways.

SessionComponent.Instance.Session.Send((IMessage)具体消息);

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325815517&siteId=291194637