- This topic has 0 replies, 1 voice, and was last updated 10 years, 11 months ago by .
Some problems about the decompiled LUA codes
- You must be logged in to reply to this topic.
Home / Forums / Modders Corner / Mafia Editing / Mafia II mods / Some problems about the decompiled LUA codes
Home / Forums / Modders Corner / Mafia Editing / Mafia II mods / Some problems about the decompiled LUA codes
I decompiled some of the LUA files of Mafia2.
But I couldn’t understand them.
For example :
I noticed that each LUA file has these two functions:
function
onGameInit(_ARG_0_
)xxxxxxx
end
function
onEvent(_ARG_0_
,
_ARG_1_
)xxxxxxx
end
1. Is the function “onGameInit” the main function, or the function “onEvent”?
2. What do the _ARG_0_
and
_ARG_1_
mean?