Logo Search packages:      
Sourcecode: balazar3 version File versions  Download package

balazar3-0.1::tofu::Unique Class Reference

Inheritance diagram for balazar3-0.1::tofu::Unique:

balazar3-0.1::tofu::SavedInAPath balazar3-0.1::tofu::Player

List of all members.


Detailed Description

Unique

A Unique is an object that has a unique identifier (UID), which can be used to identify the object
on the server and all clients. The UID can be acessed by the uid attribute.

Only the server or the single mode can create Uniques.

Mobiles and Levels are Uniques.

Definition at line 70 of file __init__.py.


Public Member Functions

def __init__
def __repr__
def discard
def dumps
def dumpsuid
def dumpsuid_or_none
def gen_uid
def gen_uid
def getbyuid
def loaded
def loaded
def undumpsuid

Public Attributes

 uid

Static Private Attributes

tuple _alls = weakref.WeakValueDictionary()
int _next_uid = 1

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index