17 lines
517 B
TypeScript
17 lines
517 B
TypeScript
/**
|
|
* Stats Functions
|
|
* @public
|
|
* @noSelf
|
|
*/
|
|
declare namespace stats {
|
|
|
|
function stat_get_int(hash: Hash, unk0: int): int32_t|null;
|
|
function stat_get_float(hash: Hash, unk0: int): float|null;
|
|
function stat_get_boolean(hash: Hash, unk0: int): boolean|null;
|
|
function stat_set_int(hash: Hash, value: int32_t, save: boolean): boolean;
|
|
function stat_set_float(hash: Hash, value: float, save: boolean): boolean;
|
|
function stat_set_boolean(hash: Hash, value: boolean, save: boolean): boolean;
|
|
|
|
}
|
|
|