Class CPhysicsProp
- Namespace
- CounterStrikeSharp.API.Core
- Assembly
- CounterStrikeSharp.API.dll
public class CPhysicsProp : CBreakableProp, IEquatable<CEntityInstance>
- Inheritance
-
object
CPhysicsProp
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
CPhysicsProp(nint)
public CPhysicsProp(nint pointer)
Parameters
pointer
nint
Properties
AcceptDamageFromHeldObjects
[SchemaMember("CPhysicsProp", "m_bAcceptDamageFromHeldObjects")]
public ref bool AcceptDamageFromHeldObjects { get; }
Property Value
- bool
Awake
[SchemaMember("CPhysicsProp", "m_bAwake")]
public ref bool Awake { get; }
Property Value
- bool
BuoyancyScale
[SchemaMember("CPhysicsProp", "m_buoyancyScale")]
public ref float BuoyancyScale { get; }
Property Value
- float
CrateType
[SchemaMember("CPhysicsProp", "m_CrateType")]
public ref CPhysicsPropCrateType_t CrateType { get; }
Property Value
- CPhysicsPropCrateType_t
DamageToEnableMotion
[SchemaMember("CPhysicsProp", "m_damageToEnableMotion")]
public ref int DamageToEnableMotion { get; }
Property Value
- int
DamageType
[SchemaMember("CPhysicsProp", "m_damageType")]
public ref int DamageType { get; }
Property Value
- int
DroppedByPlayer
[SchemaMember("CPhysicsProp", "m_bDroppedByPlayer")]
public ref bool DroppedByPlayer { get; }
Property Value
- bool
EnableUseOutput
[SchemaMember("CPhysicsProp", "m_bEnableUseOutput")]
public ref bool EnableUseOutput { get; }
Property Value
- bool
ExploitableByPlayer
[SchemaMember("CPhysicsProp", "m_iExploitableByPlayer")]
public ref int ExploitableByPlayer { get; }
Property Value
- int
FirstCollisionAfterLaunch
[SchemaMember("CPhysicsProp", "m_bFirstCollisionAfterLaunch")]
public ref bool FirstCollisionAfterLaunch { get; }
Property Value
- bool
ForceNavIgnore
[SchemaMember("CPhysicsProp", "m_bForceNavIgnore")]
public ref bool ForceNavIgnore { get; }
Property Value
- bool
ForceNpcExclude
[SchemaMember("CPhysicsProp", "m_bForceNpcExclude")]
public ref bool ForceNpcExclude { get; }
Property Value
- bool
ForceToEnableMotion
[SchemaMember("CPhysicsProp", "m_flForceToEnableMotion")]
public ref float ForceToEnableMotion { get; }
Property Value
- float
GlowColor
[SchemaMember("CPhysicsProp", "m_glowColor")]
public Color GlowColor { get; set; }
Property Value
- Color
GlowRange
[SchemaMember("CPhysicsProp", "m_nGlowRange")]
public ref int GlowRange { get; }
Property Value
- int
GlowRangeMin
[SchemaMember("CPhysicsProp", "m_nGlowRangeMin")]
public ref int GlowRangeMin { get; }
Property Value
- int
HasBeenAwakened
[SchemaMember("CPhysicsProp", "m_bHasBeenAwakened")]
public ref bool HasBeenAwakened { get; }
Property Value
- bool
InertiaScale
[SchemaMember("CPhysicsProp", "m_inertiaScale")]
public ref float InertiaScale { get; }
Property Value
- float
InitialGlowState
[SchemaMember("CPhysicsProp", "m_iInitialGlowState")]
public ref int InitialGlowState { get; }
Property Value
- int
IsOverrideProp
[SchemaMember("CPhysicsProp", "m_bIsOverrideProp")]
public ref bool IsOverrideProp { get; }
Property Value
- bool
ItemCount
[SchemaMember("CPhysicsProp", "m_nItemCount")]
public Span<int> ItemCount { get; }
Property Value
- Span<int>
MassScale
[SchemaMember("CPhysicsProp", "m_massScale")]
public ref float MassScale { get; }
Property Value
- float
MotionEnabled
[SchemaMember("CPhysicsProp", "m_MotionEnabled")]
public CEntityIOOutput MotionEnabled { get; }
Property Value
- CEntityIOOutput
MuteImpactEffects
[SchemaMember("CPhysicsProp", "m_bMuteImpactEffects")]
public ref bool MuteImpactEffects { get; }
Property Value
- bool
[SchemaMember("CPhysicsProp", "m_fNextCheckDisableMotionContactsTime")]
public ref float NextCheckDisableMotionContactsTime { get; }
Property Value
- float
NoNavmeshBlocker
[SchemaMember("CPhysicsProp", "m_bNoNavmeshBlocker")]
public ref bool NoNavmeshBlocker { get; }
Property Value
- bool
OnAsleep
[SchemaMember("CPhysicsProp", "m_OnAsleep")]
public CEntityIOOutput OnAsleep { get; }
Property Value
- CEntityIOOutput
OnAwake
[SchemaMember("CPhysicsProp", "m_OnAwake")]
public CEntityIOOutput OnAwake { get; }
Property Value
- CEntityIOOutput
OnAwakened
[SchemaMember("CPhysicsProp", "m_OnAwakened")]
public CEntityIOOutput OnAwakened { get; }
Property Value
- CEntityIOOutput
OnOutOfWorld
[SchemaMember("CPhysicsProp", "m_OnOutOfWorld")]
public CEntityIOOutput OnOutOfWorld { get; }
Property Value
- CEntityIOOutput
OnPlayerPickup
[SchemaMember("CPhysicsProp", "m_OnPlayerPickup")]
public CEntityIOOutput OnPlayerPickup { get; }
Property Value
- CEntityIOOutput
OnPlayerUse
[SchemaMember("CPhysicsProp", "m_OnPlayerUse")]
public CEntityIOOutput OnPlayerUse { get; }
Property Value
- CEntityIOOutput
RemovableForAmmoBalancing
[SchemaMember("CPhysicsProp", "m_bRemovableForAmmoBalancing")]
public ref bool RemovableForAmmoBalancing { get; }
Property Value
- bool
ShouldAutoConvertBackFromDebris
[SchemaMember("CPhysicsProp", "m_bShouldAutoConvertBackFromDebris")]
public ref bool ShouldAutoConvertBackFromDebris { get; }
Property Value
- bool
StrItemClass
[SchemaMember("CPhysicsProp", "m_strItemClass")]
public Span<string> StrItemClass { get; }
Property Value
- Span<string>
ThrownByPlayer
[SchemaMember("CPhysicsProp", "m_bThrownByPlayer")]
public ref bool ThrownByPlayer { get; }
Property Value
- bool
TouchedByPlayer
[SchemaMember("CPhysicsProp", "m_bTouchedByPlayer")]
public ref bool TouchedByPlayer { get; }
Property Value
- bool