Fields Structure/CUnit

From SC2Mapster Wiki
Jump to: navigation, search

CUnit (Class)[edit | edit source]

Properties[edit | edit source]

  • Type : Units
  • Read Access: Yes
  • Write Access: Yes

Information[edit | edit source]

Needs further explanation...

Architecture[edit | edit source]

CUnit[edit | edit source]

CUnit
- Name (CStringLink)
- Description (CStringLink)
- InfoTooltipPriority (uint32)
- DeathTime (CGameTime)
- DeathRevealFilters (CTargetFilters)
- DeathRevealRadius (CFixed)
- DeathRevealDuration (CGameTime)
- DeathRevealType (EDeathReveal)
- ReviveDelay (CGameTime)
- ReviveType (CUnitLink)
- Facing (CFacing)
- Race (CRaceLink)
- Mob (EUnitMob)
- FlagArray[] (CFlagArray<e_unitFlagCount>)
- ResourceState (EResourceState)
- ResourceType (EResourceType)
- ResourceDropOff[] (CFlagArray<e_resourceTypeCount>)
- FogVisibility (EFogVisibility)
- EditorFlags[] (CFlagArray<e_editorFlagCount>)
- PlaneArray[] (CFlagArray<e_planeCount>)
- PushPriority (CFixed)
- Collide[] (CFlags)
- DefaultAcquireLevel (EAcquireLevel)
- Response (EUnitResponse)
- Attributes[] (CFlagArray<e_unitAttributeCount>)
- LifeStart (CFixed)
- LifeMax (CFixed)
- LifeArmor (CFixed)
- LifeArmorDisplayFlags[] (CFlagArray<e_equipmentDisplayFlagCount>)
- LifeRegenDelay (CGameTime)
- LifeRegenRate (CGameRate)
- LifeArmorName (CStringLink)
- LifeArmorLevel (uint32)
- LifeDamageGain[] (CFixed)
- LifeDamageLeech[] (CFixed)
- EnergyStart (CFixed)
- EnergyMax (CFixed)
- EnergyRegenDelay (CGameTime)
- EnergyRegenRate (CGameRate)
- EnergyDamageGain[] (CFixed)
- EnergyDamageLeech[] (CFixed)
- ShieldsStart (CFixed)
- ShieldsMax (CFixed)
- ShieldArmor (CFixed)
- ShieldArmorDisplayFlags[] (CFlagArray<e_equipmentDisplayFlagCount>)
- ShieldRegenDelay (CGameTime)
- ShieldRegenRate (CGameRate)
- ShieldArmorName (CStringLink)
- ShieldArmorLevel (uint32)
- ShieldDamageGain[] (CFixed)
- ShieldDamageLeech[] (CFixed)
- Mover (CMoverLink)
- Speed (CGameSpeed)
- SpeedDisplayFlags[] (CFlagArray<e_equipmentDisplayFlagCount>)
- SpeedBonusCreep (CGameSpeed)
- SpeedMultiplierCreep (CFixed)
- Acceleration (CGameAcceleration)
- Deceleration (CGameAcceleration)
- LateralAcceleration (CGameAcceleration)
- StationaryTurningRate (CFangleRate)
- TurningRate (CFangleRate)
- Sight (CFixed)
- SightBonus[] (CFixed)
- Height (CFixed)
- VisionHeight (CFixed)
- OccludeHeight (CFixed)
- Food (CFixed)
- CostCategory (ECostCategory)
- CostResource[] (int32)
- PawnItemReduction (CFixed)
- RepairTime (CGameTime)
- ReviveTime (CGameTime)
- AttackTargetPriority (TAttackTargetPriority)
- AIOverideTargetPriority (TAttackTargetPriority)
- DamageDealtXP (uint32)
- DamageTakenXP (uint32)
- KillXP (uint32)
- KillResource[] (int32)
- StrafeRadius (CFixed)
- AbilArray[] (SUnitAbilData)
- BehaviorArray[] (SUnitBehaviorData)
- TurretArray[] (CTurretLink)
+ WeaponArray[] (SUnitWeaponData)
   - Link (CWeaponLink)
   - Turret (CTurretLink)
+ CardLayouts[] (SCardLayout)
   - CardId (CCardId)
   + LayoutButtons[] (SCardLayoutButton)
      - Face (CButtonLink)
      - Type (ECardButtonType)
      - AbilCmd (CAbilCommand)
      - Behavior (CBehaviorLink)
      - Requirements (const CTechRequirementsGraph*)
      - SubmenuAbilState (CAbilLink)
      - SubmenuCardId (CCardId)
      - SubmenuFullSubCmdValidation (flag8)
      - SubmenuIsSticky (flag8)
      - Row (uint8)
      - Column (uint8)
