15 lines
459 B
Lua
15 lines
459 B
Lua
|
xlua.hotfix(CS.MoleMole.MonoTestHotFix, 'TestPublicHotfix', function(self)
|
||
|
print('TestPublicHotfix in lua')
|
||
|
end)
|
||
|
|
||
|
xlua.hotfix(CS.MoleMole.MonoTestHotFix, 'TestPrivateHotfix', function(self)
|
||
|
print('TestPrivateHotfix in lua')
|
||
|
end)
|
||
|
|
||
|
xlua.hotfix(CS.MoleMole.TestHotFix, 'TestAddPublicHotfix', function(self, a, b)
|
||
|
return a + b
|
||
|
end)
|
||
|
|
||
|
xlua.hotfix(CS.MoleMole.TestHotFix, 'TestAddPrivateHotfix', function(self, a, b)
|
||
|
return a * b
|
||
|
end)
|