IdString64Box - stingray.IdString64Box object reference - Stingray Lua API Reference
A "box" that stores a IdString64Box object across multiple frames.
Normally, IdString64s are temporary objects that can only be safely used within a single frame. When you need an IdString64 value
to persist across multiple frames, you can call IdString64Box.store() to store the vector in a IdString64, and
[IdString64.unbox()] to retrieve the stored values.
For more information, see Object Lifetimes and Userdata Binding.
|
Stores the specified value in the box.
|
Parameters self : | stingray.IdString64Box | Specifies the object instance that this function will act on. You may use the colon : calling syntax to call this function on an instance of this object. If you do so, you must omit this parameter. For more information, see this Stingray help topic, or this page in the Lua documentation. |
s : | string | The value to store in the box. |
Returns | This function does not return any values. |
|
unbox ( self ) : stingray.IdString64
Retrieves the IdString64Box last stored in the specified box.
|
Parameters self : | stingray.IdString64Box | Specifies the object instance that this function will act on. You may use the colon : calling syntax to call this function on an instance of this object. If you do so, you must omit this parameter. For more information, see this Stingray help topic, or this page in the Lua documentation. |
Returns