Batch #15141 by ragnarok-clanker: no function's compiled code changes; checked with 537 compiled unit(s), including every includer of Source/Client/Input/LanguageTC.h, Source/Client/Mode/CGameMode.h, Source/Client/Mode/CLoginMode.h, Source/Client/Replay.h, Source/Client/Session.h, Source/Contents/AchievementMgr.h, Source/Contents/Actors/CharacterRender.h, Source/Contents/Actors/EffectActors.h, Source/Contents/Actors/GameActor.h, Source/Contents/Actors/Pc.h, Source/Contents/EnchantMgr.h, Source/Contents/GuildInfo.h, Source/Contents/Messenger/MessengerWindows.h, Source/Contents/Schedule/TimeScheduler.h, Source/Contents/Sound/SoundMgr.h, Source/Contents/SpriteLayerDrawing.h, Source/Contents/TableMng.h, Source/Contents/World/SkyBox.h, Source/UI/Chat/UINewChatWnd.h, Source/UI/Text/CreateLineInfo.h, Source/UI/UIGradeEnchantWnd.h, Source/UI/Window/UINewSelectCharWnd.h, Source/UI/Window/UINewSkillListWnd.h, Source/UI/Window/UIPetInfoWnd.h, Source/UI/Window/UIReplayRECControlWnd.h, Source/UI/Window/UIWindowMgr.h, Source/UI/Window/UIWindowMgr.inl.
52 lines
1.3 KiB
C++
52 lines
1.3 KiB
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_TABLEMNG_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_TABLEMNG_H
|
|
|
|
#include <map>
|
|
|
|
struct EntryQueueInfo {
|
|
/* 0000 */ unsigned int id;
|
|
/* 0004 */ char name[260];
|
|
/* 0108 */ char description[260];
|
|
/* 020C */ int minLevel;
|
|
/* 0210 */ int maxLevel;
|
|
/* 0214 */ unsigned char queueFlagA;
|
|
/* 0215 */ unsigned char queueFlagB;
|
|
/* 0216 */ unsigned char queueFlagC;
|
|
/* 0217 */ unsigned char queueFlagD;
|
|
/* 0218 */ unsigned char limitType;
|
|
/* 021C */ int limitValue;
|
|
/* 0220 */ int limitValueEnd;
|
|
/* 0224 */ char detailsText[260];
|
|
/* 0328 */ char rulesText[260];
|
|
/* 042C */ char rewardText[260];
|
|
/* 0530 */ char extraText[260];
|
|
/* 0634 */ char bitmapName[260];
|
|
};
|
|
|
|
// VTABLE: vt_01823
|
|
class CTableMng {
|
|
public:
|
|
CTableMng();
|
|
virtual ~CTableMng();
|
|
|
|
void ResetTables();
|
|
EntryQueueInfo* GetEntryQueueInfo(unsigned int id);
|
|
bool Init();
|
|
bool ReadEntryQueueBinary();
|
|
void Clear();
|
|
bool AddEntryQueueInfo(unsigned int id, EntryQueueInfo* info);
|
|
void Release();
|
|
bool ReadEntryQueue();
|
|
bool ReadEntryQueueFromXls();
|
|
bool ReadEntryQueueXls(void* excel);
|
|
bool WriteEntryQueueXls();
|
|
|
|
/* 0004 */ std::map<unsigned int, EntryQueueInfo*> m_entryQueue;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(EntryQueueInfo) == 0x738);
|
|
static_assert(sizeof(CTableMng) == 0xC);
|
|
#endif
|
|
|
|
#endif
|