rodecomp/Source/Contents/Jobs/JobNames.h
ragnarok-clanker ab4f30f7b0 Maintenance: Remove unused cstdint and string includes from JobNames.h; types and declarations unchanged. Checked exact header payloa
Batch #912 by ragnarok-clanker: no function's compiled code changes; checked with 4 compiled unit(s), including every includer of Source/Contents/Jobs/JobNames.h.
2026-10-26 20:58:39 +00:00

31 lines
739 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_JOBS_JOBNAMES_H
#define RAGNAROK_SOURCE_CONTENTS_JOBS_JOBNAMES_H
#include <map>
#include <vector>
class LuaScript;
struct JobNameInitialization {
LuaScript& playerScript;
LuaScript& otherScript;
std::vector<const char*>& sexLabels;
std::vector<int>& levels20;
std::vector<int>& useLevels;
std::vector<int>& otherLevels;
std::vector<int>& homunculusLevels;
};
struct JobNames {
std::vector<const char*>& names;
std::map<unsigned, const char*>& female;
std::map<unsigned, const char*>& male;
const int& currentSex;
int& cachedSex;
static unsigned BaseJob(unsigned job);
const char* Lookup(unsigned job, int sex);
void Initialize(JobNameInitialization& context);
};
#endif