public _0x80LoginRequest(UOStream data) : base(data) { AccountName = Data.ReadString(30).Replace("\0", ""); Password = Data.ReadString(30).Replace("\0",""); Key = Data.ReadBit(); }
public _0x5BTime(UOStream Data) : base(Data) { this.Hour = Data.ReadBit(); this.Minute = Data.ReadBit(); this.Second = Data.ReadBit(); }
public _0x88OpenPaperDoll(UOStream Data) : base(Data) { this.Serial = Data.ReadInt(); this.Text = Data.ReadString(60); this.Flags = Data.ReadBit(); }
public _0x02MoveRequest(UOStream data) : base(data) { this.Direction = Data.ReadBit(); this.SequenceNumber = Data.ReadBit(); this.FastWalkPreventionKey = Data.ReadInt(); }
public _0xA9CharStartingLocation(UOStream Data) : base(Data) { _length = Data.ReadShort(); NumberOfChars = Data.ReadBit(); for (int i = 0; i < NumberOfChars; i++) { Characters.Add((byte)(i+1),Data.ReadString(30)); } NumberStartingCities = Data.ReadBit(); for (int i = 0; i < NumberStartingCities; i++) { byte Index = Data.ReadBit(); string CityName = Data.ReadString(32); string AreaName = Data.ReadString(32); int X = Data.ReadInt(); int Y = Data.ReadInt(); int Z = Data.ReadInt(); int MapID = Data.ReadInt(); int cliloc = Data.ReadInt(); int zero = Data.ReadInt(); } if (Data.Position < _length) { Data.Position = _length; } }
public _0xBDClientVersion(UOStream Data) : base(Data) { _length = Data.ReadShort(); if(_length > 3) Version = Data.ReadString(_length - 3); }
public _0x78DrawObject(UOStream Data) : base(Data) { this.Data = Data; this.Serial = Data.ReadInt(); this.GraphicID = Data.ReadShort(); this.X = Data.ReadShort(); this.Y = Data.ReadShort(); this.Z = Data.ReadBit(); this.Direction = Data.ReadBit(); this.Hue = Data.ReadShort(); this.Flags = Data.ReadBit(); this.Notoriety = Data.ReadBit(); int serial; while ((serial = Data.ReadInt()) != 0) { short graphicID = Data.ReadShort(); byte layer = Data.ReadBit(); if ((graphicID & 0x8000) == graphicID) { short hue = Data.ReadShort(); } } }
public _0xB1GumpMenuSelection(UOStream Data) : base(Data) { length = Data.ReadShort(); GumpID = Data.ReadInt(); GumpType = Data.ReadInt(); ButtonID = Data.ReadInt(); SwitchCount = Data.ReadInt(); if (SwitchCount > 0) { for (int i = 0; i <= SwitchCount; i++) { SwitchID.Add(Data.ReadInt()); } } TextCount = Data.ReadInt(); if (TextCount > 0) { for (int i = 0; i <= TextCount; i++) { TextID.Add(Data.ReadShort()); TextLength.Add(Data.ReadShort()); UnicodeText.Add(Data.ReadString(TextLength[i] * 2)); } } }
public _0x34GetPlayerStatus(UOStream data) : base(data) { unknown = Data.ReadInt(); Type = Data.ReadBit(); Serial = Data.ReadInt(); }
public _0x91GameServerLogin(UOStream data) : base(data) { Key = Data.ReadInt(); AccountName = Data.ReadString(30); Password = Data.ReadString(30); }
public _0x12RequestSkillUse(UOStream data) : base(data) { _length = Data.ReadShort(); Type = Data.ReadBit(); MacroedEvent = Data.ReadString((int)(Data.Length - Data.Position)); }
//public List<string> TextToAdd = new List<string>(); public _0xD6MegaCliloc(UOStream Data) : base(Data) { length = Data.ReadShort(); unknown1 = Data.ReadShort(); if (unknown1 != 0x0001) { this.Data.Position -= 2; for (int i = 0; i < length - 3 / 4; i++) RequestedItems.Add(Data.ReadInt()); return; } Serial = Data.ReadInt(); unknown2 = Data.ReadShort(); OwnerID = Data.ReadInt(); List<string> Cliocs = new List<string>(); while(Data.Position + 6 <= Data.Length) { int MessageNumber = Data.ReadInt(); short textlen = Data.ReadShort(); if(textlen > 0) { string _args = Data.ReadString(textlen); Cliocs.Add(Helpers.Cliloc.constructCliLoc(Helpers.Cliloc.Table[MessageNumber].ToString(), _args)); } Cliocs.Add(Helpers.Cliloc.Table[MessageNumber].ToString()); } Data.Position += 4; //TODO FINISH THIS }
public _0xDEUpdateMobileStatus(UOStream Data) : base(Data) { _len = Data.ReadShort(); Serial = Data.ReadInt(); Status = Data.ReadBit(); if (Status == 1) AttackerSerial = Data.ReadInt(); }
public _0x21CharMoveRejection(UOStream Data) : base(Data) { this.Seq = Data.ReadBit(); this.X = Data.ReadShort(); this.Y = Data.ReadShort(); this.Direction = Data.ReadBit(); this.Z = Data.ReadBit(); }
public _0xEFClientLoginSeed(UOStream data) : base(data) { Seed = new IPAddress(Data.ReadBytes(4)); ClientMajor = Data.ReadInt(); ClientMinor = Data.ReadInt(); ClientRevision = Data.ReadInt(); ClientProto = Data.ReadInt(); }
public _0xBCSeasonalInfo(UOStream Data) : base(Data) { SeasonFlag = Data.ReadBit(); if (Data.ReadBit() == 0) PlaySound = false; else PlaySound = true; }
public _0x2EWornItem(UOStream Data) : base(Data) { Serial = Data.ReadInt(); GraphicID = Data.ReadShort(); unknown = Data.ReadBit(); Layer = Data.ReadBit(); OwnerSerial = Data.ReadInt(); Hue = Data.ReadShort(); }
public _0x54PlaySoundEffect(UOStream Data) : base(Data) { Mode = Data.ReadBit(); SoundID = Data.ReadShort(); unknown = Data.ReadShort(); X = Data.ReadShort(); Y = Data.ReadShort(); Z = Data.ReadShort(); }
public _0xECEquipMacroKR(UOStream data) : base(data) { _length = Data.ReadShort(); ItemCount = Data.ReadShort(); for (int i = 0; i < ItemCount; i++) { Items.Add(Data.ReadInt()); } }
public _0x08DropItem(UOStream data) : base(data) { this.Serial = data.ReadInt(); this.X = data.ReadShort(); this.Y = data.ReadShort(); this.Z = data.ReadBit(); this.GridIndex = data.ReadBit(); this.ContainerSerial = data.ReadInt(); }
public _0x2DMobAttributes(UOStream Data) : base(Data) { ID = Data.ReadInt(); HitsMax = Data.ReadShort(); HitsCurrent = Data.ReadShort(); ManaMax = Data.ReadShort(); ManaCurrent = Data.ReadShort(); StamMax = Data.ReadShort(); StamCurrent = Data.ReadShort(); }
public _0x1CSendSpeech(UOStream Data) : base(Data) { length = Data.ReadShort(); ObjectID = Data.ReadInt(); GraphicID = Data.ReadShort(); TypeOfText = Data.ReadBit(); TextColor = Data.ReadShort(); Font = Data.ReadShort(); Name = Data.ReadString(30); // try normal read? Message = Data.ReadNullTermString(); }
public _0x16StatusBarUpdate(UOStream Data) : base(Data) { length = Data.ReadShort(); ID = Data.ReadInt(); Extended = Data.ReadShort(); if (Extended != 0x0000) { HealthBarColor = Data.ReadShort(); Flag = Data.ReadBit(); } }
public _0x5DLoginCharacter(UOStream data) : base(data) { this.Pattern1 = Data.ReadInt(); this.Charname = Data.ReadString(30); this.unknown1 = Data.ReadShort(); this.ClientFlags = Data.ReadInt(); this.unknown2 = Data.ReadInt(); this.LoginCount = Data.ReadInt(); this.unknown3 = Data.ReadBytes(16); ClientIP = new IPAddress(Data.ReadBytes(4)); }
public _0x6CTargetCursorCommands(UOStream Data) : base(Data) { TargetType = Data.ReadBit(); CursorID = Data.ReadUInt(); CursorType = Data.ReadBit(); TargetSerial = Data.ReadUInt(); X = Data.ReadShort(); Y = Data.ReadShort(); unknown = Data.ReadBit(); Z = Data.ReadBit(); GraphicID = Data.ReadShort(); }
public _0xAEUnicodeSpeech(UOStream Data) : base(Data) { _length = Data.ReadShort(); Serial = Data.ReadInt(); GraphicID = Data.ReadShort(); type = Data.ReadBit(); hue = Data.ReadShort(); font = Data.ReadShort(); Language = Data.ReadInt(); SpeakerName = Data.ReadString(30); Message = Data.ReadNullTermString(); }
public _0x20DrawGamePlayer(UOStream Data) : base(Data) { Serial = Data.ReadInt(); GraphicID = Data.ReadShort(); unknown1 = Data.ReadBit(); Hue = Data.ReadShort(); Flag = Data.ReadBit(); X = Data.ReadShort(); Y = Data.ReadShort(); Unknown2 = Data.ReadShort(); Direction = Data.ReadBit(); Z = Data.ReadBit(); }
public _0x77UpdatePlayer(UOStream Data) : base(Data) { this.Data = Data; this.PlayerID = Data.ReadInt(); this.GraphicID = Data.ReadShort(); this.X = Data.ReadShort(); this.Y = Data.ReadShort(); this.Z = Data.ReadBit(); this.Direction = Data.ReadBit(); this.Hue = Data.ReadShort(); this.Flags = Data.ReadBit(); this.HighliteColor = Data.ReadBit(); }
byte OffSetGraphicID; // unknown?? #endregion Fields #region Constructors public _0x25AddItemToContainer(UOStream Data) : base(Data) { Serial = Data.ReadInt(); GraphicID = Data.ReadShort(); OffSetGraphicID = Data.ReadBit(); Amount = Data.ReadShort(); X = Data.ReadShort(); Y = Data.ReadShort(); Index = Data.ReadBit(); ContainerSerial = Data.ReadInt(); Hue = Data.ReadShort(); this.Item = new Item(this); }
public _0xC1ClilocMessage(UOStream Data) : base(Data) { _length = Data.ReadShort(); Serial = Data.ReadInt(); GraphicID = Data.ReadShort(); type = Data.ReadBit(); hue = Data.ReadShort(); font = Data.ReadShort(); MessageNumber = Data.ReadInt(); SpeakerName = Data.ReadString(30); _args = Data.ReadNullTermString(); Message = Helpers.Cliloc.constructCliLoc(Helpers.Cliloc.Table[MessageNumber].ToString(), _args); }