pikmin2/include/Parameters.h

29 lines
444 B
C
Raw Permalink Normal View History

2021-10-20 18:05:29 +00:00
#ifndef _PARAMETERS_H
#define _PARAMETERS_H
#include "types.h"
2021-10-20 18:05:29 +00:00
struct BaseParm;
struct Stream;
2021-10-20 18:05:29 +00:00
// @fabricatedName
struct IParameters {
// void* mEndAddress; // _00
};
struct Parameters : virtual IParameters {
Parameters(BaseParm* head, char* name)
: mParmsHead(head)
, mName(name)
2021-11-04 02:15:55 +00:00
{
}
2021-10-20 18:05:29 +00:00
void write(Stream&);
void read(Stream&);
BaseParm* findParm(u32);
2021-10-20 18:05:29 +00:00
BaseParm* mParmsHead; // _04
char* mName; // _08
2021-10-20 18:05:29 +00:00
};
#endif