RBX.lua.DataModel (Service)
From ROBLOX Wiki
(Redirected from DataModel)
| This page is a stub. Please help us by expanding it. Thank you! |
Note: This is a Game Service, and therefore isn't like other Object in the Class Explorer. You have to call it with :
game:RunService("<Service name>")
DataModel
The DataModel is the keystone of roblox's structure. It houses all of the services such as the Workspace and Lighting in a game. (With the exception of the "gameSettings") It even contains hidden services that Roblox 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 service also has these functions:
# indicates a locked function. These should NOT be tampered with.
- #ClearContent()
- #ClearMessage()
- #Close()
- #GetObjects()
- GetService
- #HttpGet()
- #HttpPost()
- #Load()
- #Save()
- #SetMessage()
- #SetMessageBrickCount
- #
get() - service()
Properties
The DataModel service only incorporates the global properties.
Events
In addition to the global events, the DataModel service includes:
