CBaseEntity: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Replaced content with "== Overview == The class from which all entity types derive from. The only exceptions to this are [https://wiki.alliedmods.net/TempEnts_(SourceMod_SDKTools) TempEnts], whi...")
Tags: Replaced Manual revert Visual edit: Switched
Line 5: Line 5:


== SendProps ==
== SendProps ==
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
|+CBaseEntity
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |AnimTimeMustBeFirst
|-
| style="width: 50%;" |'''m_flAnimTime'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|}
|-
|'''m_flSimulationTime'''
|Integer
|
|-
|'''m_vecOrigin'''
|Vector
|
|-
|'''m_ubInterpolationFrame'''
|Integer
|
|-
|'''m_nModelIndex'''
|Integer
|
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |m_Collision
|-
| style="width: 50%;" |'''m_vecMinsPreScaled'''
| style="width: 15%;" |Vector
| style="width: 35%;" |
|-
|'''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
|
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |predictable_id
|-
| style="width: 50%;" |'''m_PredictableID'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
|'''m_bIsPlayerSimulated'''
|Boolean
|
|}
|-
|'''m_bSimulatedEveryTick'''
|Boolean
|
|-
|'''m_bAnimatedEveryTick'''
|Boolean
|
|-
|'''m_bAlternateSorting'''
|Boolean
|
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |m_nModelIndexOverrides
|-
| style="width: 50%;" |'''000'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
|'''001'''
|Integer
|
|-
|'''002'''
|Integer
|
|-
|'''003'''
|Integer
|
|}

Revision as of 19:52, 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
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