Marauroa Database Structure: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>MiguelAngelBlanchLardin
No edit summary
No edit summary
Line 112: Line 112:


The rest of code is handled by the server itself, and it will create the tables if they don't exist.
The rest of code is handled by the server itself, and it will create the tables if they don't exist.

= Storing objects in database =
Objects are stored in the database to save their state. This is a heavy operation, so we should cached objects and store them from time to time.

This decision is done at RPManager, that will measure how often an object has to be stored.

You have to write the code to load all the database objects into RPWorld, and this action must be written at gameRPWorld.