-
Notifications
You must be signed in to change notification settings - Fork 93
Natives (Data Manipulation) RU
Alexander edited this page Jun 1, 2017
·
2 revisions
Главная ▸ Функции ▸ Операции с данными
- Parameters:
type
: The item type.id
: The item ID.data
: The item data (from the enumerator).result
: The stored result.- Returns:
0
on failure,1
on success.
Gets float data from an item.
- Parameters:
type
: The item type.id
: The item ID.data
: The item data (from the enumerator).value
: The set value.- Returns:
0
on failure,1
on success.
Sets float data for an item.
- Parameters:
type
: The item type.id
: The item ID.data
: The item data (from the enumerator).- Returns:
- The integer data.
Gets integer data from an item.
- Parameters:
type
: The item type.id
: The item ID.data
: The item data (from the enumerator).value
: The set value.- Returns:
0
on failure,1
on success.
Sets integer data for an item.
- Parameters:
type
: The item type.id
: The item ID.data
: The item data (from the enumerator).dest[]
: The stored array data.maxdest
: The size of the stored array data (size ofdest
by default).- Returns:
0
on failure,1
on success.
Gets array data for an item.
- Parameters:
type
: The item type.id
: The item ID.data
: The item data (from the enumerator).dest[]
: The set array data.maxdest
: The size of the set array data (size ofdest
by default).- Returns:
0
on failure,1
on success.
Sets array data for an item.
- Parameters:
type
: The item type.id
: The item ID.data
: The item data (from the enumerator).value
: The value to search in the array.- Returns:
0
or1
.
Returns whether a value is in an array for an item.
- Parameters:
type
: The item type.id
: The item ID.data
: The item data (from the enumerator).value
: The value to append to the array.- Returns:
0
on failure,1
on success.
Appends a value to an array for an item.
- Parameters:
type
: The item type.id
: The item ID.data
: The item data (from the enumerator).value
: The value to remove from the array.- Returns:
0
on failure,1
on success.
Removes a value from an array for an item.
- Parameters:
type
: The item type.- Returns:
- The upper bound.
Gets the upper bound (highest ID) for an item type.
- This differs from
Streamer_CountItems
in that it returns the highest ID and not just the number of items that have been created. This makes it useful for iteration purposes.