| Home | Trees | Index | Help |
|---|
| Package objects :: Module Object :: Class Object |
|
object--+ |Header--+ |Processed--+ |Describable--+ | Object
Fleet,
Galaxy,
Planet,
StarSystem,
Universe,
WormholeThe Object packet consists of: * a UInt32, object ID * a UInt32, object type * a String, name of object * a UInt64, size of object (diameter) * 3 by Int64, position of object * 3 by Int64, velocity of object * a list of UInt32, object IDs of objects contained in the current object * a list of UInt32, order types that the player can send to this object * a UInt32, number of orders currently on this object * a UInt64, the last modified time * 2 by UInt32 of padding, for future expansion of common attributes * extra data, as defined by each object type
| Method Summary | |
|---|---|
__init__(self,
sequence,
id,
subtype,
name,
size,
posx,
posy,
posz,
velx,
vely,
velz,
contains,
order_types,
order_number,
modify_time,
*args,
**kw)
| |
Return a reconisable string. | |
Produce a string suitable to be send over the wire. | |
| Inherited from Describable | |
| |
| Inherited from Header | |
| |
Processes the data of the packet. | |
Look at the packet type and morph this object into the correct type. (Class method) | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
helper for pickle... | |
helper for pickle... | |
x.__setattr__('name', value) <==> x.name = value... | |
| Class Variable Summary | |
|---|---|
int |
no = 7 |
str |
struct = 'IIS Q 3q 3q [I] [I] I T 8x'
|
str |
_name = 'Unknown Object'
|
| Inherited from Describable | |
str |
substruct = ''
|
| Inherited from Header | |
dict |
mapping = {0: <class 'objects.OK.OK'>, 1: <class 'object...
|
int |
size = 16 |
| Instance Method Details |
|---|
__repr__(self)
|
__str__(self)
|
| Class Variable Details |
|---|
no
|
struct
|
_name
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Fri Jan 1 08:00:26 2010 | http://epydoc.sf.net |