Interface Serializable

All Known Implementing Classes:
ActiveEntity, ActorNPC, Allotment, AreaEntity, AreaUseItem, ArenaCreature, ArrestWarrant, AssassinRepairerAdder.AssassinRepairer, AttackableCreature, AttackEvent, AttackingSpell, Attributes, BabyDragon, BackgroundMusicSource, BalloonScroll, BankSlot, Basket, BellSoundSource, Bestiary, BestiaryEvent, BlankPetScroll, Block, BlockTarget, Blood, BoardToken, Box, BreakableItem, BuddyLoginEvent, BuddyLogoutEvent, CaptureTheFlagFlag, Cat, Chest, ChestSlot, Clock, CoalSource, ConditionAndActionArea, ConditionAndActionPortal, ConsumableItem, Container, ContainerItemSlot, Corpse, Creature, CreatureProtectionArea, CroupierNPC, DamagingArea, DeathMatchCreature, Definition, Description, Dice, DomesticAnimal, Door, DressedEntity, Drink, DummyWeapon, Earning, EmptyScroll, Entity, EntitySlot, ExamineEvent, ExpirationTracker, Fire, FishSource, FlowerGrower, FlyOverArea, Food, FoodMill, GameBoard, Gate, GateKey, GhostNPCBase, GlobalVisualEffectEvent, GoldSource, GrainField, GroundSlot, GroupChangeEvent, GroupInviteEvent, GrowingPassiveEntityRespawnPoint, GuidedEntity, HealedEvent, HealingSpell, HouseKey, HousePortal, ImageEffectEvent, InvitationScroll, IRPZone.ID, Item, ItemChangeGuardCreature, ItemGuardCreature, ItemInformation, KeyDestroyingDoor, KeyedPortal, KeyedSlot, LayerDefinition, LevelCheckingPortal, LifeDrainArea, LifeSupportGear, LockedDoor, LoopedAmbientSoundSource, LoopedSoundSource, LootableSlot, MarkedScroll, Market, MarketManagerNPC, MasterKey, MazeSign, Message, MessageC2SAction, MessageC2SChooseCharacter, MessageC2SCreateAccount, MessageC2SCreateAccountWithToken, MessageC2SCreateCharacter, MessageC2SKeepAlive, MessageC2SLoginRequestKey, MessageC2SLoginSendNonceNameAndPassword, MessageC2SLoginSendNonceNamePasswordAndSeed, MessageC2SLoginSendPromise, MessageC2SLoginSendUsernameAndPassword, MessageC2SLoginWithToken, MessageC2SLogout, MessageC2SOutOfSync, MessageC2STransferACK, MessageC2SUpdateResponse, MessageP2SCreateAccount, MessageP2SCreateCharacter, MessageS2CCharacterList, MessageS2CChooseCharacterACK, MessageS2CChooseCharacterNACK, MessageS2CConnectNACK, MessageS2CCreateAccountACK, MessageS2CCreateAccountNACK, MessageS2CCreateCharacterACK, MessageS2CCreateCharacterNACK, MessageS2CInvalidMessage, MessageS2CLoginACK, MessageS2CLoginMessageNACK, MessageS2CLoginNACK, MessageS2CLoginSendKey, MessageS2CLoginSendNonce, MessageS2CLogoutACK, MessageS2CLogoutNACK, MessageS2CPerception, MessageS2CServerInfo, MessageS2CTransfer, MessageS2CTransferREQ, MessageS2CUpdate, MessageSendByteArray, MessagingArea, MetalDetector, ModifyAtkSpell, ModifyDefSpell, ModifyHpSpell, Money, NecroStaff, NineSwitchesGameSwitch, NoStatsStackableItem, NPC, NPCOwnedChest, OccupantArea, Offer, OnePlayerArea, OnePlayerRoomDoor, OneWayPortalDestination, OwnedItem, PassiveEntity, PassiveEntityRespawnPoint, PassiveNPC, PasswordPortal, PeriodicAmbientSoundSource, PersonalChest, PersonalChestSlot, Pet, Player, PlayerActivityEntity, PlayerKeyringSlot, PlayerLoggedOnEvent, PlayerLoggedOutEvent, PlayerMoneyPouchSlot, PlayerPortfolioSlot, PlayerSlot, PlayerTradeSlot, PlaySoundEntity, PopupImage, Portal, Present, PrivateTextEvent, ProgressStatusEvent, PublicChestSlot, PurpleDragon, QuestCheckingPortal, QuestCompletedPortal, RaidCreature, RaidCreatureCorpse, RainbowBeansScroll, RandomDestinationPortal, RatKidsNPCBase, ReachedAchievementEvent, Reader, RentedSign, RingOfLife, RPAction, RPClass, RPEntity, RPEvent, RPLink, RPObject, RPSlot, ScriptingNPC, Scroll, Seed, Sheep, SheepBuyerNPC.SheepBuyerSpeakerNPC, SheepFood, ShopSign, Shovel, ShowItemListEvent, ShowOutfitListEvent, Sign, SilentNPC, SlotActivatedItem, SlotOwner, SlowDownSpell, SokobanBoard, SoundEvent, SpeakerNPC, Spell, StackableItem, StatusHealer, StatusResistantItem, Stocking, StoredChest, SummonPetScroll, SummonScroll, TargetMarker, Teleporter, TeleportScroll, TextEvent, TicTacToeBoard, TiledArea, TileSetDefinition, TimedInvisibility, TimedStackableItem, TimedTeleportScroll, Token, TradeCenterMarketSlot, TradeStateChangeEvent, TrainingArea.TrainerNPC, TrainingDummy, TransitionGraphEvent, TwilightElixir, TwilightMossScroll, UseableEntity, VegetableGrower, ViewChangeEntity, ViewChangeEvent, WalkBlocker, Wall, WaterSpringSource, WeatherEntity, WeddingRing, WellSource

public interface Serializable
Interface of all the object that wants to be able to be converted into a stream of bytes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method to build the object from a stream of bytes
    void
    Method to convert the object into a stream
  • Method Details

    • writeObject

      void writeObject(OutputSerializer out) throws IOException
      Method to convert the object into a stream
      Parameters:
      out - OutputSerializer to write the object to
      Throws:
      IOException - in case of an IO-error
    • readObject

      void readObject(InputSerializer in) throws IOException
      Method to build the object from a stream of bytes
      Parameters:
      in - InputSerializer to read from
      Throws:
      IOException - in case of an IO-error