- Radius (TUnitRadius)
- DeadRadius (TUnitRadius)
- SeparationRadius (CFixed)
- InnerRadius (TUnitRadius)
- CargoSize (TCargoSize)
- Footprint (CFootprintLink)
- DeadFootprint (CFootprintLink)
- PlacementFootprint (CFootprintLink)
+ AddedOnArray[] (SAddedOnData)
   - UnitLink (CUnitLink)
   - BehaviorLink (CBehaviorLink)
- AddOnOffsetX (CFixed)
- AddOnOffsetY (CFixed)
- BuiltOn[] (CUnitLink)
- ScoreMake (int32)
- ScoreKill (int32)
- ScoreLost (int32)
- ScoreResult (CScoreResultLink)
- SubgroupPriority (uint32)
- MinimapRadius (CFixed)
- EditorCategories (TEditorCategories)
- BuildCatAI (EBuildCategoryAI)
- TacticalAI (CTacticalLink)
- TacticalAIRange (TGalaxyFunction)
- TacticalAIThink (TGalaxyFunction)
- TacticalAIChannel (TGalaxyFunction)
- TacticalAIFilters (CTargetFilters)
- AIEvalFactor (CFixed)
- AIEvalConstant (CFixed)
- Item (CItemLink)
- Mass (CFixed)
+ PowerupCost (SCost)
   - Resource[] (int32)
   - Display[] (CFlags)
   - Vital[] (CFixed)
   - VitalFraction[] (CFixed)
   + Charge (SCharge)
      - CountMax (CFixed)
      - CountStart (CFixed)
      - CountUse (CFixed)
      - HideCount (flag)
      - Link (TChargeLink)
      - Location (EChargeLocation)
      - TimeStart (CGameTime)
      - TimeUse (CGameTime)
   + Cooldown (SCooldown)
      - Link (TCooldownLink)
      - Location (ECooldownLocation)
      - TimeStart (CGameTime)
      - TimeUse (CGameTime)
- PowerupEffect (CEffectLink)
- PowerupFilters (CTargetFilters)
- LeaderAlias (CUnitLink)
- HotkeyAlias (CUnitLink)
- SelectAlias (CUnitLink)
- SubgroupAlias (CUnitLink)
- TechAliasArray[] (TTechAlias)
+ EquipmentArray[] (SUnitEquipment)
   - Effect (CEffectLink)
   - Icon (CImagePath)
   - Name (CStringLink)
   - Tooltip (CStringLink)
   - Weapon (CWeaponLink)
- SyncModelData (CSyncModelDataPath)
- AINotifyEffect (CEffectLink)
- GlossaryCategory (CStringLink)
- GlossaryPriority (int32)
- GlossaryStrongArray[] (CUnitLink)
- GlossaryWeakArray[] (CUnitLink)
- GlossaryAlias (CUnitLink)
- HotkeyCategory (CStringLink)
- KillDisplay (EKillDisplay)
- AIEvaluateAlias (CUnitLink)
- TechTreeProducedUnitArray[] (CUnitLink)
- TechTreeUnlockedUnitArray[] (CUnitLink)
+ Fidget (SFidget)
   - ChanceArray[] (uint8)
   - DelayMax (CGameTime)
   - DelayMin (CGameTime)
   - DistanceMax (CFixed)
   - DistanceMin (CFixed)
   - TurnAngle (CFangle)
   - TurningRate (CFangleRate)
- LootArray[] (CLootLink)
- TauntDuration[] (CGameTime)
- IdleCommand (CAbilCommand)
+ ReviveInfoBase (SUnitReviveInfo)
   - Resource[] (int32)
   - Display[] (CFlags)
   - Vital[] (CFixed)
   - VitalFraction[] (CFixed)
   + Charge (SCharge)
      - CountMax (CFixed)
      - CountStart (CFixed)
      - CountUse (CFixed)
      - HideCount (flag)
      - Link (TChargeLink)
      - Location (EChargeLocation)
      - TimeStart (CGameTime)
      - TimeUse (CGameTime)
   + Cooldown (SCooldown)
      - Link (TCooldownLink)
      - Location (ECooldownLocation)
      - TimeStart (CGameTime)
      - TimeUse (CGameTime)
   - Time (CGameTime)
+ ReviveInfoLevel (SUnitReviveInfo)
   - Resource[] (int32)
   - Display[] (CFlags)
   - Vital[] (CFixed)
   - VitalFraction[] (CFixed)
   + Charge (SCharge)
      - CountMax (CFixed)
      - CountStart (CFixed)
      - CountUse (CFixed)
      - HideCount (flag)
      - Link (TChargeLink)
      - Location (EChargeLocation)
      - TimeStart (CGameTime)
      - TimeUse (CGameTime)
   + Cooldown (SCooldown)
      - Link (TCooldownLink)
      - Location (ECooldownLocation)
      - TimeStart (CGameTime)
      - TimeUse (CGameTime)
   - Time (CGameTime)

Types used[edit | edit source]