SSBM Decomp
Loading...
Searching...
No Matches
GameModeState::GameSceneInfo Struct Reference

#include <types.h>

Data Fields

u8 scene_kind
 The GameSceneKind associated with this scene.
void * enter_data
 data passed to GameScene::on_enter
void * exit_data
 data passed to GameScene::on_exit

Field Documentation

◆ scene_kind

u8 GameModeState::GameSceneInfo::scene_kind

The GameSceneKind associated with this scene.

This is the value matched by gm_FindGameSceneHandler to look up the corresponding GameScene supplying the GameScene::on_enter, GameScene::on_exit, and GameScene::on_frame callbacks invoked for this scene. Not to be confused with GameModeState::id, which is the scene graph traversal index. GameSceneKind

◆ enter_data

void* GameModeState::GameSceneInfo::enter_data

data passed to GameScene::on_enter

◆ exit_data

void* GameModeState::GameSceneInfo::exit_data

data passed to GameScene::on_exit


The documentation for this struct was generated from the following file: