ClassicUO Logo

#Class: Client

Client.Client

#Properties

#sysMsg

sysMsg: (message: string, hue?: number) => null

#Type declaration

▸ (message, hue?): null

#Parameters
Name Type
message string
hue? number
#Returns

null


#headMsg

headMsg: (message: string, serial: number | SerialObject | GameObject, hue?: number) => null

#Type declaration

▸ (message, serial, hue?): null

#Parameters
Name Type
message string
serial number | SerialObject | GameObject
hue? number
#Returns

null


#openPaperdoll

openPaperdoll: (serial: undefined | number | SerialObject | GameObject) => null

#Type declaration

▸ (serial): null

#Parameters
Name Type
serial undefined | number | SerialObject | GameObject
#Returns

null


#findObject

findObject: (serial: number | SerialObject | GameObject, hue?: number, sourceSerial?: number | SerialObject | GameObject, amount?: number, range?: number) => undefined | Item | Mobile

#Type declaration

▸ (serial, hue?, sourceSerial?, amount?, range?): undefined | Item | Mobile

#Parameters
Name Type
serial number | SerialObject | GameObject
hue? number
sourceSerial? number | SerialObject | GameObject
amount? number
range? number
#Returns

undefined | Item | Mobile


#findType

findType: (graphic: number, hue?: number, sourceSerial?: number | SerialObject | GameObject, amount?: number, range?: number) => undefined | Item | Mobile

#Type declaration

▸ (graphic, hue?, sourceSerial?, amount?, range?): undefined | Item | Mobile

#Parameters
Name Type
graphic number
hue? number
sourceSerial? number | SerialObject | GameObject
amount? number
range? number
#Returns

undefined | Item | Mobile


#findItemOnLayer

findItemOnLayer: (serial: number | SerialObject | GameObject, layer: Layers) => undefined | Item

#Type declaration

▸ (serial, layer): undefined | Item

#Parameters
Name Type
serial number | SerialObject | GameObject
layer Layers
#Returns

undefined | Item


#getStatic

getStatic: (graphic: number) => undefined | { graphic: number ; flags: number }

#Type declaration

▸ (graphic): undefined | { graphic: number ; flags: number }

#Parameters
Name Type
graphic number
#Returns

undefined | { graphic: number ; flags: number }


#getTile

getTile: (graphic: number) => undefined | { graphic: number ; flags: number }

#Type declaration

▸ (graphic): undefined | { graphic: number ; flags: number }

#Parameters
Name Type
graphic number
#Returns

undefined | { graphic: number ; flags: number }


#getTerrainList

getTerrainList: (x: number, y: number) => undefined | { graphic: number ; x: number ; y: number ; z: number ; flags: number ; isLand: boolean }[]

#Type declaration

▸ (x, y): undefined | { graphic: number ; x: number ; y: number ; z: number ; flags: number ; isLand: boolean }[]

#Parameters
Name Type
x number
y number
#Returns

undefined | { graphic: number ; x: number ; y: number ; z: number ; flags: number ; isLand: boolean }[]