GBX.lua.DataModel (Object): Difference between revisions
From Goodblox Wiki
Jump to navigationJump to search
(created the page) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{CatUp|Class reference}} | {{CatUp|Class reference}}__NOTOC__ | ||
__NOTOC__ | |||
==DataModel== | ==DataModel== | ||
The DataModel is the keystone of goodblox's structure. It houses all of the services such as the [[GBX.lua.Workspace (Service)|Workspace]] and [[GBX.lua.Lighting (Service)|Lighting]] in a game. | The DataModel is the keystone of goodblox's structure. It houses all of the services such as the [[GBX.lua.Workspace (Service)|Workspace]] and [[GBX.lua.Lighting (Service)|Lighting]] in a game. It even contains hidden services that [[GoodBlox Studio]] uses. | ||
The DataModel, or as you probably know it as the "game" that you index in your scripts. | The DataModel, or as you probably know it as the "game" that you index in your scripts. | ||
Line 35: | Line 33: | ||
*<span style="color:red">#</span> [[Shutdown (Function)|Shutdown]] | *<span style="color:red">#</span> [[Shutdown (Function)|Shutdown]] | ||
*<span style="color:red">#</span> [[ToggleTools (Function)|ToggleTools]] | *<span style="color:red">#</span> [[ToggleTools (Function)|ToggleTools]] | ||
*<span style="color:red">#</span> [[get (Function)|get]] | *<span style="color:red">#</span> <s>[[get (Function)|get]]</s> | ||
*[[service (Function)|service]] | *[[service (Function)|service]] | ||
Latest revision as of 09:20, 27 September 2021
DataModel
The DataModel is the keystone of goodblox's structure. It houses all of the services such as the Workspace and Lighting in a game. It even contains hidden services that GoodBlox Studio uses.
The DataModel, or as you probably know it as the "game" that you index in your scripts.
Functions
In addition to the Global functions, the DataModel also has these:
# indicates a locked function. These should NOT be tampered with.
- # ClearContent
- # ClearMessage
- # GetJobIntervalPeakFraction
- # GetJobTimePeakFraction
- # GetJobsExtendedStats
- # GetJobsInfo
- # GetObjects
- GetRemoteBuildMode
- GetService
- # HttpGet
- # HttpPost
- # Load
- # Save
- # ServerSave
- # SetJobsExtendedStatsWindow
- # SetMessage
- # SetMessageBrickCount
- # SetPlaceID
- # SetRemoteBuildMode
- # SetScreenshotInfo
- # SetServerSaveUrl
- # SetVideoInfo
- # Shutdown
- # ToggleTools
- #
get - service
Properties
In addition to the Global properties, the DataModel also has these:
Events
In addition to the Global events, the DataModel also has these: