Panda3D
|
Public Member Functions | |
__init__ (self, ident=()) | |
__getitem__ (self, key) | |
__iter__ (self) | |
__len__ (self) | |
__setitem__ (self, key, value) | |
count_resources (self) | |
get_nested_tables (self) | |
items (self) | |
pack_header (self, data, offs) | |
unpack_from (self, mem, addr=0, offs=0) | |
Public Attributes | |
flags | |
timdat | |
version | |
Protected Member Functions | |
_unpack_data_entry (self, mem, addr, ident) | |
Protected Attributes | |
_descs_size | |
_id_leaves | |
_ident | |
_name_leaves | |
_strings_size | |
Static Protected Attributes | |
_header = Struct('<IIHHHH') | |
A table in the resource directory.
__init__ | ( | self, | |
ident = () ) |
__getitem__ | ( | self, | |
key ) |
__iter__ | ( | self | ) |
__len__ | ( | self | ) |
__setitem__ | ( | self, | |
key, | |||
value ) |
Adds the given item to the table. Maintains sort order.
|
protected |
count_resources | ( | self | ) |
Counts all of the resources.
get_nested_tables | ( | self | ) |
Returns all tables in this table and subtables.
items | ( | self | ) |
pack_header | ( | self, | |
data, | |||
offs ) |
unpack_from | ( | self, | |
mem, | |||
addr = 0, | |||
offs = 0 ) |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
flags |
timdat |
version |