tgoop.com/LuaGameguardian/1511
Create:
Last Update:
Last Update:
::GET FUNCTION::
gg.getInt(class,fieldname)
--10
gg.getString(class,fieldname)
--DeviceModel
gg.getFloat(class,fieldname)
--22.2f
gg.getBool(class,fieldname)
--false
gg.getList(class,fieldname)
--table {}
gg.getInt(class,methodname)
gg.getString(class,methodname)
gg.getFloat(class,methodname)
gg.getBool(class,methodname)
gg.getList(class,methodname)
::SET FUNCTION::
gg.setInt(class,fieldname,100)
gg.setString(class,fieldname,"UserGuest")
gg.setFloat(class,fieldname,2.50)
gg.setBool(class,fieldname,true)
gg.setInt(class,methodname,integer)
gg.setString(class,methodname,string)
gg.setFloat(class,methodname,float)
gg.setBool(class,methodname,boolean)
::SET COLOR::
--Param (Color value)
gg.setColor(class,methodname,"#ff0000")
::GET OBJ POSITION::
player=gg.getList(class,methodname)
for i = 1,#player do
print(Vec3(player[i].x))
print(Vec3(player[i].y))
--3D
--print(Vec3(player[i].z))
end
BY Lua Gameguardian
Share with your friend now:
tgoop.com/LuaGameguardian/1511