SixL client API / game/common / GameNameOrHash

Type Alias: GameNameOrHash

GameNameOrHash = string | number

A name or a hash. A string is hashed here: its 32-bit hash of the lower-cased name (the form the game uses for model, animation, scene and similar names). A number is taken as a hash already computed.

Example

mp.game.audio.isAudioSceneActive('main_scene');