C# Class hds.npc

Datei anzeigen Open project: hdneo/mxo-hd Class Usage Examples

Public Properties

Property Type Description
currentState int
next_move_time long
prev_x_pos double
prev_z_pos double
ticksNeeded int
ticksReceived int
updateClient bool
updateData byte[]
xBase double
yBase double
zBase double

Public Methods

Method Description
doTick ( ) : bool
flushClientUpdateData ( ) : void
generatePathTable ( ) : int
getAndResetUpdateData ( ) : byte[]
getCreationData ( ) : Object599
getDistrict ( ) : UInt16
getDistrictName ( ) : string
getEntityId ( ) : System.UInt64
getGoId ( ) : byte[]
getHealthC ( ) : UInt16
getHealthM ( ) : UInt16
getIsDefeated ( ) : bool
getIsLootable ( ) : bool
getIsSpawned ( ) : bool
getLevel ( ) : ushort
getMobId ( ) : UInt16
getName ( ) : string
getRotation ( ) : uint
getRsiHex ( ) : string
getState ( ) : int
getWeapon ( ) : UInt32
getXPos ( ) : double
getYPos ( ) : double
getZPos ( ) : double
npc ( ) : System
setDistrict ( UInt16 _district ) : void
setDistrictName ( string _districtName ) : void
setEntityId ( System.UInt64 _entityId ) : void
setGoId ( byte objectID ) : void
setHealthC ( UInt16 currentHealth ) : void
setHealthM ( UInt16 maxHealth ) : void
setIsDead ( bool dead ) : void
setIsLootable ( bool lootable ) : void
setIsSpawned ( bool spawned ) : void
setLevel ( ushort level ) : void
setMobId ( UInt16 mobID ) : void
setName ( string mobName ) : void
setRotation ( uint rotation ) : void
setRsiHex ( string _rsihex ) : void
setState ( int state ) : void
setWeapon ( UInt32 weapon ) : void
setXPos ( double xPosition ) : void
setYPos ( double yPosition ) : void
setZPos ( double zPosition ) : void
updateAnimation ( byte animationByte ) : void
updateCombat ( ) : void
updatePosition ( ) : void

Method Details

doTick() public method

public doTick ( ) : bool
return bool

flushClientUpdateData() public method

public flushClientUpdateData ( ) : void
return void

generatePathTable() public method

public generatePathTable ( ) : int
return int

getAndResetUpdateData() public method

public getAndResetUpdateData ( ) : byte[]
return byte[]

getCreationData() public method

public getCreationData ( ) : Object599
return Object599

getDistrict() public method

public getDistrict ( ) : UInt16
return System.UInt16

getDistrictName() public method

public getDistrictName ( ) : string
return string

getEntityId() public method

public getEntityId ( ) : System.UInt64
return System.UInt64

getGoId() public method

public getGoId ( ) : byte[]
return byte[]

getHealthC() public method

public getHealthC ( ) : UInt16
return System.UInt16

getHealthM() public method

public getHealthM ( ) : UInt16
return System.UInt16

getIsDefeated() public method

public getIsDefeated ( ) : bool
return bool

getIsLootable() public method

public getIsLootable ( ) : bool
return bool

getIsSpawned() public method

public getIsSpawned ( ) : bool
return bool

getLevel() public method

public getLevel ( ) : ushort
return ushort

getMobId() public method

public getMobId ( ) : UInt16
return System.UInt16

getName() public method

public getName ( ) : string
return string

getRotation() public method

public getRotation ( ) : uint
return uint

getRsiHex() public method

public getRsiHex ( ) : string
return string

getState() public method

public getState ( ) : int
return int

getWeapon() public method

public getWeapon ( ) : UInt32
return System.UInt32

getXPos() public method

public getXPos ( ) : double
return double

getYPos() public method

public getYPos ( ) : double
return double

getZPos() public method

public getZPos ( ) : double
return double

npc() public method

public npc ( ) : System
return System

setDistrict() public method

public setDistrict ( UInt16 _district ) : void
_district System.UInt16
return void

setDistrictName() public method

public setDistrictName ( string _districtName ) : void
_districtName string
return void

setEntityId() public method

public setEntityId ( System.UInt64 _entityId ) : void
_entityId System.UInt64
return void

setGoId() public method

public setGoId ( byte objectID ) : void
objectID byte
return void

setHealthC() public method

public setHealthC ( UInt16 currentHealth ) : void
currentHealth System.UInt16
return void

setHealthM() public method

public setHealthM ( UInt16 maxHealth ) : void
maxHealth System.UInt16
return void

setIsDead() public method

public setIsDead ( bool dead ) : void
dead bool
return void

setIsLootable() public method

public setIsLootable ( bool lootable ) : void
lootable bool
return void

setIsSpawned() public method

public setIsSpawned ( bool spawned ) : void
spawned bool
return void

setLevel() public method

public setLevel ( ushort level ) : void
level ushort
return void

setMobId() public method

public setMobId ( UInt16 mobID ) : void
mobID System.UInt16
return void

setName() public method

public setName ( string mobName ) : void
mobName string
return void

setRotation() public method

public setRotation ( uint rotation ) : void
rotation uint
return void

setRsiHex() public method

public setRsiHex ( string _rsihex ) : void
_rsihex string
return void

setState() public method

public setState ( int state ) : void
state int
return void

setWeapon() public method

public setWeapon ( UInt32 weapon ) : void
weapon System.UInt32
return void

setXPos() public method

public setXPos ( double xPosition ) : void
xPosition double
return void

setYPos() public method

public setYPos ( double yPosition ) : void
yPosition double
return void

setZPos() public method

public setZPos ( double zPosition ) : void
zPosition double
return void

updateAnimation() public method

public updateAnimation ( byte animationByte ) : void
animationByte byte
return void

updateCombat() public method

public updateCombat ( ) : void
return void

updatePosition() public method

public updatePosition ( ) : void
return void

Property Details

currentState public_oe property

public int currentState
return int

next_move_time public_oe property

public long next_move_time
return long

prev_x_pos public_oe property

public double prev_x_pos
return double

prev_z_pos public_oe property

public double prev_z_pos
return double

ticksNeeded public_oe property

public int ticksNeeded
return int

ticksReceived public_oe property

public int ticksReceived
return int

updateClient public_oe property

public bool updateClient
return bool

updateData public_oe property

public byte[] updateData
return byte[]

xBase public_oe property

public double xBase
return double

yBase public_oe property

public double yBase
return double

zBase public_oe property

public double zBase
return double