|
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 | |
| int | flags = 0 |
| int | timdat = 0 |
| tuple | version = (0, 0) |
Protected Member Functions | |
| _unpack_data_entry (self, mem, addr, ident) | |
Protected Attributes | |
| int | _descs_size = 0 |
| list | _id_leaves = [] |
| _ident = ident | |
| list | _name_leaves = [] |
| int | _strings_size = 0 |
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 = 0 |
| timdat = 0 |
| tuple version = (0, 0) |