Table of Contents

Class CBaseButton

Namespace
CounterStrikeSharp.API.Core
Assembly
CounterStrikeSharp.API.dll
public class CBaseButton : CBaseToggle, IEquatable<CEntityInstance>
Inheritance
CBaseButton
Implements
Derived
Inherited Members

Constructors

CBaseButton(nint)

public CBaseButton(nint pointer)

Parameters

pointer nint

Properties

Constraint

[SchemaMember("CBaseButton", "m_hConstraint")]
public CHandle<CEntityInstance> Constraint { get; }

Property Value

CHandle<CEntityInstance>

ConstraintParent

[SchemaMember("CBaseButton", "m_hConstraintParent")]
public CHandle<CEntityInstance> ConstraintParent { get; }

Property Value

CHandle<CEntityInstance>

Disabled

[SchemaMember("CBaseButton", "m_bDisabled")]
public ref bool Disabled { get; }

Property Value

bool

DisplayText

[SchemaMember("CBaseButton", "m_szDisplayText")]
public string DisplayText { get; set; }

Property Value

string

ForceNpcExclude

[SchemaMember("CBaseButton", "m_bForceNpcExclude")]
public ref bool ForceNpcExclude { get; }

Property Value

bool

GlowEntity

[SchemaMember("CBaseButton", "m_glowEntity")]
public CHandle<CBaseModelEntity> GlowEntity { get; }

Property Value

CHandle<CBaseModelEntity>

Locked

[SchemaMember("CBaseButton", "m_bLocked")]
public ref bool Locked { get; }

Property Value

bool

LockedSound

[SchemaMember("CBaseButton", "m_sLockedSound")]
public string LockedSound { get; set; }

Property Value

string

Ls

[SchemaMember("CBaseButton", "m_ls")]
public locksound_t Ls { get; }

Property Value

locksound_t

MoveEntitySpace

[SchemaMember("CBaseButton", "m_angMoveEntitySpace")]
public QAngle MoveEntitySpace { get; }

Property Value

QAngle

OnDamaged

[SchemaMember("CBaseButton", "m_OnDamaged")]
public CEntityIOOutput OnDamaged { get; }

Property Value

CEntityIOOutput

OnIn

[SchemaMember("CBaseButton", "m_OnIn")]
public CEntityIOOutput OnIn { get; }

Property Value

CEntityIOOutput

OnOut

[SchemaMember("CBaseButton", "m_OnOut")]
public CEntityIOOutput OnOut { get; }

Property Value

CEntityIOOutput

OnPressed

[SchemaMember("CBaseButton", "m_OnPressed")]
public CEntityIOOutput OnPressed { get; }

Property Value

CEntityIOOutput

OnUseLocked

[SchemaMember("CBaseButton", "m_OnUseLocked")]
public CEntityIOOutput OnUseLocked { get; }

Property Value

CEntityIOOutput

OverrideAnticipationName

[SchemaMember("CBaseButton", "m_sOverrideAnticipationName")]
public string OverrideAnticipationName { get; set; }

Property Value

string

Rotating

[SchemaMember("CBaseButton", "m_fRotating")]
public ref bool Rotating { get; }

Property Value

bool

SGlowEntity

[SchemaMember("CBaseButton", "m_sGlowEntity")]
public string SGlowEntity { get; set; }

Property Value

string

SolidBsp

[SchemaMember("CBaseButton", "m_bSolidBsp")]
public ref bool SolidBsp { get; }

Property Value

bool

State

[SchemaMember("CBaseButton", "m_nState")]
public ref int State { get; }

Property Value

int

StayPushed

[SchemaMember("CBaseButton", "m_fStayPushed")]
public ref bool StayPushed { get; }

Property Value

bool

UnlockedSound

[SchemaMember("CBaseButton", "m_sUnlockedSound")]
public string UnlockedSound { get; set; }

Property Value

string

Usable

[SchemaMember("CBaseButton", "m_usable")]
public ref bool Usable { get; }

Property Value

bool

UseLockedTime

[SchemaMember("CBaseButton", "m_flUseLockedTime")]
public ref float UseLockedTime { get; }

Property Value

float

UseSound

[SchemaMember("CBaseButton", "m_sUseSound")]
public string UseSound { get; set; }

Property Value

string