GameDesign: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
Line 321: Line 321:
- Attributes that begin with ! are completely hidden for all the users but the owner of the object.
- Attributes that begin with ! are completely hidden for all the users but the owner of the object.
- Attributes that begin with # are completely hidden for all the users.
- Attributes that begin with # are completely hidden for all the users.

===Classes of Objects Explained===
Classes of Objects are the basic way of structuring Marauroa data structures.

A class defines types of the attributes and its visibility and gives it an internal code that is used to speed up searchs and save bandwidth. You can base a class on another, this feature is known as inheritance.

The data types available are:
* Strings
* Short strings ( up to 255 bytes )
* Integers ( 4 bytes )
* Shorts ( 2 bytes )
* Byte ( 1 byte )
* Flag ( it is a binary attribute )

Attributes can also be visible if clients see them when they change, or invisible if clients can't see them.


===Slots===
===Slots===
Line 449: Line 464:


In order to make perceptions work, you have to manually call modify method so that you notify the zone about changes in a character.
In order to make perceptions work, you have to manually call modify method so that you notify the zone about changes in a character.


==Classes of Objects Explained==
Classes of Objects are the basic way of structuring Marauroa data structures.

A class defines types of the attributes and its visibility and gives it an internal code that is used to speed up searchs and save bandwidth. You can base a class on another, this feature is known as inheritance.

The data types available are:
* Strings
* Short strings ( up to 255 bytes )
* Integers ( 4 bytes )
* Shorts ( 2 bytes )
* Byte ( 1 byte )
* Flag ( it is a binary attribute )

Attributes can also be visible if clients see them when they change, or invisible if clients can't see them.