Skip to main content

Module classid

Module classid 

Source
Expand description

Class ids and their names, from UnityPy’s MIT enums/ClassIDType.py (368 ids in 1.25.2). Names are for people and output naming; the core works in i32 and never needs a name to read a file. UnityPy extends its enum at runtime for an unknown id; class_name returns None for one.

Owner: package A. CLASS_NAMES is generated by tools/gen/gen_tables.py from the oracle’s UnityPy 1.25.2 (plan section 2.6). The constants below are the ids the core itself uses.

Constants§

ASSET_BUNDLE
AssetBundle: read at load for the container (SerializedFile.py:316-324).
MONO_BEHAVIOUR
MonoBehaviour: the script-tree provider hook (ObjectReader.py:298-304).
MONO_SCRIPT
MonoScript: what a MonoBehaviour’s m_Script points at.

Statics§

CLASS_NAMES
(id, name) pairs sorted by id.

Functions§

class_name
UnityPy’s ClassIDType name for id.