public void RequireConnectWorld(int nWorldID) { NFMsg.ReqConnectWorld xData = new NFMsg.ReqConnectWorld(); xData.world_id = nWorldID; mxBody.SetLength(0); mxSerializer.Serialize(mxBody, xData); SendMsg(new NFrame.NFGUID(), NFMsg.EGameMsgID.EGMI_REQ_CONNECT_WORLD, mxBody); }
public void RequireConnectWorld(int nWorldID) { NFMsg.ReqConnectWorld xData = new NFMsg.ReqConnectWorld(); xData.world_id = nWorldID; MemoryStream stream = new MemoryStream(); xData.WriteTo(stream); mNetModule.SendToServerByPB(NFMsg.EGameMsgID.EGMI_REQ_CONNECT_WORLD, stream); }
public void RequireConnectWorld(int nWorldID) { NFMsg.ReqConnectWorld xData = new NFMsg.ReqConnectWorld(); xData.world_id = nWorldID; MemoryStream stream = new MemoryStream(); Serializer.Serialize <NFMsg.ReqConnectWorld>(stream, xData); SendMsg(new NFrame.NFGUID(), NFMsg.EGameMsgID.EGMI_REQ_CONNECT_WORLD, stream); }
public void RequireConnectWorld(int nWorldID) { NFMsg.ReqConnectWorld xData = new NFMsg.ReqConnectWorld(); xData.world_id = nWorldID; MemoryStream stream = new MemoryStream(); Serializer.Serialize <NFMsg.ReqConnectWorld>(stream, xData); NFCNetLogic.Instance().SendToServerByPB(NFMsg.EGameMsgID.EGMI_REQ_CONNECT_WORLD, stream); }
public void RequireConnectWorld(int nWorldID) { NFMsg.ReqConnectWorld xData = new NFMsg.ReqConnectWorld(); xData.world_id = nWorldID; xData.login_id = 0; xData.account = ByteString.CopyFromUtf8(""); xData.sender = new Ident(); mxBody.SetLength(0); xData.WriteTo(mxBody); mNetModule.SendMsg(NFMsg.EGameMsgID.EGMI_REQ_CONNECT_WORLD, mxBody); }
public void RequireConnectWorld(int nWorldID) { NFMsg.ReqConnectWorld xData = new NFMsg.ReqConnectWorld(); xData.WorldId = nWorldID; xData.LoginId = 0; xData.Account = ByteString.CopyFromUtf8(""); xData.Sender = new Ident(); mxBody.SetLength(0); xData.WriteTo(mxBody); mNetModule.SendMsg((int)NFMsg.EGameMsgID.ReqConnectWorld, mxBody); }
public void RequireConnectWorld(int nWorldID) { NFMsg.ReqConnectWorld xData = new NFMsg.ReqConnectWorld(); xData.world_id = nWorldID; MemoryStream stream = new MemoryStream(); Serializer.Serialize<NFMsg.ReqConnectWorld>(stream, xData); SendMsg(new NFCoreEx.NFIDENTID(), NFMsg.EGameMsgID.EGMI_REQ_CONNECT_WORLD, stream); }