RBX.lua.DataModel (Service): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>GoldenUrg removed {{stub}} |
>GoldenUrg removed {{stub}} |
(No difference)
|
Revision as of 03:06, 25 April 2010
This is a Game Service; it cannot be created with Instance.new - it must be obtained using the GetService method, or as a child of game.
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: