studio.cache module

Provides model based functionality.

class studio.cache.ModelCache

Bases: Boost.Python.instance

__init__()

Raises an exception This class cannot be instantiated from Python

add_reference((ModelCache)arg1, (int)arg2) → int
find_model((ModelCache)arg1, (str)arg2) → int
get_model_header((ModelCache)arg1, (int)arg2) → ModelHeader
get_model_name((ModelCache)arg1, (int)arg2) → str
get_reference_count((ModelCache)arg1, (int)arg2) → int
release((ModelCache)arg1, (int)arg2) → int
class studio.cache.ModelCacheDataType

Bases: Boost.Python.enum

ANIMBLOCK = _studio._cache.ModelCacheDataType.ANIMBLOCK
DECODEDANIMBLOCK = _studio._cache.ModelCacheDataType.DECODEDANIMBLOCK
STUDIOHDR = _studio._cache.ModelCacheDataType.STUDIOHDR
STUDIOHWDATA = _studio._cache.ModelCacheDataType.STUDIOHWDATA
VCOLLIDE = _studio._cache.ModelCacheDataType.VCOLLIDE
VERTEXES = _studio._cache.ModelCacheDataType.VERTEXES
VIRTUALMODEL = _studio._cache.ModelCacheDataType.VIRTUALMODEL
names = {'STUDIOHDR': _studio._cache.ModelCacheDataType.STUDIOHDR, 'STUDIOHWDATA': _studio._cache.ModelCacheDataType.STUDIOHWDATA, 'VCOLLIDE': _studio._cache.ModelCacheDataType.VCOLLIDE, 'ANIMBLOCK': _studio._cache.ModelCacheDataType.ANIMBLOCK, 'VIRTUALMODEL': _studio._cache.ModelCacheDataType.VIRTUALMODEL, 'VERTEXES': _studio._cache.ModelCacheDataType.VERTEXES, 'DECODEDANIMBLOCK': _studio._cache.ModelCacheDataType.DECODEDANIMBLOCK}
values = {0: _studio._cache.ModelCacheDataType.STUDIOHDR, 1: _studio._cache.ModelCacheDataType.STUDIOHWDATA, 2: _studio._cache.ModelCacheDataType.VCOLLIDE, 3: _studio._cache.ModelCacheDataType.ANIMBLOCK, 4: _studio._cache.ModelCacheDataType.VIRTUALMODEL, 5: _studio._cache.ModelCacheDataType.VERTEXES, 6: _studio._cache.ModelCacheDataType.DECODEDANIMBLOCK}