rodecomp/Source/Contents/Skills/AutomaticSkills.h
ragnarok-clanker 4e319e3a02 Decompile fn_09151 (AutomaticSkills::CancelOption)
Batch #15929 by eAthena: 1 byte-identical, 0 confirmed by peer review.

- fn_09151 AutomaticSkills::CancelOption: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-11-10 11:54:39 +00:00

27 lines
693 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_SKILLS_AUTOMATICSKILLS_H
#define RAGNAROK_SOURCE_CONTENTS_SKILLS_AUTOMATICSKILLS_H
#include <cstdint>
#include <set>
class AutomaticSkills {
public:
AutomaticSkills();
~AutomaticSkills();
__declspec(noinline) bool Contains(int id) const;
int CancelOption(int id) const;
void DisableAll();
void Use(std::int16_t id, std::int16_t level, std::uint32_t target);
void Complete(int id);
private:
/* 0000 */ std::set<int> m_ids;
AutomaticSkills(const AutomaticSkills&) = delete;
AutomaticSkills& operator=(const AutomaticSkills&) = delete;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(AutomaticSkills) == 8);
#endif
#endif