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); }
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); }
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); }
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); }
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); }