#pragma once #include "common.h" // unknown name struct T2SeasonParamDefElem { unsigned int a; float mRate; }; class T2SeasonParamDef { public: T2SeasonParamDef(CResFile &resFile); virtual ~T2SeasonParamDef(); float GetRate(unsigned int index) const { float result = 0.0f; if (index < 12) result = mElems[index].mRate; return result; } protected: T2SeasonParamDefElem mElems[12]; };