Player.h file
Namespaces
- namespace Jazz2
- Root namespace of Jazz² Resurrection.
- namespace Jazz2::Scripting
- Scripting-related classes, compiled only if
WITH_ANGELSCRIPT. - namespace Jazz2::Scripting::Legacy
- Legacy JJ2+ definitions.
Classes
- class Jazz2::Scripting::Legacy::jjPLAYER partially supported
- A player in the level.
- class Jazz2::Scripting::Legacy::jjCHARACTER
- Character profile.
- struct Jazz2::Scripting::Legacy::jjPLAYERDRAW
- How a player is drawn in this tick.
Typedefs
- using jjWEAPON = WeaponOptions
- Options of one weapon.
Functions
-
auto get_jjPlayerCount() -> std::
int32_t - Returns the number of players in the level.
-
auto get_jjLocalPlayerCount() -> std::
int32_t - Returns the number of local players.
- auto get_jjP() -> jjPLAYER*
- Returns the current player.
-
auto get_jjPlayers(std::
uint8_t index) -> jjPLAYER* - Returns the player with the given index.
-
auto get_jjLocalPlayers(std::
uint8_t index) -> jjPLAYER* - Returns the local player with the given index.
- auto get_jjWEAPON(int index) -> jjWEAPON*
- Returns the options of the given weapon.
- auto get_jjCHARACTER(int index) -> jjCHARACTER*
- Returns the profile of the given character.