void Msg_game_PeerConnected(NetworkPeer peer, gamedef.PeerConnected msg) { var req = new gamedef.VerifyGameREQ(); req.Token = _verifyToken; peer.SendMessage(req); }
void Msg_login_PeerConnected(NetworkPeer peer, gamedef.PeerConnected msg) { var req = new gamedef.LoginREQ(); req.ClientVersion = Constant.ClientVersion; req.PlatformToken = Account; _loginPeer.SendMessage(req); }