public void Read(UruStream s) { fTransID = s.ReadUInt(); fAgeMcpID = s.ReadUInt(); fAcctUuid = new Guid(s.ReadBytes(16)); fPlayerID = s.ReadUInt(); }
public void Read(UruStream s) { fType = (EConnType)s.ReadByte(); fSockHeaderSize = s.ReadUShort(); fBuildID = s.ReadUInt(); fBuildType = (NetCliBuildType)s.ReadUInt(); fBranchID = s.ReadUInt(); fProductID = new Guid(s.ReadBytes(16)); }
public void Read(UruStream s) { fMsgType = s.ReadUInt(); fBuffer = s.ReadBytes(s.ReadInt()); }
public void Read(UruStream s) { fTransID = s.ReadUInt(); fNodeID = s.ReadUInt(); fRevisionID = new Guid(s.ReadBytes(16)); fNodeData = s.ReadBytes(s.ReadInt()); }
public void Read(UruStream s) { fPingTime = s.ReadUInt(); fTransID = s.ReadUInt(); fPayload = s.ReadBytes(s.ReadInt()); }
public void Read(UruStream s) { fNodeID = s.ReadUInt(); fRevisionUuid = new Guid(s.ReadBytes(16)); }
public void Read(UruStream s) { fTransID = s.ReadUInt(); fNodeData = s.ReadBytes(s.ReadInt()); }
public void Read(UruStream s) { fTransID = s.ReadUInt(); fAgeName = s.ReadUnicodeStringV16(40); fAgeInstanceUuid = new Guid(s.ReadBytes(16)); }
public void Read(UruStream s) { fTransID = s.ReadUInt(); fAcctUUID = new Guid(s.ReadBytes(16)); fName = s.ReadUnicodeStringV16(40); fModel = s.ReadUnicodeStringV16(64); fInvite = s.ReadUnicodeStringV16(260); }
public string fUserName; //Len 260 #endregion Fields #region Methods public void Read(UruStream s) { fTransID = s.ReadUInt(); fAgeUUID = new Guid(s.ReadBytes(16)); fParentUUID = new Guid(s.ReadBytes(16)); fFilename = s.ReadUnicodeStringV16(260); fInstanceName = s.ReadUnicodeStringV16(260); fUserName = s.ReadUnicodeStringV16(260); fDescription = s.ReadUnicodeStringV16(1024); fSequenceNumber = s.ReadInt(); fLanguage = s.ReadInt(); fCreatorID = s.ReadUInt(); }
protected virtual bool NetCliConnect(int g) { UruStream s = new UruStream(new NetworkStream(fSocket, false)); //NetCliConnect ISetupKeys(g); s.BufferWriter(); s.WriteByte((byte)NetCliConnectMsg.kNetCliConnect); s.WriteByte(66); s.WriteBytes(fDhData); s.FlushWriter(); //Recv NetCliEncrypt if (s.ReadByte() != (byte)NetCliConnectMsg.kNetCliEncrypt) { fSocket.Close(); return false; } byte[] seed = s.ReadBytes((int)(s.ReadByte() - 2)); ISetupEncryption(seed); s.Close(); return true; }
public void Read(UruStream s) { fTransID = s.ReadUInt(); fResult = (ENetError)s.ReadInt(); fAgeMcpID = s.ReadUInt(); fAgeInstanceUuid = new Guid(s.ReadBytes(16)); fAgeVaultID = s.ReadUInt(); byte[] game = s.ReadBytes(4); Array.Reverse(game); fGameServerIP = new IPAddress(game); }
public void Read(UruStream s) { fAddr = s.ReadInt(); fToken = new Guid(s.ReadBytes(16)); }
public void Read(UruStream s) { fTransID = s.ReadUInt(); fResult = (ENetError)s.ReadInt(); fAcctGuid = new Guid(s.ReadBytes(16)); fFlags = s.ReadUInt(); fBillingType = s.ReadUInt(); fDroidKey = new uint[4]; for (int i = 0; i < fDroidKey.Length; i++) fDroidKey[i] = s.ReadUInt(); }
public void Read(UruStream s) { fTransID = s.ReadUInt(); fResult = (ENetError)s.ReadInt(); fFileSize = s.ReadUInt(); fChunkPos = s.ReadUInt(); fChunkData = s.ReadBytes(s.ReadInt()); }
public void Read(UruStream s) { fInstanceUuid = new Guid(s.ReadBytes(16)); fFilename = s.ReadUnicodeStringF(64); fInstanceName = s.ReadUnicodeStringF(64); fUserName = s.ReadUnicodeStringF(64); fDescription = s.ReadUnicodeStringF(1024); fSequenceNumber = s.ReadUInt(); fLanguage = s.ReadInt(); fPopulation = s.ReadUInt(); fCurrPopulation = s.ReadUInt(); }
public void Read(UruStream s) { fTransID = s.ReadUInt(); fResult = (ENetError)s.ReadInt(); fNodeData = s.ReadBytes(s.ReadInt()); }
public void Read(UruStream s) { ulong bit = 1; Fields f = (Fields)s.ReadULong(); while (bit != 0 && bit <= (ulong)f) { switch (f & (Fields)bit) { case Fields.kBlob_1: fBlob[0] = s.ReadBytes(s.ReadInt()); break; case Fields.kBlob_2: fBlob[1] = s.ReadBytes(s.ReadInt()); break; case Fields.kCreateAgeName: fCreateAgeName = s.ReadUnicodeStringV32(); break; case Fields.kCreateAgeUuid: fCreateAgeUuid = new Guid(s.ReadBytes(16)); break; case Fields.kCreateTime: fCreateTime = ToDateTime(s.ReadUInt()); break; case Fields.kCreatorIdx: fCreatorIdx = s.ReadUInt(); break; case Fields.kCreatorUuid: fCreatorUuid = new Guid(s.ReadBytes(16)); break; case Fields.kInt32_1: fInt32[0] = s.ReadInt(); break; case Fields.kInt32_2: fInt32[1] = s.ReadInt(); break; case Fields.kInt32_3: fInt32[2] = s.ReadInt(); break; case Fields.kInt32_4: fInt32[3] = s.ReadInt(); break; case Fields.kIString64_1: fIString64[0] = s.ReadUnicodeStringV32(); break; case Fields.kIString64_2: fIString64[1] = s.ReadUnicodeStringV32(); break; case Fields.kModifyTime: fModifyTime = ToDateTime(s.ReadUInt()); break; case Fields.kNodeIdx: fIdx = s.ReadUInt(); break; case Fields.kNodeType: fNodeType = (ENodeType)s.ReadUInt(); break; case Fields.kString64_1: fString64[0] = s.ReadUnicodeStringV32(); break; case Fields.kString64_2: fString64[1] = s.ReadUnicodeStringV32(); break; case Fields.kString64_3: fString64[2] = s.ReadUnicodeStringV32(); break; case Fields.kString64_4: fString64[3] = s.ReadUnicodeStringV32(); break; case Fields.kString64_5: fString64[4] = s.ReadUnicodeStringV32(); break; case Fields.kString64_6: fString64[5] = s.ReadUnicodeStringV32(); break; case Fields.kText_1: fText[0] = s.ReadUnicodeStringV32(); break; case Fields.kText_2: fText[0] = s.ReadUnicodeStringV32(); break; case Fields.kUInt32_1: fUInt32[0] = s.ReadUInt(); break; case Fields.kUInt32_2: fUInt32[1] = s.ReadUInt(); break; case Fields.kUInt32_3: fUInt32[2] = s.ReadUInt(); break; case Fields.kUInt32_4: fUInt32[3] = s.ReadUInt(); break; case Fields.kUuid_1: fUuid[0] = new Guid(s.ReadBytes(16)); break; case Fields.kUuid_2: fUuid[1] = new Guid(s.ReadBytes(16)); break; case Fields.kUuid_3: fUuid[2] = new Guid(s.ReadBytes(16)); break; case Fields.kUuid_4: fUuid[3] = new Guid(s.ReadBytes(16)); break; } bit <<= 1; } }