Exemple #1
0
    void Msg_game_PeerConnected(NetworkPeer peer, gamedef.PeerConnected msg)
    {
        var req = new gamedef.VerifyGameREQ();

        req.Token = _verifyToken;
        peer.SendMessage(req);
    }
Exemple #2
0
    void Msg_login_PeerConnected(NetworkPeer peer, gamedef.PeerConnected msg)
    {
        var req = new gamedef.LoginREQ();

        req.ClientVersion = Constant.ClientVersion;
        req.PlatformToken = Account;
        _loginPeer.SendMessage(req);
    }