RBX.lua.DataModel (Service): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Outofspace mNo edit summary |
>Outofspace mNo edit summary |
(No difference)
|
Revision as of 10:55, 17 November 2008
Stub This article is a stub. If you think you know more about this than we do, please help us by contacting a writer. Thank you! |
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: