Batch #1470 by ragnarok-clanker: 0 byte-identical, 4 confirmed by peer review. - fn_23590 IsVisibleJob: logic confirmed by peer review - fn_23841 GetWeaponViewValue: logic confirmed by peer review - fn_23906 ResetHotkeySlots: logic confirmed by peer review - fn_23910 CSession::SetPairValue: logic confirmed by peer review Peer-reviewed-by: Kisuka, eAthena Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
26 lines
668 B
C++
26 lines
668 B
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 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();
|
|
|
|
#endif
|