rodecomp/Source/Contents/Jobs/JobInheritance.h
ragnarok-clanker b2589563e0 Decompile 2 functions in Source/Contents/Jobs/JobInheritance.cpp, Source/Contents/Jobs/JobInheritance.h, ...
Batch #2545 by alisonrag: 0 byte-identical, 2 confirmed by peer review.

- fn_23577 ValidateCharacterName: logic confirmed by peer review
- fn_23579 IsNavigationActive: logic confirmed by peer review

Peer-reviewed-by: ntrl, meitogi, willerthal
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-29 17:52:21 +00:00

37 lines
1 KiB
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_JOBS_JOBINHERITANCE_H
#define RAGNAROK_SOURCE_CONTENTS_JOBS_JOBINHERITANCE_H
class LuaScript;
class CPlayerSkillBundle;
struct JobInheritance {
LuaScript& script;
int Lookup(int job);
void InitializeSkillTree(CPlayerSkillBundle& bundle, int job);
};
#include <cstdint>
#include <string>
bool __stdcall IsPlayerJob(int job);
bool __stdcall IsVisibleJob(int job);
int __stdcall GetWeaponViewValue(int weapon);
int __stdcall GetDualWieldWeaponType(int first, int second);
bool __stdcall IsJobWeaponAllowed(int job, int slot, std::int64_t weapon);
int __stdcall GetRealWeaponId(int weapon);
std::string GetJobTitleString(int job);
bool ResetHotkeySlots();
bool IsScreenShakeActive();
bool __stdcall ValidateCharacterName(const char* name);
bool IsNavigationActive();
bool __stdcall IsJobStyleAllowed(int job, int style);
bool __stdcall IsJobHeadAllowed(int job, int head, int sex);
extern int g_screenShakeDuration;
extern char g_screenShakeMode;
extern const char g_playerNameKeyData[];
extern const char* g_playerNameKey;
#endif