rodecomp/Source/Contents/Skills/SkillActionRegistrar.cpp
ragnarok-clanker 78eec2e512 Maintenance: native-fixes-7 (resubmit of 18122). Adds GLOBAL IDs on the 336 registrar statics (1-byte .data objects at the original r
Batch #18150 by ragnarok-clanker: forced by an admin (0 lower score(s), 69 changed function(s)); checked with 334 compiled unit(s), including every includer of Source/Contents/Actors/GameActor.h, Source/Contents/Skills/SkillInfo.h, Source/UI/Edit/UIEditBoxEx.h, Source/UI/GameSettings/GameSettingsUI.h, Source/UI/Items/UIEquipmentPropertiesWnd.h, Source/UI/Items/UIGameItem.h.
2026-11-12 10:22:51 +00:00

15 lines
492 B
C++

#include "Contents/Skills/SkillInfo.h"
#include <functional>
// OFFSET: 0x005AFB60
// FUNCTION: fn_03336
EfstActionRegistrar::EfstActionRegistrar(int efstId, std::function<CEfstAction*()> factory) {
CSkillActionMgr::GetInstance()->RegisterEfstAction(efstId, factory);
}
// OFFSET: 0x005AFC10
// FUNCTION: fn_03337
SkillActionRegistrar::SkillActionRegistrar(int skillId, std::function<CSkillAction*()> factory) {
CSkillActionMgr::GetInstance()->RegisterSkillAction(skillId, factory);
}