Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
dSv_player_status_a_c Class Reference

#include <d_save.h>

Public Member Functions

void init ()
 
void setSelectItemIndex (int i_no, u8 i_slotNo)
 
u8 getSelectItemIndex (int i_no) const
 
void setMixItemIndex (int i_no, u8 i_slotNo)
 
u8 getMixItemIndex (int i_no) const
 
u16 getRupeeMax () const
 
int isMagicFlag (u8 i_magic) const
 
u16 getMaxLife () const
 
u16 getLife () const
 
u16 getRupee () const
 
u16 getOil () const
 
u16 getMaxOil () const
 
u8 getMagic () const
 
u8 getMaxMagic () const
 
u8 getSelectEquip (int item) const
 
u8 getTransformStatus () const
 
u8 getWalletSize () const
 
void setOil (u16 i_oil)
 
void setMaxOil (u16 i_maxOil)
 
void setWalletSize (u8 i_size)
 
void setMagic (u8 i_magic)
 
void setMaxMagic (u8 i_maxMagic)
 
void setRupee (u16 i_rupees)
 
void setLife (u16 i_life)
 
void setMaxLife (u8 i_maxLife)
 
void setSelectEquip (int i_equipId, u8 i_itemNo)
 
void setTransformStatus (u8 i_status)
 

Private Attributes

u16 mMaxLife
 
u16 mLife
 
u16 mRupee
 
u16 mMaxOil
 
u16 mOil
 
u8 unk10
 
u8 mSelectItem [MAX_SELECT_ITEM]
 
u8 mMixItem [MAX_SELECT_ITEM]
 
u8 mSelectEquip [MAX_EQUIPMENT]
 
u8 mWalletSize
 
u8 mMaxMagic
 
u8 mMagic
 
u8 mMagicFlag
 
u8 unk29
 
u8 mTransformStatus
 
u8 unk31 [3]
 

Member Function Documentation

◆ getLife()

u16 dSv_player_status_a_c::getLife ( ) const
inline

◆ getMagic()

u8 dSv_player_status_a_c::getMagic ( ) const
inline

◆ getMaxLife()

u16 dSv_player_status_a_c::getMaxLife ( ) const
inline

◆ getMaxMagic()

u8 dSv_player_status_a_c::getMaxMagic ( ) const
inline

◆ getMaxOil()

u16 dSv_player_status_a_c::getMaxOil ( ) const
inline

◆ getMixItemIndex()

u8 dSv_player_status_a_c::getMixItemIndex ( int  i_no) const

◆ getOil()

u16 dSv_player_status_a_c::getOil ( ) const
inline

◆ getRupee()

u16 dSv_player_status_a_c::getRupee ( ) const
inline

◆ getRupeeMax()

u16 dSv_player_status_a_c::getRupeeMax ( ) const

◆ getSelectEquip()

u8 dSv_player_status_a_c::getSelectEquip ( int  item) const
inline

◆ getSelectItemIndex()

u8 dSv_player_status_a_c::getSelectItemIndex ( int  i_no) const

◆ getTransformStatus()

u8 dSv_player_status_a_c::getTransformStatus ( ) const
inline

◆ getWalletSize()

u8 dSv_player_status_a_c::getWalletSize ( ) const
inline

◆ init()

void dSv_player_status_a_c::init ( )

◆ isMagicFlag()

BOOL dSv_player_status_a_c::isMagicFlag ( u8  i_magic) const

◆ setLife()

void dSv_player_status_a_c::setLife ( u16  i_life)
inline

◆ setMagic()

void dSv_player_status_a_c::setMagic ( u8  i_magic)
inline

◆ setMaxLife()

void dSv_player_status_a_c::setMaxLife ( u8  i_maxLife)
inline

◆ setMaxMagic()

void dSv_player_status_a_c::setMaxMagic ( u8  i_maxMagic)
inline

◆ setMaxOil()

void dSv_player_status_a_c::setMaxOil ( u16  i_maxOil)
inline

◆ setMixItemIndex()

void dSv_player_status_a_c::setMixItemIndex ( int  i_no,
u8  i_slotNo 
)

◆ setOil()

void dSv_player_status_a_c::setOil ( u16  i_oil)
inline

◆ setRupee()

void dSv_player_status_a_c::setRupee ( u16  i_rupees)
inline

◆ setSelectEquip()

void dSv_player_status_a_c::setSelectEquip ( int  i_equipId,
u8  i_itemNo 
)
inline

◆ setSelectItemIndex()

void dSv_player_status_a_c::setSelectItemIndex ( int  i_no,
u8  i_slotNo 
)

◆ setTransformStatus()

void dSv_player_status_a_c::setTransformStatus ( u8  i_status)
inline

◆ setWalletSize()

void dSv_player_status_a_c::setWalletSize ( u8  i_size)
inline

Member Data Documentation

◆ mLife

u16 dSv_player_status_a_c::mLife
private

◆ mMagic

u8 dSv_player_status_a_c::mMagic
private

◆ mMagicFlag

u8 dSv_player_status_a_c::mMagicFlag
private

◆ mMaxLife

u16 dSv_player_status_a_c::mMaxLife
private

◆ mMaxMagic

u8 dSv_player_status_a_c::mMaxMagic
private

◆ mMaxOil

u16 dSv_player_status_a_c::mMaxOil
private

◆ mMixItem

u8 dSv_player_status_a_c::mMixItem[MAX_SELECT_ITEM]
private

◆ mOil

u16 dSv_player_status_a_c::mOil
private

◆ mRupee

u16 dSv_player_status_a_c::mRupee
private

◆ mSelectEquip

u8 dSv_player_status_a_c::mSelectEquip[MAX_EQUIPMENT]
private

◆ mSelectItem

u8 dSv_player_status_a_c::mSelectItem[MAX_SELECT_ITEM]
private

◆ mTransformStatus

u8 dSv_player_status_a_c::mTransformStatus
private

◆ mWalletSize

u8 dSv_player_status_a_c::mWalletSize
private

◆ unk10

u8 dSv_player_status_a_c::unk10
private

◆ unk29

u8 dSv_player_status_a_c::unk29
private

◆ unk31

u8 dSv_player_status_a_c::unk31[3]
private

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