Inheritance: global::ProtoBuf.IExtensible
示例#1
0
        public void RequireSelectServer(int nServerID)
        {
            NFMsg.ReqSelectServer xData = new NFMsg.ReqSelectServer();
            xData.world_id = nServerID;

            mxBody.SetLength(0);
            mxSerializer.Serialize(mxBody, xData);

            SendMsg(new NFrame.NFGUID(), NFMsg.EGameMsgID.EGMI_REQ_SELECT_SERVER, mxBody);
        }
示例#2
0
        public void RequireSelectServer(int nServerID)
        {
            NFMsg.ReqSelectServer xData = new NFMsg.ReqSelectServer();
            xData.world_id = nServerID;
            mServerID      = nServerID;
            MemoryStream stream = new MemoryStream();

            xData.WriteTo(stream);

            mNetModule.SendToServerByPB(NFMsg.EGameMsgID.EGMI_REQ_SELECT_SERVER, stream);
        }
    public void RequireSelectServer(int nServerID)
    {
        NFMsg.ReqSelectServer xData = new NFMsg.ReqSelectServer();
        xData.world_id = nServerID;

        MemoryStream stream = new MemoryStream();

        Serializer.Serialize <NFMsg.ReqSelectServer>(stream, xData);

        SendMsg(new NFrame.NFGUID(), NFMsg.EGameMsgID.EGMI_REQ_SELECT_SERVER, stream);
    }
示例#4
0
        public void RequireSelectServer(int nServerID)
        {
            NFMsg.ReqSelectServer xData = new NFMsg.ReqSelectServer();
            xData.world_id = nServerID;
            mServerID      = nServerID;

            mxBody.SetLength(0);
            xData.WriteTo(mxBody);

            mNetModule.SendMsg(NFMsg.EGameMsgID.EGMI_REQ_SELECT_SERVER, mxBody);
        }
示例#5
0
        public void RequireSelectServer(int nServerID)
        {
            NFMsg.ReqSelectServer xData = new NFMsg.ReqSelectServer();
            xData.WorldId = nServerID;
            mServerID     = nServerID;

            mxBody.SetLength(0);
            xData.WriteTo(mxBody);

            mNetModule.SendMsg((int)NFMsg.EGameMsgID.ReqSelectServer, mxBody);
        }
示例#6
0
        public void RequireSelectServer(int nServerID)
        {
            NFMsg.ReqSelectServer xData = new NFMsg.ReqSelectServer();
            xData.world_id = nServerID;
            mServerID      = nServerID;
            MemoryStream stream = new MemoryStream();

            Serializer.Serialize <NFMsg.ReqSelectServer>(stream, xData);

            NFCNetLogic.Instance().SendToServerByPB(NFMsg.EGameMsgID.EGMI_REQ_SELECT_SERVER, stream);
        }
    public void RequireSelectServer(int nServerID)
    {
        NFMsg.ReqSelectServer xData = new NFMsg.ReqSelectServer();
        xData.world_id = nServerID;

        MemoryStream stream = new MemoryStream();
        Serializer.Serialize<NFMsg.ReqSelectServer>(stream, xData);

        SendMsg(new NFCoreEx.NFIDENTID(), NFMsg.EGameMsgID.EGMI_REQ_SELECT_SERVER, stream);
    }