CBaseEntity: Difference between revisions
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
'''m_flAnimTime''' (AnimTimeMustBeFirst) | '''m_flAnimTime''' (AnimTimeMustBeFirst) | ||
Type: float | |||
Description: | Description: | ||
Line 23: | Line 21: | ||
'''m_flSimulationTime''' (CBaseEntity) | '''m_flSimulationTime''' (CBaseEntity) | ||
Type: float | |||
Description: | Description: | ||
Line 41: | Line 37: | ||
------------ | ------------ | ||
The local origin of the entity, which is it's position relative to the entity's parent. If the entity has no parent, the relative position from the global origin (0, 0, 0) is used. | |||
'''m_ubInterpolationFrame''' (CBaseEntity) | '''m_ubInterpolationFrame''' (CBaseEntity) | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 58: | Line 52: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 112: | Line 104: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 124: | Line 114: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 136: | Line 124: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 148: | Line 134: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 160: | Line 144: | ||
Type: boolean | Type: boolean | ||
Description: | Description: | ||
Line 212: | Line 194: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 224: | Line 204: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 231: | Line 209: | ||
------------ | ------------ | ||
https://developer.valvesoftware.com/wiki/Render_Modes | |||
'''m_fEffects''' (CBaseEntity) | '''m_fEffects''' (CBaseEntity) | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 248: | Line 224: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 260: | Line 234: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 272: | Line 244: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 304: | Line 274: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 316: | Line 284: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 328: | Line 294: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 340: | Line 304: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 352: | Line 314: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 364: | Line 324: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 386: | Line 344: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 400: | Line 356: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 412: | Line 366: | ||
Type: boolean | Type: boolean | ||
Description: | Description: | ||
Line 424: | Line 376: | ||
Type: boolean | Type: boolean | ||
Description: | Description: | ||
Line 436: | Line 386: | ||
Type: boolean | Type: boolean | ||
Description: | Description: | ||
Line 448: | Line 396: | ||
Type: boolean | Type: boolean | ||
Description: | Description: | ||
Line 462: | Line 408: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 474: | Line 418: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 486: | Line 428: | ||
Type: integer | Type: integer | ||
Description: | Description: | ||
Line 498: | Line 438: | ||
Type: integer | Type: integer | ||
Description: | Description: |
Revision as of 01:25, 30 January 2022
Overview
The class from which all entity types derive from. The only exceptions to this are TempEnts, which are temporary entities that are too simple to warrant the overhead of inheriting from CBaseEntity.
Source Location : /game/server/baseentity.h
SendProps
CBaseEntity
AnimTimeMustBeFirst (CBaseEntity)
m_flAnimTime (AnimTimeMustBeFirst)
Type: float
Description:
------------
..?
m_flSimulationTime (CBaseEntity)
Type: float
Description:
------------
..?
m_vecOrigin (CBaseEntity)
Type: vector
Description:
------------
The local origin of the entity, which is it's position relative to the entity's parent. If the entity has no parent, the relative position from the global origin (0, 0, 0) is used.
m_ubInterpolationFrame (CBaseEntity)
Type: integer
Description:
------------
..?
m_nModelIndex (CBaseEntity)
Type: integer
Description:
------------
..?
m_Collision (CBaseEntity)
m_vecMinsPreScaled (m_Collision)
Type: vector
Description:
------------
..?
m_vecMaxsPreScaled (m_Collision)
Type: vector
Description:
------------
..?
m_vecMins (m_Collision)
Type: vector
Description:
------------
..?
m_vecMaxs (m_Collision)
Type: vector
Description:
------------
..?
m_nSolidType (m_Collision)
Type: integer
Description:
------------
..?
m_usSolidFlags (m_Collision)
Type: integer
Description:
------------
..?
m_nSurroundType (m_Collision)
Type: integer
Description:
------------
..?
m_triggerBloat (m_Collision)
Type: integer
Description:
------------
..?
m_bUniformTriggerBloat (m_Collision)
Type: boolean
Description:
------------
..?
m_vecSpecifiedSurroundingMinsPreScaled (m_Collision)
Type: vector
Description:
------------
..?
m_vecSpecifiedSurroundingMaxsPreScaled (m_Collision)
Type: vector
Description:
------------
..?
m_vecSpecifiedSurroundingMins (m_Collision)
Type: vector
Description:
------------
..?
m_vecSpecifiedSurroundingMaxs (m_Collision)
Type: vector
Description:
------------
..?
m_nRenderFX (CBaseEntity)
Type: integer
Description:
------------
..?
m_nRenderMode (CBaseEntity)
Type: integer
Description:
------------
https://developer.valvesoftware.com/wiki/Render_Modes
m_fEffects (CBaseEntity)
Type: integer
Description:
------------
..?
m_clrRender (CBaseEntity)
Type: integer
Description:
------------
..?
m_iTeamNum (CBaseEntity)
Type: integer
Description:
------------
..?
m_CollisionGroup (CBaseEntity)
Type: integer
Description:
------------
..?
m_flElasticity (CBaseEntity)
Type: float
Description:
------------
..?
m_flShadowCastDistance (CBaseEntity)
Type: float
Description:
------------
..?
m_hOwnerEntity (CBaseEntity)
Type: integer
Description:
------------
..?
m_hEffectEntity (CBaseEntity)
Type: integer
Description:
------------
..?
moveparent (CBaseEntity)
Type: integer
Description:
------------
..?
m_iParentAttachment (CBaseEntity)
Type: integer
Description:
------------
..?
movetype (CBaseEntity)
Type: integer
Description:
------------
..?
movecollide (CBaseEntity)
Type: integer
Description:
------------
..?
m_angRotation (CBaseEntity)
Type: vector
Description:
------------
..?
m_iTextureFrameIndex (CBaseEntity)
Type: integer
Description:
------------
..?
predictable_id (CBaseEntity)
m_PredictableID (predictable_id)
Type: integer
Description:
------------
..?
m_bIsPlayerSimulated (predictable_id)
Type: boolean
Description:
------------
..?
m_bSimulatedEveryTick (CBaseEntity)
Type: boolean
Description:
------------
..?
m_bAnimatedEveryTick (CBaseEntity)
Type: boolean
Description:
------------
..?
m_bAlternateSorting (CBaseEntity)
Type: boolean
Description:
------------
..?
m_nModelIndexOverrides (CBaseEntity)
000 (m_nModelIndexOverrides)
Type: integer
Description:
------------
..?
001 (m_nModelIndexOverrides)
Type: integer
Description:
------------
..?
002 (m_nModelIndexOverrides)
Type: integer
Description:
------------
..?
003 (m_nModelIndexOverrides)
Type: integer
Description:
------------
..?