CBaseEntity: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 206: | Line 206: | ||
== Entity DataMaps == | == Entity DataMaps == | ||
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;" | {| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;" | ||
|+CBaseEntity | |+CBaseEntity | ||
! style="width: 50%; background-color: #303030; color: white" |Name | ! style="width: 50%; background-color: #303030; color: white" |Name | ||
! style="width: 15%; background-color: #303030; color: white" |Type | ! style="width: 15%; background-color: #303030; color: white" |Type | ||
| Line 764: | Line 764: | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|} | |} | ||
Revision as of 00:43, 12 February 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
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||
| m_flSimulationTime | Integer | |||||||||||||||||||||||||||||||||||||||||||
| m_vecOrigin | Vector | |||||||||||||||||||||||||||||||||||||||||||
| m_ubInterpolationFrame | Integer | |||||||||||||||||||||||||||||||||||||||||||
| m_nModelIndex | Integer | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
| m_nRenderFX | Integer | |||||||||||||||||||||||||||||||||||||||||||
| m_nRenderMode | Integer | |||||||||||||||||||||||||||||||||||||||||||
| m_fEffects | Integer | |||||||||||||||||||||||||||||||||||||||||||
| m_clrRender | Integer | |||||||||||||||||||||||||||||||||||||||||||
| m_iTeamNum | Integer | |||||||||||||||||||||||||||||||||||||||||||
| m_CollisionGroup | Integer | |||||||||||||||||||||||||||||||||||||||||||
| m_flElasticity | Float | |||||||||||||||||||||||||||||||||||||||||||
| m_flShadowCastDistance | Float | |||||||||||||||||||||||||||||||||||||||||||
| m_hOwnerEntity | Integer | |||||||||||||||||||||||||||||||||||||||||||
| m_hEffectEntity | Integer | |||||||||||||||||||||||||||||||||||||||||||
| moveparent | Integer | |||||||||||||||||||||||||||||||||||||||||||
| m_iParentAttachment | Integer | |||||||||||||||||||||||||||||||||||||||||||
| movetype | Integer | |||||||||||||||||||||||||||||||||||||||||||
| movecollide | Integer | |||||||||||||||||||||||||||||||||||||||||||
| m_angRotation | Vector | |||||||||||||||||||||||||||||||||||||||||||
| m_iTextureFrameIndex | Integer | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
| m_bSimulatedEveryTick | Boolean | |||||||||||||||||||||||||||||||||||||||||||
| m_bAnimatedEveryTick | Boolean | |||||||||||||||||||||||||||||||||||||||||||
| m_bAlternateSorting | Boolean | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
Entity DataMaps
| Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CBaseEntitySUB_CallUseToggle | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| CBaseEntitySUB_DoNothing | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| CBaseEntitySUB_FadeOut | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| CBaseEntitySUB_Remove | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| CBaseEntitySUB_StartFadeOut | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| CBaseEntitySUB_StartFadeOutInstant | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| CBaseEntitySUB_Vanish | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| CBaseEntityShadowCastDistThink | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputAddContext | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputAddOutput | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputAlpha | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputAlternativeSorting | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputClearContext | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputClearParent | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputColor | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputDisableDamageForces | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputDisableShadow | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputDispatchEffect | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputDispatchResponse | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputEnableDamageForces | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputEnableShadow | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputFireUser1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputFireUser2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputFireUser3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputFireUser4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputKill | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputKillHierarchy | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputRemoveContext | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputSetDamageFilter | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputSetParent | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputSetParentAttachment | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputSetParentAttachmentMaintainOffset | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputSetTeam | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| InputUse | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_CollisionGroup | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_ModelName | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_MoveCollide | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_MoveType | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_OnUser1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_OnUser2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_OnUser3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_OnUser4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_ResponseContexts | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_aThinkFunctions | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_angAbsRotation | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_angRotation | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_bAlternateSorting | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_bAnimatedEveryTick | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_bSimulatedEveryTick | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_clrRender | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_debugOverlays | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_fEffects | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_fFlags | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flAnimTime | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flDesiredShadowCastDistance | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flElasticity | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flFriction | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flGravity | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flGroundChangeTime | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flLocalTime | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flMoveDoneTime | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flNavIgnoreUntilTime | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flPrevAnimTime | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flShadowCastDistance | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flSimulationTime | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flSpeed | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flVPhysicsUpdateLocalTime | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_hDamageFilter | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_hEffectEntity | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_hGroundEntity | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_hMoveChild | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_hMoveParent | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_hMovePeer | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_hOwnerEntity | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_iClassname | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_iEFlags | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_iGlobalname | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_iHammerID | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_iHealth | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_iInitialTeamNum | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_iMaxHealth | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_iName | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_iParent | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_iParentAttachment | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_iTeamNum | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_iTextureFrameIndex | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_iszDamageFilterName | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_iszResponseContext | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_lifeState | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nLastThinkTick | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nModelIndex | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nModelIndexOverrides | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nNextThinkTick | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nRenderFX | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nRenderMode | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nSimulationTick | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nTransmitStateOwnedCounter | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nWaterLevel | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nWaterType | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_pBlocker | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_pParent | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_pPhysicsObject | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_pfnBlocked | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_pfnMoveDone | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_pfnThink | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_pfnTouch | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_pfnUse | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_rgflCoordinateFrame | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_spawnflags | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_takedamage | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_target | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_vecAbsOrigin | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_vecAbsVelocity | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_vecAngVelocity | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_vecBaseVelocity | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_vecOrigin | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_vecVelocity | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_vecViewOffset | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| touchStamp | |||||||||||||||||||||||||||||||||||||||||||||||||||||