Add ClientObjectRef.get_properties
This commit is contained in:
@@ -1411,9 +1411,10 @@ This is basically a reference to a C++ `GenericCAO`.
|
||||
* `is_player()`: returns true if the object is a player
|
||||
* `is_local_player()`: returns true if the object is the local player
|
||||
* `get_attach()`: returns parent or nil if it isn't attached.
|
||||
* `get_nametag()`: returns the nametag (string)
|
||||
* `get_item_textures()`: returns the textures
|
||||
* `get_max_hp()`: returns the maximum heath
|
||||
* `get_nametag()`: returns the nametag (deprecated, use get_properties().nametag instead)
|
||||
* `get_item_textures()`: returns the textures (deprecated, use get_properties().textures instead)
|
||||
* `get_max_hp()`: returns the maximum heath (deprecated, use get_properties().hp_max instead)
|
||||
* `get_properties()`: returns object property table
|
||||
* `punch()`: punches the object
|
||||
* `rightclick()`: rightclicks the object
|
||||
* `remove()`: removes the object permanently
|
||||
|
Reference in New Issue
Block a user