Functions

datapack.inc

Function Type Description
CreateDataPack native Creates a new datapack.
DestroyDataPack native Destroys the datapack and frees its memory.
GetPackPosition native Returns the datapack read/write position.
IsPackEnded native Returns if the datapack has reached its end and no more data can be read.
ReadPackCell native Reads a cell from a Datapack.
ReadPackFloat native Reads a float from a datapack.
ReadPackString native Reads a string from a Datapack.
ResetPack native Resets the datapack read/write position to the start.
SetPackPosition native Sets the datapack read/write position.
WritePackCell native Packs a cell value into a datapack.
WritePackFloat native Packs a float value into a datapack.
WritePackString native Packs a string into a datapack.