DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
CDungeonEventData Class Reference

#include <dungeoneventdata.hpp>

Public Member Functions

void Set (CDungeonEvent *source)
 
int CheckSwitch ()
 
void Stop ()
 
void Start ()
 

Public Attributes

CDungeonEvent * event
 
u8 unk_04 [0xC]
 
sceVu0FVECTOR pos
 
sceVu0FVECTOR dir
 
s32 hold
 
s32 switch_on
 
s32 enabled
 
s32 chara_done
 

Detailed Description

Records what one event of the floor is doing.

Definition at line 35 of file dungeoneventdata.hpp.

Member Function Documentation

◆ Set()

void CDungeonEventData::Set ( CDungeonEvent *  source)

Initializes this runtime slot from a dungeon event definition.

Mangled name:
Set__17CDungeonEventDataFP13CDungeonEvent
Address:
0x1CC820
Size:
0x5C

Definition at line 5 of file dungeoneventdata.cpp.

◆ CheckSwitch()

int CDungeonEventData::CheckSwitch ( )

Reports whether this event slot is enabled and ready to run.

Mangled name:
CheckSwitch__17CDungeonEventDataFv
Address:
0x1CC880
Size:
0x48

Definition at line 20 of file dungeoneventdata.cpp.

◆ Stop()

void CDungeonEventData::Stop ( )

Disables this event slot.

Mangled name:
Stop__17CDungeonEventDataFv
Address:
0x1CC8D0
Size:
0xC

Definition at line 32 of file dungeoneventdata.cpp.

◆ Start()

void CDungeonEventData::Start ( )

Enables this event slot.

Mangled name:
Start__17CDungeonEventDataFv
Address:
0x1CC8E0
Size:
0x10

Definition at line 36 of file dungeoneventdata.cpp.

Member Data Documentation

◆ event

CDungeonEvent* CDungeonEventData::event

Event that the floor laid out, or zero for a free slot.

Definition at line 37 of file dungeoneventdata.hpp.

◆ unk_04

u8 CDungeonEventData::unk_04[0xC]

Definition at line 38 of file dungeoneventdata.hpp.

◆ pos

sceVu0FVECTOR CDungeonEventData::pos

World position that the event plays at.

Definition at line 39 of file dungeoneventdata.hpp.

◆ dir

sceVu0FVECTOR CDungeonEventData::dir

Way that the event faces.

Definition at line 40 of file dungeoneventdata.hpp.

◆ hold

s32 CDungeonEventData::hold

Holds the event back from running until it is cleared.

Definition at line 41 of file dungeoneventdata.hpp.

◆ switch_on

s32 CDungeonEventData::switch_on

Whether a script has the event switched on.

Definition at line 42 of file dungeoneventdata.hpp.

◆ enabled

s32 CDungeonEventData::enabled

Whether the slot holds an event that can run.

Definition at line 43 of file dungeoneventdata.hpp.

◆ chara_done

s32 CDungeonEventData::chara_done

Character that has already run the event, or -1 for none.

Definition at line 44 of file dungeoneventdata.hpp.