com.Utils.ID32

Class storing a type/instance pair used to identify various items in the game.

Summary
com.Utils.ID32Class storing a type/instance pair used to identify various items in the game.
Functions
ID32Constructor taking 0-2 arguments.
Equal
IsNullReturns true if id is 0:0.
IsNpc
IsPlayer
IsSimpleDynel
IsDestructible
toString
GetType
GetInstance
SetType
SetInstance
Variables
m_Type
m_Instance

Functions

ID32

public function ID32()

Constructor taking 0-2 arguments.  If no arguments the type and instance will be 0, if one argument are passed the type will be set to that value and the instance to 0, if two values are passed the type will be set to the first value and the instance to the second.

Author

Kurt Skauen

Equal

public function Equal(other: ID32) : Boolean

IsNull

public function IsNull() : Boolean

Returns true if id is 0:0.

IsNpc

public function IsNpc() : Boolean

IsPlayer

public function IsPlayer() : Boolean

IsSimpleDynel

public function IsSimpleDynel() : Boolean

IsDestructible

public function IsDestructible() : Boolean

toString

public function toString() : String

GetType

public function GetType() : Number

GetInstance

public function GetInstance() : Number

SetType

public function SetType(type: Number) : Void

SetInstance

public function SetInstance(instance: Number) : Void

Variables

m_Type

public var m_Type: Number

m_Instance

public var m_Instance: Number
public function ID32()
Constructor taking 0-2 arguments.
public function Equal(other: ID32) : Boolean
public function IsNull() : Boolean
Returns true if id is 0:0.
public function IsNpc() : Boolean
public function IsPlayer() : Boolean
public function IsSimpleDynel() : Boolean
public function IsDestructible() : Boolean
public function toString() : String
public function GetType() : Number
public function GetInstance() : Number
public function SetType(type: Number) : Void
public function SetInstance(instance: Number) : Void
public var m_Type: Number
public var m_Instance: Number
Close