GSServer-CBT/soggy_resources/lua/Hotfix.lua

15 lines
459 B
Lua
Raw Permalink Normal View History

2022-11-21 11:30:31 +03:00
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)