Debug
Index
Functions
addParticle
Spawns vanilla debug particle on the specified coordinates.
Parameters
id: number
particle type ID, should be one of the EParticleType
x: number
y: number
z: number
vx: number
x velocity
vy: number
y velocity
vz: number
y velocity
data: number
additional particles data
Returns void
big
Writes several values in JSON format to the selectable alert window text view, serializing javascript objects if possible.
Parameters
rest...args: any[]
messages to be displayed
Returns void
bitmap
Displays an android.app.AlertDialog with given title and bitmap.
Parameters
bitmap: Bitmap
android.graphics.Bitmap object of the bitmap to be displayed
optionaltitle: any
title of the AlertDialog
Returns void
error
Writes error debug message (in red) to local player in chat.
Parameters
message: any
message to be displayed
Returns void
m
Writes several comma-separated values to local player in chat as a general debug message, serializing javascript objects if possible.
Parameters
rest...args: any[]
messages to be displayed
Returns void
message
Writes general debug message (in green) to local player in chat.
Parameters
message: any
message to be displayed
Returns void
sysTime
Returns number
Current system time in milliseconds.
warning
Writes warning debug message (in gold) to local player in chat.
Parameters
message: any
message to be displayed
Returns void
Defines some useful methods for debugging.