public override void Read(byte[] packet) { ProtocolReader reader = new ProtocolReader(packet); this.ObjectId = reader.ReadInt32(); this.CharId = reader.ReadInt32(); }
public override void Read(byte[] packet) { ProtocolReader reader = new ProtocolReader(packet); this.TickId = reader.ReadInt32(); this.TickTime = reader.ReadInt32(); this.Statuses = reader.ReadVector <ObjectStatusData>(new ReadItemDelegate(reader.ReadObjectStatusData)); }
public override void Read(byte[] packet) { ProtocolReader reader = new ProtocolReader(packet); this.TickId = reader.ReadInt32(); this.TickTime = reader.ReadInt32(); this.Statuses = reader.ReadVector<ObjectStatusData>(new ReadItemDelegate(reader.ReadObjectStatusData)); }
public override void Read(byte[] packet) { ProtocolReader reader = new ProtocolReader(packet); this.TargetId = reader.ReadInt32(); this.ConditionEffect = reader.ReadByte(); this.DamageAmount = reader.ReadUInt16(); this.BulletId = reader.ReadByte(); this.ObjectId = reader.ReadInt32(); }
public override void Read(byte[] packet) { ProtocolReader reader = new ProtocolReader(packet); this.EffectType = reader.ReadByte(); this.TargetObjectId = reader.ReadInt32(); this.Position1 = reader.ReadTilePoint(); this.Position2 = reader.ReadTilePoint(); this.Colour = reader.ReadInt32(); }
public override void Read(byte[] packet) { ProtocolReader reader = new ProtocolReader(packet); this.Width = reader.ReadInt32(); this.Height = reader.ReadInt32(); this.Name = reader.ReadString(); this.FP = reader.ReadUInt32(); this.Background = reader.ReadInt32(); this.AllowPlayerTeleport = reader.ReadBool(); this.ShowDisplays = reader.ReadBool(); this.ExtraXml = reader.ReadVector <string>(new ReadItemDelegate(reader.ReadLongString)); }
public override void Read(byte[] packet) { ProtocolReader reader = new ProtocolReader(packet); this.Width = reader.ReadInt32(); this.Height = reader.ReadInt32(); this.Name = reader.ReadString(); this.FP = reader.ReadUInt32(); this.Background = reader.ReadInt32(); this.AllowPlayerTeleport = reader.ReadBool(); this.ShowDisplays = reader.ReadBool(); this.ExtraXml = reader.ReadVector<string>(new ReadItemDelegate(reader.ReadLongString)); }
public override void Read(byte[] packet) { ProtocolReader reader = new ProtocolReader(packet); this.Name = reader.ReadString(); this.ObjectId = reader.ReadInt32(); this.ObjectType = reader.ReadInt16(); this.Texture1Id = reader.ReadInt32(); this.Texture2Id = reader.ReadInt32(); this.NumStars = reader.ReadInt32(); this.Recipient = reader.ReadString(); this.Text = reader.ReadString(); this.CleanText = reader.ReadString(); }
public override void Read(byte[] packet) { ProtocolReader reader = new ProtocolReader(packet); this.ErrorId = reader.ReadInt32(); this.ErrorDescription = reader.ReadString(); }
public override void Read(byte[] packet) { ProtocolReader reader = new ProtocolReader(packet); this.Tiles = reader.ReadVector<TilePoint>(new ReadItemDelegate(reader.ReadTilePoint)); this.NewObjects = reader.ReadVector<GameObject>(new ReadItemDelegate(reader.ReadGameObject)); this.Drops = reader.ReadVector<int>(new ReadItemDelegate(() => (object)reader.ReadInt32())); // idk why the f**k I have to use lambda }
public override void Read(byte[] packet) { ProtocolReader reader = new ProtocolReader(packet); this.BulletId = reader.ReadByte(); this.OwnerId = reader.ReadInt32(); this.ContainerType = reader.ReadInt16(); this.StartingPosition = reader.ReadTilePoint(); this.Angle = reader.ReadSingle(); this.Damage = reader.ReadInt16(); }
public override void Read(byte[] packet) { ProtocolReader reader = new ProtocolReader(packet); this.Tiles = reader.ReadVector <TilePoint>(new ReadItemDelegate(reader.ReadTilePoint)); this.NewObjects = reader.ReadVector <GameObject>(new ReadItemDelegate(reader.ReadGameObject)); this.Drops = reader.ReadVector <int>(new ReadItemDelegate(() => (object)reader.ReadInt32())); // idk why the f**k I have to use lambda }