object AvatarConverter
- Source
- AvatarConverter.scala
- Alphabetic
- By Inheritance
- AvatarConverter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def BuildDetailedEquipment(index: Int, equip: Equipment): InternalSlot
A builder method for turning an object into
0x18
decoded packet form.A builder method for turning an object into
0x18
decoded packet form.- index
the position of the object
- equip
the game object
- returns
the game object in decoded packet form
- def GetDrawnSlot(obj: Player): packet.game.objectcreate.DrawnSlot.Value
Resolve which holster the player has drawn, if any.
Resolve which holster the player has drawn, if any.
- obj
the
Player
game object- returns
the holster's Enumeration value
- def MakeAppearanceData(obj: Player): (Int) => CharacterAppearanceData
Compose some data from a
Player
into a representation common to bothCharacterData
andDetailedCharacterData
.Compose some data from a
Player
into a representation common to bothCharacterData
andDetailedCharacterData
.- obj
the
Player
game object- returns
the resulting
CharacterAppearanceData
- def MakeCharacterData(obj: Player): (Boolean, Boolean) => CharacterData
- def MakeDetailedCharacterData(obj: Player): (Option[Int]) => DetailedCharacterData
- def MakeDetailedInventoryData(obj: Player): InventoryData
- def MakeHolsters(obj: Player, builder: (Int, Equipment) => InternalSlot): List[InternalSlot]
Given a player with equipment holsters, convert the contents of those holsters into converted-decoded packet data.
Given a player with equipment holsters, convert the contents of those holsters into converted-decoded packet data. The decoded packet form is determined by the function in the parameters as both
0x17
and0x18
conversions are available, with exception to the contents of the fifth slot. The fifth slot is only represented if thePlayer
is an0x18
type.- obj
the
Player
game object- builder
the function used to transform to the decoded packet form
- returns
a list of all items that were in the holsters in decoded packet form
- def MakeInventoryData(obj: Player): InventoryData
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()