using System; using System.Collections.Generic; using System.Net; using Server.Guilds; namespace Server { public interface IGenericReader { string ReadString(); DateTime ReadDateTime(); DateTimeOffset ReadDateTimeOffset(); TimeSpan ReadTimeSpan(); DateTime ReadDeltaTime(); decimal ReadDecimal(); long ReadLong(); ulong ReadULong(); int ReadInt(); uint ReadUInt(); short ReadShort(); ushort ReadUShort(); double ReadDouble(); float ReadFloat(); char ReadChar(); byte ReadByte(); sbyte ReadSByte(); bool ReadBool(); int ReadEncodedInt(); IPAddress ReadIPAddress(); Point3D ReadPoint3D(); Point2D ReadPoint2D(); Rectangle2D ReadRect2D(); Rectangle3D ReadRect3D(); Map ReadMap(); IEntity ReadEntity(); Item ReadItem(); Mobile ReadMobile(); BaseGuild ReadGuild(); T ReadItem() where T : Item; T ReadMobile() where T : Mobile; T ReadGuild() where T : BaseGuild; List ReadStrongItemList(); List ReadStrongItemList() where T : Item; List ReadStrongMobileList(); List ReadStrongMobileList() where T : Mobile; List ReadStrongGuildList(); List ReadStrongGuildList() where T : BaseGuild; HashSet ReadItemSet(); HashSet ReadItemSet() where T : Item; HashSet ReadMobileSet(); HashSet ReadMobileSet() where T : Mobile; HashSet ReadGuildSet(); HashSet ReadGuildSet() where T : BaseGuild; Race ReadRace(); bool End(); } }