RBX.lua.DataModel (Service): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Anaminus cat: Services |
>Mindraker No edit summary |
||
Line 1: | Line 1: | ||
{{CatUp|Class reference}} | |||
{{stub}} | |||
__NOTOC__ | |||
{{service}} | |||
==DataModel== | ==DataModel== | ||
Line 4: | Line 11: | ||
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. | ||
==Functions== | |||
In addition to the global functions, the DataModel service also has these functions:<br> | |||
''<font color="red"># indicates a locked function. These should NOT be tampered with.</font>'' | |||
*<font color="red">#</font>[[ClearContent (Function)|ClearContent()]] | |||
*<font color="red">#</font>[[ClearMessage (Function)|ClearMessage()]] | |||
*<font color="red">#</font>[[Close (Function)|Close()]] | |||
*<font color="red">#</font>[[GetObjects (Function)|GetObjects()]] | |||
*[[GetService (Function)|GetService]] | |||
*<font color="red">#</font>[[HttpGet (Function)|HttpGet()]] | |||
*<font color="red">#</font>[[HttpPost (Function)|HttpPost()]] | |||
*<font color="red">#</font>[[Load (Function)|Load()]] | |||
*<font color="red">#</font>[[Save (Function)|Save()]] | |||
*<font color="red">#</font>[[SetMessage (Function)|SetMessage()]] | |||
*<font color="red">#</font>[[SetMessageBrickCount (Function)|SetMessageBrickCount]] | |||
*[[service (Function)|service()]] | |||
==Properties== | |||
The DataModel service only incorporates the global properties. | |||
==Events== | |||
In addition to the global events, the DataModel service includes: | |||
*[[Close (Event)|Close]] | |||
[[Category:ROBLOX Lua Services]] | [[Category:ROBLOX Lua Services]] |
Revision as of 00:12, 18 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
- service()
Properties
The DataModel service only incorporates the global properties.
Events
In addition to the global events, the DataModel service includes: