コード例 #1
0
    public void SendLogout(WebRequestLogout request)
    {
        WebPacketQueue webPacket = new WebPacketQueue(request);

        webPacket.AddField("order", "login");
        webPacket.AddField("name", "logout");
        webPacket.AddField("pid", request.Pid);

        Send(webPacket);
    }
コード例 #2
0
    public override void Exit()
    {
        string           pid     = GameManager.Instance.MyPlayer.pid;
        WebRequestLogout request = new WebRequestLogout(pid, null);

        NetworkManager.Web.SendLogout(request);

        FlowManager.Instance.BackToFlow();

        base.Exit();
    }