lr_boilerplate/client/impl/test.impl.lua
2023-12-05 15:00:07 +07:00

18 lines
319 B
Lua

local Impl = NewImpl("Test")
function Impl:Init()
main:LogInfo("%s initialized", self:GetName())
self.data = {
test = "test"
}
self.testVar = 0
end
function Impl:GetData()
return self.data
end
function Impl:Add(amount, amount2)
self.testVar = self.testVar + amount + amount2
return self.testVar
end