~GaLs~
† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
- Reaction score
- 180
How do I use method as a function callback such as:
JASS:
struct ss
method callback takes nothing returns nothing
call BJDebugMsg("1")
endmethod
endstruct
function SomeFunc takes nothing returns nothing
local ss SomeStruct = ss.create()
call TimerStart(CreateTimer(),1,true, function SomeStruct.callback)
endfunction