Initial rodecomp source snapshot
This commit is contained in:
commit
d456e8f64a
916 changed files with 156023 additions and 0 deletions
15
Source/Contents/SkillTreeScript.h
Normal file
15
Source/Contents/SkillTreeScript.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#ifndef RAGNAROK_SOURCE_CONTENTS_SKILLTREESCRIPT_H
|
||||
#define RAGNAROK_SOURCE_CONTENTS_SKILLTREESCRIPT_H
|
||||
|
||||
struct lua_State;
|
||||
class CPlayerSkillBundle;
|
||||
|
||||
// Source-side binding for the two recovered callbacks, not the full original
|
||||
// LuaScript initializer. The bundle must outlive this state's callbacks.
|
||||
// Skill names remain borrowed from Lua strings, as in the reference.
|
||||
// Registers c_AddSkillList and c_AddNeedSkillList only. Both return the existing
|
||||
// top Lua argument (one result, no push), preserve numeric truncation and -1
|
||||
// filters, and associate prerequisites with the first available grouped match.
|
||||
void RegisterSkillTreeCallbacks(lua_State* state, CPlayerSkillBundle& bundle);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue