Marauroa Database Structure: Difference between revisions
Content deleted Content added
imported>StephenIerodiaconou No edit summary |
|||
Line 1:
= Basic idea behind Database storage =
==Database Tables and Relationships ==
Line 113:
The rest of code is handled by the server itself, and it will create the tables if they don't exist.
= Storing objects in the database =
Objects are stored in the database to save their state. This is a heavy (intensive) operation, so we should
This decision is
You have to write the code to load all the database objects into RPWorld, and this action must be written at gameRPWorld.
== How objects are identified
It is important to notice that RPObject.ID is only valid while the object is online. So there is no
To solve this problem we store
When
| |||