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

#include <types.h>

Data Fields

u8 class_id
 The GameSceneKind associated with this scene.
void * load_data
 data passed to OnLoad callback
void * leave_data
 data passed to OnLeave callback

Field Documentation

◆ class_id

u8 GameScene::GameSceneInfo::class_id

The GameSceneKind associated with this scene.

This is the value matched by gm_FindGameSceneHandler to look up the corresponding GameSceneHandler supplying the GameSceneHandler::OnLoad, GameSceneHandler::OnLeave, and GameSceneHandler::OnFrame callbacks invoked for this scene. Not to be confused with GameScene::idx, which is the scene graph traversal index.

◆ load_data

void* GameScene::GameSceneInfo::load_data

data passed to OnLoad callback

◆ leave_data

void* GameScene::GameSceneInfo::leave_data

data passed to OnLeave callback


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