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.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.WorldId = nServerID; mServerID = nServerID; mxBody.SetLength(0); xData.WriteTo(mxBody); mNetModule.SendMsg((int)NFMsg.EGameMsgID.ReqSelectServer, mxBody); }