2021-10-20 18:05:29 +00:00
|
|
|
#ifndef _PARAMETERS_H
|
|
|
|
#define _PARAMETERS_H
|
|
|
|
|
2021-12-06 00:22:31 +00:00
|
|
|
#include "types.h"
|
2021-10-20 18:05:29 +00:00
|
|
|
|
2021-12-06 00:22:31 +00:00
|
|
|
struct BaseParm;
|
|
|
|
struct Stream;
|
2021-10-20 18:05:29 +00:00
|
|
|
|
2021-12-06 00:22:31 +00:00
|
|
|
// @fabricatedName
|
|
|
|
struct IParameters {
|
2023-01-25 21:50:15 +00:00
|
|
|
// void* mEndAddress; // _00
|
2021-12-06 00:22:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct Parameters : virtual IParameters {
|
|
|
|
Parameters(BaseParm* head, char* name)
|
2023-01-25 21:50:15 +00:00
|
|
|
: 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&);
|
2022-01-04 13:18:25 +00:00
|
|
|
BaseParm* findParm(u32);
|
2021-10-20 18:05:29 +00:00
|
|
|
|
2023-01-25 21:50:15 +00:00
|
|
|
BaseParm* mParmsHead; // _04
|
|
|
|
char* mName; // _08
|
2021-10-20 18:05:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|