RBX.lua.DataModel (Service): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker No edit summary |
>Mindraker →Functions: get() |
||
Line 27: | Line 27: | ||
*<font color="red">#</font>[[SetMessage (Function)|SetMessage()]] | *<font color="red">#</font>[[SetMessage (Function)|SetMessage()]] | ||
*<font color="red">#</font>[[SetMessageBrickCount (Function)|SetMessageBrickCount]] | *<font color="red">#</font>[[SetMessageBrickCount (Function)|SetMessageBrickCount]] | ||
*[[get (Function)|<s>get()</s>]] | |||
*[[service (Function)|service()]] | *[[service (Function)|service()]] | ||
==Properties== | ==Properties== |
Revision as of 17:29, 28 September 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: