Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some problems about the decompiled LUA codes
#1
Question 
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:

Quote: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?


-------------Thank you !!!


Forum Jump:


Users browsing this thread: 1 Guest(s)