AbstractDerivationID

From ModEnc

(Redirected from AbstractDerivation ID)
Jump to: navigation, search

An AbstractDerivationID is what identifies every "dead-end" class (i.e. non-abstract classes) deriving from the AbstractClass uniquely.
In the game, it is often useful - for commonality's sake - to have a function or similar pass a FootClass, which is the base class of the [[UnitClass], the InfantryClass and the AircraftClass. This way, operations for moving units can be handled using one part of code.
However, sometimes one needs to know what exactly this FootClass is (one of the three possibilities named above). For this, you use the AbstractDerivationID.

[edit] AbstractDerivationID List

This list is equivalent to the one on the Factory page.
Since this is a different context, here they are listed again:

ID Class
0x00<Abstract> (can be considered an error value)
0x01UnitClass
0x02AircraftClass
0x03AircraftTypeClass
0x04AnimationClass
0x05AnimationTypeClass
0x06Building
0x07BuildingType
0x08BulletClass
0x09BulletTypeClass
0x0ACampaignClass
0x0BCellClass
0x0CFactoryClass
0x0DHouseClass
0x0EHouseTypeClass
0x0FInfantryClass
0x10InfantryTypeClass
0x11IsometricTileClass
0x12IsometricTileTypeClass
0x13BuildingLightClass
0x14OverlayClass
0x15OverlayTypeClass
0x16ParticleClass
0x17ParticleTypeClass
0x18ParticleSystemClass
0x19ParticleSystemTypeClass
0x1AScriptClass
0x1BScriptTypeClass
0x1CSideClass
0x1DSmudgeClass
0x1ESmudgeTypeClass
0x1FSpecial
used for cameos (SW icons)
0x20SuperWeaponTypeClass
0x21TaskForceClass
0x22TeamClass
0x23TeamTypeClass
0x24TerrainClass
0x25TerrainTypeClass
0x26TriggerClass
0x27TriggerTypeClass
0x28UnitTypeClass
0x29VoxelAnimClass
0x2AVoxelAnimTypeClass
0x2BWaveClass
0x2CTagClass
0x2DTagTypeClass
0x2ETiberiumClass
0x2FTActionClass
0x30TEventClass
0x31WeaponTypeClass
0x32WarheadTypeClass
0x33WaypointClass
0x34AbstractClass
0x35TubeClass
0x36LightSourceClass
0x37EMPulseClass
0x38TacticalClass
0x39SuperClass
0x3AAITriggerClass
0x3BAITriggerTypeClass
0x3CNeuronClass
0x3DFoggedObjectClass
0x3EAlphaShapeClass
0x3FVeinholeMonsterClass
0x40NavyType (???)
RA2 only:
0x41SpawnManagerClass
0x42CaptureManagerClass
0x43ParasiteClass
0x44BombClass
0x45RadSiteClass
0x46TemporalClass
YR only:
0x47AirstrikeClass
0x48SlaveManagerClass
0x49DiskLaser
Personal tools