CBaseEntity: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


== SendProps ==
== SendProps ==
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
{| class="wikitable sortable mw-collapsible mw-collapsed" 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  
Line 205: Line 205:


== Entity DataMaps ==
== Entity DataMaps ==
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
{| class="wikitable sortable mw-collapsible mw-collapsed" 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  

Revision as of 00:47, 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

CBaseEntity
Name Type Description
AnimTimeMustBeFirst
m_flAnimTime Integer
m_flSimulationTime Integer
m_vecOrigin Vector
m_ubInterpolationFrame Integer
m_nModelIndex Integer
m_Collision
m_vecMinsPreScaled Vector
m_vecMaxsPreScaled Vector
m_vecMins Vector
m_vecMaxs Vector
m_nSolidType Integer
m_usSolidFlags Integer
m_nSurroundType Integer
m_triggerBloat Integer
m_bUniformTriggerBloat Boolean
m_vecSpecifiedSurroundingMinsPreScaled Vector
m_vecSpecifiedSurroundingMaxsPreScaled Vector
m_vecSpecifiedSurroundingMins Vector
m_vecSpecifiedSurroundingMaxs Vector
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
predictable_id
m_PredictableID Integer
m_bIsPlayerSimulated Boolean
m_bSimulatedEveryTick Boolean
m_bAnimatedEveryTick Boolean
m_bAlternateSorting Boolean
m_nModelIndexOverrides
000 Integer
001 Integer
002 Integer
003 Integer

Entity DataMaps

CBaseEntity
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_Collision
m_bUniformTriggerBloat
m_flRadius
m_nSolidType
m_nSurroundType
m_triggerBloat
m_usSolidFlags
m_vecMaxs
m_vecMaxsPreScaled
m_vecMins
m_vecMinsPreScaled
m_vecSpecifiedSurroundingMaxs
m_vecSpecifiedSurroundingMaxsPreScaled
m_vecSpecifiedSurroundingMins
m_vecSpecifiedSurroundingMinsPreScaled
m_vecSurroundingMaxs
m_vecSurroundingMins
m_CollisionGroup
m_ModelName
m_MoveCollide
m_MoveType
m_Network
m_hParent
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