From 6b1fd33dc15af481000eb5b619a2e36faf384dc3 Mon Sep 17 00:00:00 2001 From: uniboi Date: Sat, 27 May 2023 16:10:21 +0200 Subject: [PATCH] add all classes --- docs/source/reference/index.rst | 3 +- docs/source/reference/respawn/entities.rst | 2392 ----------------- .../entities/client/CClientHudElement.rst | 662 +++++ .../client/CCockpitLightsMaterialProxy.rst | 26 + .../respawn/entities/client/CHud.rst | 66 + .../entities/client/CScriptDamageInfo.rst | 14 + .../respawn/entities/client/C_AI_BaseNPC.rst | 351 +++ .../entities/client/C_AmbientGeneric.rst | 16 + .../entities/client/C_BaseAnimating.rst | 217 ++ .../entities/client/C_BaseCombatWeapon.rst | 37 + .../respawn/entities/client/C_BaseEntity.rst | 821 ++++++ .../respawn/entities/client/C_BaseGrenade.rst | 64 + .../entities/client/C_CascadeLight.rst | 24 + .../entities/client/C_CrossbowBolt.rst | 16 + .../entities/client/C_DynamicLight.rst | 24 + .../respawn/entities/client/C_DynamicProp.rst | 16 + .../entities/client/C_FirstPersonProxy.rst | 20 + .../entities/client/C_HardPointEntity.rst | 48 + .../respawn/entities/client/C_Missile.rst | 76 + .../entities/client/C_NPC_Dropship.rst | 16 + .../entities/client/C_NPC_SentryTurret.rst | 20 + .../respawn/entities/client/C_NPC_Titan.rst | 16 + .../respawn/entities/client/C_Player.rst | 1184 ++++++++ .../respawn/entities/client/C_PlayerDecoy.rst | 12 + .../respawn/entities/client/C_PointCamera.rst | 40 + .../respawn/entities/client/C_Projectile.rst | 115 + .../entities/client/C_RopeKeyframe.rst | 16 + .../respawn/entities/client/C_ScriptProp.rst | 29 + .../respawn/entities/client/C_TitanSoul.rst | 76 + .../entities/client/C_Titan_Cockpit.rst | 68 + .../respawn/entities/client/C_VGuiScreen.rst | 32 + .../entities/client/C_VortexSphere.rst | 20 + .../respawn/entities/client/C_WeaponX.rst | 660 +++++ .../respawn/entities/client/C_WindowHint.rst | 28 + .../respawn/entities/client/ScriptMover.rst | 44 + .../respawn/entities/client/index.rst | 40 + .../respawn/entities/server/CAI_BaseActor.rst | 12 + .../respawn/entities/server/CAI_BaseNPC.rst | 729 +++++ .../respawn/entities/server/CAI_Hint.rst | 24 + .../respawn/entities/server/CAI_SkitNode.rst | 20 + .../entities/server/CAI_TrackPather.rst | 41 + .../entities/server/CBaseAnimating.rst | 298 ++ .../entities/server/CBaseCombatCharacter.rst | 451 ++++ .../entities/server/CBaseCombatWeapon.rst | 41 + .../respawn/entities/server/CBaseEntity.rst | 1169 ++++++++ .../respawn/entities/server/CBaseGrenade.rst | 76 + .../entities/server/CBaseHelicopter.rst | 37 + .../respawn/entities/server/CBaseTrigger.rst | 81 + .../respawn/entities/server/CBreakable.rst | 17 + .../entities/server/CBreakableSurface.rst | 16 + .../respawn/entities/server/CCrossbowBolt.rst | 16 + .../respawn/entities/server/CDynamicProp.rst | 25 + .../respawn/entities/server/CEnvExplosion.rst | 12 + .../entities/server/CFirstPersonProxy.rst | 20 + .../entities/server/CHardPointEntity.rst | 80 + .../respawn/entities/server/CMissile.rst | 84 + .../respawn/entities/server/CNPC_Drone.rst | 16 + .../respawn/entities/server/CNPC_Dropship.rst | 20 + .../entities/server/CNPC_SentryTurret.rst | 44 + .../respawn/entities/server/CNPC_Titan.rst | 24 + .../entities/server/CParticleSystem.rst | 32 + .../respawn/entities/server/CPlayer.rst | 1788 ++++++++++++ .../respawn/entities/server/CPlayerDecoy.rst | 60 + .../respawn/entities/server/CProjectile.rst | 131 + .../respawn/entities/server/CRopeKeyframe.rst | 28 + .../entities/server/CScriptDamageInfo.rst | 14 + .../respawn/entities/server/CScriptProp.rst | 41 + .../entities/server/CScriptTraceVolume.rst | 20 + .../respawn/entities/server/CSpawner.rst | 36 + .../entities/server/CTeamSpawnPoint.rst | 52 + .../respawn/entities/server/CTitanSoul.rst | 168 ++ .../entities/server/CTriggerCylinder.rst | 45 + .../entities/server/CTriggerPointGravity.rst | 16 + .../respawn/entities/server/CTurret.rst | 28 + .../respawn/entities/server/CVortexSphere.rst | 64 + .../respawn/entities/server/CWeaponX.rst | 700 +++++ .../respawn/entities/server/CWindowHint.rst | 28 + .../respawn/entities/server/ScriptMover.rst | 156 ++ .../respawn/entities/server/index.rst | 48 + 79 files changed, 11724 insertions(+), 2393 deletions(-) delete mode 100644 docs/source/reference/respawn/entities.rst create mode 100644 docs/source/reference/respawn/entities/client/CClientHudElement.rst create mode 100644 docs/source/reference/respawn/entities/client/CCockpitLightsMaterialProxy.rst create mode 100644 docs/source/reference/respawn/entities/client/CHud.rst create mode 100644 docs/source/reference/respawn/entities/client/CScriptDamageInfo.rst create mode 100644 docs/source/reference/respawn/entities/client/C_AI_BaseNPC.rst create mode 100644 docs/source/reference/respawn/entities/client/C_AmbientGeneric.rst create mode 100644 docs/source/reference/respawn/entities/client/C_BaseAnimating.rst create mode 100644 docs/source/reference/respawn/entities/client/C_BaseCombatWeapon.rst create mode 100644 docs/source/reference/respawn/entities/client/C_BaseEntity.rst create mode 100644 docs/source/reference/respawn/entities/client/C_BaseGrenade.rst create mode 100644 docs/source/reference/respawn/entities/client/C_CascadeLight.rst create mode 100644 docs/source/reference/respawn/entities/client/C_CrossbowBolt.rst create mode 100644 docs/source/reference/respawn/entities/client/C_DynamicLight.rst create mode 100644 docs/source/reference/respawn/entities/client/C_DynamicProp.rst create mode 100644 docs/source/reference/respawn/entities/client/C_FirstPersonProxy.rst create mode 100644 docs/source/reference/respawn/entities/client/C_HardPointEntity.rst create mode 100644 docs/source/reference/respawn/entities/client/C_Missile.rst create mode 100644 docs/source/reference/respawn/entities/client/C_NPC_Dropship.rst create mode 100644 docs/source/reference/respawn/entities/client/C_NPC_SentryTurret.rst create mode 100644 docs/source/reference/respawn/entities/client/C_NPC_Titan.rst create mode 100644 docs/source/reference/respawn/entities/client/C_Player.rst create mode 100644 docs/source/reference/respawn/entities/client/C_PlayerDecoy.rst create mode 100644 docs/source/reference/respawn/entities/client/C_PointCamera.rst create mode 100644 docs/source/reference/respawn/entities/client/C_Projectile.rst create mode 100644 docs/source/reference/respawn/entities/client/C_RopeKeyframe.rst create mode 100644 docs/source/reference/respawn/entities/client/C_ScriptProp.rst create mode 100644 docs/source/reference/respawn/entities/client/C_TitanSoul.rst create mode 100644 docs/source/reference/respawn/entities/client/C_Titan_Cockpit.rst create mode 100644 docs/source/reference/respawn/entities/client/C_VGuiScreen.rst create mode 100644 docs/source/reference/respawn/entities/client/C_VortexSphere.rst create mode 100644 docs/source/reference/respawn/entities/client/C_WeaponX.rst create mode 100644 docs/source/reference/respawn/entities/client/C_WindowHint.rst create mode 100644 docs/source/reference/respawn/entities/client/ScriptMover.rst create mode 100644 docs/source/reference/respawn/entities/client/index.rst create mode 100644 docs/source/reference/respawn/entities/server/CAI_BaseActor.rst create mode 100644 docs/source/reference/respawn/entities/server/CAI_BaseNPC.rst create mode 100644 docs/source/reference/respawn/entities/server/CAI_Hint.rst create mode 100644 docs/source/reference/respawn/entities/server/CAI_SkitNode.rst create mode 100644 docs/source/reference/respawn/entities/server/CAI_TrackPather.rst create mode 100644 docs/source/reference/respawn/entities/server/CBaseAnimating.rst create mode 100644 docs/source/reference/respawn/entities/server/CBaseCombatCharacter.rst create mode 100644 docs/source/reference/respawn/entities/server/CBaseCombatWeapon.rst create mode 100644 docs/source/reference/respawn/entities/server/CBaseEntity.rst create mode 100644 docs/source/reference/respawn/entities/server/CBaseGrenade.rst create mode 100644 docs/source/reference/respawn/entities/server/CBaseHelicopter.rst create mode 100644 docs/source/reference/respawn/entities/server/CBaseTrigger.rst create mode 100644 docs/source/reference/respawn/entities/server/CBreakable.rst create mode 100644 docs/source/reference/respawn/entities/server/CBreakableSurface.rst create mode 100644 docs/source/reference/respawn/entities/server/CCrossbowBolt.rst create mode 100644 docs/source/reference/respawn/entities/server/CDynamicProp.rst create mode 100644 docs/source/reference/respawn/entities/server/CEnvExplosion.rst create mode 100644 docs/source/reference/respawn/entities/server/CFirstPersonProxy.rst create mode 100644 docs/source/reference/respawn/entities/server/CHardPointEntity.rst create mode 100644 docs/source/reference/respawn/entities/server/CMissile.rst create mode 100644 docs/source/reference/respawn/entities/server/CNPC_Drone.rst create mode 100644 docs/source/reference/respawn/entities/server/CNPC_Dropship.rst create mode 100644 docs/source/reference/respawn/entities/server/CNPC_SentryTurret.rst create mode 100644 docs/source/reference/respawn/entities/server/CNPC_Titan.rst create mode 100644 docs/source/reference/respawn/entities/server/CParticleSystem.rst create mode 100644 docs/source/reference/respawn/entities/server/CPlayer.rst create mode 100644 docs/source/reference/respawn/entities/server/CPlayerDecoy.rst create mode 100644 docs/source/reference/respawn/entities/server/CProjectile.rst create mode 100644 docs/source/reference/respawn/entities/server/CRopeKeyframe.rst create mode 100644 docs/source/reference/respawn/entities/server/CScriptDamageInfo.rst create mode 100644 docs/source/reference/respawn/entities/server/CScriptProp.rst create mode 100644 docs/source/reference/respawn/entities/server/CScriptTraceVolume.rst create mode 100644 docs/source/reference/respawn/entities/server/CSpawner.rst create mode 100644 docs/source/reference/respawn/entities/server/CTeamSpawnPoint.rst create mode 100644 docs/source/reference/respawn/entities/server/CTitanSoul.rst create mode 100644 docs/source/reference/respawn/entities/server/CTriggerCylinder.rst create mode 100644 docs/source/reference/respawn/entities/server/CTriggerPointGravity.rst create mode 100644 docs/source/reference/respawn/entities/server/CTurret.rst create mode 100644 docs/source/reference/respawn/entities/server/CVortexSphere.rst create mode 100644 docs/source/reference/respawn/entities/server/CWeaponX.rst create mode 100644 docs/source/reference/respawn/entities/server/CWindowHint.rst create mode 100644 docs/source/reference/respawn/entities/server/ScriptMover.rst create mode 100644 docs/source/reference/respawn/entities/server/index.rst diff --git a/docs/source/reference/index.rst b/docs/source/reference/index.rst index bd2202d8..c73c8277 100644 --- a/docs/source/reference/index.rst +++ b/docs/source/reference/index.rst @@ -22,12 +22,13 @@ Respawn API /reference/respawn/callbacks /reference/respawn/player - /reference/respawn/entities /reference/respawn/rui /reference/respawn/topology /reference/respawn/clientcommands /reference/respawn/movers /reference/respawn/damageinfo + /reference/respawn/entities/server/index + /reference/respawn/entities/client/index HUD === diff --git a/docs/source/reference/respawn/entities.rst b/docs/source/reference/respawn/entities.rst deleted file mode 100644 index 62fef03a..00000000 --- a/docs/source/reference/respawn/entities.rst +++ /dev/null @@ -1,2392 +0,0 @@ -Entities -======== - -There are different Classes for Server and Client. Classes that start with ``C_`` are exclusive to the Client VM and classes that only have the ``C`` Prefix are only usable in the Server VM. - -Most entries have three sub entries: The class available to the SERVER, the CLIENT and methods that are available on both VMs. - -For a graphic reprasentation of the Server and Client class inheritance, refer to `this chart `_ - -.. note:: - - Pay attention to the ``extends`` keyword for each class! You can use every property of that the parent class has access to! - - This List of Classes and their Methods is incomplete! - - -CBaseEntity / C_BaseEntity --------------------------- - -Basic enitity that most other entities inherit from. - -Shared -^^^^^^ - -.. cpp:class:: CBaseEntity / C_BaseEntity - - .. cpp:function:: void Hide() - - Hides the ent. (invisible) - - .. cpp:function:: void Show() - - Shows the ent. (visible) - - .. cpp:function:: void Destroy() - - Destroys this entity. - - .. cpp:function:: void Signal( string signal ) - - :doc:`../../native/async` - - Signals on this entity - - .. cpp:function:: void EndSignal( string signal ) - - Ends this thread when the identifier is signaled on this entity - - .. cpp:function:: void WaitSignal( string signal ) - - Halts this thread until a signal is activated for this entity - - .. cpp:function:: void ConnectOutput( string event, void functionref( entity trigger, entity activator, entity caller, var value ) callback ) - - Executes the callback function when the signal is fired. - - .. cpp:function:: void DisconnectOutput( string event, void functionref( entity trigger, entity activator, entity caller, var value ) callback ) - - Disconnects the callback from the signal. - - .. cpp:function:: void AddOutput( string outputName, string | entity target, string inputName, string parameter = "", float delay = 0, float maxFires = 0 ) - - Connects an output on this entity to an input on another entity via code. The ``target`` can be a name or a named entity. - - .. cpp:function:: vector GetOrigin() - - Returns the Coordinates of this entity - - .. cpp:function:: vector EyeAngles() - - Returns the direction this entity is facing to - - .. cpp:function:: vector EyePosition() - - Returns the position of this entities eyes - - .. cpp:function:: entity GetOwner() - - Returns the owner of this entity. Set the owner with ``SetOwner`` - - .. cpp:function:: entity GetBossPlayer() - - .. cpp:function:: void SetBossPlayer( entity boss ) - - .. cpp:function:: string GetClassName() - - Internal class name of the parent class. May return the identifier name for some classes - - .. cpp:function:: bool IsNPC() - - Returns ``true`` if this entity is an NPC - - .. cpp:function:: bool IsTitan() - - Returns ``true`` if this entity is a Titan - - .. cpp:function:: bool IsHuman() - - Returns true if this entity is a gameplay-wise a human. - - For example, returns ``true`` if the entity is a grunt but ``false`` if the entity is a Titan or spectre etc. - - However, players will always be Human, even when they are spectating or their playermodel is robotic (for example when playing as stim) - - .. cpp:function:: bool IsMechanical() - - Returns ``true`` if this entity is mechanical. Examples are Titans and spectres - - .. note:: - - This returns ``true`` for players that are playing mechanical classes - - - .. cpp:function:: bool IsPhaseShifted() - - Returns ``true`` if this entity is currently phase shifting - - .. cpp:function:: bool IsPlayer() - - Returns ``true`` if this entity is a player - - .. cpp:function:: bool IsProjectile() - - Returns ``true`` if this entity is a projectile - - .. cpp:function:: asset GetModelName() - - Returns the asset this entity is being rendered with - - .. cpp:function:: void SetParent( entity parent, ..., string type = "" ) - - Binds this entity to the parent. The child inherits the position and rotation of the parent - - .. cpp:function:: void ClearParent( entity parent ) - - Make this entity independent from its parent - - .. cpp:function:: entity GetParent() - - Returns this entities parent - - .. cpp:function:: void SetValueForModelKey( asset model ) - - Set the model of this entity. - - .. cpp:function:: void SetValueForEffectNameKey( asset effect ) - - Similar to ``SetValueForModelKey`` but for FX. - - .. cpp:function:: table CreateTableFromModelKeyValues() - - .. cpp:function:: int GetArmorType() - - Returns ``0`` for light armor and ``1`` for heavy armor - - Titans use heavy armor while pilots and similar use light armor - - .. cpp:function:: int GetMaxHealth() - - Returns the max health of this entity - - .. cpp:function:: int GetHealth() - - Returns the current health - - .. cpp:function:: int GetShieldHealth() - - Returns the current shield health - - .. cpp:function:: int GetShieldHealthMax() - - Returns the maximum shield health of this entity - - .. cpp:function:: bool HasGibModel() - - Returns ``true`` if this entity has gib models - - .. cpp:function:: bool HasKey( string key ) - - .. cpp:function:: bool IsMarkedForDeletion() - - .. cpp:function:: void SetOrigin( vector position ) - - Set the position of this entity - - .. cpp:function:: string GetTargetName() - - .. cpp:function:: int GetTeam() - - Returns the team of this entity - - .. cpp:function:: vector GetAngles() - - Returns the rotation of this entity - - .. cpp:function:: void SetAngles( vector angle) - - Set the rotation of this entity - - .. cpp:function:: var GetValueForKey( string key ) - - .. cpp:function:: var Get( string key ) - - The same as ``GetValueForKey`` - - .. cpp:function:: void SetValueForKey( var key, var val ) - - .. cpp:function:: var Set( string key ) - - The same as ``SetValueForKey`` - - .. cpp:function:: vector GetVelocity() - - Returns the velocity of this entity - - .. cpp:function:: void Kill_Deprecated_UseDestroyInstead() - - Kill this entity: this function is deprecated because it has a one-frame delay; instead, call ent.Destroy() - - .. cpp:function:: vector GetBoundingMaxs() - - .. cpp:function:: vector GetBoundingMins() - - .. cpp:function:: bool IsInvulnerable() - - returns ``true`` if this entity is invulnerable - - .. cpp:function:: vector GetWorldSpaceCenter() - - .. cpp:function:: int Highlight_GetCurrentContext() - - .. cpp:function:: float Highlight_GetCurrentInsideOpacity() - - .. cpp:function:: float Highlight_GetCurrentOutlineOpacity() - - .. cpp:function:: unknown Highlight_GetInheritHighlight() - - .. cpp:function:: int Highlight_GetInsideFunction( int contextID ) - - .. cpp:function:: int Highlight_GetOutlineFunction( int contextID ) - - .. cpp:function:: float Highlight_GetOutlineRadius() - - .. cpp:function:: unknown Highlight_GetParam( int contextID, int parameterNum ) - - .. cpp:function:: int Highlight_GetState( int contextID ) - - .. cpp:function:: void Highlight_HideInside( float duration ) - - .. cpp:function:: void Highlight_HideOutline( float duration ) - - .. cpp:function:: bool Highlight_IsAfterPostProcess( int contextID ) - - .. cpp:function:: bool Highlight_IsEntityVisible( int contextID ) - - .. cpp:function:: void Highlight_SetCurrentContext( int contextID ) - - .. cpp:function:: void Highlight_SetFunctions( int contextID, int hightlightFillID, bool entityVisible, int colorMode, float radius, int highlightID, bool afterPostProcess) - - .. cpp:function:: void Highlight_SetParam( int contextID, int parameterID, vector highlightColor ) - - .. cpp:function:: void Highlight_ShowInside( float duration ) - - .. cpp:function:: void Highlight_ShowOutline( float duration ) - - .. cpp:function:: void Highlight_SetInheritHighlight( bool set ) - - .. cpp:function:: void HighlightDisableForTeam( int team ) - - .. cpp:function:: void HighlightEnableForTeam( int team ) - - .. cpp:function:: void HighlightSetTeamBitField( int bitField ) - - .. cpp:function:: int GetEntIndex() - - Returns the index of this entity - - .. cpp:function:: array GetLinkEntArray() - - .. cpp:function:: entity GetLinkEnt() - - .. cpp:function:: void LinkToEnt( entity ent ) - - .. cpp:function:: entity GetLinkParent() - - .. cpp:function:: void Code_SetTeam( int team ) - - Set the team for this entity - - Skins based on team do not get updated. Use `SetSkin` for this - - .. cpp:function:: bool IsCloaked() - - Returns ``true`` if this entity is cloaked - - .. cpp:function:: bool IsEntAlive() - - Returns ``true`` if this entity is alive - - .. cpp:function:: bool IsValidInternal() - - Returns ``true`` if this entity is Valid. - - ``IsValid( ent )`` is a good alternative - - .. cpp:function:: vector GetForwardVector() - - Returns a normalized vector pointing forwards away from this entity. - - .. cpp:function:: vector GetRightVector() - - Returns a normalized vector pointing to the right of this entity. - - .. cpp:function:: vector GetUpVector() - - Returns a normalized vector pointing upwards from this entity. - - .. cpp:function:: entity constructor( unknown ) - - Depends on the class. - - Returns a new instance of a class. - - You can invoke the constructor with brackets as well, for example like this: ``CBaseEntity()`` - - .. cpp:function:: void SetDoDestroyCallback( bool doCallBack ) - - .. cpp:function:: int GetLifeState() - - .. cpp:function:: void DisableDraw() - - .. cpp:function:: void EnableDraw() - - .. cpp:function:: void SetCanCloak( bool canCloak ) - - Allow or disallow this entity to cloak itself - - .. cpp:function:: bool GetCritsPrevented() - - Returns ``true`` if this entity can't be critted. - - .. cpp:function:: bool IsHologram() - - Returns ``true`` if this entity is a hologram - - .. cpp:function:: bool IsOnGround() - - Returns ``true`` if this entity is touching the ground - - .. cpp:function:: void SetModel( asset model ) - - Set the model this entity is being rendered with - - .. cpp:function:: void MarkAsNonMovingAttachment() - - .. cpp:function:: string GetScriptName() - - Returns the script name of this entity. - - .. cpp:function:: void SetScriptName( string name ) - - Set the script name of this entity. - - .. cpp:function:: bool IsBreakableGlass() - - Returns ``true`` if this entity is breakable glass - - .. cpp:function:: bool IsWorld() - - Returns ``true```if this entity is the gameworld - - .. cpp:function:: void DispatchImpactEffects( entity ent, vector startPos, vector endPos, vector hitNormal, enitity prop, int propIndex, int damageType, int impactIndex, entity orig, int impactEffectFlags ) - - .. cpp:function:: void IsPlayerDecoy() - - Returns ``true`` if this entity is a decoy - - .. cpp:function:: void SetPassThroughDirection( float dir ) - - .. cpp:function:: void SetPassThroughThickness( float thickness ) - - .. cpp:function:: void SetTakeDamageType( int takeDamageType ) - - ``DAMAGE_NO``, ``DAMAGE_YES``, ``DAMAGE_EVENTS_ONLY`` - - .. cpp:function:: void SetPreventCrits( bool prevent ) - - Set if this entity takes crit damage. - - .. cpp:function:: void SetVelocity( vector vel ) - - Set the velocity of this entity. - - .. cpp:function:: void EnableRenderAlways() - - Always render this entity - - .. cpp:function:: void DisableRenderAlways() - - Disable always rendering this entity - - .. cpp:function:: entity GetParentAttachment() - - .. cpp:function:: void SetFadeDistance( int distance ) - - Sets the distance between a player and the entity at which the ent will begin to fade out. - - .. cpp:function:: void SetLocalOrigin( vector origin ) - - .. cpp:function:: bool HasPusherRootParent() - - .. cpp:function:: void StopPhysics() - - Disable all physics for this entity - - .. cpp:function:: void SetLocalAngles( vector angles ) - - .. cpp:function:: void SetParentWithHitbox( entity parent, int hitGroup, bool unknown ) - - .. cpp:function:: void RenderWithViewModels( bool renderWith ) - - .. cpp:function:: void SetValueForTextureKey( asset texture ) - - .. cpp:function:: asset GetValueForModelKey() - - .. cpp:function:: vector GetLocalAngles() - - .. cpp:function:: bool GetNoTarget() - - .. cpp:function:: void SetForceVisibleInPhaseShift( bool visible ) - - .. cpp:function:: table GetScriptScope() - -CBaseEntity -^^^^^^^^^^^ - -.. cpp:class:: CBaseEntity - - .. cpp:function:: int SetHealth( int health ) - - Set current health of this entity - - .. cpp:function:: int SetMaxHealth( int health ) - - Set max health of this entity - - .. cpp:function:: void SetOwner( entity owner ) - - Set the owner of this entity - - .. cpp:function:: entity GetSpawner() - - .. cpp:function:: void Die() - - Kill this entity in the game sense - all callbacks and signals get triggered - - .. cpp:function:: bool NotSolid() - - Returns ``false`` if this entity is solid - - .. cpp:function:: void MoveTo( vector pos, float moveTime, float easeIn = 0, float easeOut = 0 ) - - Moves this entity to ``pos`` over the duration of ``moveTime`` with ease in and ease out - - .. note:: - - Entites that are not movers get teleported instantly - - .. cpp:function:: void RotateTo( vector pos, float moveTime, float easeIn = 0, float easeOut = 0 ) - - Rotate to the specified angles over time with ease in and ease out. - - .. cpp:function:: void ClearInvulnerable() - - Make this entity vulnerable again - - .. cpp:function:: void SetInvulnerable() - - Make this entity invulnerable - - .. cpp:function:: void SetNextThinkNow() - - Trigger AI now - - .. cpp:function:: void SetNoTarget( bool noTarget ) - - .. cpp:function:: void SetNoTargetSmartAmmo( bool noTarget ) - - .. cpp:function:: void Minimap_SetClampToEdge( bool clamp ) - - .. cpp:function:: void Minimap_SetCustomState( int state ) - - .. cpp:function:: void Minimap_SetZOrder( int order ) - - .. cpp:function:: void Minimap_SetAlignUpright( bool align ) - - .. cpp:function:: void Minimap_SetObjectScale( float scale ) - - .. cpp:function:: void SetShieldHealth( int ) - - .. cpp:function:: void SetShieldHealthMax( int ) - - .. cpp:function:: int GetEncodedEHandle() - - .. cpp:function:: void SetUsable( bool usable ) - - Make this entity usable - - .. cpp:function:: void SetUsableByGroup( string group ) - - Make this entity usable only for a specific group - - .. cpp:function:: void SetUsableRadius( float distance ) - - Set the radius in which this entity can be interacted with - - .. cpp:function:: void UnsetUsable() - - Make this entity unusable - - .. cpp:function:: void SetUsableValue( int val ) - - .. cpp:function:: void Solid() - - Make this entity solid - - .. cpp:function:: void Fire( string output, string param = "", float delay = 0, entity activator = null, entity caller = null ) - - Fire an output on this entity, with optional parm and delay - - .. cpp:function:: void FireNow( string output, string param = "", float delay = 0, entity activator = null, entity caller = null ) - - Fire an output on this entity, with optional parm and delay (synchronous) - - .. cpp:function:: void DisableHibernation() - - .. cpp:function:: void SetSize( float width, float height ) - - .. cpp:function:: void SetCloakFlicker( float intensity, float duration ) - - Trigger cloak flicker effect - - .. cpp:function:: void TakeDamage( int damageAmount, entity attacker_1, entity attacker_2, table { int scriptType, int damageType, int damageSourceId, vector origin, vector force } ) - - .. cpp:function:: vector GetCenter() - - .. cpp:function:: void TraceAttackToTriggers( int damageAmount, entity attacker_1, entity attacker_2, table { int scriptType, int damageType, int damageSourceId, vector force }, vector startPos, vector endPos, vector direction ) - - .. cpp:function:: void SetBlocksRadiusDamage( bool blocks ) - - .. cpp:function:: void SetDamageNotifications( bool getNotifs ) - - .. cpp:function:: entity NextMovePeer() - - .. cpp:function:: void SetNameVisibleToEnemy( bool visible ) - - .. cpp:function:: void SetNameVisibleToFriendly( bool visible ) - - .. cpp:function:: void SetNameVisibleToOwner( bool visible ) - - .. cpp:function:: entity FirstMoveChild() - - .. cpp:function:: entity GetRootMoveParent() - - .. cpp:function:: void RemoveFromSpatialPartition() - - .. cpp:function:: void SetUsePrompts( string pc_prompt, string console_prompt) - - .. cpp:function:: void SetAngularVelocity( float x, float y, float z ) - - .. cpp:function:: void MakeInvisible() - - Make this entity invisible - - .. cpp:function:: void MakeVisible() - - Make this entity visible - - .. cpp:function:: entity GetGroundEntity() - - .. cpp:function:: vector GetGroundRelativePos() - - .. cpp:function:: int GetPhysicsSolidMask() - - .. cpp:function:: void EnableAttackableByAI( int ai_priority_no_threat, int unknown, int ai_ap_flag ) - - Set if this entity can be attacked by AI - - .. cpp:function:: void SetDeathNotifications( bool notifs ) - - .. cpp:function:: void SetTitle( string title ) - - .. cpp:function:: void SetAbsAngles( vector angles ) - - .. cpp:function:: void SetAbsOrigin( void origin ) - - .. cpp:function:: void Minimap_AlwaysShow( int team, entity ent ) - - .. cpp:function:: void RoundOriginAndAnglesToNearestNetworkValue() - - .. cpp:function:: void ClearBossPlayer() - - Remove boss player reference from this entity. - - .. cpp:function:: void Minimap_DisplayDefault( int team, entity ent ) - - .. cpp:function:: void _typeof() - - Prints ent index, classname and target name of this entity to the console. - - .. cpp:function:: void DisableDraw() - - "consider this the mega hide" - - .. cpp:function:: void EnableDraw() - - "it's back!" - - .. cpp:function:: string CreateStringForFunction( function func ) - - this is a general purpose function that returns a string which, when executed, runs the given function on this entity. - - the function must be called (or the entity deleted) at some point to avoid leaking the new slot we make in this Table. - - compile with output with ``compilestring`` - -C_BaseEntity -^^^^^^^^^^^^ - -.. cpp:class:: C_BaseEntity - - .. cpp:function:: string GetSignifierName() - - .. cpp:function:: string GetBossPlayerName() - - .. cpp:function:: void ForceShadowVisible( bool visible ) - - .. cpp:function:: void clKill() - - Kill this client side prop. - - .. cpp:function:: float Highlight_GetNearFadeDist() - - .. cpp:function:: void Highlight_ResetFlags() - - .. cpp:function:: void Highlight_SetFadeInTime( float time ) - - .. cpp:function:: void Highlight_SetFadeOutTime( float time ) - - .. cpp:function:: void Highlight_SetFarFadeDist( float dist ) - - .. cpp:function:: void Highlight_SetFlag( int highlightFlag, bool enable ) - - .. cpp:function:: void Highlight_SetLifeTime( float time ) - - .. cpp:function:: void Highlight_SetNearFadeDist( float dist ) - - .. cpp:function:: void Highlight_SetVisibilityType( int type ) - - .. cpp:function:: void Highlight_StartOn() - - Starts the highlight with the set configuration - - .. cpp:function:: void DisableRenderWithViewModelsNoZoom() - - .. cpp:function:: void EnableRenderWithCockpit() - - .. cpp:function:: void EnableRenderWithHud() - - .. cpp:function:: void SetAttachOffsetAngles( vector angles ) - - .. cpp:function:: void SetAttachOffsetOrigin( vector origin ) - - .. cpp:function:: void SetVisibleForLocalPlayer( int visible ) - - .. cpp:function:: void InitHudElem( var key ) - - .. cpp:function:: string GetTitleForUI() - - .. cpp:function:: float GetCloakFadeFactor() - - .. cpp:function:: int Dev_GetEncodedEHandle() - - Returns the EHandle of this entity. - - .. cpp:function:: int Minimap_GetCustomState() - - .. cpp:function:: int Minimap_GetZOrder() - - .. cpp:function:: void DoDeathCallback( bool doCallback ) - - .. cpp:function:: void EnableHealthChangedCallback() - - .. cpp:function:: void HideHUD() - - Hide HUD elements - - .. cpp:function:: void ShowHUD() - - Show HUD elements - - .. cpp:function:: bool IsHUDVisible() - - Return ``true`` if HUD is shown on this entity - -CDynamicProp / C_DynamicProp ----------------------------- - -Shared -^^^^^^ - -.. cpp:class:: CDynamicProp / C_DynamicProp : extends CBaseAnimating / C_BaseAnimating - -CDynamicProp -^^^^^^^^^^^^ - -.. cpp:class:: CDynamicProp : extends CBaseAnimating - - .. cpp:function:: void SetFullBodygroup( int group ) - -C_DynamicProp -^^^^^^^^^^^^^ - -.. cpp:class:: C_DynamicProp : extends C_BaseAnimating - -CScriptProp / C_ScriptProp ------------ - -Shared -^^^^^^ - -.. cpp:class:: CScriptProp / C_ScriptProp : extends CDynamicProp / C_DynamicProp - - .. cpp:function:: void SetSmartAmmoLockType( int salt ) - - - - .. cpp:function:: int GetScriptPropFlags() - -CScriptProp -^^^^^^^^^^^ - -.. cpp:class:: CScriptProp : extends CDynamicProp - - .. cpp:function:: void SetFootstepType( int type ) - - .. cpp:function:: void SetArmorType( int armor ) - - .. cpp:function:: void SetScriptPropFlags( int flags ) - - -C_ScriptProp -^^^^^^^^^^^^ - -CBaseCombatWeapon / C_BaseCombatWeapon --------------------------------------- - -Shared -^^^^^^ - -.. cpp:class:: CBaseCombatWeapon / C_BaseCombatWeapon : extends CBaseAnimating / C_BaseAnimating - - .. cpp:function:: string GetWeaponDescription() - - Returns the weapon description - -CBaseCombatWeapon -^^^^^^^^^^^^^^^^^ - -.. cpp:class:: CBaseCombatWeapon : extends CBaseAnimating - -C_BaseCombatWeapon -^^^^^^^^^^^^^^^^^^ - -.. cpp:function:: C_BaseCombatWeapon : extends C_BaseAnimating - -CWeaponX / C_WeaponX --------------------- - -Weapons hold by a player or that are lying on the ground are of this type. - -Shared -^^^^^^ - -.. cpp:class:: CWeaponX / C_WeaponX : extends CBaseCombatWeapon / C_BaseCombatWeapon - - .. cpp:function:: entity GetWeaponOwner() - - Returns the owner of this weapon - - .. cpp:function:: bool GetAllowHeadShots() - - Returns ``true`` if this weapon can deal crits - - .. cpp:function:: float GetMaxDamageFarDist() - - Returns the max damage at the maximum travel distance - - .. cpp:function:: bool GetWeaponSettingBool( int setting ) - - Get a weapon setting - - .. cpp:function:: float GetWeaponSettingFloat( int setting ) - - Get a weapon setting - - .. cpp:function:: int GetWeaponSettingInt( int setting ) - - Get a weapon setting - - .. cpp:function:: vector GetAttackDirection() - - .. cpp:function:: vector GetAttackPosition() - - .. cpp:function:: int GetWeaponPrimaryAmmoCount() - - Return the amount of ammo in a weapon - - .. cpp:function:: int GetWeaponPrimaryClipCount() - - Returns the amount of clips remaining in a weapon - - .. cpp:function:: int GetWeaponPrimaryClipCountMax() - - Returns the maximum ammo in a clip of a primary weapon - - .. cpp:function:: bool IsChargeWeapon() - - Returns ``true`` if this weapon is a charge weapon - - .. cpp:function:: void SetNextAttackAllowedTime( float time ) - - You need to set a game time as time. - - .. cpp:function:: void SetWeaponChargeFractionForced( float frac ) - - .. cpp:function:: void SetWeaponPrimaryClipCount( int ) - - .. cpp:function:: string GetWeaponClassName() - - Returns the weapon class name - - .. cpp:function:: var GetWeaponInfoFileKeyField( string key ) - - .. cpp:function:: float GetCoreDuration() - - .. cpp:function:: int GetWeaponType() - - .. cpp:function:: array GetMods() - - Get all mods of this weapon - - .. cpp:function:: bool IsWeaponOffhand() - - Returns ``true`` if this weapon is equipped as a offhand weapon - - .. cpp:function:: float GetWeaponChargeFraction() - - Returns the percent this weapon has been charged - - .. cpp:function:: float GetWeaponChargeTime() - - Returns the time this weapon needs to be charged - - .. cpp:function:: bool HasMod( string mod ) - - Check if the array of mods for this weapon contains ``mod`` - - .. cpp:function:: int GetWeaponCurrentEnergyCost() - - Returns the amount of energy consumed per use. - - .. cpp:function:: bool GetMeleeCanHitHumanSized() - - .. cpp:function:: bool GetMeleeCanHitTitans() - - .. cpp:function:: void DoMeleeHitConfirmation( float severityScale ) - - .. cpp:function:: void EmitWeaponNpcSound_DontUpdateLastFiredTime( int volume, float time ) - - .. cpp:function:: int GetDamageAmountForArmorType( int armor ) - - .. cpp:function:: float GetMeleeAttackRange() - - .. cpp:function:: float GetMeleeLungeTargetRange() - - .. cpp:function:: void SetMods( array mods ) - - Set the mods this weapon. - - .. cpp:function:: void EmitWeaponNpcSound( int volume, float duration ) - - .. cpp:function:: int GetWeaponDamageFlags() - - Returns a bitflag of damage types this weapon has. - - .. cpp:function:: bool SmartAmmo_IsEnabled( bool enabled ) - - .. cpp:function:: int SmartAmmo_GetNumTrackersOnEntity( entity target ) - - .. cpp:function:: array SmartAmmo_GetTrackedEntities() - - .. cpp:function:: bool SmartAmmo_IsVisibleTarget( entity trackedEnt ) - - .. cpp:function:: string GetWeaponClass() - - .. cpp:function:: void SetWeaponSkin( int skin ) - - .. cpp:function:: entity FireWeaponGrenade( vector attackPos, vector throwVelocity, vector angularVelocity, float fuseTime, int contactDamageType, int explosionDamageType, bool isPredicted, bool isLagCompensated, bool bounce? ) - - .. cpp:function:: int GetScriptFlags0() - - Returns script flags of this weapon. - - .. cpp:function:: bool ShouldPredictProjectiles() - - Returns ``true`` if clients should be predicting the projectiles fired from this weapon. - - .. cpp:function:: float GetScriptTime0() - - Returns the script time of this weapon. - - .. cpp:function:: void SetScriptTime0( float gameTime ) - - ``gameTime`` needs to be game time. The current game time can be retrieved with ``Time()`` - - .. cpp:function:: bool IsReloading() - - Returns ``true`` if this weapon is currently being reloaded. - - .. cpp:function:: void SetForcedADS() - - Force the holder to ADS this weapon. - - .. cpp:function:: void ClearForcedADS() - - Allow the holder to hipfire. - - .. cpp:function:: void EmitWeaponSound_1p3p(string sound1P, string sound3P) - - .. cpp:function:: int GetChargeAnimIndex() - - .. cpp:function:: void PlayWeaponEffectNoCull(asset effect1P, asset effect3P, string tagName) - - .. cpp:function:: void RegenerateAmmoReset() - - .. cpp:function:: void SetChargeAnimIndex( int index ) - - .. cpp:function:: void SetWeaponPrimaryAmmoCount( int count ) - - Set the ammo of a primary weapon. - - .. cpp:function:: void StopWeaponEffect(asset effect1P, asset effect3P) - - Stops the effects. - - .. cpp:function:: int GetReloadMilestoneIndex() - - Reload progress. Reloading continues from there. - - .. cpp:function:: int GetAmmoPerShot() - - Returns the amount of ammo that is being used per shot. - - .. cpp:function:: bool IsBurstFireInProgress() - - .. cpp:function:: void PlayWeaponEffect(asset effect1P, asset effect3P, string tagName) - - .. cpp:function:: void StopWeaponSound(string sound) - - .. cpp:function:: float GetSustainedDischargeDuration() - - .. cpp:function:: void SetSustainedDischargeFractionForced(float frac) - - .. cpp:function:: entity FireWeaponMissile(vector origin, vector dir, float missileSpeed, int contactDamageType, int explosionDamageType, bool doPopup, bool predict) - - .. cpp:function:: int GetBurstFireShotsPending() - - .. cpp:function:: bool AllowUse() - - Allow entities to use the weapon. - - .. cpp:function:: void RemoveMod( string mod ) - - Remove the passed mod from this weapon. - - .. cpp:function:: array SmartAmmo_GetTargets() - - .. cpp:function:: void SmartAmmo_TrackEntity(entity hitEnt, LMG_SMART_AMMO_TRACKER_TIME) - - .. cpp:function:: void EmitWeaponSound( string sound ) - - Play a sound on this weapon. - - .. cpp:function:: float GetWeaponChargeLevel() - - .. cpp:function:: void SetWeaponBurstFireCount(int amount) - - .. cpp:function:: int GetCurrentAltFireIndex() - - .. cpp:function:: void ForceRelease() - - .. cpp:function:: float SetWeaponChargeFraction() - - .. cpp:function:: int GetProjectilesPerShot() - - .. cpp:function:: entity FireWeaponBolt(vector origin, vector dir, float projectileSpeed, int contactDamageType, int explosionDamageType, bool predict, int index) - - .. cpp:function:: bool IsWeaponInAds() - - Returns ``true`` if this weapon is in ADS. - - .. cpp:function:: void ResetWeaponToDefaultEnergyCost() - - Reset the amount of energy consumed per use - - .. cpp:function:: void SetWeaponEnergyCost( int cost ) - - Set the amount of energy consumed per use. - - .. cpp:function:: entity FireWeaponBullet( vector origin, vector dir, int numBullets, damageType ) - - Fires a hitscan bullet from this weapon. - - .. cpp:function:: bool IsWeaponAdsButtonPressed() - - Returns ``true`` while the ADS button is pressed. - - .. cpp:function:: float GetWeaponChargeLevelMax() - - .. cpp:function:: bool IsReadyToFire() - - Returns ``true`` if the weapon can be fired. - - .. cpp:function:: void SetAttackKickRollScale(float scale) - - .. cpp:function:: int GetShotCount() - - .. cpp:function:: void AddMod( string mod ) - - Add a mod to this weapon - - .. cpp:function:: void FireWeaponBullet_Special(vector origin, vector direction, int numShots, int damageType, bool noAntilag, bool noSpread, bool onlyDamageEntitiesOnce, bool unknownPurpose, bool noTracers, bool activeShot, bool doTraceBrushOnly) - - .. cpp:function:: string GetWeaponSettingString( string setting ) - - .. cpp:function:: void SmartAmmo_UntrackEntity( entity target ) - - .. cpp:function:: string GetSmartAmmoWeaponType() - - Check if weaponType is valid: ``Assert( weaponType in VALID_WEAPON_TYPES )`` - - .. cpp:function:: int GetWeaponBurstFireCount() - - .. cpp:function:: void SmartAmmo_Clear( bool unknown_purpose, bool clearPartialLocks ) - - .. cpp:function:: vector SmartAmmo_GetFirePosition( entity target, int burstIndex ) - - .. cpp:function:: array SmartAmmo_GetStoredTargets() - - .. cpp:function:: void SmartAmmo_StoreTargets() - - .. cpp:function:: bool IsSustainedDischargeWeapon() - - .. cpp:function:: int GetDamageSourceID() - - .. cpp:function:: float GetGrenadeFuseTime() - - Note that fuse time of 0 means the grenade won't explode on its own, instead it depends on OnProjectileCollision() functions to be defined and explode there. - - .. cpp:function:: void SetWeaponPrimaryClipCountAbsolute(int clipsize) - - .. cpp:function:: entity GetWeaponUtilityEntity() - - .. cpp:function:: bool IsForceRelease() - - .. cpp:function:: bool IsWeaponRegenDraining() - - .. cpp:function:: void SetWeaponPrimaryClipCountNoRegenReset(int clipsize) - -CWeaponX -^^^^^^^^ - -.. cpp:class:: CWeaponX : extends CBaseCombatWeapon - - .. cpp:function:: void SetWeaponUtilityEntity( entity ent ) - - .. cpp:function:: void ForceDryfireEvent() - - Force this weapon to dry fire - - .. cpp:function:: void PlayWeaponEffectOnOwner( asset effect, int bodypart ) - - Play an effect on the weapon owner - - .. cpp:function:: void ForceReleaseFromServer() - - Will eventually result in ``Grenade_OnWeaponToss_()`` or equivalent function - - .. cpp:function:: bool IsForceReleaseFromServer() - - returns ``true`` if this weapon has been forced to be released - -C_WeaponX -^^^^^^^^^ - -.. cpp:class:: C_WeaponX : extends C_BaseCombatWeapon - - .. cpp:function:: void PlayWeaponEffectReturnViewEffectHandle( asset fpEffect, asset unknown_purpose, string tag ) - - the second asset is probably the third person effect played. - - .. cpp:function:: void SetViewmodelAmmoModelIndex( int index ) - - ``index`` may be the number of rounds in the clip etc. - -CProjectile / C_Projectile --------------------------- - -Projectiles. - -Shared -^^^^^^ - -.. cpp:class:: CProjectile / C_Projectile : extends CDynamicProp / C_DynamicProp - - .. cpp:function:: bool GetProjectileWeaponSettingBool( string setting ) - - .. cpp:function:: float GetProjectileWeaponSettingFloat( string setting ) - - .. cpp:function:: int GetProjectileWeaponSettingInt( string setting ) - - .. cpp:function:: string ProjectileGetWeaponClassName() - - .. cpp:function:: void SetImpactEffectTable( string fxTableHandle ) - - .. cpp:function:: array ProjectileGetMods() - - Returns an array of every mod this projectile has equipped - - .. cpp:function:: void SetProjectilTrailEffectIndex( int index ) - - Set the projectile trail by index - - .. cpp:function:: void SetProjectileLifetime( float lifetime ) - - Set the time after which this projectile gets destroyed programmatically - - .. cpp:function:: string ProjectileGetWeaponInfoFileKeyField( string key ) - - .. cpp:function:: void SetReducedEffects() - - Only use reduced effects for this projectile - - .. cpp:function:: asset GetProjectileWeaponSettingAsset( string setting ) - - .. cpp:function:: void SetVortexRefired( bool refired ) - - Tells the code that the projectile was refired from the vortex so that it uses "projectile_vortex_vscript" - - .. cpp:function:: float GetProjectileCreationTime() - - Get the gametime when this projectile has been created - - .. cpp:function:: asset ProjectileGetWeaponInfoFileKeyFieldAsset( string key ) - -CProjectile -^^^^^^^^^^^ - -.. cpp:class:: CProjectile : extends CDynamicProp - - .. cpp:function:: int ProjectileGetDamageSourceID() - - .. cpp:function:: void ProjectileSetDamageSourceID( int id ) - - .. cpp:function:: void SetWeaponClassName( string name ) - - .. cpp:function:: void SetProjectileImpactDamageOverride( int flag ) - -C_Projectile -^^^^^^^^^^^^ - -.. cpp:class:: C_Projectile : extends C_DynamicProp - -CBaseGrenade / C_BaseGrenade ----------------------------- - -Grenade entities in worldspace. Grenades that are equipped ("cooked") by players are instances from the CWeaponX class. - -Shared -^^^^^^ - -.. cpp:class:: CBaseGrenade / C_BaseGrenade : extends CProjectile / C_Projectile - - .. cpp:function:: float GetDamageRadius() - - Get the damage radius - - .. cpp:function:: float GetExplosionRadius() - - Get the explosion radius - - .. cpp:function:: void GrenadeExplode( vector normal ) - - Explode this grenade now - - .. cpp:function:: entity GetThrower() - - Get the enitity that has thrown this grenade - - .. cpp:function:: bool GrenadeHasIgnited() - - Returns ``true`` if this grenade has already been ignited - - .. cpp:function:: void GrenadeIgnite() - - .. cpp:function:: void SetDoesExplode( bool explodes ) - - .. cpp:function:: void InitMagnetic( float force, string attractKey ) - - .. cpp:function:: void ExplodeForCollisionCallback( vector normal ) - - .. cpp:function:: void MarkAsAttached() - -CBaseGrenade -^^^^^^^^^^^^ - -.. cpp:class:: CBaseGrenade : extends CProjectile - - .. cpp:function:: void SetGrenadeTimer( float fuseTime ) - - Set fuse time for this grenade - - .. cpp:function:: void SetGrenadeIgnitionDuration( float fuseTime ) - - Set the ignition duration for this grenade - -C_BaseGrenade -^^^^^^^^^^^^^ - -.. cpp:class:: C_BaseGrenade : extends C_Projectile - -CMissile / C_Missile --------------------- - -Shared -^^^^^^ - -.. cpp:class:: CMissile / C_Missile : extends CProjectile / C_Projectile - - .. cpp:function:: void MissileExplode() - - Make this missile explode now - - .. cpp:function:: void InitMissileForRandomDriftFromWeaponSettings( vector pos, vector dir ) - - .. cpp:function:: void SetHomingSpeeds( int speed, int speed_for_dodging_player ) - - .. cpp:function:: void SetMissileTarget( enity target, vector offset ) - - .. cpp:function:: void SetMissileTargetPosition( vector pos ) - - .. cpp:function:: void InitMissileSpiral( vector pos, vector dir, int missileNumber, bool unknown_purpose1, bool unknown_purpose2 ) - - If both ``slowAndExpand`` and ``consistentSpacing`` are true, missiles fly faster instead of normal ``slowAndExpand`` behavior. - - .. cpp:function:: void SetSpeed( float speed ) - - .. cpp:function:: entity GetMissileTarget() - - .. cpp:function:: void InitMissileExpandContract( vector outward, vector inward, float launchOutTime, float launchInLerpTime, float launchInTime, float launchStraightLerpTime, vector missileEndPos, bool applyRandSpread ) - - .. cpp:function:: void InitMissileForRandomDrift( vector pos, vector dir ) - -CMissile -^^^^^^^^ - -.. cpp:class:: CMissile : extends CProjectile - -C_Missile -^^^^^^^^^ - -.. cpp:class:: C_Missile : extends C_Projectile - - - -CPlayer / C_Player ------------------- - -Shared -^^^^^^ - -.. cpp:class:: CPlayer / C_Player : extends CBaseCombatCharacter / C_BaseCombatCharacter - - .. cpp:function:: int GetGen() - - Returns the gen of the player account. - - .. cpp:function:: int GetLevel() - - Returns the level of the player account. - - .. cpp:function:: int GetXP() - - Returns the xp of the player account. - - .. cpp:function:: entity GetFirstPersonProxy() - - .. cpp:function:: string GetPlayerClass() - - .. cpp:function:: void Lunge_ClearTarget() - - .. cpp:function:: bool Lunge_IsActive() - - Returns ``true`` if the player is currently lunging to a melee victim. - - .. cpp:function:: bool GetForcedDialogueOnly() - - .. cpp:function:: float GetLastPingTime() - - .. cpp:function:: int GetNumPingsAvailable() - - .. cpp:function:: int GetPingGroupAccumulator() - - .. cpp:function:: float GetPingGroupStartTime() - - .. cpp:function:: void SetLastPingTime( float time) - - .. cpp:function:: void SetNumPingsAvailable( int num ) - - .. cpp:function:: void SetNumPingsUsed( int num ) - - .. cpp:function:: void SetPingGroupAccumulator( int acc ) - - .. cpp:function:: void SetPingGroupStartTime( float gametime ) - - .. cpp:function:: string GetPlayerName() - - Returns the player account name - - .. cpp:function:: int GetPlayerGameStat( int PGS ) - - Returns the score of the player in the provided category. some categories are: PGS_KILLS, PGS_DEATHS, PGS_SCORE etc. - - .. cpp:function:: entity GetPetTitan() - - Returns the soul of the player's autotitan. - - .. cpp:function:: bool GetTitanDisembarkEnabled() - - .. cpp:function:: bool GetTitanEmbarkEnabled() - - .. cpp:function:: bool IsBot() - - .. cpp:function:: void SetTitanDisembarkEnabled( bool enabled ) - - .. cpp:function:: void SetTitanEmbarkEnabled( bool enabled ) - - .. cpp:function:: string GetPlayerSettings() - - .. cpp:function:: int GetActiveBurnCardIndex() - - Returns the index of the selected burn card. - - .. cpp:function:: int Code_GetActiveBurnCardIndex() - - Use ``GetActiveBurnCardIndex`` instead - - .. cpp:function:: string GetPlayerSettingsField( string field ) - - .. cpp:function:: int GetCinematicEventFlags() - - .. cpp:function:: entity GetObserverTarget() - - .. cpp:function:: vector GetViewRight() - - .. cpp:function:: vector GetViewVector() - - .. cpp:function:: vector GetViewForward() - - .. cpp:function:: vector GetViewUp() - - .. cpp:function:: int GetPersistentVarAsInt( string key ) - - .. cpp:function:: entity GetViewModelEntity() - - .. cpp:function:: int GetOutOfBoundsDeadTime() - - .. cpp:function:: entity GetTitanSoulBeingRodeoed() - - .. cpp:function:: vector CameraAngles() - - Returns the angles of this player's camera. - - .. cpp:function:: float GetObjectiveEndTime() - - .. cpp:function:: entity GetObjectiveEntity() - - .. cpp:function:: int GetObjectiveIndex() - - .. cpp:function:: enitity GetPredictedFirstPersonProxy() - - .. cpp:function:: int GetPetTitanMode() - - .. cpp:function:: bool IsWallHanging() - - Returns ``true`` if the player is wall hanging. - - .. cpp:function:: float GetNextTitanRespawnAvailable() - - .. cpp:function:: var GetPersistentVar( string key ) - - .. cpp:function:: bool HasBadReputation() - - .. cpp:function:: int GetObserverMode() - - .. cpp:function:: float GetPlayerModHealth() - - .. cpp:function:: bool IsInputCommandHeld( int flag ) - - .. cpp:function:: int GetPlayerNetInt( string state ) - - .. cpp:function:: float GetPlayerNetFloat( string state ) - - .. cpp:function:: entity GetHardpointEntity() - - .. cpp:function:: bool GetPlayerNetBool( string key ) - - .. cpp:function:: bool IsCrouched() - - Returns ``true`` if the player is crouching. - - .. cpp:function:: bool IsStanding() - - Returns ``true`` if the player is standing - - .. cpp:function:: void IsTraversing() - - .. cpp:function:: void IsWallRunning() - - Returns ``true`` if the player is wallrunning. - - .. cpp:function:: bool IsZiplining() - - Returns ``true`` if the player is currently attached to a zipline - - .. cpp:function:: vector Lunge_GetStartPositionOffset() - - .. cpp:function:: void Lunge_SetTargetEntity( entity target, bool unknown_purpose ) - - .. cpp:function:: int PlayerMelee_GetState() - - .. cpp:function:: bool PlayerMelee_IsAttackActive() - - .. cpp:function:: void PlayerMelee_SetState( int state ) - - .. cpp:function:: void Lunge_EnableFlying() - - .. cpp:function:: vector Lunge_GetEndPositionOffset() - - .. cpp:function:: bool Lunge_IsGroundExecute() - - .. cpp:function:: bool Lunge_IsLungingToEntity() - - .. cpp:function:: void Lunge_LockPitch( bool lock ) - - .. cpp:function:: void Lunge_SetEndPositionOffset( vector offset ) - - .. cpp:function:: void Lunge_SetTargetPosition( vector pos ) - - .. cpp:function:: void PlayerMelee_EndAttack() - - .. cpp:function:: entity PlayerMelee_GetAttackHitEntity() - - .. cpp:function:: void PlayerMelee_SetAttackHitEntity( entity ent ) - - .. cpp:function:: void PlayerMelee_SetAttackRecoveryShouldBeQuick( bool beQuick ) - - .. cpp:function:: void PlayerMelee_StartAttack( int attackState ) - - .. cpp:function:: void SetSelectedOffhandToMelee() - - .. cpp:function:: void Weapon_StartCustomActivity( string animation, bool unknown_purpose ) - - .. cpp:function:: float GetPlayerNetTime( string key ) - - .. cpp:function:: vector CameraPosition() - - Returns the camera position of this player. - - .. cpp:function:: entity GetPlayerNetEnt( string key ) - - .. cpp:function:: bool HasPassive( int passive ) - - .. cpp:function:: void Lunge_SetSmoothTime( float time ) - - .. cpp:function:: float SmartAmmo_GetHighestLockOnMeFraction() - - .. cpp:function:: array SmartAmmo_GetHighestLocksOnMeEntities() - - .. cpp:function:: float SmartAmmo_GetPreviousHighestLockOnMeFraction() - - .. cpp:function:: void Grapple( vector direction ) - - .. cpp:function:: bool MayGrapple() - - .. cpp:function:: int GetSuitGrapplePower() - - .. cpp:function:: void SetSuitGrapplePower( float power ) - - .. cpp:function:: array GetPlayerSettingsMods() - - .. cpp:function:: void ClearMeleeDisabled() - - .. cpp:function:: void SetMeleeDisabled() - - .. cpp:function:: void RumbleEffect( int x, int y, int z ) - - .. cpp:function:: float GetInputAxisForward() - - Y Axis - - .. cpp:function:: float GetInputAxisRight() - - X Axis - - .. cpp:function:: int GetDodgePower() - - .. cpp:function:: void HolsterWeapon() - - Holsters this weapon. The player can't use it until it's deployed again with ``DeployWeapon`` - - .. cpp:function:: void DeployWeapon() - - May not work with ``DeployAndEnableWeapons()`` and ``HolsterAndDisableWeapons()`` - - .. cpp:function:: float GetZoomFrac() - - Returns the fractal of the current weapon zoom. 1.0 is fully zoomed in. - - .. cpp:function:: entity GetRemoteTurret() - - -CPlayer -^^^^^^^ - -.. cpp:class:: CPlayer : extends CBaseCombatCharacter - - .. cpp:function:: void CockpitStartDisembark() - - .. cpp:function:: void NotifyDidDamage( entity damagedEnt, int hitbox, vector damagePosition, int customDamageType, float damage, int damageFlags, int hitGroup, enitity weapon, float distanceFromAttackOrigin ) - - .. cpp:function:: void Server_SetDodgePower( float dodgePower ) - - .. cpp:function:: void SetDodgePowerDelayScale( float delay ) - - .. cpp:function:: void SetPowerRegenRateScale( float scale ) - - .. cpp:function:: void SetPersistentVar( string key, var val ) - - .. cpp:function:: void ForceStand() - - Force this player to stand up - - .. cpp:function:: void UnforceStand() - - Allow crouching - - .. cpp:function:: void SetPlayerNetBool( string key, bool val ) - - .. cpp:function:: void Anim_StopGesture( int gesture ) - - .. cpp:function:: void PlayerCone_Disable() - - .. cpp:function:: void PlayerCone_FromAnim() - - .. cpp:function:: void PlayerCone_SetLerpTime( float time ) - - .. cpp:function:: void PlayerCone_SetMaxPitch( int maxPitch ) - - .. cpp:function:: void PlayerCone_SetMaxYaw( int maxYaw ) - - .. cpp:function:: void PlayerCone_SetMinPitch( int min ) - - .. cpp:function:: void PlayerCone_SetMinYaw( int min ) - - .. cpp:function:: entity CreateAnimatedPlayerDecoy( string decoyType ) - - Decoy Types: ``pt_mp_execution_attacker_hologram_01``, ``pt_mp_execution_attacker_hologram_02``, ``pt_mp_execution_attacker_hologram_03`` - - .. cpp:function:: void StopObserverMode() - - .. cpp:function:: void CockpitStartEject() - - .. cpp:function:: void FreezeControlsOnServer() - - .. cpp:function:: void UnfreezeControlsOnServer() - - .. cpp:function:: void CockpitStartBoot() - - .. cpp:function:: void SetStaggering() - - .. cpp:function:: void ForceCrouch() - - Force this player to crouch. - - .. cpp:function:: void UnforceCrouch() - - Allow this player to stand. - - .. cpp:function:: bool IsNoclipping() - - Returns ``true`` if noclip is enabled. - - .. cpp:function:: void SetCinematicEventFlags( int flag ) - - .. cpp:function:: void SetSyncedEntity( entity synced ) - - .. cpp:function:: void SnapEyeAngles( vector angles ) - - .. cpp:function:: void SnapFeetToEyes() - - .. cpp:function:: void TouchGround() - - Allows the player to double jump again. - - .. cpp:function:: void ViewOffsetEntity_Clear() - - .. cpp:function:: entity CreatePlayerDecoy( float stickPercentToRun ) - - .. cpp:function:: void SetPlayerSettingsWithMods( string settings, array newMods ) - - .. cpp:function:: void Server_TurnOffhandWeaponsDisabledOff() - - .. cpp:function:: void Server_TurnOffhandWeaponsDisabledOn() - - .. cpp:function:: void SetPlayerNetInt( string key, int val ) - - .. cpp:function:: void Anim_PlayGesture( string anim3p, float unknown_purpose, float unknown_purpose1, float unknown_purpose2 ) - - .. cpp:function:: void Server_TurnDodgeDisabledOff() - - .. cpp:function:: void Server_TurnDodgeDisabledOn() - - .. cpp:function:: void SetGroundFrictionScale( int scale ) - - .. cpp:function:: void PlayerCone_SetSpecific( vector viewAngles ) - - .. cpp:function:: void GiveExtraWeaponMod( string mod ) - -C_Player -^^^^^^^^ - -.. cpp:class:: C_Player : extends C_BaseCombatCharacter - - .. cpp:function:: void ClientCommand( string command ) - - Executes a command on the player's client. The command only gets executed when the player has launched Northstar with the ``norestrictservercommands`` launch argument for security reasons. - - .. cpp:function:: entity GetCockpit() - - .. cpp:function:: string GetBodyType() - - .. cpp:function:: float GetAdsFraction() - - .. cpp:function:: bool IsInThirdPersonReplay() - - .. cpp:function:: float GetHotDropImpactTime( entity titan = this.titan, string animation = HOTDROP_TURBO_ANIM ) - - If called without paramets returns time for the player's titan drop. - - .. cpp:function:: string GetPlayerNameWithClanTag() - - .. cpp:function:: bool HasMic() - - .. cpp:function:: bool InPartyChat() - - .. cpp:function:: bool IsMuted() - - .. cpp:function:: bool IsPartyLeader() - - .. cpp:function:: bool IsTalking() - - .. cpp:function:: void CockpitJolt( vector joltDir, float severity ) - - play a jolt effect on the player - - .. cpp:function:: void SetScriptMenuOff() - - .. cpp:function:: void SetScriptMenuOn() - - .. cpp:function:: EntityScreenSpaceBounds GetEntScreenSpaceBounds( entity ent, int padding ) - - .. cpp:function:: void HideCrosshairNames() - - Disable showing crosshair names of entities when aiming at them. - - .. cpp:function:: void UnhideCrosshairNames() - - Enable showing crosshair names of entities when aiming at them. (default) - - .. cpp:function:: void FreezeControlsOnClient() - - Stop player input. - - .. cpp:function:: void Rodeo_StartCameraSmoothing( float factor ) - - .. cpp:function:: void Rodeo_StopCameraSmoothing( float factor ) - - .. cpp:function:: void StartArcCannon() - - .. cpp:function:: void StopArcCannon() - -CTitanSoul / C_TitanSoul ------------------------- - -Shared -^^^^^^ - -.. cpp:class:: CTitanSoul / C_TitanSoul : extends CBaseEntity / C_BaseEntity - - .. cpp:function:: entity GetTitan() - - .. cpp:function:: bool HasValidTitan() - - .. cpp:function:: bool IsDoomed() - - Returns ``true`` if this soul is in doomed state - - .. cpp:function:: float GetTitanSoulNetFloat( string key ) - - .. cpp:function:: entity GetInvalidHealthBarEnt() - - Returns an instance of ``CNPC_Titan`` - - .. cpp:function:: int GetTitanSoulNetInt( string key ) - - .. cpp:function:: float GetLastRodeoHitTime() - - .. cpp:function:: bool IsEjecting() - - .. cpp:function:: int GetStance() - - .. cpp:function:: int GetPlayerSettingsNum() - - .. cpp:function:: float GetCoreChargeExpireTime() - - .. cpp:function:: float GetCoreChargeStartTime() - - .. cpp:function:: float GetNextCoreChargeAvailable() - -CTitanSoul -^^^^^^^^^^ - -.. cpp:class:: CTitanSoul : extends CBaseEntity - - .. cpp:function:: void SetEjecting( bool ejecting ) - - .. cpp:function:: void SetPlayerSettingsNum( int enum ) - - .. cpp:function:: void SetStance( int stance ) - - .. cpp:function:: void SoulDestroy() - - .. cpp:function:: void SetCoreChargeExpireTime( float gametime ) - - .. cpp:function:: void SetTitanSoulNetFloat( string key, float val ) - - .. cpp:function:: void SetTitanSoulNetFloatOverTime( string key, float val, float time ) - - .. cpp:function:: float GetCoreUseDuration() - - .. cpp:function:: void SetTitanSoulNetInt( string key, int val ) - - .. cpp:function:: void SetLastRodeoHitTime( float gametime ) - - .. cpp:function:: void SetCoreChargeStartTime( float gametime ) - - .. cpp:function:: void SetCoreUseDuration( float duration ) - - .. cpp:function:: void SetNextCoreChargeAvailable( float time ) - -C_TitanSoul -^^^^^^^^^^^ - -.. cpp:class:: C_TitanSoul : extends C_BaseEntity - -CBaseCombatCharacter / C_BaseCombatCharacter --------------------------------------------- - -Shared -^^^^^^ - -.. cpp:class:: CBaseCombatCharacter / C_BaseCombatCharacter : extends CBaseAnimating / C_BaseAnimating - - .. cpp:function:: entity GetTitanSoul() - - .. cpp:function:: void ContextAction_ClearBusy() - - .. cpp:function:: bool ContextAction_IsActive() - - .. cpp:function:: bool ContextAction_IsBusy() - - .. cpp:function:: void ContextAction_SetBusy() - - .. cpp:function:: vector Anim_GetStartForRefEntity_Old( string anim, vector reference, string optionalTag ) - - .. cpp:function:: array GetMainWeapons() - - .. cpp:function:: entity GetOffhandWeapon( int slot ) - - .. cpp:function:: enitity GetActiveWeapon() - - .. cpp:function:: entity GetLatestPrimaryWeapon() - - .. cpp:function:: int GetSkin() - - .. cpp:function:: int LookupSequence( string sequence ) - - .. cpp:function:: void SetSkin( int skin ) - - .. cpp:function:: entity GetAntiTitanWeapon() - - .. cpp:function:: AnimRefPoint Anim_GetStartForRefPoint( string anim, vector origin, vector angles ) - - .. cpp:function:: vector GetPlayerOrNPCViewVector() - - .. cpp:function:: vector Anim_GetStartForRefPoint_Old( animation, origin, angles ) - - .. cpp:function:: void Anim_PlayWithRefPoint( string animation, vector origin, vector angles, float blendTime ) - - .. cpp:function:: bool IsWeaponDisabled() - - .. cpp:function:: int GetActiveWeaponPrimaryAmmoLoaded() - - .. cpp:function:: bool ContextAction_IsMeleeExecution() - - .. cpp:function:: int GetWeaponAmmoStockpile( entity weapon ) - - .. cpp:function:: entity GetMeleeWeapon() - - .. cpp:function:: bool ContextAction_IsMeleeExecutionTarget() - - .. cpp:function:: enitity GetFirstRodeoRider() - - Returns the first rodeo rider found or null if there are none. - - .. cpp:function:: int GetNumRodeoSlots() - - Returns number of rodeo slots available on this entity. - - .. cpp:function:: entity GetRodeoRider() - - Returns rodeo rider (if there is one) at the given slot. - - .. cpp:function:: void PhaseShiftBegin( float warmUpTime, float duration ) - - .. cpp:function:: void PhaseShiftCancel() - - .. cpp:function:: vector OffsetPositionFromView( vector startPos, vector offset ) - - .. cpp:function:: int GetWeaponAmmoLoaded( entity weapon ) - - .. cpp:function:: int GetWeaponAmmoMaxLoaded( entity weapon ) - - .. cpp:function:: float GetAttackSpreadAngle() - - .. cpp:function:: array GetOffhandWeapons() - - .. cpp:function:: bool ContextAction_IsLeeching() - - .. cpp:function:: void DisablePhaseShiftFlags() - - .. cpp:function:: void EnablePhaseShiftFlags() - - .. cpp:function:: entity GetEntityAtPhaseShiftExitPosition() - - .. cpp:function:: float PhaseShiftTimeRemaining() - - .. cpp:function:: bool CanUseSharedEnergy( int curCost ) - - .. cpp:function:: bool CanUseSharedEnergy( int curCost ) - - .. cpp:function:: void AddSharedEnergy( int amount ) - - .. cpp:function:: int GetSharedEnergyTotal() - - .. cpp:function:: int GetSharedEnergyCount() - - .. cpp:function:: void SetSharedEnergyRegenDelay( float delay ) - - .. cpp:function:: void TakeSharedEnergy( int amount ) - -CBaseCombatCharacter -^^^^^^^^^^^^^^^^^^^^ - -.. cpp:class:: CBaseCombatCharacter : extends CBaseAnimating - - .. cpp:function:: void SetFullBodygroup( int group ) - - .. cpp:function:: void GetSettingsHeadshotFX() - - Looks for "headshotFX" in an AI settings file or a player set file - - .. cpp:function:: void GiveOffhandWeapon( string ordnanceName, int slot, array mods ) - - .. cpp:function:: void GiveWeapon( string weapon ) - - .. cpp:function:: void SetActiveWeaponByName( string weapon ) - - .. cpp:function:: void TakeOffhandWeapon( int slot ) - - .. cpp:function:: void TakeWeaponNow( string weapon ) - - .. cpp:function:: void TakeWeapon( string weapon ) - - .. cpp:function:: int GetOutOfBoundsDeadTime() - - .. cpp:function:: void SetNumRodeoSlots( int ) - - Sets the maximum number of rodeo slots available on this entity. - - .. cpp:function:: void SetRodeoRider( int slot, entity rider ) - - Sets the rodeo rider at the given slot - - .. cpp:function:: void SetNPCPriorityOverride_NoThreat() - - .. cpp:function:: void SetTitanSoul( entity soul ) - - .. cpp:function:: vector GetPlayerOrNPCViewRight() - - .. cpp:function:: void ResetHealthChangeRate() - -C_BaseCombatCharacter -^^^^^^^^^^^^^^^^^^^^^ - -.. cpp:class:: C_BaseCombatCharacter : extends C_BaseAnimating - - .. cpp:function:: TraceResults TraceToLocalPlayer() - - .. cpp:function:: float TraceToLocalPlayerSimple() - -CAI_BaseNPC / C_AI_BaseNPC ----------------------------- - -Shared -^^^^^^ - -.. cpp:class:: CAI_BaseNPC / C_AI_BaseNPC : extends CBaseCombatCharacter - - .. cpp:function:: var Dev_GetAISettingByKeyField( string key ) - - Expect as string - - .. cpp:function:: bool IsInterruptable() - - .. cpp:function:: int GetAIClass() - - ``AIC_SMALL_TURRET``, ``AIC_MARVIN``, ``AIC_SPECTRE``, ``AIC_STALKER_CRAWLING``, ``AIC_FRAG_DRONE``, ``AIC_HUMAN`` - - .. cpp:function:: string GetBodyType() - - .. cpp:function:: string GetAISettingsName() - - .. cpp:function:: int GetMeleeDamageMaxForTarget( entity target ) - - .. cpp:function:: float AISetting_MaxFlyingSpeed() - - get the current flying speed of the npc. - - .. cpp:function:: string AISetting_LeechAnimSet() - - .. cpp:function:: string AISetting_LeechDataKnifeTag() - -CAI_BaseNPC -^^^^^^^^^^^^ - -.. cpp:class:: CAI_BaseNPC : extends C_BaseCombatCharacter - - .. cpp:function:: void AssaultPoint( vector point ) - - .. cpp:function:: void EnableBehavior( string behaviour ) - - .. cpp:function:: void DisableBehavior( string behaviour ) - - Possible behaviours: ``Follow``, ``Assault`` - - .. cpp:function:: void SetThinkEveryFrame( bool think ) - - .. cpp:function:: void ClearEnemy( entity enemy ) - - Clears the enemy of this npc. - - .. cpp:function:: void SetEnemy( entity enemy ) - - Sets the enemy this npc will attack. - - .. cpp:function:: void Anim_ScriptedPlay( string anim ) - - .. cpp:function:: void ForceCheckGroundEntity() - - .. cpp:function:: string GetNPCState() - - .. cpp:function:: float GetMaxEnemyDist() - - Max pilot engagement distance - - .. cpp:function:: float GetMaxEnemyDistHeavyArmor() - - Max titan engagement distance - - .. cpp:function:: float GetMaxTurretYaw() - - .. cpp:function:: void SetSecondaryEnemy( entity enemy ) - - .. cpp:function:: void DisableNPCMoveFlag( int flag ) - - .. cpp:function:: void EnableNPCMoveFlag( int flag ) - - .. cpp:function:: void SetAISettings( string settings ) - - .. cpp:function:: void SetCapabilityFlag( int flag, bool active ) - - Sets if a capability is available to the player - - .. cpp:function:: void Anim_ScriptedPlayActivityByName( string activity, bool unknown_purpose1, float unknown_purpose2 ) - - .. cpp:function:: entity GetEnemy() - - .. cpp:function:: bool CanSee( entity ent ) - - Returns ``true`` if the npc can see the ``ent``. - - .. cpp:function:: bool IsCrouching() - - .. cpp:function:: bool IsSecondaryAttack() - - .. cpp:function:: entity GetFollowTarget() - - .. cpp:function:: void InitFollowBehavior( entity followMe, string followBehaviour ) - - .. cpp:function:: void DisableNPCFlag( int flag ) - - .. cpp:function:: void EnableNPCFlag( int flag ) - - .. cpp:function:: void Freeze() - - Freezes all animations and movement of this entity. - - .. cpp:function:: void Unfreeze() - - unfreezes all animations and movement of this entity. - - .. cpp:function:: bool HasXRaySupport() - - Returns if ``this.supportsXRay`` not null. - - .. cpp:function:: void ForceCombat() - - Force into combat state by updating NPC's memory of the player. - - .. cpp:function:: bool InCombat() - - Returns true if NPC is in combat. - -C_AI_BaseNPC -^^^^^^^^^^^^^ - -.. cpp:class:: C_AI_BaseNPC : extends C_BaseCombatCharacter - -CNPC_Titan / C_NPC_Titan ------------------------- - -Shared -^^^^^^ - -.. cpp:class:: CNPC_Titan / C_NPC_Titan : extends CAI_BaseNPC / C_AI_BaseNPC - - .. cpp:function:: bool GetCanStand() - -CNPC_Titan -^^^^^^^^^^ - -.. cpp:class:: CNPC_Titan : extends CAI_BaseNPC - - .. cpp:function:: void SetCanStand( bool canStand ) - - .. cpp:function:: void GrappleNPC( vector dir ) - -C_NPC_Titan -^^^^^^^^^^^ - -CNPC_Dropship / C_NPC_Dropship ------------------------------- - -Shared -^^^^^^ - -.. cpp:class:: CNPC_Dropship / C_NPC_Dropship : extends CAI_BaseNPC / C_AI_BaseNPC - - .. cpp:function:: bool IsJetWakeFXEnabled() - -CNPC_Dropship -^^^^^^^^^^^^^ - -.. cpp:class:: CNPC_Dropship : extends CAI_BaseNPC - -C_NPC_Dropship -^^^^^^^^^^^^^^ - -.. cpp:class:: C_NPC_Dropship : extends C_AI_BaseNPC - -CNPC_Drone ----------- - -.. cpp:class:: CNPC_Drone : extends CAI_BaseNPC - - .. cpp:function:: void SetAttackMode( bool attack ) - - Set to ``false`` to not attack enemies. - -CNPC_SentryTurret / C_NPC_SentryTurret - -Shared -^^^^^^ - -.. cpp:class:: CNPC_SentryTurret / C_NPC_SentryTurret : extends CAI_BaseNPC / C_AI_BaseNPC - - .. cpp:function:: int GetTurretState() - - .. cpp:function:: entity GetControlPanel() - -CNPC_SentryTurret -^^^^^^^^^^^^^^^^^ - -.. cpp:class:: CNPC_SentryTurret : extends CAI_BaseNPC - - .. cpp:function:: void StartDeployed() - -C_NPC_SentryTurret -^^^^^^^^^^^^^^^^^^ - -.. cpp:class:: C_NPC_SentryTurret : extends C_AI_BaseNPC - - -CFirstPersonProxy / C_FirstPersonProxy --------------------------------------- - -Shared -^^^^^^ - -.. cpp:class:: CFirstPersonProxy / C_FirstPersonProxy : extends CBaseAnimating / C_BaseAnimating - -CFirstPersonProxy -^^^^^^^^^^^^^^^^^ - -.. cpp:class:: CFirstPersonProxy : extends CBaseAnimating - -C_FirstPersonProxy -^^^^^^^^^^^^^^^^^^ - -.. cpp:class:: C_FirstPersonProxy : extends C_BaseAnimating - -CBaseAnimating / C_BaseAnimating --------------------------------- - -Shared -^^^^^^ - -.. cpp:class:: CBaseAnimating / C_BaseAnimating : extends CBaseEntity / C_BaseEntity - - .. cpp:function:: vector GetAttachmentOrigin() - - .. cpp:function:: int LookupAttachment( string attachment ) - - .. cpp:function:: int FindBodyGroup( string group ) - - .. cpp:function:: int GetBodyGroupState( int bodyGroupIndex ) - - .. cpp:function:: int GetBodyGroupModelCount( int bodyGroupIndex ) - - .. cpp:function:: void SetBodygroup( int groupIndex, int newIndex ) - - .. cpp:function:: vector GetAttachmentAngles() - - .. cpp:function:: Attachment Anim_GetAttachmentAtTime( string animation, string attachmentName, float time ) - - .. cpp:function:: float GetScriptedAnimEventCycleFrac( string anim, string event ) - - .. cpp:function:: float GetSequenceDuration( string anim ) - - .. cpp:function:: bool Anim_IsActive() - - .. cpp:function:: void Anim_Play( string anim ) - - .. cpp:function:: void Anim_SetInitialTime( float time ) - - .. cpp:function:: void Anim_Stop() - - .. cpp:function:: vector Anim_GetStartForRefEntity_Old( string anim, vector reference, string optionalTag ) - - .. cpp:function:: int GetSkin() - - .. cpp:function:: int LookupSequence( string sequence ) - - .. cpp:function:: void SetSkin( int skin ) - - .. cpp:function:: AnimRefPoint Anim_GetStartForRefPoint( string anim, vector origin, vector angles ) - - .. cpp:function:: vector Anim_GetStartForRefPoint_Old( animation, origin, angles ) - - .. cpp:function:: void Anim_PlayWithRefPoint( string animation, vector origin, vector angles, float blendTime ) - - .. cpp:function:: void Anim_NonScriptedPlay( string animation ) - - .. cpp:function:: bool Anim_HasSequence( string animation ) - - .. cpp:function:: void SetPlaybackRate( float rate ) - - .. cpp:function:: void Anim_SetStartTime( float time ) - - .. cpp:function:: void LerpSkyScale( float skyScale, float time ) - - .. cpp:function:: void SetPoseParameter( int pose, float offset ) - - .. cpp:function:: vector GetAttachmentForward( int attachID ) - - -CBaseAnimating -^^^^^^^^^^^^^^ - -.. cpp:class:: CBaseAnimating : extends CBaseEntity - - .. cpp:function:: int GetFullBodygroup() - - .. cpp:function:: void BecomeRagdoll( vector push, bool skipAnim ) - - .. cpp:function:: void Dissolve( int dissolveID, vector normal, int unknown_purpose ) - - .. cpp:function:: void Gib( vector forceVec ) - - .. cpp:function:: void SetContinueAnimatingAfterRagdoll( bool cont ) - - .. cpp:function:: void PlayRecordedAnimation( asset animation, vector unknown_purpose1, vecor unknown_purpose2, float blendTime, entity ref ) - - .. cpp:function:: void SetRecordedAnimationPlaybackRate( float rate ) - - .. cpp:function:: void Anim_EnablePlanting() - - .. cpp:function:: int LookupPoseParameterIndex( string poseParam ) - - .. cpp:function:: void Anim_DisableUpdatePosition() - -C_BaseAnimating -^^^^^^^^^^^^^^^ - -.. cpp:function:: C_BaseAnimatin : extends C_BaseEntity - - .. cpp:function:: void SetGroundEffectTable( string tableIdentifier ) - - .. cpp:function:: float GetAttachmentOrigin_ViewModelNoFOVAdjust( int index ) - - .. cpp:function:: void Anim_SetPaused( bool pause ) - - .. cpp:function:: void SetCycle( float cycle ) - - .. cpp:function:: void DoBodyGroupChangeScriptCallback( bool doCallback, int bodygroup ) - -CPlayerDecoy / C_PlayerDecoy ----------------------------- - -Shared -^^^^^^ - -.. cpp:class:: CPlayerDecoy / C_PlayerDecoy : extends CBaseAnimating / C_BaseAnimating - -CPlayerDecoy -^^^^^^^^^^^^ - -.. cpp:class:: CPlayerDecoy : extends CBaseAnimating - - .. cpp:function:: void Decoy_Dissolve() - - Dissolve this decoy. You might want to clear decoy fx with ``CleanupFXAndSoundsForDecoy( entity decoy )`` afterwards. - - .. cpp:function:: void SetTimeout( float duration ) - - Set the time after which the decoy gets automatically dissolved. - - .. cpp:function:: void SetDecoyRandomPulseRateMax( float pulse_amount_per_second ) - - .. cpp:function:: void SetFriendlyFire( bool enabled ) - - Sets if friendly fire is enabled for this decoy. - - .. cpp:function:: void SetKillOnCollision( bool kill ) - - Sets if this decoy gets killed when colliding with props or geometry. - -C_PlayerDecoy -^^^^^^^^^^^^^ - -.. cpp:class:: CPlayerDecoy : extends CBaseAnimating - -CTurret -------- - -.. cpp:function:: CTurret : extends CBaseAnimating - - .. cpp:function:: void ClearDriver() - - .. cpp:function:: entity GetDriver() - - .. cpp:function:: voit SetDriver( enitity driver ) - -C_Titan_Cockpit ---------------- - -.. cpp:function:: C_Titan_Cockpit : extends C_BaseEntity - - .. cpp:function:: void AddToTitanHudDamageHistory( int panel, int damage ) - - .. cpp:function:: void SetCaptureScreenBeforeViewmodels( bool cap ) - - .. cpp:function:: float GetTimeInCockpit() - - Returns the total time of time spent in this cockpit. - - Cockpit booting takes 1.3 seconds, so anything less than 1.3 seconds is still playing the booting animation. You can use ``TitanCockpit_IsBooting( entity cockpit )`` to determine this state. - - .. cpp:function:: void SetOpenViewmodelOffset( float x, float y, float z ) - -CParticleSystem ---------------- - -.. cpp:class:: CParticleSystem : extends CBaseEntity - - .. cpp:function:: void FXEnableRenderAlways() - - .. cpp:function:: void SetStopType( string type ) - - .. cpp:function:: void SetControlPointEnt( int controlPoint, entity destEnt ) - -CVortexSphere / C_VortexSphere ------------------------------- - -Shared -^^^^^^ - -.. cpp:class:: CVortexSphere / C_VortexSphere : extends CBaseEntity / C_BaseEntity - - .. cpp:function:: int GetBulletAbsorbedCount() - - .. cpp:function:: int GetProjectileAbsorbedCount() - -CVortexSphere -^^^^^^^^^^^^^ - -.. cpp:class:: CVortexSphere : extends CBaseEntity - - .. cpp:function:: void SetGunVortexAngles( vector angles ) - - .. cpp:function:: void SetGunVortexAttachment( string attach ) - - .. cpp:function:: void SetOwnerWeapon( entity owner ) - - .. cpp:function:: void SetVortexEffect( entity fx ) - - .. cpp:function:: void DisableVortexBlockLOS() - - .. cpp:function:: enitity GetOwnerWeapon() - - .. cpp:function:: void AddBulletToSphere() - - .. cpp:function:: void AddProjectileToSphere() - - .. cpp:function:: void ClearAllBulletsFromSphere() - - .. cpp:function:: void RemoveBulletFromSphere() - - .. cpp:function:: void RemoveProjectileFromSphere() - -C_VortexSphere -^^^^^^^^^^^^^^ - -.. cpp:class:: C_VortexSphere : extends C_BaseEntity - -CEnvExplosion -------------- - -.. cpp:class:: CEnvExplosion : extends CBaseEntity diff --git a/docs/source/reference/respawn/entities/client/CClientHudElement.rst b/docs/source/reference/respawn/entities/client/CClientHudElement.rst new file mode 100644 index 00000000..94bb8689 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/CClientHudElement.rst @@ -0,0 +1,662 @@ +.. _CClientHudElement: + +CClientHudElement +================= + +.. cpp:class:: CClientHudElement + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CClientHudElement-SetBarInset: + + .. cpp:function:: unknown SetBarInset(unknown) + + .. _CClientHudElement-SetVisGroupID: + + .. cpp:function:: unknown SetVisGroupID(unknown) + + .. _CClientHudElement-SetSelected: + + .. cpp:function:: unknown SetSelected(unknown) + + .. _CClientHudElement-IsSelected: + + .. cpp:function:: unknown IsSelected(unknown) + + .. _CClientHudElement-SetEntity: + + .. cpp:function:: unknown SetEntity(unknown) + + .. _CClientHudElement-SetXOverTime: + + .. cpp:function:: unknown SetXOverTime(unknown) + + .. _CClientHudElement-GetRotation: + + .. cpp:function:: unknown GetRotation(unknown) + + .. _CClientHudElement-SetBarProgressSource: + + .. cpp:function:: unknown SetBarProgressSource(unknown) + + .. _CClientHudElement-RemoveEventHandler: + + .. cpp:function:: unknown RemoveEventHandler(unknown) + + .. _CClientHudElement-DisableKeyBindingIcons: + + .. cpp:function:: unknown DisableKeyBindingIcons(unknown) + + .. _CClientHudElement-SetBarProgressDirection: + + .. cpp:function:: unknown SetBarProgressDirection(unknown) + + .. _CClientHudElement-OffsetOverTime: + + .. cpp:function:: unknown OffsetOverTime(unknown) + + .. _CClientHudElement-SetAutoText: + + .. cpp:function:: unknown SetAutoText(unknown) + + .. _CClientHudElement-SetDistanceFade: + + .. cpp:function:: unknown SetDistanceFade(unknown) + + .. _CClientHudElement-SetRotation: + + .. cpp:function:: unknown SetRotation(unknown) + + .. _CClientHudElement-SetBarProgressOverTime: + + .. cpp:function:: unknown SetBarProgressOverTime(unknown) + + .. _CClientHudElement-HideOverTime: + + .. cpp:function:: unknown HideOverTime(unknown) + + .. _CClientHudElement-SetSize: + + .. cpp:function:: void SetSize(float width, float height) + + .. _CClientHudElement-FadeOverTime: + + .. cpp:function:: unknown FadeOverTime(unknown) + + .. _CClientHudElement-IsNew: + + .. cpp:function:: unknown IsNew(unknown) + + .. _CClientHudElement-SetAutoTextWithAlternates: + + .. cpp:function:: unknown SetAutoTextWithAlternates(unknown) + + .. _CClientHudElement-SetWorldSpaceScale: + + .. cpp:function:: unknown SetWorldSpaceScale(unknown) + + .. _CClientHudElement-FadeOverTimeDelayed: + + .. cpp:function:: unknown FadeOverTimeDelayed(unknown) + + .. _CClientHudElement-GetPanelAlpha: + + .. cpp:function:: unknown GetPanelAlpha(unknown) + + .. _CClientHudElement-Show: + + .. cpp:function:: void Show() + + .. _CClientHudElement-SetText: + + .. cpp:function:: unknown SetText(unknown) + + .. _CClientHudElement-SetDisplayName: + + .. cpp:function:: unknown SetDisplayName(unknown) + + .. _CClientHudElement-SetNavRight: + + .. cpp:function:: unknown SetNavRight(unknown) + + .. _CClientHudElement-GetScaleX: + + .. cpp:function:: unknown GetScaleX(unknown) + + .. _CClientHudElement-SetBaseAlpha: + + .. cpp:function:: unknown SetBaseAlpha(unknown) + + .. _CClientHudElement-IsValidInternal: + + .. cpp:function:: bool IsValidInternal() + + .. _CClientHudElement-OffsetXOverTime: + + .. cpp:function:: unknown OffsetXOverTime(unknown) + + .. _CClientHudElement-SetBarChangeDir: + + .. cpp:function:: unknown SetBarChangeDir(unknown) + + .. _CClientHudElement-SetPanelAlpha: + + .. cpp:function:: unknown SetPanelAlpha(unknown) + + .. _CClientHudElement-ScaleOverTime: + + .. cpp:function:: unknown ScaleOverTime(unknown) + + .. _CClientHudElement-GetAbsX: + + .. cpp:function:: unknown GetAbsX(unknown) + + .. _CClientHudElement-GetBaseAlpha: + + .. cpp:function:: unknown GetBaseAlpha(unknown) + + .. _CClientHudElement-GetDisplayName: + + .. cpp:function:: unknown GetDisplayName(unknown) + + .. _CClientHudElement-GetY: + + .. cpp:function:: unknown GetY(unknown) + + .. _CClientHudElement-GetChild: + + .. cpp:function:: unknown GetChild(unknown) + + .. _CClientHudElement-HasChild: + + .. cpp:function:: unknown HasChild(unknown) + + .. _CClientHudElement-IsLocked: + + .. cpp:function:: unknown IsLocked(unknown) + + .. _CClientHudElement-SetHudName: + + .. cpp:function:: unknown SetHudName(unknown) + + .. _CClientHudElement-GetListItem: + + .. cpp:function:: unknown GetListItem(unknown) + + .. _CClientHudElement-GetBarProgress: + + .. cpp:function:: unknown GetBarProgress(unknown) + + .. _CClientHudElement-AddEventHandler: + + .. cpp:function:: unknown AddEventHandler(unknown) + + .. _CClientHudElement-EndSignal: + + .. cpp:function:: void EndSignal(string signal) + + .. _CClientHudElement-SetHeight: + + .. cpp:function:: unknown SetHeight(unknown) + + .. _CClientHudElement-GetHudName: + + .. cpp:function:: unknown GetHudName(unknown) + + .. _CClientHudElement-ReturnToBaseScaleOverTime: + + .. cpp:function:: unknown ReturnToBaseScaleOverTime(unknown) + + .. _CClientHudElement-SetHideOnEntityOverheadCloak: + + .. cpp:function:: unknown SetHideOnEntityOverheadCloak(unknown) + + .. _CClientHudElement-IsEnabled: + + .. cpp:function:: unknown IsEnabled(unknown) + + .. _CClientHudElement-SetClampBounds: + + .. cpp:function:: unknown SetClampBounds(unknown) + + .. _CClientHudElement-SetScaleY: + + .. cpp:function:: unknown SetScaleY(unknown) + + .. _CClientHudElement-SetWidth: + + .. cpp:function:: unknown SetWidth(unknown) + + .. _CClientHudElement-ClearPulsate: + + .. cpp:function:: unknown ClearPulsate(unknown) + + .. _CClientHudElement-SetLocked: + + .. cpp:function:: unknown SetLocked(unknown) + + .. _CClientHudElement-EnableAutoText: + + .. cpp:function:: unknown EnableAutoText(unknown) + + .. _CClientHudElement-DisableAutoText: + + .. cpp:function:: unknown DisableAutoText(unknown) + + .. _CClientHudElement-SetBaseSize: + + .. cpp:function:: unknown SetBaseSize(unknown) + + .. _CClientHudElement-SetPinSibling: + + .. cpp:function:: unknown SetPinSibling(unknown) + + .. _CClientHudElement-GetScaleY: + + .. cpp:function:: unknown GetScaleY(unknown) + + .. _CClientHudElement-SelectAll: + + .. cpp:function:: unknown SelectAll(unknown) + + .. _CClientHudElement-SetZ: + + .. cpp:function:: unknown SetZ(unknown) + + .. _CClientHudElement-SetBarProgressSourceEntity: + + .. cpp:function:: unknown SetBarProgressSourceEntity(unknown) + + .. _CClientHudElement-GetParent: + + .. cpp:function:: entity GetParent() + + .. _CClientHudElement-HudElement: + + .. cpp:function:: unknown HudElement(unknown) + + .. _CClientHudElement-SetPulsate: + + .. cpp:function:: unknown SetPulsate(unknown) + + .. _CClientHudElement-SetNavLeft: + + .. cpp:function:: unknown SetNavLeft(unknown) + + .. _CClientHudElement-constructor: + + .. cpp:function:: entity constructor(unknown) + + .. _CClientHudElement-GetAbsPos: + + .. cpp:function:: unknown GetAbsPos(unknown) + + .. _CClientHudElement-SetTextTypeWriter: + + .. cpp:function:: unknown SetTextTypeWriter(unknown) + + .. _CClientHudElement-ReturnToBaseSize: + + .. cpp:function:: unknown ReturnToBaseSize(unknown) + + .. _CClientHudElement-Hide: + + .. cpp:function:: void Hide() + + .. _CClientHudElement-IsOnScreen: + + .. cpp:function:: unknown IsOnScreen(unknown) + + .. _CClientHudElement-GetBaseSize: + + .. cpp:function:: unknown GetBaseSize(unknown) + + .. _CClientHudElement-SetBarChangeStyle: + + .. cpp:function:: unknown SetBarChangeStyle(unknown) + + .. _CClientHudElement-EnableKeyBindingIcons: + + .. cpp:function:: unknown EnableKeyBindingIcons(unknown) + + .. _CClientHudElement-GetChild: + + .. cpp:function:: unknown GetChild(unknown) + + .. _CClientHudElement-FadePanelOverTimeDelayed: + + .. cpp:function:: unknown FadePanelOverTimeDelayed(unknown) + + .. _CClientHudElement-FadePanelOverTime: + + .. cpp:function:: unknown FadePanelOverTime(unknown) + + .. _CClientHudElement-Signal: + + .. cpp:function:: void Signal(string signal) + + .. _CClientHudElement-UpdateVisibility: + + .. cpp:function:: unknown UpdateVisibility(unknown) + + .. _CClientHudElement-GetType: + + .. cpp:function:: unknown GetType(unknown) + + .. _CClientHudElement-WarpDisable: + + .. cpp:function:: unknown WarpDisable(unknown) + + .. _CClientHudElement-SetAutoTextEntity: + + .. cpp:function:: unknown SetAutoTextEntity(unknown) + + .. _CClientHudElement-SetBarProgressRemap: + + .. cpp:function:: unknown SetBarProgressRemap(unknown) + + .. _CClientHudElement-ColorOverTimeDelayed: + + .. cpp:function:: unknown ColorOverTimeDelayed(unknown) + + .. _CClientHudElement-OffsetYOverTime: + + .. cpp:function:: unknown OffsetYOverTime(unknown) + + .. _CClientHudElement-SetYOverTime: + + .. cpp:function:: unknown SetYOverTime(unknown) + + .. _CClientHudElement-ClearWorldOrigin: + + .. cpp:function:: unknown ClearWorldOrigin(unknown) + + .. _CClientHudElement-GetBaseHeight: + + .. cpp:function:: unknown GetBaseHeight(unknown) + + .. _CClientHudElement-SetLabelImage: + + .. cpp:function:: unknown SetLabelImage(unknown) + + .. _CClientHudElement-Destroy: + + .. cpp:function:: void Destroy() + + .. _CClientHudElement-RunAnimationCommand: + + .. cpp:function:: unknown RunAnimationCommand(unknown) + + .. _CClientHudElement-SetY: + + .. cpp:function:: unknown SetY(unknown) + + .. _CClientHudElement-MoveOverTime: + + .. cpp:function:: unknown MoveOverTime(unknown) + + .. _CClientHudElement-OffsetY: + + .. cpp:function:: unknown OffsetY(unknown) + + .. _CClientHudElement-SetColorBG: + + .. cpp:function:: unknown SetColorBG(unknown) + + .. _CClientHudElement-OffsetX: + + .. cpp:function:: unknown OffsetX(unknown) + + .. _CClientHudElement-GetListSelectedItem: + + .. cpp:function:: unknown GetListSelectedItem(unknown) + + .. _CClientHudElement-SetColor: + + .. cpp:function:: unknown SetColor(unknown) + + .. _CClientHudElement-SetUTF8Text: + + .. cpp:function:: unknown SetUTF8Text(unknown) + + .. _CClientHudElement-WarpEnable: + + .. cpp:function:: unknown WarpEnable(unknown) + + .. _CClientHudElement-GetUTF8Text: + + .. cpp:function:: unknown GetUTF8Text(unknown) + + .. _CClientHudElement-SetType: + + .. cpp:function:: unknown SetType(unknown) + + .. _CClientHudElement-SetBarProgressAndRate: + + .. cpp:function:: unknown SetBarProgressAndRate(unknown) + + .. _CClientHudElement-SetFocused: + + .. cpp:function:: unknown SetFocused(unknown) + + .. _CClientHudElement-IsFocused: + + .. cpp:function:: unknown IsFocused(unknown) + + .. _CClientHudElement-SetEnabled: + + .. cpp:function:: unknown SetEnabled(unknown) + + .. _CClientHudElement-ColorOverTime: + + .. cpp:function:: unknown ColorOverTime(unknown) + + .. _CClientHudElement-GetBasePos: + + .. cpp:function:: unknown GetBasePos(unknown) + + .. _CClientHudElement-GetPos: + + .. cpp:function:: unknown GetPos(unknown) + + .. _CClientHudElement-SetX: + + .. cpp:function:: unknown SetX(unknown) + + .. _CClientHudElement-GetBaseColor: + + .. cpp:function:: unknown GetBaseColor(unknown) + + .. _CClientHudElement-SetADSFade: + + .. cpp:function:: unknown SetADSFade(unknown) + + .. _CClientHudElement-GetListPanelSelectedItem: + + .. cpp:function:: unknown GetListPanelSelectedItem(unknown) + + .. _CClientHudElement-GetVisGroupID: + + .. cpp:function:: unknown GetVisGroupID(unknown) + + .. _CClientHudElement-SetScale: + + .. cpp:function:: unknown SetScale(unknown) + + .. _CClientHudElement-SetBasePos: + + .. cpp:function:: unknown SetBasePos(unknown) + + .. _CClientHudElement-IsLabel: + + .. cpp:function:: unknown IsLabel(unknown) + + .. _CClientHudElement-SetNew: + + .. cpp:function:: unknown SetNew(unknown) + + .. _CClientHudElement-SetClampToScreen: + + .. cpp:function:: unknown SetClampToScreen(unknown) + + .. _CClientHudElement-GetBaseX: + + .. cpp:function:: unknown GetBaseX(unknown) + + .. _CClientHudElement-SetBarSegmentInfo: + + .. cpp:function:: unknown SetBarSegmentInfo(unknown) + + .. _CClientHudElement-SetVisible: + + .. cpp:function:: unknown SetVisible(unknown) + + .. _CClientHudElement-GetBaseWidth: + + .. cpp:function:: unknown GetBaseWidth(unknown) + + .. _CClientHudElement-GetBaseY: + + .. cpp:function:: unknown GetBaseY(unknown) + + .. _CClientHudElement-IsAutoText: + + .. cpp:function:: unknown IsAutoText(unknown) + + .. _CClientHudElement-IsVisible: + + .. cpp:function:: unknown IsVisible(unknown) + + .. _CClientHudElement-GetHudName: + + .. cpp:function:: unknown GetHudName(unknown) + + .. _CClientHudElement-SetKeyBindingIconScale: + + .. cpp:function:: unknown SetKeyBindingIconScale(unknown) + + .. _CClientHudElement-SetNavDown: + + .. cpp:function:: unknown SetNavDown(unknown) + + .. _CClientHudElement-GetAbsY: + + .. cpp:function:: unknown GetAbsY(unknown) + + .. _CClientHudElement-SetNavUp: + + .. cpp:function:: unknown SetNavUp(unknown) + + .. _CClientHudElement-GetScriptID: + + .. cpp:function:: unknown GetScriptID(unknown) + + .. _CClientHudElement-SetBarMargin: + + .. cpp:function:: unknown SetBarMargin(unknown) + + .. _CClientHudElement-SetEntityOverhead: + + .. cpp:function:: unknown SetEntityOverhead(unknown) + + .. _CClientHudElement-ReturnToBaseColor: + + .. cpp:function:: unknown ReturnToBaseColor(unknown) + + .. _CClientHudElement-SetAutoTextCountTo: + + .. cpp:function:: unknown SetAutoTextCountTo(unknown) + + .. _CClientHudElement-SetAlpha: + + .. cpp:function:: unknown SetAlpha(unknown) + + .. _CClientHudElement-SetBarProgress: + + .. cpp:function:: unknown SetBarProgress(unknown) + + .. _CClientHudElement-GetAlpha: + + .. cpp:function:: unknown GetAlpha(unknown) + + .. _CClientHudElement-GetTextWidth: + + .. cpp:function:: unknown GetTextWidth(unknown) + + .. _CClientHudElement-GetX: + + .. cpp:function:: unknown GetX(unknown) + + .. _CClientHudElement-SetBarSegmentFill: + + .. cpp:function:: unknown SetBarSegmentFill(unknown) + + .. _CClientHudElement-ReturnToBasePos: + + .. cpp:function:: unknown ReturnToBasePos(unknown) + + .. _CClientHudElement-RunAnimationScript: + + .. cpp:function:: unknown RunAnimationScript(unknown) + + .. _CClientHudElement-ReturnToBasePosOverTime: + + .. cpp:function:: unknown ReturnToBasePosOverTime(unknown) + + .. _CClientHudElement-GetListSize: + + .. cpp:function:: unknown GetListSize(unknown) + + .. _CClientHudElement-SetAutoTextVector: + + .. cpp:function:: unknown SetAutoTextVector(unknown) + + .. _CClientHudElement-GetWidth: + + .. cpp:function:: unknown GetWidth(unknown) + + .. _CClientHudElement-SetBaseColor: + + .. cpp:function:: unknown SetBaseColor(unknown) + + .. _CClientHudElement-SetBarChangeDuration: + + .. cpp:function:: unknown SetBarChangeDuration(unknown) + + .. _CClientHudElement-SetFOVFade: + + .. cpp:function:: unknown SetFOVFade(unknown) + + .. _CClientHudElement-SetOffscreenArrow: + + .. cpp:function:: unknown SetOffscreenArrow(unknown) + + .. _CClientHudElement-GetHeight: + + .. cpp:function:: unknown GetHeight(unknown) + + .. _CClientHudElement-SetImage: + + .. cpp:function:: unknown SetImage(unknown) + + .. _CClientHudElement-GetColor: + + .. cpp:function:: unknown GetColor(unknown) + + .. _CClientHudElement-SetPos: + + .. cpp:function:: unknown SetPos(unknown) + + .. _CClientHudElement-SetOrigin: + + .. cpp:function:: void SetOrigin(vector position) + + .. _CClientHudElement-GetSize: + + .. cpp:function:: unknown GetSize(unknown) + + .. _CClientHudElement-SetScaleX: + + .. cpp:function:: unknown SetScaleX(unknown) + diff --git a/docs/source/reference/respawn/entities/client/CCockpitLightsMaterialProxy.rst b/docs/source/reference/respawn/entities/client/CCockpitLightsMaterialProxy.rst new file mode 100644 index 00000000..80630308 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/CCockpitLightsMaterialProxy.rst @@ -0,0 +1,26 @@ +.. _CCockpitLightsMaterialProxy: + +CCockpitLightsMaterialProxy +=========================== + +.. cpp:class:: CCockpitLightsMaterialProxy + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CCockpitLightsMaterialProxy-SetCockpitSelfIllumScale: + + .. cpp:function:: unknown SetCockpitSelfIllumScale(unknown) + + .. _CCockpitLightsMaterialProxy-SetScreenLightPosition: + + .. cpp:function:: unknown SetScreenLightPosition(unknown) + + .. _CCockpitLightsMaterialProxy-SetScreenLightColor: + + .. cpp:function:: unknown SetScreenLightColor(unknown) + + .. _CCockpitLightsMaterialProxy-IsValidInternal: + + .. cpp:function:: bool IsValidInternal() + diff --git a/docs/source/reference/respawn/entities/client/CHud.rst b/docs/source/reference/respawn/entities/client/CHud.rst new file mode 100644 index 00000000..6081dff7 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/CHud.rst @@ -0,0 +1,66 @@ +.. _CHud: + +CHud +==== + +.. cpp:class:: CHud + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CHud-RunAnimationScript: + + .. cpp:function:: unknown RunAnimationScript(unknown) + + .. _CHud-ToScreenSpaceClamped: + + .. cpp:function:: unknown ToScreenSpaceClamped(unknown) + + .. _CHud-IsValidInternal: + + .. cpp:function:: bool IsValidInternal() + + .. _CHud-WarpEnable: + + .. cpp:function:: unknown WarpEnable(unknown) + + .. _CHud-HudElement: + + .. cpp:function:: unknown HudElement(unknown) + + .. _CHud-WarpDisable: + + .. cpp:function:: unknown WarpDisable(unknown) + + .. _CHud-ToScreenSpaceClampedWithBounds: + + .. cpp:function:: unknown ToScreenSpaceClampedWithBounds(unknown) + + .. _CHud-ToScreenSpaceApproximateWithBounds: + + .. cpp:function:: unknown ToScreenSpaceApproximateWithBounds(unknown) + + .. _CHud-WarpGlobalSettings: + + .. cpp:function:: unknown WarpGlobalSettings(unknown) + + .. _CHud-GetScreenSize: + + .. cpp:function:: unknown GetScreenSize(unknown) + + .. _CHud-ToScreenSpaceApproximate: + + .. cpp:function:: unknown ToScreenSpaceApproximate(unknown) + + .. _CHud-ClipScreenPositionToBox: + + .. cpp:function:: unknown ClipScreenPositionToBox(unknown) + + .. _CHud-GetOrCreateHudElement: + + .. cpp:function:: unknown GetOrCreateHudElement(unknown) + + .. _CHud-ToScreenSpace: + + .. cpp:function:: unknown ToScreenSpace(unknown) + diff --git a/docs/source/reference/respawn/entities/client/CScriptDamageInfo.rst b/docs/source/reference/respawn/entities/client/CScriptDamageInfo.rst new file mode 100644 index 00000000..fe75a511 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/CScriptDamageInfo.rst @@ -0,0 +1,14 @@ +.. _CScriptDamageInfo: + +CScriptDamageInfo +================= + +.. cpp:class:: CScriptDamageInfo + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CScriptDamageInfo-IsValidInternal: + + .. cpp:function:: bool IsValidInternal() + diff --git a/docs/source/reference/respawn/entities/client/C_AI_BaseNPC.rst b/docs/source/reference/respawn/entities/client/C_AI_BaseNPC.rst new file mode 100644 index 00000000..28bb63e7 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_AI_BaseNPC.rst @@ -0,0 +1,351 @@ +.. _C-AI-BaseNPC: + +C_AI_BaseNPC +============ + +.. cpp:class:: C_AI_BaseNPC extends C_BaseAnimating + + Inherits all properties from :ref:`C_BaseAnimating ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`C_NPC_Dropship ` + - :ref:`C_NPC_Titan ` + - :ref:`C_NPC_SentryTurret ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_AI_BaseNPC-GetRodeoRider: + + .. cpp:function:: entity GetRodeoRider() + + .. _C_AI_BaseNPC-GetWeaponAmmoMaxLoaded: + + .. cpp:function:: int GetWeaponAmmoMaxLoaded(entity weapon) + + .. _C_AI_BaseNPC-GetMainWeapons: + + .. cpp:function:: array GetMainWeapons() + + .. _C_AI_BaseNPC-DisablePhaseShiftFlags: + + .. cpp:function:: void DisablePhaseShiftFlags() + + .. _C_AI_BaseNPC-SetSharedEnergyRegenRate: + + .. cpp:function:: unknown SetSharedEnergyRegenRate(unknown) + + .. _C_AI_BaseNPC-GetAISettingsName: + + .. cpp:function:: string GetAISettingsName() + + .. _C_AI_BaseNPC-ContextAction-IsMeleeExecutionTarget: + + .. cpp:function:: bool ContextAction_IsMeleeExecutionTarget() + + .. _C_AI_BaseNPC-GetEntityAtPhaseShiftExitPosition: + + .. cpp:function:: entity GetEntityAtPhaseShiftExitPosition() + + .. _C_AI_BaseNPC-Dev-GetAISettingByKeyField: + + .. cpp:function:: var Dev_GetAISettingByKeyField(string key) + + .. _C_AI_BaseNPC-IsPhaseShiftedOrPending: + + .. cpp:function:: unknown IsPhaseShiftedOrPending(unknown) + + .. _C_AI_BaseNPC-PlayerMelee-ExecutionEndTarget: + + .. cpp:function:: unknown PlayerMelee_ExecutionEndTarget(unknown) + + .. _C_AI_BaseNPC-GetLatestPrimaryWeapon: + + .. cpp:function:: entity GetLatestPrimaryWeapon() + + .. _C_AI_BaseNPC-PlayerMelee-ExecutionStartAttacker: + + .. cpp:function:: unknown PlayerMelee_ExecutionStartAttacker(unknown) + + .. _C_AI_BaseNPC-ContextAction-IsMeleeExecution: + + .. cpp:function:: bool ContextAction_IsMeleeExecution() + + .. _C_AI_BaseNPC-TraceToLocalPlayer: + + .. cpp:function:: TraceResults TraceToLocalPlayer() + + .. _C_AI_BaseNPC-ContextAction-SetInVehicle: + + .. cpp:function:: unknown ContextAction_SetInVehicle(unknown) + + .. _C_AI_BaseNPC-GetPlayerOrNPCViewVector: + + .. cpp:function:: vector GetPlayerOrNPCViewVector() + + .. _C_AI_BaseNPC-GetLastFiredTime: + + .. cpp:function:: unknown GetLastFiredTime(unknown) + + .. _C_AI_BaseNPC-AddSharedEnergy: + + .. cpp:function:: void AddSharedEnergy(int amount) + + .. _C_AI_BaseNPC-CanBeGroundExecuted: + + .. cpp:function:: unknown CanBeGroundExecuted(unknown) + + .. _C_AI_BaseNPC-GetWeaponAmmoLoaded: + + .. cpp:function:: int GetWeaponAmmoLoaded(entity weapon) + + .. _C_AI_BaseNPC-ContextAction-IsZipline: + + .. cpp:function:: unknown ContextAction_IsZipline(unknown) + + .. _C_AI_BaseNPC-PhaseShiftTimeRemaining: + + .. cpp:function:: float PhaseShiftTimeRemaining() + + .. _C_AI_BaseNPC-AISetting-LeechAnimSet: + + .. cpp:function:: string AISetting_LeechAnimSet() + + .. _C_AI_BaseNPC-ContextAction-ClearInVehicle: + + .. cpp:function:: unknown ContextAction_ClearInVehicle(unknown) + + .. _C_AI_BaseNPC-ClearOffhand: + + .. cpp:function:: unknown ClearOffhand(unknown) + + .. _C_AI_BaseNPC-AISetting-MaxFlyingSpeed: + + .. cpp:function:: float AISetting_MaxFlyingSpeed() + + .. _C_AI_BaseNPC-ContextAction-IsActive: + + .. cpp:function:: bool ContextAction_IsActive() + + .. _C_AI_BaseNPC-ContextAction-IsFastball: + + .. cpp:function:: unknown ContextAction_IsFastball(unknown) + + .. _C_AI_BaseNPC-ContextAction-IsLeeching: + + .. cpp:function:: bool ContextAction_IsLeeching() + + .. _C_AI_BaseNPC-GetSharedEnergyRegenDelay: + + .. cpp:function:: unknown GetSharedEnergyRegenDelay(unknown) + + .. _C_AI_BaseNPC-PlayerMelee-ExecutionEndAttacker: + + .. cpp:function:: unknown PlayerMelee_ExecutionEndAttacker(unknown) + + .. _C_AI_BaseNPC-AISetting-LeechDataKnifeTag: + + .. cpp:function:: string AISetting_LeechDataKnifeTag() + + .. _C_AI_BaseNPC-AISetting-LeechAnimTag: + + .. cpp:function:: unknown AISetting_LeechAnimTag(unknown) + + .. _C_AI_BaseNPC-GetMeleeDamageMaxForTarget: + + .. cpp:function:: int GetMeleeDamageMaxForTarget(entity target) + + .. _C_AI_BaseNPC-Dev-GetAISettingAssetByKeyField: + + .. cpp:function:: unknown Dev_GetAISettingAssetByKeyField(unknown) + + .. _C_AI_BaseNPC-AISetting-MeleeChargeSet: + + .. cpp:function:: unknown AISetting_MeleeChargeSet(unknown) + + .. _C_AI_BaseNPC-IsNonCombatAI: + + .. cpp:function:: unknown IsNonCombatAI(unknown) + + .. _C_AI_BaseNPC-CanBeMeleeExecuted: + + .. cpp:function:: unknown CanBeMeleeExecuted(unknown) + + .. _C_AI_BaseNPC-GetSubclass: + + .. cpp:function:: unknown GetSubclass(unknown) + + .. _C_AI_BaseNPC-GetActiveWeapon: + + .. cpp:function:: enitity GetActiveWeapon() + + .. _C_AI_BaseNPC-GetAIClass: + + .. cpp:function:: int GetAIClass() + + .. _C_AI_BaseNPC-ContextAction-SetBusy: + + .. cpp:function:: void ContextAction_SetBusy() + + .. _C_AI_BaseNPC-EnablePhaseShiftFlags: + + .. cpp:function:: void EnablePhaseShiftFlags() + + .. _C_AI_BaseNPC-PlayerMelee-ExecutionStartTarget: + + .. cpp:function:: unknown PlayerMelee_ExecutionStartTarget(unknown) + + .. _C_AI_BaseNPC-GetSharedEnergyRegenRate: + + .. cpp:function:: unknown GetSharedEnergyRegenRate(unknown) + + .. _C_AI_BaseNPC-GetSharedEnergyTotal: + + .. cpp:function:: int GetSharedEnergyTotal() + + .. _C_AI_BaseNPC-PhaseShiftTimePassed: + + .. cpp:function:: unknown PhaseShiftTimePassed(unknown) + + .. _C_AI_BaseNPC-GetOffhandWeapons: + + .. cpp:function:: array GetOffhandWeapons() + + .. _C_AI_BaseNPC-GetAIClassName: + + .. cpp:function:: unknown GetAIClassName(unknown) + + .. _C_AI_BaseNPC-GetActiveWeaponPrimaryAmmoLoaded: + + .. cpp:function:: int GetActiveWeaponPrimaryAmmoLoaded() + + .. _C_AI_BaseNPC-IsInterruptable: + + .. cpp:function:: bool IsInterruptable() + + .. _C_AI_BaseNPC-IsUsingOffhandWeapon: + + .. cpp:function:: unknown IsUsingOffhandWeapon(unknown) + + .. _C_AI_BaseNPC-ContextAction-ClearFastball: + + .. cpp:function:: unknown ContextAction_ClearFastball(unknown) + + .. _C_AI_BaseNPC-TakeSharedEnergy: + + .. cpp:function:: void TakeSharedEnergy(int amount) + + .. _C_AI_BaseNPC-GetAttackSpreadAngle: + + .. cpp:function:: float GetAttackSpreadAngle() + + .. _C_AI_BaseNPC-ContextAction-IsRequisitionBattery: + + .. cpp:function:: unknown ContextAction_IsRequisitionBattery(unknown) + + .. _C_AI_BaseNPC-ContextAction-IsMeleeExecutionAttacker: + + .. cpp:function:: unknown ContextAction_IsMeleeExecutionAttacker(unknown) + + .. _C_AI_BaseNPC-SetSharedEnergyTotal: + + .. cpp:function:: unknown SetSharedEnergyTotal(unknown) + + .. _C_AI_BaseNPC-GetFirstRodeoRider: + + .. cpp:function:: enitity GetFirstRodeoRider() + + .. _C_AI_BaseNPC-GetSelectedWeapon: + + .. cpp:function:: unknown GetSelectedWeapon(unknown) + + .. _C_AI_BaseNPC-GetAntiTitanWeapon: + + .. cpp:function:: entity GetAntiTitanWeapon() + + .. _C_AI_BaseNPC-GetNumRodeoSlots: + + .. cpp:function:: int GetNumRodeoSlots() + + .. _C_AI_BaseNPC-GetBodyType: + + .. cpp:function:: string GetBodyType() + + .. _C_AI_BaseNPC-PhaseShiftCancel: + + .. cpp:function:: void PhaseShiftCancel() + + .. _C_AI_BaseNPC-ContextAction-ClearBusy: + + .. cpp:function:: void ContextAction_ClearBusy() + + .. _C_AI_BaseNPC-GetOffhandWeapon: + + .. cpp:function:: entity GetOffhandWeapon(int slot) + + .. _C_AI_BaseNPC-IsWeaponDisabled: + + .. cpp:function:: bool IsWeaponDisabled() + + .. _C_AI_BaseNPC-SetSharedEnergyRegenDelay: + + .. cpp:function:: void SetSharedEnergyRegenDelay(float delay) + + .. _C_AI_BaseNPC-GetTitanSoul: + + .. cpp:function:: entity GetTitanSoul() + + .. _C_AI_BaseNPC-ContextAction-IsRodeo: + + .. cpp:function:: unknown ContextAction_IsRodeo(unknown) + + .. _C_AI_BaseNPC-GetWeaponAmmoStockpile: + + .. cpp:function:: int GetWeaponAmmoStockpile(entity weapon) + + .. _C_AI_BaseNPC-ContextAction-IsBusy: + + .. cpp:function:: bool ContextAction_IsBusy() + + .. _C_AI_BaseNPC-OffsetPositionFromView: + + .. cpp:function:: vector OffsetPositionFromView(vector startPos, vector offset) + + .. _C_AI_BaseNPC-OffsetFromViewAngles: + + .. cpp:function:: unknown OffsetFromViewAngles(unknown) + + .. _C_AI_BaseNPC-GetMeleeWeapon: + + .. cpp:function:: entity GetMeleeWeapon() + + .. _C_AI_BaseNPC-ContextAction-IsInVehicle: + + .. cpp:function:: unknown ContextAction_IsInVehicle(unknown) + + .. _C_AI_BaseNPC-TraceToLocalPlayerSimple: + + .. cpp:function:: float TraceToLocalPlayerSimple() + + .. _C_AI_BaseNPC-GetSidearmWeapon: + + .. cpp:function:: unknown GetSidearmWeapon(unknown) + + .. _C_AI_BaseNPC-PhaseShiftBegin: + + .. cpp:function:: void PhaseShiftBegin(float warmUpTime, float duration) + + .. _C_AI_BaseNPC-ContextAction-SetFastball: + + .. cpp:function:: unknown ContextAction_SetFastball(unknown) + + .. _C_AI_BaseNPC-CanUseSharedEnergy: + + .. cpp:function:: bool CanUseSharedEnergy(int curCost) + + .. _C_AI_BaseNPC-GetSharedEnergyCount: + + .. cpp:function:: int GetSharedEnergyCount() + diff --git a/docs/source/reference/respawn/entities/client/C_AmbientGeneric.rst b/docs/source/reference/respawn/entities/client/C_AmbientGeneric.rst new file mode 100644 index 00000000..40e18609 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_AmbientGeneric.rst @@ -0,0 +1,16 @@ +.. _C-AmbientGeneric: + +C_AmbientGeneric +================ + +.. cpp:class:: C_AmbientGeneric extends C_BaseEntity + + Inherits all properties from :ref:`C_BaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_AmbientGeneric-SetEnabled: + + .. cpp:function:: unknown SetEnabled(unknown) + diff --git a/docs/source/reference/respawn/entities/client/C_BaseAnimating.rst b/docs/source/reference/respawn/entities/client/C_BaseAnimating.rst new file mode 100644 index 00000000..e3bdefb3 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_BaseAnimating.rst @@ -0,0 +1,217 @@ +.. _C-BaseAnimating: + +C_BaseAnimating +=============== + +.. cpp:class:: C_BaseAnimating extends C_BaseEntity + + Inherits all properties from :ref:`C_BaseEntity ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`C_BaseCombatWeapon ` + - :ref:`C_AI_BaseNPC ` + - :ref:`C_Player ` + - :ref:`C_DynamicProp ` + - :ref:`C_ScriptProp ` + - :ref:`C_PlayerDecoy ` + - :ref:`C_Titan_Cockpit ` + - :ref:`C_FirstPersonProxy ` + - :ref:`C_Projectile ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_BaseAnimating-Anim-GetAttachmentAtTime: + + .. cpp:function:: Attachment Anim_GetAttachmentAtTime(string animation, string attachmentName, float time) + + .. _C_BaseAnimating-Anim-GetStartForRefEntity-Old: + + .. cpp:function:: vector Anim_GetStartForRefEntity_Old(string anim, vector reference, string optionalTag) + + .. _C_BaseAnimating-SetDoFaceAnimations: + + .. cpp:function:: unknown SetDoFaceAnimations(unknown) + + .. _C_BaseAnimating-Anim-GetStartForRefPoint-Old: + + .. cpp:function:: vector Anim_GetStartForRefPoint_Old(animation, origin, angles) + + .. _C_BaseAnimating-Anim-IsActive: + + .. cpp:function:: bool Anim_IsActive() + + .. _C_BaseAnimating-Anim-GetStartForRefPoint: + + .. cpp:function:: AnimRefPoint Anim_GetStartForRefPoint(string anim, vector origin, vector angles) + + .. _C_BaseAnimating-MakeSafeForUIScriptHack: + + .. cpp:function:: unknown MakeSafeForUIScriptHack(unknown) + + .. _C_BaseAnimating-SetPlaybackRate: + + .. cpp:function:: void SetPlaybackRate(float rate) + + .. _C_BaseAnimating-SetCycle: + + .. cpp:function:: void SetCycle(float cycle) + + .. _C_BaseAnimating-GetCycle: + + .. cpp:function:: unknown GetCycle(unknown) + + .. _C_BaseAnimating-DoModelChangeScriptCallback: + + .. cpp:function:: unknown DoModelChangeScriptCallback(unknown) + + .. _C_BaseAnimating-GetCamo: + + .. cpp:function:: unknown GetCamo(unknown) + + .. _C_BaseAnimating-GetAnimEventCycleFrac: + + .. cpp:function:: unknown GetAnimEventCycleFrac(unknown) + + .. _C_BaseAnimating-LookupSequence: + + .. cpp:function:: int LookupSequence(string sequence) + + .. _C_BaseAnimating-GetSequenceDuration: + + .. cpp:function:: float GetSequenceDuration(string anim) + + .. _C_BaseAnimating-Anim-IgnoreParentRotation: + + .. cpp:function:: unknown Anim_IgnoreParentRotation(unknown) + + .. _C_BaseAnimating-Anim-SetStartTime: + + .. cpp:function:: void Anim_SetStartTime(float time) + + .. _C_BaseAnimating-Anim-SetInitialTime: + + .. cpp:function:: void Anim_SetInitialTime(float time) + + .. _C_BaseAnimating-GetAttachmentForward: + + .. cpp:function:: vector GetAttachmentForward(int attachID) + + .. _C_BaseAnimating-Anim-EnableUseAnimatedRefAttachmentInsteadOfRootMotion: + + .. cpp:function:: unknown Anim_EnableUseAnimatedRefAttachmentInsteadOfRootMotion(unknown) + + .. _C_BaseAnimating-Anim-HasActivity: + + .. cpp:function:: unknown Anim_HasActivity(unknown) + + .. _C_BaseAnimating-Anim-HasSequence: + + .. cpp:function:: bool Anim_HasSequence(string animation) + + .. _C_BaseAnimating-Anim-SetPaused: + + .. cpp:function:: void Anim_SetPaused(bool pause) + + .. _C_BaseAnimating-Anim-Stop: + + .. cpp:function:: void Anim_Stop() + + .. _C_BaseAnimating-Anim-Play: + + .. cpp:function:: void Anim_Play(string anim) + + .. _C_BaseAnimating-SetGroundEffectTable: + + .. cpp:function:: void SetGroundEffectTable(string tableIdentifier) + + .. _C_BaseAnimating-GetBodyGroupModelCount: + + .. cpp:function:: int GetBodyGroupModelCount(int bodyGroupIndex) + + .. _C_BaseAnimating-GetBodyGroupState: + + .. cpp:function:: int GetBodyGroupState(int bodyGroupIndex) + + .. _C_BaseAnimating-SetBodygroup: + + .. cpp:function:: void SetBodygroup(int groupIndex, int newIndex) + + .. _C_BaseAnimating-FindBodyGroup: + + .. cpp:function:: int FindBodyGroup(string group) + + .. _C_BaseAnimating-GetDecal: + + .. cpp:function:: unknown GetDecal(unknown) + + .. _C_BaseAnimating-SetDecal: + + .. cpp:function:: unknown SetDecal(unknown) + + .. _C_BaseAnimating-LerpSkyScale: + + .. cpp:function:: void LerpSkyScale(float skyScale, float time) + + .. _C_BaseAnimating-SetCamo: + + .. cpp:function:: unknown SetCamo(unknown) + + .. _C_BaseAnimating-GetSkin: + + .. cpp:function:: int GetSkin() + + .. _C_BaseAnimating-SetPoseParameter: + + .. cpp:function:: void SetPoseParameter(int pose, float offset) + + .. _C_BaseAnimating-SetSkin: + + .. cpp:function:: void SetSkin(int skin) + + .. _C_BaseAnimating-IsViewModel: + + .. cpp:function:: unknown IsViewModel(unknown) + + .. _C_BaseAnimating-GetAttachmentAngles: + + .. cpp:function:: vector GetAttachmentAngles() + + .. _C_BaseAnimating-GetAttachmentOrigin: + + .. cpp:function:: vector GetAttachmentOrigin() + + .. _C_BaseAnimating-DoBodyGroupChangeScriptCallback: + + .. cpp:function:: void DoBodyGroupChangeScriptCallback(bool doCallback, int bodygroup) + + .. _C_BaseAnimating-GetHitGroupOfHitBox: + + .. cpp:function:: unknown GetHitGroupOfHitBox(unknown) + + .. _C_BaseAnimating-Anim-GetStartForRefEntity: + + .. cpp:function:: unknown Anim_GetStartForRefEntity(unknown) + + .. _C_BaseAnimating-GetScriptedAnimEventCycleFrac: + + .. cpp:function:: float GetScriptedAnimEventCycleFrac(string anim, string event) + + .. _C_BaseAnimating-Anim-PlayWithRefPoint: + + .. cpp:function:: void Anim_PlayWithRefPoint(string animation, vector origin, vector angles, float blendTime) + + .. _C_BaseAnimating-IsSequenceFinished: + + .. cpp:function:: unknown IsSequenceFinished(unknown) + + .. _C_BaseAnimating-Anim-NonScriptedPlay: + + .. cpp:function:: void Anim_NonScriptedPlay(string animation) + + .. _C_BaseAnimating-GetAttachmentOrigin-ViewModelNoFOVAdjust: + + .. cpp:function:: float GetAttachmentOrigin_ViewModelNoFOVAdjust(int index) + diff --git a/docs/source/reference/respawn/entities/client/C_BaseCombatWeapon.rst b/docs/source/reference/respawn/entities/client/C_BaseCombatWeapon.rst new file mode 100644 index 00000000..c14fccb1 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_BaseCombatWeapon.rst @@ -0,0 +1,37 @@ +.. _C-BaseCombatWeapon: + +C_BaseCombatWeapon +================== + +.. cpp:class:: C_BaseCombatWeapon extends C_BaseAnimating + + Inherits all properties from :ref:`C_BaseAnimating ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`C_WeaponX ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_BaseCombatWeapon-LookupViewModelAttachment: + + .. cpp:function:: unknown LookupViewModelAttachment(unknown) + + .. _C_BaseCombatWeapon-GetWeaponPrintName: + + .. cpp:function:: unknown GetWeaponPrintName(unknown) + + .. _C_BaseCombatWeapon-LookupWorldModelAttachment: + + .. cpp:function:: unknown LookupWorldModelAttachment(unknown) + + .. _C_BaseCombatWeapon-GetWeaponDescription: + + .. cpp:function:: string GetWeaponDescription() + + .. _C_BaseCombatWeapon-SetDroppedModel: + + .. cpp:function:: unknown SetDroppedModel(unknown) + diff --git a/docs/source/reference/respawn/entities/client/C_BaseEntity.rst b/docs/source/reference/respawn/entities/client/C_BaseEntity.rst new file mode 100644 index 00000000..97208b21 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_BaseEntity.rst @@ -0,0 +1,821 @@ +.. _C-BaseEntity: + +C_BaseEntity +============ + +.. cpp:class:: C_BaseEntity + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`C_TitanSoul ` + - :ref:`C_AmbientGeneric ` + - :ref:`C_BaseAnimating ` + - :ref:`C_DynamicLight ` + - :ref:`C_CascadeLight ` + - :ref:`C_PointCamera ` + - :ref:`C_RopeKeyframe ` + - :ref:`C_HardPointEntity ` + - :ref:`C_VGuiScreen ` + - :ref:`C_WindowHint ` + - :ref:`C_VortexSphere ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_BaseEntity-GetLocalOrigin: + + .. cpp:function:: unknown GetLocalOrigin(unknown) + + .. _C_BaseEntity-GetNoTargetSmartAmmo: + + .. cpp:function:: unknown GetNoTargetSmartAmmo(unknown) + + .. _C_BaseEntity-IsMarkedForDeletion: + + .. cpp:function:: bool IsMarkedForDeletion() + + .. _C_BaseEntity-HideHUD: + + .. cpp:function:: void HideHUD() + + .. _C_BaseEntity-EyePosition: + + .. cpp:function:: vector EyePosition() + + .. _C_BaseEntity-GetValueForKey: + + .. cpp:function:: var GetValueForKey(string key) + + .. _C_BaseEntity-Highlight-GetCurrentOutlineOpacity: + + .. cpp:function:: float Highlight_GetCurrentOutlineOpacity() + + .. _C_BaseEntity-Highlight-GetState: + + .. cpp:function:: int Highlight_GetState(int contextID) + + .. _C_BaseEntity-DisableRenderWithViewModels: + + .. cpp:function:: unknown DisableRenderWithViewModels(unknown) + + .. _C_BaseEntity-HighlightEnableForTeam: + + .. cpp:function:: void HighlightEnableForTeam(int team) + + .. _C_BaseEntity-GetCloakFadeFactor: + + .. cpp:function:: float GetCloakFadeFactor() + + .. _C_BaseEntity-SetAttachOffsetAngles: + + .. cpp:function:: void SetAttachOffsetAngles(vector angles) + + .. _C_BaseEntity-GetInstanceName: + + .. cpp:function:: unknown GetInstanceName(unknown) + + .. _C_BaseEntity-SetAttachOffsetOrigin: + + .. cpp:function:: void SetAttachOffsetOrigin(vector origin) + + .. _C_BaseEntity-ForceShadowVisible: + + .. cpp:function:: void ForceShadowVisible(bool visible) + + .. _C_BaseEntity-SetValueForKey: + + .. cpp:function:: void SetValueForKey(var key, var val) + + .. _C_BaseEntity-ValidateScriptScope: + + .. cpp:function:: unknown ValidateScriptScope(unknown) + + .. _C_BaseEntity-SetVisibleForLocalPlayer: + + .. cpp:function:: void SetVisibleForLocalPlayer(int visible) + + .. _C_BaseEntity-Show: + + .. cpp:function:: void Show() + + .. _C_BaseEntity-scope: + + .. cpp:function:: unknown scope(unknown) + + .. _C_BaseEntity-HasKey: + + .. cpp:function:: bool HasKey(string key) + + .. _C_BaseEntity-DisableRenderWithCockpit: + + .. cpp:function:: unknown DisableRenderWithCockpit(unknown) + + .. _C_BaseEntity-GetBossPlayerName: + + .. cpp:function:: string GetBossPlayerName() + + .. _C_BaseEntity-EnableRenderWithViewModels: + + .. cpp:function:: unknown EnableRenderWithViewModels(unknown) + + .. _C_BaseEntity-GetLinkParent: + + .. cpp:function:: entity GetLinkParent() + + .. _C_BaseEntity-DisableRenderWithViewModelsNoZoom: + + .. cpp:function:: void DisableRenderWithViewModelsNoZoom() + + .. _C_BaseEntity-Highlight-GetOutlineFunction: + + .. cpp:function:: int Highlight_GetOutlineFunction(int contextID) + + .. _C_BaseEntity-SetLocalOrigin: + + .. cpp:function:: void SetLocalOrigin(vector origin) + + .. _C_BaseEntity-WaitSignal: + + .. cpp:function:: void WaitSignal(string signal) + + .. _C_BaseEntity-SetForceVisibleInPhaseShift: + + .. cpp:function:: void SetForceVisibleInPhaseShift(bool visible) + + .. _C_BaseEntity-IsPlayerDecoy: + + .. cpp:function:: void IsPlayerDecoy() + + .. _C_BaseEntity-GetOwner: + + .. cpp:function:: entity GetOwner() + + .. _C_BaseEntity-IsPlayer: + + .. cpp:function:: bool IsPlayer() + + .. _C_BaseEntity-GetHealth: + + .. cpp:function:: int GetHealth() + + .. _C_BaseEntity-Get: + + .. cpp:function:: var Get(string key) + + .. _C_BaseEntity-EndSignal: + + .. cpp:function:: void EndSignal(string signal) + + .. _C_BaseEntity-IsHologram: + + .. cpp:function:: bool IsHologram() + + .. _C_BaseEntity-ClearParent: + + .. cpp:function:: void ClearParent(entity parent) + + .. _C_BaseEntity-CanCloak: + + .. cpp:function:: unknown CanCloak(unknown) + + .. _C_BaseEntity-GetNextKey: + + .. cpp:function:: unknown GetNextKey(unknown) + + .. _C_BaseEntity-Highlight-SetFlag: + + .. cpp:function:: void Highlight_SetFlag(int highlightFlag, bool enable) + + .. _C_BaseEntity-SetInvisibleForLocalPlayer: + + .. cpp:function:: unknown SetInvisibleForLocalPlayer(unknown) + + .. _C_BaseEntity-IsCloaked: + + .. cpp:function:: bool IsCloaked() + + .. _C_BaseEntity-SetValueForModelKey: + + .. cpp:function:: void SetValueForModelKey(asset model) + + .. _C_BaseEntity-SetModel: + + .. cpp:function:: void SetModel(asset model) + + .. _C_BaseEntity-ShipHack-PositionBetweenEyes: + + .. cpp:function:: unknown ShipHack_PositionBetweenEyes(unknown) + + .. _C_BaseEntity-AreEntityLinksNetworked: + + .. cpp:function:: unknown AreEntityLinksNetworked(unknown) + + .. _C_BaseEntity-GetArmorType: + + .. cpp:function:: int GetArmorType() + + .. _C_BaseEntity-Kill-Deprecated-UseDestroyInstead: + + .. cpp:function:: void Kill_Deprecated_UseDestroyInstead() + + .. _C_BaseEntity-GetRightVector: + + .. cpp:function:: vector GetRightVector() + + .. _C_BaseEntity-IsFuncBrush: + + .. cpp:function:: unknown IsFuncBrush(unknown) + + .. _C_BaseEntity-SetPassThroughDirection: + + .. cpp:function:: void SetPassThroughDirection(float dir) + + .. _C_BaseEntity-GetBossPlayer: + + .. cpp:function:: entity GetBossPlayer() + + .. _C_BaseEntity-SetVelocity: + + .. cpp:function:: void SetVelocity(vector vel) + + .. _C_BaseEntity-Code-SetTeam: + + .. cpp:function:: void Code_SetTeam(int team) + + .. _C_BaseEntity-Highlight-GetCurrentInsideOpacity: + + .. cpp:function:: float Highlight_GetCurrentInsideOpacity() + + .. _C_BaseEntity-EnableRenderAlways: + + .. cpp:function:: void EnableRenderAlways() + + .. _C_BaseEntity-Signal: + + .. cpp:function:: void Signal(string signal) + + .. _C_BaseEntity-EnableHealthChangedCallback: + + .. cpp:function:: void EnableHealthChangedCallback() + + .. _C_BaseEntity-ShowHUD: + + .. cpp:function:: void ShowHUD() + + .. _C_BaseEntity-GetTeam: + + .. cpp:function:: int GetTeam() + + .. _C_BaseEntity-IsClientOnly: + + .. cpp:function:: unknown IsClientOnly(unknown) + + .. _C_BaseEntity-Highlight-HideOutline: + + .. cpp:function:: void Highlight_HideOutline(float duration) + + .. _C_BaseEntity-InitHudElemGroup: + + .. cpp:function:: unknown InitHudElemGroup(unknown) + + .. _C_BaseEntity-InitHudElem: + + .. cpp:function:: void InitHudElem(var key) + + .. _C_BaseEntity-HighlightSetTeamBitField: + + .. cpp:function:: void HighlightSetTeamBitField(int bitField) + + .. _C_BaseEntity-Set: + + .. cpp:function:: var Set(string key) + + .. _C_BaseEntity-constructor: + + .. cpp:function:: entity constructor(unknown) + + .. _C_BaseEntity-GetScriptId: + + .. cpp:function:: unknown GetScriptId(unknown) + + .. _C_BaseEntity-IsProjectile: + + .. cpp:function:: bool IsProjectile() + + .. _C_BaseEntity-CreateTableFromModelKeyValues: + + .. cpp:function:: table CreateTableFromModelKeyValues() + + .. _C_BaseEntity-GetParent: + + .. cpp:function:: entity GetParent() + + .. _C_BaseEntity-SetParentWithHitbox: + + .. cpp:function:: void SetParentWithHitbox(entity parent, int hitGroup, bool unknown) + + .. _C_BaseEntity-GetParentHitbox: + + .. cpp:function:: unknown GetParentHitbox(unknown) + + .. _C_BaseEntity-SetAngles: + + .. cpp:function:: void SetAngles(vector angle) + + .. _C_BaseEntity-IsPredictedProjectile: + + .. cpp:function:: unknown IsPredictedProjectile(unknown) + + .. _C_BaseEntity-SetParent: + + .. cpp:function:: void SetParent(entity parent, ..., string type = "") + + .. _C_BaseEntity-LookupAttachment: + + .. cpp:function:: int LookupAttachment(string attachment) + + .. _C_BaseEntity-DontIncludeParentBbox: + + .. cpp:function:: unknown DontIncludeParentBbox(unknown) + + .. _C_BaseEntity-PhysicsDummyEnableMotion: + + .. cpp:function:: unknown PhysicsDummyEnableMotion(unknown) + + .. _C_BaseEntity-GetLinkEnt: + + .. cpp:function:: entity GetLinkEnt() + + .. _C_BaseEntity-GetLinkEntArray: + + .. cpp:function:: array GetLinkEntArray() + + .. _C_BaseEntity-DisableRenderAlways: + + .. cpp:function:: void DisableRenderAlways() + + .. _C_BaseEntity-SetPassThroughThickness: + + .. cpp:function:: void SetPassThroughThickness(float thickness) + + .. _C_BaseEntity-Highlight-SetVisibilityType: + + .. cpp:function:: void Highlight_SetVisibilityType(int type) + + .. _C_BaseEntity-EnableRenderWithHud: + + .. cpp:function:: void EnableRenderWithHud() + + .. _C_BaseEntity-GetAngles: + + .. cpp:function:: vector GetAngles() + + .. _C_BaseEntity-GetPreTemplateName: + + .. cpp:function:: unknown GetPreTemplateName(unknown) + + .. _C_BaseEntity-IsOperator: + + .. cpp:function:: unknown IsOperator(unknown) + + .. _C_BaseEntity-GetUpVector: + + .. cpp:function:: vector GetUpVector() + + .. _C_BaseEntity-GetPassThroughFlags: + + .. cpp:function:: unknown GetPassThroughFlags(unknown) + + .. _C_BaseEntity-GetCritsPrevented: + + .. cpp:function:: bool GetCritsPrevented() + + .. _C_BaseEntity-Highlight-SetFadeOutTime: + + .. cpp:function:: void Highlight_SetFadeOutTime(float time) + + .. _C_BaseEntity-SetPreventCrits: + + .. cpp:function:: void SetPreventCrits(bool prevent) + + .. _C_BaseEntity-SetAlive: + + .. cpp:function:: unknown SetAlive(unknown) + + .. _C_BaseEntity-SetValueForEffectNameKey: + + .. cpp:function:: void SetValueForEffectNameKey(asset effect) + + .. _C_BaseEntity-IsEntAlive: + + .. cpp:function:: bool IsEntAlive() + + .. _C_BaseEntity-GetBoundingMins: + + .. cpp:function:: vector GetBoundingMins() + + .. _C_BaseEntity-EnableDraw: + + .. cpp:function:: void EnableDraw() + + .. _C_BaseEntity-GetMaxHealth: + + .. cpp:function:: int GetMaxHealth() + + .. _C_BaseEntity-IsHuman: + + .. cpp:function:: bool IsHuman() + + .. _C_BaseEntity-GetSignifierName: + + .. cpp:function:: string GetSignifierName() + + .. _C_BaseEntity-IsOnGround: + + .. cpp:function:: bool IsOnGround() + + .. _C_BaseEntity-GetVelocity: + + .. cpp:function:: vector GetVelocity() + + .. _C_BaseEntity-SetTakeDamageType: + + .. cpp:function:: void SetTakeDamageType(int takeDamageType) + + .. _C_BaseEntity-GetShieldHealth: + + .. cpp:function:: int GetShieldHealth() + + .. _C_BaseEntity-GetLifeState: + + .. cpp:function:: int GetLifeState() + + .. _C_BaseEntity-Highlight-IsEntityVisible: + + .. cpp:function:: bool Highlight_IsEntityVisible(int contextID) + + .. _C_BaseEntity-IsNPC: + + .. cpp:function:: bool IsNPC() + + .. _C_BaseEntity-Highlight-Enable: + + .. cpp:function:: unknown Highlight_Enable(unknown) + + .. _C_BaseEntity-Minimap-GetCustomState: + + .. cpp:function:: int Minimap_GetCustomState() + + .. _C_BaseEntity-HasGibModel: + + .. cpp:function:: bool HasGibModel() + + .. _C_BaseEntity-IsMechanical: + + .. cpp:function:: bool IsMechanical() + + .. _C_BaseEntity-SetPassThroughFlags: + + .. cpp:function:: unknown SetPassThroughFlags(unknown) + + .. _C_BaseEntity-DispatchImpactEffects: + + .. cpp:function:: void DispatchImpactEffects(entity ent, vector startPos, vector endPos, vector hitNormal, enitity prop, int propIndex, int damageType, int impactIndex, entity orig, int impactEffectFlags) + + .. _C_BaseEntity-Highlight-GetOutlineRadius: + + .. cpp:function:: float Highlight_GetOutlineRadius() + + .. _C_BaseEntity-Highlight-SetLifeTime: + + .. cpp:function:: void Highlight_SetLifeTime(float time) + + .. _C_BaseEntity-EyeAngles: + + .. cpp:function:: vector EyeAngles() + + .. _C_BaseEntity-Hide: + + .. cpp:function:: void Hide() + + .. _C_BaseEntity-GetLocalAngles: + + .. cpp:function:: vector GetLocalAngles() + + .. _C_BaseEntity-IsTitan: + + .. cpp:function:: bool IsTitan() + + .. _C_BaseEntity-IsHUDVisible: + + .. cpp:function:: bool IsHUDVisible() + + .. _C_BaseEntity-GetValueForEffectNameKey: + + .. cpp:function:: unknown GetValueForEffectNameKey(unknown) + + .. _C_BaseEntity-Highlight-GetCurrentContext: + + .. cpp:function:: int Highlight_GetCurrentContext() + + .. _C_BaseEntity-GetBoundingMaxs: + + .. cpp:function:: vector GetBoundingMaxs() + + .. _C_BaseEntity-Highlight-GetNearFadeDist: + + .. cpp:function:: float Highlight_GetNearFadeDist() + + .. _C_BaseEntity-GetScriptName: + + .. cpp:function:: string GetScriptName() + + .. _C_BaseEntity-GetClassName: + + .. cpp:function:: string GetClassName() + + .. _C_BaseEntity-Highlight-StartOn: + + .. cpp:function:: void Highlight_StartOn() + + .. _C_BaseEntity-Destroy: + + .. cpp:function:: void Destroy() + + .. _C_BaseEntity-DisableRenderWithHud: + + .. cpp:function:: unknown DisableRenderWithHud(unknown) + + .. _C_BaseEntity-Highlight-GetInheritHighlight: + + .. cpp:function:: unknown Highlight_GetInheritHighlight() + + .. _C_BaseEntity-Highlight-GetFlag: + + .. cpp:function:: unknown Highlight_GetFlag(unknown) + + .. _C_BaseEntity-Highlight-ResetFlags: + + .. cpp:function:: void Highlight_ResetFlags() + + .. _C_BaseEntity-Highlight-GetParam: + + .. cpp:function:: unknown Highlight_GetParam(int contextID, int parameterNum) + + .. _C_BaseEntity-IsWorld: + + .. cpp:function:: bool IsWorld() + + .. _C_BaseEntity-Highlight-GetFarFadeDist: + + .. cpp:function:: unknown Highlight_GetFarFadeDist(unknown) + + .. _C_BaseEntity-HighlightDisableForTeam: + + .. cpp:function:: void HighlightDisableForTeam(int team) + + .. _C_BaseEntity-Highlight-SetFarFadeDist: + + .. cpp:function:: void Highlight_SetFarFadeDist(float dist) + + .. _C_BaseEntity-Highlight-SetNearFadeDist: + + .. cpp:function:: void Highlight_SetNearFadeDist(float dist) + + .. _C_BaseEntity-SetFadeDistance: + + .. cpp:function:: void SetFadeDistance(int distance) + + .. _C_BaseEntity-Highlight-SetFadeInTime: + + .. cpp:function:: void Highlight_SetFadeInTime(float time) + + .. _C_BaseEntity-Highlight-ShowOutline: + + .. cpp:function:: void Highlight_ShowOutline(float duration) + + .. _C_BaseEntity-IsPhaseShifted: + + .. cpp:function:: bool IsPhaseShifted() + + .. _C_BaseEntity-Highlight-ShowInside: + + .. cpp:function:: void Highlight_ShowInside(float duration) + + .. _C_BaseEntity-GetOrigin: + + .. cpp:function:: vector GetOrigin() + + .. _C_BaseEntity-Highlight-HideInside: + + .. cpp:function:: void Highlight_HideInside(float duration) + + .. _C_BaseEntity-SetPhysics: + + .. cpp:function:: unknown SetPhysics(unknown) + + .. _C_BaseEntity-SetDoDestroyCallback: + + .. cpp:function:: void SetDoDestroyCallback(bool doCallBack) + + .. _C_BaseEntity-Highlight-SetParam: + + .. cpp:function:: void Highlight_SetParam(int contextID, int parameterID, vector highlightColor) + + .. _C_BaseEntity-Highlight-SetFunctions: + + .. cpp:function:: void Highlight_SetFunctions(int contextID, int hightlightFillID, bool entityVisible, int colorMode, float radius, int highlightID, bool afterPostProcess) + + .. _C_BaseEntity-Highlight-SetInheritHighlight: + + .. cpp:function:: void Highlight_SetInheritHighlight(bool set) + + .. _C_BaseEntity-Highlight-SetCurrentContext: + + .. cpp:function:: void Highlight_SetCurrentContext(int contextID) + + .. _C_BaseEntity-DisableDraw: + + .. cpp:function:: void DisableDraw() + + .. _C_BaseEntity-IsInvulnerable: + + .. cpp:function:: bool IsInvulnerable() + + .. _C_BaseEntity-Highlight-IsAfterPostProcess: + + .. cpp:function:: bool Highlight_IsAfterPostProcess(int contextID) + + .. _C_BaseEntity-GetParentAttachment: + + .. cpp:function:: entity GetParentAttachment() + + .. _C_BaseEntity-IsHighlightEnabledForTeam: + + .. cpp:function:: unknown IsHighlightEnabledForTeam(unknown) + + .. _C_BaseEntity-clKill: + + .. cpp:function:: void clKill() + + .. _C_BaseEntity-GetLocalVelocity: + + .. cpp:function:: unknown GetLocalVelocity(unknown) + + .. _C_BaseEntity-SetScriptName: + + .. cpp:function:: void SetScriptName(string name) + + .. _C_BaseEntity-MarkAsNonMovingAttachment: + + .. cpp:function:: void MarkAsNonMovingAttachment() + + .. _C_BaseEntity-SetCanCloak: + + .. cpp:function:: void SetCanCloak(bool canCloak) + + .. _C_BaseEntity-Dev-GetEncodedEHandle: + + .. cpp:function:: int Dev_GetEncodedEHandle() + + .. _C_BaseEntity-GetCloakEndTime: + + .. cpp:function:: unknown GetCloakEndTime(unknown) + + .. _C_BaseEntity-GetNoTarget: + + .. cpp:function:: bool GetNoTarget() + + .. _C_BaseEntity-IsBreakableGlass: + + .. cpp:function:: bool IsBreakableGlass() + + .. _C_BaseEntity-GetTargetName: + + .. cpp:function:: string GetTargetName() + + .. _C_BaseEntity-GetEntIndex: + + .. cpp:function:: int GetEntIndex() + + .. _C_BaseEntity-SetToSameParentAs: + + .. cpp:function:: unknown SetToSameParentAs(unknown) + + .. _C_BaseEntity-StopPhysics: + + .. cpp:function:: void StopPhysics() + + .. _C_BaseEntity-GetShieldHealthMax: + + .. cpp:function:: int GetShieldHealthMax() + + .. _C_BaseEntity-SetValueForTextureKey: + + .. cpp:function:: void SetValueForTextureKey(asset texture) + + .. _C_BaseEntity-GetTarget-Deprecated: + + .. cpp:function:: unknown GetTarget_Deprecated(unknown) + + .. _C_BaseEntity-GetWorldSpaceCenter: + + .. cpp:function:: vector GetWorldSpaceCenter() + + .. _C_BaseEntity-RenderWithViewModels: + + .. cpp:function:: void RenderWithViewModels(bool renderWith) + + .. _C_BaseEntity-IsRenderingWithViewModels: + + .. cpp:function:: unknown IsRenderingWithViewModels(unknown) + + .. _C_BaseEntity-Minimap-GetZOrder: + + .. cpp:function:: int Minimap_GetZOrder() + + .. _C_BaseEntity-Highlight-GetInsideFunction: + + .. cpp:function:: int Highlight_GetInsideFunction(int contextID) + + .. _C_BaseEntity-GetModelName: + + .. cpp:function:: asset GetModelName() + + .. _C_BaseEntity-GetValueForTextureKey: + + .. cpp:function:: unknown GetValueForTextureKey(unknown) + + .. _C_BaseEntity-IsIgnoredByAimAssist: + + .. cpp:function:: unknown IsIgnoredByAimAssist(unknown) + + .. _C_BaseEntity-GetValueForModelKey: + + .. cpp:function:: asset GetValueForModelKey() + + .. _C_BaseEntity-IsSpottedByTeam: + + .. cpp:function:: unknown IsSpottedByTeam(unknown) + + .. _C_BaseEntity-EnableRenderWithCockpit: + + .. cpp:function:: void EnableRenderWithCockpit() + + .. _C_BaseEntity-DisableHealthChangedCallback: + + .. cpp:function:: unknown DisableHealthChangedCallback(unknown) + + .. _C_BaseEntity-GetForwardVector: + + .. cpp:function:: vector GetForwardVector() + + .. _C_BaseEntity-GetScriptScope: + + .. cpp:function:: table GetScriptScope() + + .. _C_BaseEntity-HasPusherRootParent: + + .. cpp:function:: bool HasPusherRootParent() + + .. _C_BaseEntity-GetLinkParentArray: + + .. cpp:function:: unknown GetLinkParentArray(unknown) + + .. _C_BaseEntity-IsZipline: + + .. cpp:function:: unknown IsZipline(unknown) + + .. _C_BaseEntity-GetParentAttachmentIndex: + + .. cpp:function:: unknown GetParentAttachmentIndex(unknown) + + .. _C_BaseEntity-IsValidInternal: + + .. cpp:function:: bool IsValidInternal() + + .. _C_BaseEntity-GetTitleForUI: + + .. cpp:function:: string GetTitleForUI() + + .. _C_BaseEntity-SetLocalAngles: + + .. cpp:function:: void SetLocalAngles(vector angles) + + .. _C_BaseEntity-GetBodyGroupNameFromHitboxId: + + .. cpp:function:: unknown GetBodyGroupNameFromHitboxId(unknown) + + .. _C_BaseEntity-SetOrigin: + + .. cpp:function:: void SetOrigin(vector position) + + .. _C_BaseEntity-DoDeathCallback: + + .. cpp:function:: void DoDeathCallback(bool doCallback) + + .. _C_BaseEntity-EnableRenderWithViewModelsNoZoom: + + .. cpp:function:: unknown EnableRenderWithViewModelsNoZoom(unknown) + diff --git a/docs/source/reference/respawn/entities/client/C_BaseGrenade.rst b/docs/source/reference/respawn/entities/client/C_BaseGrenade.rst new file mode 100644 index 00000000..7f761842 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_BaseGrenade.rst @@ -0,0 +1,64 @@ +.. _C-BaseGrenade: + +C_BaseGrenade +============= + +.. cpp:class:: C_BaseGrenade extends C_Projectile + + Inherits all properties from :ref:`C_Projectile ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_BaseGrenade-GrenadeIgnite: + + .. cpp:function:: void GrenadeIgnite() + + .. _C_BaseGrenade-GrenadeHasIgnited: + + .. cpp:function:: bool GrenadeHasIgnited() + + .. _C_BaseGrenade-SetDoesExplode: + + .. cpp:function:: void SetDoesExplode(bool explodes) + + .. _C_BaseGrenade-GetFuseTime: + + .. cpp:function:: unknown GetFuseTime(unknown) + + .. _C_BaseGrenade-GetThrower: + + .. cpp:function:: entity GetThrower() + + .. _C_BaseGrenade-GetCreationTime: + + .. cpp:function:: unknown GetCreationTime(unknown) + + .. _C_BaseGrenade-GetDamageAmount: + + .. cpp:function:: unknown GetDamageAmount(unknown) + + .. _C_BaseGrenade-GetDamageRadius: + + .. cpp:function:: float GetDamageRadius() + + .. _C_BaseGrenade-ExplodeForCollisionCallback: + + .. cpp:function:: void ExplodeForCollisionCallback(vector normal) + + .. _C_BaseGrenade-InitMagnetic: + + .. cpp:function:: void InitMagnetic(float force, string attractKey) + + .. _C_BaseGrenade-MarkAsAttached: + + .. cpp:function:: void MarkAsAttached() + + .. _C_BaseGrenade-GetExplosionRadius: + + .. cpp:function:: float GetExplosionRadius() + + .. _C_BaseGrenade-GrenadeExplode: + + .. cpp:function:: void GrenadeExplode(vector normal) + diff --git a/docs/source/reference/respawn/entities/client/C_CascadeLight.rst b/docs/source/reference/respawn/entities/client/C_CascadeLight.rst new file mode 100644 index 00000000..13807bba --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_CascadeLight.rst @@ -0,0 +1,24 @@ +.. _C-CascadeLight: + +C_CascadeLight +============== + +.. cpp:class:: C_CascadeLight extends C_BaseEntity + + Inherits all properties from :ref:`C_BaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_CascadeLight-ScaleSunSkyIntensity: + + .. cpp:function:: unknown ScaleSunSkyIntensity(unknown) + + .. _C_CascadeLight-OverrideAngles: + + .. cpp:function:: unknown OverrideAngles(unknown) + + .. _C_CascadeLight-UseServerAngles: + + .. cpp:function:: unknown UseServerAngles(unknown) + diff --git a/docs/source/reference/respawn/entities/client/C_CrossbowBolt.rst b/docs/source/reference/respawn/entities/client/C_CrossbowBolt.rst new file mode 100644 index 00000000..5088a69e --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_CrossbowBolt.rst @@ -0,0 +1,16 @@ +.. _C-CrossbowBolt: + +C_CrossbowBolt +============== + +.. cpp:class:: C_CrossbowBolt extends C_Projectile + + Inherits all properties from :ref:`C_Projectile ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_CrossbowBolt-SetRicochetMaxCount: + + .. cpp:function:: unknown SetRicochetMaxCount(unknown) + diff --git a/docs/source/reference/respawn/entities/client/C_DynamicLight.rst b/docs/source/reference/respawn/entities/client/C_DynamicLight.rst new file mode 100644 index 00000000..3df95fdb --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_DynamicLight.rst @@ -0,0 +1,24 @@ +.. _C-DynamicLight: + +C_DynamicLight +============== + +.. cpp:class:: C_DynamicLight extends C_BaseEntity + + Inherits all properties from :ref:`C_BaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_DynamicLight-SetCockpitLight: + + .. cpp:function:: unknown SetCockpitLight(unknown) + + .. _C_DynamicLight-SetLightRadius: + + .. cpp:function:: unknown SetLightRadius(unknown) + + .. _C_DynamicLight-SetLightColor: + + .. cpp:function:: unknown SetLightColor(unknown) + diff --git a/docs/source/reference/respawn/entities/client/C_DynamicProp.rst b/docs/source/reference/respawn/entities/client/C_DynamicProp.rst new file mode 100644 index 00000000..e65640cd --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_DynamicProp.rst @@ -0,0 +1,16 @@ +.. _C-DynamicProp: + +C_DynamicProp +============= + +.. cpp:class:: C_DynamicProp extends C_BaseAnimating + + Inherits all properties from :ref:`C_BaseAnimating ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_DynamicProp-SetIKWeapon: + + .. cpp:function:: unknown SetIKWeapon(unknown) + diff --git a/docs/source/reference/respawn/entities/client/C_FirstPersonProxy.rst b/docs/source/reference/respawn/entities/client/C_FirstPersonProxy.rst new file mode 100644 index 00000000..afae1757 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_FirstPersonProxy.rst @@ -0,0 +1,20 @@ +.. _C-FirstPersonProxy: + +C_FirstPersonProxy +================== + +.. cpp:class:: C_FirstPersonProxy extends C_BaseAnimating + + Inherits all properties from :ref:`C_BaseAnimating ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_FirstPersonProxy-HideFirstPersonProxy: + + .. cpp:function:: unknown HideFirstPersonProxy(unknown) + + .. _C_FirstPersonProxy-ShowFirstPersonProxy: + + .. cpp:function:: unknown ShowFirstPersonProxy(unknown) + diff --git a/docs/source/reference/respawn/entities/client/C_HardPointEntity.rst b/docs/source/reference/respawn/entities/client/C_HardPointEntity.rst new file mode 100644 index 00000000..4548c1f7 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_HardPointEntity.rst @@ -0,0 +1,48 @@ +.. _C-HardPointEntity: + +C_HardPointEntity +================= + +.. cpp:class:: C_HardPointEntity extends C_BaseEntity + + Inherits all properties from :ref:`C_BaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_HardPointEntity-GetHardpointState: + + .. cpp:function:: unknown GetHardpointState(unknown) + + .. _C_HardPointEntity-Enabled: + + .. cpp:function:: unknown Enabled(unknown) + + .. _C_HardPointEntity-GetTerminal: + + .. cpp:function:: unknown GetTerminal(unknown) + + .. _C_HardPointEntity-GetHardpointID: + + .. cpp:function:: unknown GetHardpointID(unknown) + + .. _C_HardPointEntity-GetHardpointPlayerCount: + + .. cpp:function:: unknown GetHardpointPlayerCount(unknown) + + .. _C_HardPointEntity-GetHardpointProgressRefPoint: + + .. cpp:function:: unknown GetHardpointProgressRefPoint(unknown) + + .. _C_HardPointEntity-GetEstimatedCaptureTime: + + .. cpp:function:: unknown GetEstimatedCaptureTime(unknown) + + .. _C_HardPointEntity-GetHardpointPlayerTitanCount: + + .. cpp:function:: unknown GetHardpointPlayerTitanCount(unknown) + + .. _C_HardPointEntity-GetHardpointAICount: + + .. cpp:function:: unknown GetHardpointAICount(unknown) + diff --git a/docs/source/reference/respawn/entities/client/C_Missile.rst b/docs/source/reference/respawn/entities/client/C_Missile.rst new file mode 100644 index 00000000..81fb4df2 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_Missile.rst @@ -0,0 +1,76 @@ +.. _C-Missile: + +C_Missile +========= + +.. cpp:class:: C_Missile extends C_Projectile + + Inherits all properties from :ref:`C_Projectile ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_Missile-InitMissileForRandomDriftFromWeaponSettings: + + .. cpp:function:: void InitMissileForRandomDriftFromWeaponSettings(vector pos, vector dir) + + .. _C_Missile-GetHomingSpeedAtDodgingPlayer: + + .. cpp:function:: unknown GetHomingSpeedAtDodgingPlayer(unknown) + + .. _C_Missile-MissileExplode: + + .. cpp:function:: void MissileExplode() + + .. _C_Missile-InitMissileSpiral: + + .. cpp:function:: void InitMissileSpiral(vector pos, vector dir, int missileNumber, bool unknown_purpose1, bool unknown_purpose2) + + .. _C_Missile-SetMissileTarget: + + .. cpp:function:: void SetMissileTarget(enity target, vector offset) + + .. _C_Missile-ApplyMissileControlledDrift: + + .. cpp:function:: unknown ApplyMissileControlledDrift(unknown) + + .. _C_Missile-InitMissileForRandomDrift: + + .. cpp:function:: void InitMissileForRandomDrift(vector pos, vector dir) + + .. _C_Missile-ClearMissileTargetPosition: + + .. cpp:function:: unknown ClearMissileTargetPosition(unknown) + + .. _C_Missile-GetMissileTargetPosition: + + .. cpp:function:: unknown GetMissileTargetPosition(unknown) + + .. _C_Missile-SetMissileTargetPosition: + + .. cpp:function:: void SetMissileTargetPosition(vector pos) + + .. _C_Missile-GetHomingSpeed: + + .. cpp:function:: unknown GetHomingSpeed(unknown) + + .. _C_Missile-SetHomingSpeeds: + + .. cpp:function:: void SetHomingSpeeds(int speed, int speed_for_dodging_player) + + .. _C_Missile-GetSpeed: + + .. cpp:function:: unknown GetSpeed(unknown) + + .. _C_Missile-SetSpeed: + + .. cpp:function:: void SetSpeed(float speed) + + .. _C_Missile-InitMissileExpandContract: + + .. cpp:function:: void InitMissileExpandContract(vector outward, vector inward, float launchOutTime, float launchInLerpTime, float launchInTime, float launchStraightLerpTime, vector missileEndPos, bool applyRandSpread) + + .. _C_Missile-GetMissileTarget: + + .. cpp:function:: entity GetMissileTarget() + diff --git a/docs/source/reference/respawn/entities/client/C_NPC_Dropship.rst b/docs/source/reference/respawn/entities/client/C_NPC_Dropship.rst new file mode 100644 index 00000000..179b2c8e --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_NPC_Dropship.rst @@ -0,0 +1,16 @@ +.. _C-NPC-Dropship: + +C_NPC_Dropship +============== + +.. cpp:class:: C_NPC_Dropship extends C_AI_BaseNPC + + Inherits all properties from :ref:`C_AI_BaseNPC ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_NPC_Dropship-IsJetWakeFXEnabled: + + .. cpp:function:: bool IsJetWakeFXEnabled() + diff --git a/docs/source/reference/respawn/entities/client/C_NPC_SentryTurret.rst b/docs/source/reference/respawn/entities/client/C_NPC_SentryTurret.rst new file mode 100644 index 00000000..7f19cf0b --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_NPC_SentryTurret.rst @@ -0,0 +1,20 @@ +.. _C-NPC-SentryTurret: + +C_NPC_SentryTurret +================== + +.. cpp:class:: C_NPC_SentryTurret extends C_AI_BaseNPC + + Inherits all properties from :ref:`C_AI_BaseNPC ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_NPC_SentryTurret-GetControlPanel: + + .. cpp:function:: entity GetControlPanel() + + .. _C_NPC_SentryTurret-GetTurretState: + + .. cpp:function:: int GetTurretState() + diff --git a/docs/source/reference/respawn/entities/client/C_NPC_Titan.rst b/docs/source/reference/respawn/entities/client/C_NPC_Titan.rst new file mode 100644 index 00000000..56c4274a --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_NPC_Titan.rst @@ -0,0 +1,16 @@ +.. _C-NPC-Titan: + +C_NPC_Titan +=========== + +.. cpp:class:: C_NPC_Titan extends C_AI_BaseNPC + + Inherits all properties from :ref:`C_AI_BaseNPC ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_NPC_Titan-GetCanStand: + + .. cpp:function:: bool GetCanStand() + diff --git a/docs/source/reference/respawn/entities/client/C_Player.rst b/docs/source/reference/respawn/entities/client/C_Player.rst new file mode 100644 index 00000000..d5346bfe --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_Player.rst @@ -0,0 +1,1184 @@ +.. _C-Player: + +C_Player +======== + +.. cpp:class:: C_Player extends C_BaseAnimating + + Inherits all properties from :ref:`C_BaseAnimating ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_Player-Lunge-SetMaxTime: + + .. cpp:function:: unknown Lunge_SetMaxTime(unknown) + + .. _C_Player-GetRodeoRider: + + .. cpp:function:: entity GetRodeoRider() + + .. _C_Player-GetWeaponAmmoMaxLoaded: + + .. cpp:function:: int GetWeaponAmmoMaxLoaded(entity weapon) + + .. _C_Player-GetVoicePackIndex: + + .. cpp:function:: unknown GetVoicePackIndex(unknown) + + .. _C_Player-DisablePhaseShiftFlags: + + .. cpp:function:: void DisablePhaseShiftFlags() + + .. _C_Player-IsInThirdPersonReplay: + + .. cpp:function:: bool IsInThirdPersonReplay() + + .. _C_Player-SniperCam-Activate: + + .. cpp:function:: unknown SniperCam_Activate(unknown) + + .. _C_Player-Weapon-CustomActivityClearAttachedModel: + + .. cpp:function:: unknown Weapon_CustomActivityClearAttachedModel(unknown) + + .. _C_Player-DisableWeaponViewModel: + + .. cpp:function:: unknown DisableWeaponViewModel(unknown) + + .. _C_Player-GetPlayerRequestedSettingsField: + + .. cpp:function:: unknown GetPlayerRequestedSettingsField(unknown) + + .. _C_Player-PlayerMelee-SetState: + + .. cpp:function:: void PlayerMelee_SetState(int state) + + .. _C_Player-JoltCockpitOrigin: + + .. cpp:function:: unknown JoltCockpitOrigin(unknown) + + .. _C_Player-Rodeo-StopCameraSmoothing: + + .. cpp:function:: void Rodeo_StopCameraSmoothing(float factor) + + .. _C_Player-GetRemoteTurret: + + .. cpp:function:: entity GetRemoteTurret() + + .. _C_Player-GetPlayerMins: + + .. cpp:function:: unknown GetPlayerMins(unknown) + + .. _C_Player-ContextAction-IsMeleeExecutionTarget: + + .. cpp:function:: bool ContextAction_IsMeleeExecutionTarget() + + .. _C_Player-IsMuted: + + .. cpp:function:: bool IsMuted() + + .. _C_Player-GetPlayerGameStat: + + .. cpp:function:: int GetPlayerGameStat(int PGS) + + .. _C_Player-SetOneHandedWeaponUsageOn: + + .. cpp:function:: unknown SetOneHandedWeaponUsageOn(unknown) + + .. _C_Player-GetViewVector: + + .. cpp:function:: vector GetViewVector() + + .. _C_Player-CameraAngles: + + .. cpp:function:: vector CameraAngles() + + .. _C_Player-GetEntScreenSpaceBounds: + + .. cpp:function:: EntityScreenSpaceBounds GetEntScreenSpaceBounds(entity ent, int padding) + + .. _C_Player-PlayerMelee-ExecutionEndTarget: + + .. cpp:function:: unknown PlayerMelee_ExecutionEndTarget(unknown) + + .. _C_Player-PlayerMelee-EndAttack: + + .. cpp:function:: void PlayerMelee_EndAttack() + + .. _C_Player-Lunge-ClearTarget: + + .. cpp:function:: void Lunge_ClearTarget() + + .. _C_Player-IsZipliningInReverse: + + .. cpp:function:: unknown IsZipliningInReverse(unknown) + + .. _C_Player-SmartAmmo-GetHighestLocksOnMeEntities: + + .. cpp:function:: array SmartAmmo_GetHighestLocksOnMeEntities() + + .. _C_Player-GetPlayerModHealth: + + .. cpp:function:: float GetPlayerModHealth() + + .. _C_Player-GetSuitGrapplePower: + + .. cpp:function:: int GetSuitGrapplePower() + + .. _C_Player-IsGliding: + + .. cpp:function:: unknown IsGliding(unknown) + + .. _C_Player-GetPlayerSettingsAsset: + + .. cpp:function:: unknown GetPlayerSettingsAsset(unknown) + + .. _C_Player-HolsterWeapon: + + .. cpp:function:: void HolsterWeapon() + + .. _C_Player-ContextAction-SetInVehicle: + + .. cpp:function:: unknown ContextAction_SetInVehicle(unknown) + + .. _C_Player-SetMeleeDisabled: + + .. cpp:function:: void SetMeleeDisabled() + + .. _C_Player-GetPlayerOrNPCViewVector: + + .. cpp:function:: vector GetPlayerOrNPCViewVector() + + .. _C_Player-SmartAmmo-GetHighestLockOnMeFraction: + + .. cpp:function:: float SmartAmmo_GetHighestLockOnMeFraction() + + .. _C_Player-SetSelectedOffhandToMelee: + + .. cpp:function:: void SetSelectedOffhandToMelee() + + .. _C_Player-Lunge-IsLungingToPosition: + + .. cpp:function:: unknown Lunge_IsLungingToPosition(unknown) + + .. _C_Player-GetLastFiredTime: + + .. cpp:function:: unknown GetLastFiredTime(unknown) + + .. _C_Player-AddSharedEnergy: + + .. cpp:function:: void AddSharedEnergy(int amount) + + .. _C_Player-IsPlayback: + + .. cpp:function:: unknown IsPlayback(unknown) + + .. _C_Player-GetXP: + + .. cpp:function:: int GetXP() + + .. _C_Player-GetCrosshairPos: + + .. cpp:function:: unknown GetCrosshairPos(unknown) + + .. _C_Player-Weapon-GetCustomActivityDuration: + + .. cpp:function:: unknown Weapon_GetCustomActivityDuration(unknown) + + .. _C_Player-GetSuitPower: + + .. cpp:function:: unknown GetSuitPower(unknown) + + .. _C_Player-ViewOffsetEntity-SetLerpOutTime: + + .. cpp:function:: unknown ViewOffsetEntity_SetLerpOutTime(unknown) + + .. _C_Player-GetObjectiveIndex: + + .. cpp:function:: int GetObjectiveIndex() + + .. _C_Player-GetViewRight: + + .. cpp:function:: vector GetViewRight() + + .. _C_Player-GetPlayerRagdoll: + + .. cpp:function:: unknown GetPlayerRagdoll(unknown) + + .. _C_Player-ClearOffhand: + + .. cpp:function:: unknown ClearOffhand(unknown) + + .. _C_Player-SetLastPingTime: + + .. cpp:function:: void SetLastPingTime(float time) + + .. _C_Player-GetTitanEmbarkEnabled: + + .. cpp:function:: bool GetTitanEmbarkEnabled() + + .. _C_Player-Rodeo-StartCameraSmoothing: + + .. cpp:function:: void Rodeo_StartCameraSmoothing(float factor) + + .. _C_Player-ViewOffsetEntity-SetLerpInTime: + + .. cpp:function:: unknown ViewOffsetEntity_SetLerpInTime(unknown) + + .. _C_Player-GetOutOfBoundsDeadTime: + + .. cpp:function:: int GetOutOfBoundsDeadTime() + + .. _C_Player-ContextAction-IsFastball: + + .. cpp:function:: unknown ContextAction_IsFastball(unknown) + + .. _C_Player-GetLastPingTime: + + .. cpp:function:: float GetLastPingTime() + + .. _C_Player-ContextAction-IsLeeching: + + .. cpp:function:: bool ContextAction_IsLeeching() + + .. _C_Player-GetMeleeDisabled: + + .. cpp:function:: unknown GetMeleeDisabled(unknown) + + .. _C_Player-PlayerMelee-ExecutionEndAttacker: + + .. cpp:function:: unknown PlayerMelee_ExecutionEndAttacker(unknown) + + .. _C_Player-GetHotDropImpactTime: + + .. cpp:function:: float GetHotDropImpactTime(entity titan = this.titan, string animation = HOTDROP_TURBO_ANIM) + + .. _C_Player-PhaseShiftCancel: + + .. cpp:function:: void PhaseShiftCancel() + + .. _C_Player-HasClassPosMod: + + .. cpp:function:: unknown HasClassPosMod(unknown) + + .. _C_Player-GetDodgePower: + + .. cpp:function:: int GetDodgePower() + + .. _C_Player-GetForcedDialogueOnly: + + .. cpp:function:: bool GetForcedDialogueOnly() + + .. _C_Player-HasUsePrompt: + + .. cpp:function:: unknown HasUsePrompt(unknown) + + .. _C_Player-IsDoubleJumping: + + .. cpp:function:: unknown IsDoubleJumping(unknown) + + .. _C_Player-Lunge-SetTargetEntity: + + .. cpp:function:: void Lunge_SetTargetEntity(entity target, bool unknown_purpose) + + .. _C_Player-GetNumPingsUsed: + + .. cpp:function:: unknown GetNumPingsUsed(unknown) + + .. _C_Player-IsBot: + + .. cpp:function:: bool IsBot() + + .. _C_Player-GetGen: + + .. cpp:function:: int GetGen() + + .. _C_Player-GetPlayerMaxs: + + .. cpp:function:: unknown GetPlayerMaxs(unknown) + + .. _C_Player-GetObserverMode: + + .. cpp:function:: int GetObserverMode() + + .. _C_Player-Weapon-CustomActivityAttachModel: + + .. cpp:function:: unknown Weapon_CustomActivityAttachModel(unknown) + + .. _C_Player-HideCrosshairNames: + + .. cpp:function:: void HideCrosshairNames() + + .. _C_Player-IsUsingOffhandWeapon: + + .. cpp:function:: unknown IsUsingOffhandWeapon(unknown) + + .. _C_Player-TakeSharedEnergy: + + .. cpp:function:: void TakeSharedEnergy(int amount) + + .. _C_Player-JoltCockpitAngles: + + .. cpp:function:: unknown JoltCockpitAngles(unknown) + + .. _C_Player-GetFOV: + + .. cpp:function:: unknown GetFOV(unknown) + + .. _C_Player-FreezeControlsOnClient: + + .. cpp:function:: void FreezeControlsOnClient() + + .. _C_Player-ContextAction-IsRequisitionBattery: + + .. cpp:function:: unknown ContextAction_IsRequisitionBattery(unknown) + + .. _C_Player-InPartyChat: + + .. cpp:function:: bool InPartyChat() + + .. _C_Player-HasPassive: + + .. cpp:function:: bool HasPassive(int passive) + + .. _C_Player-IsScriptMenuOn: + + .. cpp:function:: unknown IsScriptMenuOn(unknown) + + .. _C_Player-Lunge-GetStartPositionOffset: + + .. cpp:function:: vector Lunge_GetStartPositionOffset() + + .. _C_Player-GetPlayerRequestedSettings: + + .. cpp:function:: unknown GetPlayerRequestedSettings(unknown) + + .. _C_Player-PlayerMelee-StartAttack: + + .. cpp:function:: void PlayerMelee_StartAttack(int attackState) + + .. _C_Player-GetSkillMU: + + .. cpp:function:: unknown GetSkillMU(unknown) + + .. _C_Player-GetAntiTitanWeapon: + + .. cpp:function:: entity GetAntiTitanWeapon() + + .. _C_Player-GetNumRodeoSlots: + + .. cpp:function:: int GetNumRodeoSlots() + + .. _C_Player-GetCrosshairData: + + .. cpp:function:: unknown GetCrosshairData(unknown) + + .. _C_Player-IsHoverEnabled: + + .. cpp:function:: unknown IsHoverEnabled(unknown) + + .. _C_Player-SetHoldToSwapSlot: + + .. cpp:function:: unknown SetHoldToSwapSlot(unknown) + + .. _C_Player-SetSafeHealthFrac: + + .. cpp:function:: unknown SetSafeHealthFrac(unknown) + + .. _C_Player-SniperCam-GetParams: + + .. cpp:function:: unknown SniperCam_GetParams(unknown) + + .. _C_Player-GetBodyType: + + .. cpp:function:: string GetBodyType() + + .. _C_Player-GetFirstPersonProxy: + + .. cpp:function:: entity GetFirstPersonProxy() + + .. _C_Player-GetViewModelEntity: + + .. cpp:function:: entity GetViewModelEntity() + + .. _C_Player-Lunge-IsLungingToEntity: + + .. cpp:function:: bool Lunge_IsLungingToEntity() + + .. _C_Player-ContextAction-ClearBusy: + + .. cpp:function:: void ContextAction_ClearBusy() + + .. _C_Player-DisableWeaponWithSlowHolster: + + .. cpp:function:: unknown DisableWeaponWithSlowHolster(unknown) + + .. _C_Player-ContextAction-IsBusy: + + .. cpp:function:: bool ContextAction_IsBusy() + + .. _C_Player-GetSuitJumpPower: + + .. cpp:function:: unknown GetSuitJumpPower(unknown) + + .. _C_Player-GetCinematicEventFlags: + + .. cpp:function:: int GetCinematicEventFlags() + + .. _C_Player-GetPlayerRequestedClass: + + .. cpp:function:: unknown GetPlayerRequestedClass(unknown) + + .. _C_Player-GetTitanDisembarkEnabled: + + .. cpp:function:: bool GetTitanDisembarkEnabled() + + .. _C_Player-GetPlayerName: + + .. cpp:function:: string GetPlayerName() + + .. _C_Player-GetSharedEnergyTotal: + + .. cpp:function:: int GetSharedEnergyTotal() + + .. _C_Player-ContextAction-IsRodeo: + + .. cpp:function:: unknown ContextAction_IsRodeo(unknown) + + .. _C_Player-GetMainWeapons: + + .. cpp:function:: array GetMainWeapons() + + .. _C_Player-HasMic: + + .. cpp:function:: bool HasMic() + + .. _C_Player-ClientCommand: + + .. cpp:function:: void ClientCommand(string command) + + .. _C_Player-SniperCam-IsActive: + + .. cpp:function:: unknown SniperCam_IsActive(unknown) + + .. _C_Player-SetPingGroupStartTime: + + .. cpp:function:: void SetPingGroupStartTime(float gametime) + + .. _C_Player-Lunge-GetEndPositionOffset: + + .. cpp:function:: vector Lunge_GetEndPositionOffset() + + .. _C_Player-SetSharedEnergyRegenRate: + + .. cpp:function:: unknown SetSharedEnergyRegenRate(unknown) + + .. _C_Player-GetLevel: + + .. cpp:function:: int GetLevel() + + .. _C_Player-GetViewUp: + + .. cpp:function:: vector GetViewUp() + + .. _C_Player-UnfreezeControlsOnClient: + + .. cpp:function:: unknown UnfreezeControlsOnClient(unknown) + + .. _C_Player-GetObserverTarget: + + .. cpp:function:: entity GetObserverTarget() + + .. _C_Player-GetEntityAtPhaseShiftExitPosition: + + .. cpp:function:: entity GetEntityAtPhaseShiftExitPosition() + + .. _C_Player-IsHovering: + + .. cpp:function:: unknown IsHovering(unknown) + + .. _C_Player-IsInAirSlowMo: + + .. cpp:function:: unknown IsInAirSlowMo(unknown) + + .. _C_Player-GetPlayerSettings: + + .. cpp:function:: string GetPlayerSettings() + + .. _C_Player-CanUseSharedEnergy: + + .. cpp:function:: bool CanUseSharedEnergy(int curCost) + + .. _C_Player-IsPhaseShiftedOrPending: + + .. cpp:function:: unknown IsPhaseShiftedOrPending(unknown) + + .. _C_Player-RumbleEffect: + + .. cpp:function:: void RumbleEffect(int x, int y, int z) + + .. _C_Player-GetObjectiveEndTime: + + .. cpp:function:: float GetObjectiveEndTime() + + .. _C_Player-CreateClientPointCamera: + + .. cpp:function:: unknown CreateClientPointCamera(unknown) + + .. _C_Player-GetLatestPrimaryWeapon: + + .. cpp:function:: entity GetLatestPrimaryWeapon() + + .. _C_Player-PlayerMelee-ExecutionStartAttacker: + + .. cpp:function:: unknown PlayerMelee_ExecutionStartAttacker(unknown) + + .. _C_Player-ContextAction-IsMeleeExecution: + + .. cpp:function:: bool ContextAction_IsMeleeExecution() + + .. _C_Player-HasBadReputation: + + .. cpp:function:: bool HasBadReputation() + + .. _C_Player-TraceToLocalPlayer: + + .. cpp:function:: TraceResults TraceToLocalPlayer() + + .. _C_Player-DisableWeapon: + + .. cpp:function:: unknown DisableWeapon(unknown) + + .. _C_Player-GetPlayerNetInt: + + .. cpp:function:: int GetPlayerNetInt(string state) + + .. _C_Player-OffsetPositionFromView: + + .. cpp:function:: vector OffsetPositionFromView(vector startPos, vector offset) + + .. _C_Player-PlayerMelee-SetAttackRecoveryShouldBeQuick: + + .. cpp:function:: void PlayerMelee_SetAttackRecoveryShouldBeQuick(bool beQuick) + + .. _C_Player-GetPlayerClass: + + .. cpp:function:: string GetPlayerClass() + + .. _C_Player-GetSharedEnergyCount: + + .. cpp:function:: int GetSharedEnergyCount() + + .. _C_Player-HasGrapple: + + .. cpp:function:: unknown HasGrapple(unknown) + + .. _C_Player-GetPilotClassIndex: + + .. cpp:function:: unknown GetPilotClassIndex(unknown) + + .. _C_Player-ContextAction-IsZipline: + + .. cpp:function:: unknown ContextAction_IsZipline(unknown) + + .. _C_Player-MayGrapple: + + .. cpp:function:: bool MayGrapple() + + .. _C_Player-Grapple: + + .. cpp:function:: void Grapple(vector direction) + + .. _C_Player-GetObjectiveEntity: + + .. cpp:function:: entity GetObjectiveEntity() + + .. _C_Player-ContextAction-ClearInVehicle: + + .. cpp:function:: unknown ContextAction_ClearInVehicle(unknown) + + .. _C_Player-GetPersistentVar: + + .. cpp:function:: var GetPersistentVar(string key) + + .. _C_Player-GetAbilityUpBinding: + + .. cpp:function:: unknown GetAbilityUpBinding(unknown) + + .. _C_Player-StopArcCannon: + + .. cpp:function:: void StopArcCannon() + + .. _C_Player-GetInputAxisForward: + + .. cpp:function:: float GetInputAxisForward() + + .. _C_Player-IsWallRunning: + + .. cpp:function:: void IsWallRunning() + + .. _C_Player-DeployWeapon: + + .. cpp:function:: void DeployWeapon() + + .. _C_Player-GetRank: + + .. cpp:function:: unknown GetRank(unknown) + + .. _C_Player-GetActiveBurnCardIndex: + + .. cpp:function:: int GetActiveBurnCardIndex() + + .. _C_Player-CockpitJolt: + + .. cpp:function:: void CockpitJolt(vector joltDir, float severity) + + .. _C_Player-IsCrouched: + + .. cpp:function:: bool IsCrouched() + + .. _C_Player-ContextAction-IsActive: + + .. cpp:function:: bool ContextAction_IsActive() + + .. _C_Player-GetPlayerSettingsField: + + .. cpp:function:: string GetPlayerSettingsField(string field) + + .. _C_Player-PlayerMelee-IsAttackActive: + + .. cpp:function:: bool PlayerMelee_IsAttackActive() + + .. _C_Player-GetPlayerModsForPos: + + .. cpp:function:: unknown GetPlayerModsForPos(unknown) + + .. _C_Player-GetActiveWeaponPrimaryAmmoLoaded: + + .. cpp:function:: int GetActiveWeaponPrimaryAmmoLoaded() + + .. _C_Player-GetFaction: + + .. cpp:function:: unknown GetFaction(unknown) + + .. _C_Player-GetCommunityName: + + .. cpp:function:: unknown GetCommunityName(unknown) + + .. _C_Player-SetFOVScale: + + .. cpp:function:: unknown SetFOVScale(unknown) + + .. _C_Player-StopEffectOnPlayerHands: + + .. cpp:function:: unknown StopEffectOnPlayerHands(unknown) + + .. _C_Player-StartEffectOnPlayerHands: + + .. cpp:function:: unknown StartEffectOnPlayerHands(unknown) + + .. _C_Player-GetPlayerNetEnt: + + .. cpp:function:: entity GetPlayerNetEnt(string key) + + .. _C_Player-GetPlayerNetTime: + + .. cpp:function:: float GetPlayerNetTime(string key) + + .. _C_Player-IsSprinting: + + .. cpp:function:: unknown IsSprinting(unknown) + + .. _C_Player-GetSharedEnergyRegenDelay: + + .. cpp:function:: unknown GetSharedEnergyRegenDelay(unknown) + + .. _C_Player-GetPlayerNetBool: + + .. cpp:function:: bool GetPlayerNetBool(string key) + + .. _C_Player-GetAdsFraction: + + .. cpp:function:: float GetAdsFraction() + + .. _C_Player-OffsetFromViewAngles: + + .. cpp:function:: unknown OffsetFromViewAngles(unknown) + + .. _C_Player-GetInputAxisRight: + + .. cpp:function:: float GetInputAxisRight() + + .. _C_Player-IsInputCommandReleased: + + .. cpp:function:: unknown IsInputCommandReleased(unknown) + + .. _C_Player-GetAttackSpread: + + .. cpp:function:: unknown GetAttackSpread(unknown) + + .. _C_Player-IsInputCommandPressed: + + .. cpp:function:: unknown IsInputCommandPressed(unknown) + + .. _C_Player-GetTitanTarget: + + .. cpp:function:: unknown GetTitanTarget(unknown) + + .. _C_Player-EnablePhaseShiftFlags: + + .. cpp:function:: void EnablePhaseShiftFlags() + + .. _C_Player-GetSidearmWeapon: + + .. cpp:function:: unknown GetSidearmWeapon(unknown) + + .. _C_Player-SetNumPingsUsed: + + .. cpp:function:: void SetNumPingsUsed(int num) + + .. _C_Player-GetPingGroupAccumulator: + + .. cpp:function:: int GetPingGroupAccumulator() + + .. _C_Player-Lunge-IsActive: + + .. cpp:function:: bool Lunge_IsActive() + + .. _C_Player-GetPingGroupStartTime: + + .. cpp:function:: float GetPingGroupStartTime() + + .. _C_Player-GetNumPingsAvailable: + + .. cpp:function:: int GetNumPingsAvailable() + + .. _C_Player-IsBoosting: + + .. cpp:function:: unknown IsBoosting(unknown) + + .. _C_Player-IsClassPosModAvailableForPlayerSetting: + + .. cpp:function:: unknown IsClassPosModAvailableForPlayerSetting(unknown) + + .. _C_Player-GetSharedEnergyRegenRate: + + .. cpp:function:: unknown GetSharedEnergyRegenRate(unknown) + + .. _C_Player-IsStanding: + + .. cpp:function:: bool IsStanding() + + .. _C_Player-HasClassMod: + + .. cpp:function:: unknown HasClassMod(unknown) + + .. _C_Player-ContextAction-SetFastball: + + .. cpp:function:: unknown ContextAction_SetFastball(unknown) + + .. _C_Player-GetPersistentVarAsInt: + + .. cpp:function:: int GetPersistentVarAsInt(string key) + + .. _C_Player-PhaseShiftBegin: + + .. cpp:function:: void PhaseShiftBegin(float warmUpTime, float duration) + + .. _C_Player-SetNumPingsAvailable: + + .. cpp:function:: void SetNumPingsAvailable(int num) + + .. _C_Player-TraceToLocalPlayerSimple: + + .. cpp:function:: float TraceToLocalPlayerSimple() + + .. _C_Player-ContextAction-IsInVehicle: + + .. cpp:function:: unknown ContextAction_IsInVehicle(unknown) + + .. _C_Player-GetMeleeWeapon: + + .. cpp:function:: entity GetMeleeWeapon() + + .. _C_Player-GetWeaponAmmoStockpile: + + .. cpp:function:: int GetWeaponAmmoStockpile(entity weapon) + + .. _C_Player-SetSharedEnergyRegenDelay: + + .. cpp:function:: void SetSharedEnergyRegenDelay(float delay) + + .. _C_Player-StartArcCannon: + + .. cpp:function:: void StartArcCannon() + + .. _C_Player-GetTargetInCrosshairRange: + + .. cpp:function:: unknown GetTargetInCrosshairRange(unknown) + + .. _C_Player-GetOffhandWeapon: + + .. cpp:function:: entity GetOffhandWeapon(int slot) + + .. _C_Player-IsPlayingRanked: + + .. cpp:function:: unknown IsPlayingRanked(unknown) + + .. _C_Player-GetTitanSoul: + + .. cpp:function:: entity GetTitanSoul() + + .. _C_Player-SetMenuCameraEntity: + + .. cpp:function:: unknown SetMenuCameraEntity(unknown) + + .. _C_Player-IsZiplining: + + .. cpp:function:: bool IsZiplining() + + .. _C_Player-GetPlayerNetFloat: + + .. cpp:function:: float GetPlayerNetFloat(string state) + + .. _C_Player-Weapon-StartCustomActivity: + + .. cpp:function:: void Weapon_StartCustomActivity(string animation, bool unknown_purpose) + + .. _C_Player-EnableWeaponWithSlowDeploy: + + .. cpp:function:: unknown EnableWeaponWithSlowDeploy(unknown) + + .. _C_Player-EnableWeapon: + + .. cpp:function:: unknown EnableWeapon(unknown) + + .. _C_Player-Lunge-SetMaxEndSpeed: + + .. cpp:function:: unknown Lunge_SetMaxEndSpeed(unknown) + + .. _C_Player-GetOffhandWeapons: + + .. cpp:function:: array GetOffhandWeapons() + + .. _C_Player-SetScriptMenuOff: + + .. cpp:function:: void SetScriptMenuOff() + + .. _C_Player-Dev-GetPlayerSettingByKeyField: + + .. cpp:function:: unknown Dev_GetPlayerSettingByKeyField(unknown) + + .. _C_Player-SniperCam-SetParams: + + .. cpp:function:: unknown SniperCam_SetParams(unknown) + + .. _C_Player-IsWeaponDisabled: + + .. cpp:function:: bool IsWeaponDisabled() + + .. _C_Player-ClearMeleeDisabled: + + .. cpp:function:: void ClearMeleeDisabled() + + .. _C_Player-ClearMenuCameraEntity: + + .. cpp:function:: unknown ClearMenuCameraEntity(unknown) + + .. _C_Player-IsThirdPersonObserver: + + .. cpp:function:: unknown IsThirdPersonObserver(unknown) + + .. _C_Player-GetSyncedEntity: + + .. cpp:function:: unknown GetSyncedEntity(unknown) + + .. _C_Player-GetPlayerModHealthPerSegment: + + .. cpp:function:: unknown GetPlayerModHealthPerSegment(unknown) + + .. _C_Player-IsInputCommandHeld: + + .. cpp:function:: bool IsInputCommandHeld(int flag) + + .. _C_Player-GetPredictedFirstPersonProxy: + + .. cpp:function:: enitity GetPredictedFirstPersonProxy() + + .. _C_Player-SetHandsEffectControlPoint: + + .. cpp:function:: unknown SetHandsEffectControlPoint(unknown) + + .. _C_Player-Lunge-IsGroundExecute: + + .. cpp:function:: bool Lunge_IsGroundExecute() + + .. _C_Player-GetActiveWeapon: + + .. cpp:function:: enitity GetActiveWeapon() + + .. _C_Player-GetAttackSpreadAngle: + + .. cpp:function:: float GetAttackSpreadAngle() + + .. _C_Player-IsWallHanging: + + .. cpp:function:: bool IsWallHanging() + + .. _C_Player-ContextAction-IsMeleeExecutionAttacker: + + .. cpp:function:: unknown ContextAction_IsMeleeExecutionAttacker(unknown) + + .. _C_Player-ContextAction-ClearFastball: + + .. cpp:function:: unknown ContextAction_ClearFastball(unknown) + + .. _C_Player-GetSelectedWeapon: + + .. cpp:function:: unknown GetSelectedWeapon(unknown) + + .. _C_Player-SetSharedEnergyTotal: + + .. cpp:function:: unknown SetSharedEnergyTotal(unknown) + + .. _C_Player-GetFirstRodeoRider: + + .. cpp:function:: enitity GetFirstRodeoRider() + + .. _C_Player-IsObserver: + + .. cpp:function:: unknown IsObserver(unknown) + + .. _C_Player-CameraPosition: + + .. cpp:function:: vector CameraPosition() + + .. _C_Player-GetPlayerSettingsMods: + + .. cpp:function:: array GetPlayerSettingsMods() + + .. _C_Player-SetRodeoLookHeight: + + .. cpp:function:: unknown SetRodeoLookHeight(unknown) + + .. _C_Player-PhaseShiftTimePassed: + + .. cpp:function:: unknown PhaseShiftTimePassed(unknown) + + .. _C_Player-PlayerMelee-ExecutionStartTarget: + + .. cpp:function:: unknown PlayerMelee_ExecutionStartTarget(unknown) + + .. _C_Player-GetTitanBubbleShieldTime: + + .. cpp:function:: unknown GetTitanBubbleShieldTime(unknown) + + .. _C_Player-SetPingGroupAccumulator: + + .. cpp:function:: void SetPingGroupAccumulator(int acc) + + .. _C_Player-ContextAction-SetBusy: + + .. cpp:function:: void ContextAction_SetBusy() + + .. _C_Player-GetTitanSoulBeingRodeoed: + + .. cpp:function:: entity GetTitanSoulBeingRodeoed() + + .. _C_Player-SetRodeoLookDistance: + + .. cpp:function:: unknown SetRodeoLookDistance(unknown) + + .. _C_Player-UnhideCrosshairNames: + + .. cpp:function:: void UnhideCrosshairNames() + + .. _C_Player-GetUsePromptEntity: + + .. cpp:function:: unknown GetUsePromptEntity(unknown) + + .. _C_Player-GetViewForward: + + .. cpp:function:: vector GetViewForward() + + .. _C_Player-SetScriptMenuOn: + + .. cpp:function:: void SetScriptMenuOn() + + .. _C_Player-GetZoomFrac: + + .. cpp:function:: float GetZoomFrac() + + .. _C_Player-GetPetTitan: + + .. cpp:function:: entity GetPetTitan() + + .. _C_Player-GetPetTitanMode: + + .. cpp:function:: int GetPetTitanMode() + + .. _C_Player-GetCockpit: + + .. cpp:function:: entity GetCockpit() + + .. _C_Player-IsPartyLeader: + + .. cpp:function:: bool IsPartyLeader() + + .. _C_Player-GetHardpointEntity: + + .. cpp:function:: entity GetHardpointEntity() + + .. _C_Player-SmartAmmo-GetPreviousHighestLockOnMeFraction: + + .. cpp:function:: float SmartAmmo_GetPreviousHighestLockOnMeFraction() + + .. _C_Player-IsClassModAvailableForPlayerSetting: + + .. cpp:function:: unknown IsClassModAvailableForPlayerSetting(unknown) + + .. _C_Player-GetAbilityDownBinding: + + .. cpp:function:: unknown GetAbilityDownBinding(unknown) + + .. _C_Player-ViewOffsetEntity-SetEntity: + + .. cpp:function:: unknown ViewOffsetEntity_SetEntity(unknown) + + .. _C_Player-GetPlayerSubClass: + + .. cpp:function:: unknown GetPlayerSubClass(unknown) + + .. _C_Player-Weapon-GetCustomActivityFraction: + + .. cpp:function:: unknown Weapon_GetCustomActivityFraction(unknown) + + .. _C_Player-Lunge-LockPitch: + + .. cpp:function:: void Lunge_LockPitch(bool lock) + + .. _C_Player-Lunge-SetSmoothTime: + + .. cpp:function:: void Lunge_SetSmoothTime(float time) + + .. _C_Player-EnableWeaponViewModel: + + .. cpp:function:: unknown EnableWeaponViewModel(unknown) + + .. _C_Player-Weapon-IsInCustomActivity: + + .. cpp:function:: unknown Weapon_IsInCustomActivity(unknown) + + .. _C_Player-GetClassPosCount: + + .. cpp:function:: unknown GetClassPosCount(unknown) + + .. _C_Player-GetUsePromptPosition: + + .. cpp:function:: unknown GetUsePromptPosition(unknown) + + .. _C_Player-PhaseShiftTimeRemaining: + + .. cpp:function:: float PhaseShiftTimeRemaining() + + .. _C_Player-GetWeaponAmmoLoaded: + + .. cpp:function:: int GetWeaponAmmoLoaded(entity weapon) + + .. _C_Player-Weapon-HasCustomActivity: + + .. cpp:function:: unknown Weapon_HasCustomActivity(unknown) + + .. _C_Player-IsDodging: + + .. cpp:function:: unknown IsDodging(unknown) + + .. _C_Player-IsTraversing: + + .. cpp:function:: void IsTraversing() + + .. _C_Player-IsSliding: + + .. cpp:function:: unknown IsSliding(unknown) + + .. _C_Player-SniperCam-Deactivate: + + .. cpp:function:: unknown SniperCam_Deactivate(unknown) + + .. _C_Player-PlayerMelee-SetAttackHitEntity: + + .. cpp:function:: void PlayerMelee_SetAttackHitEntity(entity ent) + + .. _C_Player-PlayerMelee-GetState: + + .. cpp:function:: int PlayerMelee_GetState() + + .. _C_Player-SetTitanEmbarkEnabled: + + .. cpp:function:: void SetTitanEmbarkEnabled(bool enabled) + + .. _C_Player-IsTalking: + + .. cpp:function:: bool IsTalking() + + .. _C_Player-Weapon-StopCustomActivity: + + .. cpp:function:: unknown Weapon_StopCustomActivity(unknown) + + .. _C_Player-GetNextTitanRespawnAvailable: + + .. cpp:function:: float GetNextTitanRespawnAvailable() + + .. _C_Player-SetTitanDisembarkEnabled: + + .. cpp:function:: void SetTitanDisembarkEnabled(bool enabled) + + .. _C_Player-Lunge-GetTargetEntity: + + .. cpp:function:: unknown Lunge_GetTargetEntity(unknown) + + .. _C_Player-Lunge-SetTargetPosition: + + .. cpp:function:: void Lunge_SetTargetPosition(vector pos) + + .. _C_Player-Lunge-GetTargetPosition: + + .. cpp:function:: unknown Lunge_GetTargetPosition(unknown) + + .. _C_Player-Lunge-SetEndPositionOffset: + + .. cpp:function:: void Lunge_SetEndPositionOffset(vector offset) + + .. _C_Player-SetOneHandedWeaponUsageOff: + + .. cpp:function:: unknown SetOneHandedWeaponUsageOff(unknown) + + .. _C_Player-Lunge-EnableFlying: + + .. cpp:function:: void Lunge_EnableFlying() + + .. _C_Player-GetPlayerNameWithClanTag: + + .. cpp:function:: string GetPlayerNameWithClanTag() + + .. _C_Player-SetRodeoLookRight: + + .. cpp:function:: unknown SetRodeoLookRight(unknown) + + .. _C_Player-IsMantling: + + .. cpp:function:: unknown IsMantling(unknown) + + .. _C_Player-PlayerMelee-GetAttackHitEntity: + + .. cpp:function:: entity PlayerMelee_GetAttackHitEntity() + + .. _C_Player-GetTitanBuildTime: + + .. cpp:function:: unknown GetTitanBuildTime(unknown) + + .. _C_Player-Code-GetActiveBurnCardIndex: + + .. cpp:function:: int Code_GetActiveBurnCardIndex() + diff --git a/docs/source/reference/respawn/entities/client/C_PlayerDecoy.rst b/docs/source/reference/respawn/entities/client/C_PlayerDecoy.rst new file mode 100644 index 00000000..f85d9e1a --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_PlayerDecoy.rst @@ -0,0 +1,12 @@ +.. _C-PlayerDecoy: + +C_PlayerDecoy +============= + +.. cpp:class:: C_PlayerDecoy extends C_BaseAnimating + + Inherits all properties from :ref:`C_BaseAnimating ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + diff --git a/docs/source/reference/respawn/entities/client/C_PointCamera.rst b/docs/source/reference/respawn/entities/client/C_PointCamera.rst new file mode 100644 index 00000000..dfb5c9c6 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_PointCamera.rst @@ -0,0 +1,40 @@ +.. _C-PointCamera: + +C_PointCamera +============= + +.. cpp:class:: C_PointCamera extends C_BaseEntity + + Inherits all properties from :ref:`C_BaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_PointCamera-SetTargetAngles: + + .. cpp:function:: unknown SetTargetAngles(unknown) + + .. _C_PointCamera-SetActive: + + .. cpp:function:: unknown SetActive(unknown) + + .. _C_PointCamera-SetFogEnable: + + .. cpp:function:: unknown SetFogEnable(unknown) + + .. _C_PointCamera-SetTargetPosition: + + .. cpp:function:: unknown SetTargetPosition(unknown) + + .. _C_PointCamera-SetTarget: + + .. cpp:function:: unknown SetTarget(unknown) + + .. _C_PointCamera-SetFOV: + + .. cpp:function:: unknown SetFOV(unknown) + + .. _C_PointCamera-SetTargetFOV: + + .. cpp:function:: unknown SetTargetFOV(unknown) + diff --git a/docs/source/reference/respawn/entities/client/C_Projectile.rst b/docs/source/reference/respawn/entities/client/C_Projectile.rst new file mode 100644 index 00000000..e1021347 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_Projectile.rst @@ -0,0 +1,115 @@ +.. _C-Projectile: + +C_Projectile +============ + +.. cpp:class:: C_Projectile extends C_BaseAnimating + + Inherits all properties from :ref:`C_BaseAnimating ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`C_BaseGrenade ` + - :ref:`C_CrossbowBolt ` + - :ref:`C_Missile ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_Projectile-ForceAdjustToGunBarrelDisabled: + + .. cpp:function:: unknown ForceAdjustToGunBarrelDisabled(unknown) + + .. _C_Projectile-GetProjectileWeaponSettingVector: + + .. cpp:function:: unknown GetProjectileWeaponSettingVector(unknown) + + .. _C_Projectile-GetProjectileCreationTimeServer: + + .. cpp:function:: unknown GetProjectileCreationTimeServer(unknown) + + .. _C_Projectile-ProjectileGetWeaponChargeLevel: + + .. cpp:function:: unknown ProjectileGetWeaponChargeLevel(unknown) + + .. _C_Projectile-GetProjectileWeaponSettingInt: + + .. cpp:function:: int GetProjectileWeaponSettingInt(string setting) + + .. _C_Projectile-SetVortexRefired: + + .. cpp:function:: void SetVortexRefired(bool refired) + + .. _C_Projectile-ProjectileGetMods: + + .. cpp:function:: array ProjectileGetMods() + + .. _C_Projectile-GetTimeToProjectileDeath: + + .. cpp:function:: unknown GetTimeToProjectileDeath(unknown) + + .. _C_Projectile-GetProjectileCreationTime: + + .. cpp:function:: float GetProjectileCreationTime() + + .. _C_Projectile-SetProjectileDestructionDistance: + + .. cpp:function:: unknown SetProjectileDestructionDistance(unknown) + + .. _C_Projectile-DamageAliveOnly: + + .. cpp:function:: unknown DamageAliveOnly(unknown) + + .. _C_Projectile-GetProjectileAllowHeadShots: + + .. cpp:function:: unknown GetProjectileAllowHeadShots(unknown) + + .. _C_Projectile-ProjectileGetRodeoDamage: + + .. cpp:function:: unknown ProjectileGetRodeoDamage(unknown) + + .. _C_Projectile-GetProjectileWeaponSettingAsset: + + .. cpp:function:: asset GetProjectileWeaponSettingAsset(string setting) + + .. _C_Projectile-GetProjectileWeaponSettingBool: + + .. cpp:function:: bool GetProjectileWeaponSettingBool(string setting) + + .. _C_Projectile-GetProjectileWeaponSettingString: + + .. cpp:function:: unknown GetProjectileWeaponSettingString(unknown) + + .. _C_Projectile-GetProjectileWeaponSettingFloat: + + .. cpp:function:: float GetProjectileWeaponSettingFloat(string setting) + + .. _C_Projectile-SetImpactEffectTable: + + .. cpp:function:: void SetImpactEffectTable(string fxTableHandle) + + .. _C_Projectile-SetReducedEffects: + + .. cpp:function:: void SetReducedEffects() + + .. _C_Projectile-SetProjectileLifetime: + + .. cpp:function:: void SetProjectileLifetime(float lifetime) + + .. _C_Projectile-SetProjectilTrailEffectIndex: + + .. cpp:function:: void SetProjectilTrailEffectIndex(int index) + + .. _C_Projectile-ProjectileGetWeaponClassName: + + .. cpp:function:: string ProjectileGetWeaponClassName() + + .. _C_Projectile-ProjectileGetWeaponInfoFileKeyFieldAsset: + + .. cpp:function:: asset ProjectileGetWeaponInfoFileKeyFieldAsset(string key) + + .. _C_Projectile-ProjectileGetWeaponInfoFileKeyField: + + .. cpp:function:: string ProjectileGetWeaponInfoFileKeyField(string key) + diff --git a/docs/source/reference/respawn/entities/client/C_RopeKeyframe.rst b/docs/source/reference/respawn/entities/client/C_RopeKeyframe.rst new file mode 100644 index 00000000..99929360 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_RopeKeyframe.rst @@ -0,0 +1,16 @@ +.. _C-RopeKeyframe: + +C_RopeKeyframe +============== + +.. cpp:class:: C_RopeKeyframe extends C_BaseEntity + + Inherits all properties from :ref:`C_BaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_RopeKeyframe-Zipline-IsEnabled: + + .. cpp:function:: unknown Zipline_IsEnabled(unknown) + diff --git a/docs/source/reference/respawn/entities/client/C_ScriptProp.rst b/docs/source/reference/respawn/entities/client/C_ScriptProp.rst new file mode 100644 index 00000000..ac431139 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_ScriptProp.rst @@ -0,0 +1,29 @@ +.. _C-ScriptProp: + +C_ScriptProp +============ + +.. cpp:class:: C_ScriptProp extends C_BaseAnimating + + Inherits all properties from :ref:`C_BaseAnimating ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`ScriptMover ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_ScriptProp-GetSmartAmmoLockType: + + .. cpp:function:: unknown GetSmartAmmoLockType(unknown) + + .. _C_ScriptProp-SetSmartAmmoLockType: + + .. cpp:function:: void SetSmartAmmoLockType(int salt) + + .. _C_ScriptProp-GetScriptPropFlags: + + .. cpp:function:: int GetScriptPropFlags() + diff --git a/docs/source/reference/respawn/entities/client/C_TitanSoul.rst b/docs/source/reference/respawn/entities/client/C_TitanSoul.rst new file mode 100644 index 00000000..d09b09f8 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_TitanSoul.rst @@ -0,0 +1,76 @@ +.. _C-TitanSoul: + +C_TitanSoul +=========== + +.. cpp:class:: C_TitanSoul extends C_BaseEntity + + Inherits all properties from :ref:`C_BaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_TitanSoul-GetStance: + + .. cpp:function:: int GetStance() + + .. _C_TitanSoul-GetCoreChargeExpireTime: + + .. cpp:function:: float GetCoreChargeExpireTime() + + .. _C_TitanSoul-GetTitanSoulNetEnt: + + .. cpp:function:: unknown GetTitanSoulNetEnt(unknown) + + .. _C_TitanSoul-GetTitanSoulNetTime: + + .. cpp:function:: unknown GetTitanSoulNetTime(unknown) + + .. _C_TitanSoul-GetNextCoreChargeAvailable: + + .. cpp:function:: float GetNextCoreChargeAvailable() + + .. _C_TitanSoul-GetTitanSoulNetFloat: + + .. cpp:function:: float GetTitanSoulNetFloat(string key) + + .. _C_TitanSoul-GetTitanSoulNetInt: + + .. cpp:function:: int GetTitanSoulNetInt(string key) + + .. _C_TitanSoul-GetTitan: + + .. cpp:function:: entity GetTitan() + + .. _C_TitanSoul-HasValidTitan: + + .. cpp:function:: bool HasValidTitan() + + .. _C_TitanSoul-IsEjecting: + + .. cpp:function:: bool IsEjecting() + + .. _C_TitanSoul-GetInvalidHealthBarEnt: + + .. cpp:function:: entity GetInvalidHealthBarEnt() + + .. _C_TitanSoul-IsDoomed: + + .. cpp:function:: bool IsDoomed() + + .. _C_TitanSoul-GetPlayerSettingsNum: + + .. cpp:function:: int GetPlayerSettingsNum() + + .. _C_TitanSoul-GetLastRodeoHitTime: + + .. cpp:function:: float GetLastRodeoHitTime() + + .. _C_TitanSoul-GetCoreChargeStartTime: + + .. cpp:function:: float GetCoreChargeStartTime() + + .. _C_TitanSoul-GetTitanSoulNetBool: + + .. cpp:function:: unknown GetTitanSoulNetBool(unknown) + diff --git a/docs/source/reference/respawn/entities/client/C_Titan_Cockpit.rst b/docs/source/reference/respawn/entities/client/C_Titan_Cockpit.rst new file mode 100644 index 00000000..57e28af7 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_Titan_Cockpit.rst @@ -0,0 +1,68 @@ +.. _C-Titan-Cockpit: + +C_Titan_Cockpit +=============== + +.. cpp:class:: C_Titan_Cockpit extends C_BaseAnimating + + Inherits all properties from :ref:`C_BaseAnimating ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_Titan_Cockpit-ClearCockpitPanelChroma: + + .. cpp:function:: unknown ClearCockpitPanelChroma(unknown) + + .. _C_Titan_Cockpit-ClearCockpitPanelTransparency: + + .. cpp:function:: unknown ClearCockpitPanelTransparency(unknown) + + .. _C_Titan_Cockpit-SetCockpitPanelTransparency: + + .. cpp:function:: unknown SetCockpitPanelTransparency(unknown) + + .. _C_Titan_Cockpit-SetCaptureScreenBeforeViewmodels: + + .. cpp:function:: void SetCaptureScreenBeforeViewmodels(bool cap) + + .. _C_Titan_Cockpit-SetCockpitFOV: + + .. cpp:function:: unknown SetCockpitFOV(unknown) + + .. _C_Titan_Cockpit-StartAnimationSequence: + + .. cpp:function:: unknown StartAnimationSequence(unknown) + + .. _C_Titan_Cockpit-AddToTitanHudDamageHistory: + + .. cpp:function:: void AddToTitanHudDamageHistory(int panel, int damage) + + .. _C_Titan_Cockpit-GetIsOpen: + + .. cpp:function:: unknown GetIsOpen(unknown) + + .. _C_Titan_Cockpit-SetIsOpen: + + .. cpp:function:: unknown SetIsOpen(unknown) + + .. _C_Titan_Cockpit-SetCockpitPanelOffsetXY: + + .. cpp:function:: unknown SetCockpitPanelOffsetXY(unknown) + + .. _C_Titan_Cockpit-SetCockpitPanelChroma: + + .. cpp:function:: unknown SetCockpitPanelChroma(unknown) + + .. _C_Titan_Cockpit-SetInteriorCameraOffset: + + .. cpp:function:: unknown SetInteriorCameraOffset(unknown) + + .. _C_Titan_Cockpit-SetOpenViewmodelOffset: + + .. cpp:function:: void SetOpenViewmodelOffset(float x, float y, float z) + + .. _C_Titan_Cockpit-GetTimeInCockpit: + + .. cpp:function:: float GetTimeInCockpit() + diff --git a/docs/source/reference/respawn/entities/client/C_VGuiScreen.rst b/docs/source/reference/respawn/entities/client/C_VGuiScreen.rst new file mode 100644 index 00000000..bc696bb8 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_VGuiScreen.rst @@ -0,0 +1,32 @@ +.. _C-VGuiScreen: + +C_VGuiScreen +============ + +.. cpp:class:: C_VGuiScreen extends C_BaseEntity + + Inherits all properties from :ref:`C_BaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_VGuiScreen-SetRefract: + + .. cpp:function:: unknown SetRefract(unknown) + + .. _C_VGuiScreen-SetSize: + + .. cpp:function:: void SetSize(float width, float height) + + .. _C_VGuiScreen-SetAlpha: + + .. cpp:function:: unknown SetAlpha(unknown) + + .. _C_VGuiScreen-SetTranslucent: + + .. cpp:function:: unknown SetTranslucent(unknown) + + .. _C_VGuiScreen-GetPanel: + + .. cpp:function:: unknown GetPanel(unknown) + diff --git a/docs/source/reference/respawn/entities/client/C_VortexSphere.rst b/docs/source/reference/respawn/entities/client/C_VortexSphere.rst new file mode 100644 index 00000000..d87e9287 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_VortexSphere.rst @@ -0,0 +1,20 @@ +.. _C-VortexSphere: + +C_VortexSphere +============== + +.. cpp:class:: C_VortexSphere extends C_BaseEntity + + Inherits all properties from :ref:`C_BaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_VortexSphere-GetProjectileAbsorbedCount: + + .. cpp:function:: int GetProjectileAbsorbedCount() + + .. _C_VortexSphere-GetBulletAbsorbedCount: + + .. cpp:function:: int GetBulletAbsorbedCount() + diff --git a/docs/source/reference/respawn/entities/client/C_WeaponX.rst b/docs/source/reference/respawn/entities/client/C_WeaponX.rst new file mode 100644 index 00000000..5cfa9907 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_WeaponX.rst @@ -0,0 +1,660 @@ +.. _C-WeaponX: + +C_WeaponX +========= + +.. cpp:class:: C_WeaponX extends C_BaseCombatWeapon + + Inherits all properties from :ref:`C_BaseCombatWeapon ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_WeaponX-HasMod: + + .. cpp:function:: bool HasMod(string mod) + + .. _C_WeaponX-GetRodeoDamage: + + .. cpp:function:: unknown GetRodeoDamage(unknown) + + .. _C_WeaponX-GetSmartAmmoWeaponType: + + .. cpp:function:: string GetSmartAmmoWeaponType() + + .. _C_WeaponX-Raise: + + .. cpp:function:: unknown Raise(unknown) + + .. _C_WeaponX-HasSilencer: + + .. cpp:function:: unknown HasSilencer(unknown) + + .. _C_WeaponX-IsDischarging: + + .. cpp:function:: unknown IsDischarging(unknown) + + .. _C_WeaponX-GetBurstFireShotsPending: + + .. cpp:function:: int GetBurstFireShotsPending() + + .. _C_WeaponX-GetNextAttackAllowedTime: + + .. cpp:function:: unknown GetNextAttackAllowedTime(unknown) + + .. _C_WeaponX-IsSustainedLaserWeapon: + + .. cpp:function:: unknown IsSustainedLaserWeapon(unknown) + + .. _C_WeaponX-GetWeaponChargeLevel: + + .. cpp:function:: float GetWeaponChargeLevel() + + .. _C_WeaponX-GetNPCMissFastPlayer: + + .. cpp:function:: unknown GetNPCMissFastPlayer(unknown) + + .. _C_WeaponX-SetModBitField: + + .. cpp:function:: unknown SetModBitField(unknown) + + .. _C_WeaponX-GetAllowHeadShots: + + .. cpp:function:: bool GetAllowHeadShots() + + .. _C_WeaponX-SmartAmmo-UntrackEntity: + + .. cpp:function:: void SmartAmmo_UntrackEntity(entity target) + + .. _C_WeaponX-SetLifetimeShotsRemaining: + + .. cpp:function:: unknown SetLifetimeShotsRemaining(unknown) + + .. _C_WeaponX-GetImpactTableIndex: + + .. cpp:function:: unknown GetImpactTableIndex(unknown) + + .. _C_WeaponX-GetWeaponExplosionDamageFlags: + + .. cpp:function:: unknown GetWeaponExplosionDamageFlags(unknown) + + .. _C_WeaponX-GetWeaponChargeTime: + + .. cpp:function:: float GetWeaponChargeTime() + + .. _C_WeaponX-SetWeaponEnergyCost: + + .. cpp:function:: void SetWeaponEnergyCost(int cost) + + .. _C_WeaponX-ShowWeapon: + + .. cpp:function:: unknown ShowWeapon(unknown) + + .. _C_WeaponX-Deploy: + + .. cpp:function:: unknown Deploy(unknown) + + .. _C_WeaponX-SetWeaponPrimaryClipCountAbsolute: + + .. cpp:function:: void SetWeaponPrimaryClipCountAbsolute(int clipsize) + + .. _C_WeaponX-GetLifetimeShotsRemaining: + + .. cpp:function:: unknown GetLifetimeShotsRemaining(unknown) + + .. _C_WeaponX-GetWeaponBurstFireCount: + + .. cpp:function:: int GetWeaponBurstFireCount() + + .. _C_WeaponX-SetSustainedDischargeFractionForced: + + .. cpp:function:: void SetSustainedDischargeFractionForced(float frac) + + .. _C_WeaponX-GetWeaponDefaultEnergyCost: + + .. cpp:function:: unknown GetWeaponDefaultEnergyCost(unknown) + + .. _C_WeaponX-GetWeaponSettingInt: + + .. cpp:function:: int GetWeaponSettingInt(int setting) + + .. _C_WeaponX-GetWeaponSettingString: + + .. cpp:function:: string GetWeaponSettingString(string setting) + + .. _C_WeaponX-PlayWeaponEffect: + + .. cpp:function:: void PlayWeaponEffect(asset effect1P, asset effect3P, string tagName) + + .. _C_WeaponX-GetWeaponSettingAsset: + + .. cpp:function:: unknown GetWeaponSettingAsset(unknown) + + .. _C_WeaponX-GetWeaponSettingVector: + + .. cpp:function:: unknown GetWeaponSettingVector(unknown) + + .. _C_WeaponX-EmitWeaponSound-1p3p: + + .. cpp:function:: void EmitWeaponSound_1p3p(string sound1P, string sound3P) + + .. _C_WeaponX-ForceRelease: + + .. cpp:function:: void ForceRelease() + + .. _C_WeaponX-GetWeaponSettingBool: + + .. cpp:function:: bool GetWeaponSettingBool(int setting) + + .. _C_WeaponX-GetWeaponClassName: + + .. cpp:function:: string GetWeaponClassName() + + .. _C_WeaponX-SetMods: + + .. cpp:function:: void SetMods(array mods) + + .. _C_WeaponX-GetMods: + + .. cpp:function:: array GetMods() + + .. _C_WeaponX-SetViewmodelAmmoModelIndex: + + .. cpp:function:: void SetViewmodelAmmoModelIndex(int index) + + .. _C_WeaponX-HideWeapon: + + .. cpp:function:: unknown HideWeapon(unknown) + + .. _C_WeaponX-IsLoadoutPickup: + + .. cpp:function:: unknown IsLoadoutPickup(unknown) + + .. _C_WeaponX-GetScriptFlags0: + + .. cpp:function:: int GetScriptFlags0() + + .. _C_WeaponX-SetScriptFlags0: + + .. cpp:function:: unknown SetScriptFlags0(unknown) + + .. _C_WeaponX-SetScriptTime0: + + .. cpp:function:: void SetScriptTime0(float gameTime) + + .. _C_WeaponX-DoMeleeHitConfirmation: + + .. cpp:function:: void DoMeleeHitConfirmation(float severityScale) + + .. _C_WeaponX-GetSustainedDischargePulseFrequency: + + .. cpp:function:: unknown GetSustainedDischargePulseFrequency(unknown) + + .. _C_WeaponX-IsReadyToFire: + + .. cpp:function:: bool IsReadyToFire() + + .. _C_WeaponX-GetSustainedDischargeDuration: + + .. cpp:function:: float GetSustainedDischargeDuration() + + .. _C_WeaponX-GetCoreDuration: + + .. cpp:function:: float GetCoreDuration() + + .. _C_WeaponX-IsInCooldown: + + .. cpp:function:: unknown IsInCooldown(unknown) + + .. _C_WeaponX-SetAttackKickRollScale: + + .. cpp:function:: void SetAttackKickRollScale(float scale) + + .. _C_WeaponX-GetWeaponDamageForce: + + .. cpp:function:: unknown GetWeaponDamageForce(unknown) + + .. _C_WeaponX-SetChargeAnimIndex: + + .. cpp:function:: void SetChargeAnimIndex(int index) + + .. _C_WeaponX-GetChargeAnimIndex: + + .. cpp:function:: int GetChargeAnimIndex() + + .. _C_WeaponX-GetInventoryIndex: + + .. cpp:function:: unknown GetInventoryIndex(unknown) + + .. _C_WeaponX-GetForcedADS: + + .. cpp:function:: unknown GetForcedADS(unknown) + + .. _C_WeaponX-SmartAmmo-GetTargets: + + .. cpp:function:: array SmartAmmo_GetTargets() + + .. _C_WeaponX-SetForcedADS: + + .. cpp:function:: void SetForcedADS() + + .. _C_WeaponX-GetChargeDuration: + + .. cpp:function:: unknown GetChargeDuration(unknown) + + .. _C_WeaponX-GetReloadMilestoneIndex: + + .. cpp:function:: int GetReloadMilestoneIndex() + + .. _C_WeaponX-GetWeaponZoomFOV: + + .. cpp:function:: unknown GetWeaponZoomFOV(unknown) + + .. _C_WeaponX-EmitWeaponSound: + + .. cpp:function:: void EmitWeaponSound(string sound) + + .. _C_WeaponX-GetGrenadeIgnitionTime: + + .. cpp:function:: unknown GetGrenadeIgnitionTime(unknown) + + .. _C_WeaponX-GetGrenadeFuseTime: + + .. cpp:function:: float GetGrenadeFuseTime() + + .. _C_WeaponX-EmitWeaponNpcSound-DontUpdateLastFiredTime: + + .. cpp:function:: void EmitWeaponNpcSound_DontUpdateLastFiredTime(int volume, float time) + + .. _C_WeaponX-GetWeaponReadyHint: + + .. cpp:function:: unknown GetWeaponReadyHint(unknown) + + .. _C_WeaponX-SetWeaponPrimaryAmmoCount: + + .. cpp:function:: void SetWeaponPrimaryAmmoCount(int count) + + .. _C_WeaponX-GetMeleeAnim3p: + + .. cpp:function:: unknown GetMeleeAnim3p(unknown) + + .. _C_WeaponX-ShouldPredictProjectiles: + + .. cpp:function:: bool ShouldPredictProjectiles() + + .. _C_WeaponX-CheckWeaponIsDisabled: + + .. cpp:function:: unknown CheckWeaponIsDisabled(unknown) + + .. _C_WeaponX-GetMeleeAttackRange: + + .. cpp:function:: float GetMeleeAttackRange() + + .. _C_WeaponX-PlayWeaponEffectReturnViewEffectHandle: + + .. cpp:function:: void PlayWeaponEffectReturnViewEffectHandle(asset fpEffect, asset unknown_purpose, string tag) + + .. _C_WeaponX-IsWeaponOffhand: + + .. cpp:function:: bool IsWeaponOffhand() + + .. _C_WeaponX-GetMeleeCanHitHumanSized: + + .. cpp:function:: bool GetMeleeCanHitHumanSized() + + .. _C_WeaponX-GetMeleeLungeTargetAngle: + + .. cpp:function:: unknown GetMeleeLungeTargetAngle(unknown) + + .. _C_WeaponX-GetMeleeLungeTargetRange: + + .. cpp:function:: float GetMeleeLungeTargetRange() + + .. _C_WeaponX-GetWeaponDamageFlags: + + .. cpp:function:: int GetWeaponDamageFlags() + + .. _C_WeaponX-SmartAmmo-GetNewTargetTime: + + .. cpp:function:: unknown SmartAmmo_GetNewTargetTime(unknown) + + .. _C_WeaponX-GetShotCount: + + .. cpp:function:: int GetShotCount() + + .. _C_WeaponX-SmartAmmo-TrackEntity: + + .. cpp:function:: void SmartAmmo_TrackEntity(entity hitEnt, LMG_SMART_AMMO_TRACKER_TIME) + + .. _C_WeaponX-GetNextAttackAllowedTimeRaw: + + .. cpp:function:: unknown GetNextAttackAllowedTimeRaw(unknown) + + .. _C_WeaponX-GetMeleeCanHitTitans: + + .. cpp:function:: bool GetMeleeCanHitTitans() + + .. _C_WeaponX-GetSmartAmmoHudLockStyle: + + .. cpp:function:: unknown GetSmartAmmoHudLockStyle(unknown) + + .. _C_WeaponX-GetModBitField: + + .. cpp:function:: unknown GetModBitField(unknown) + + .. _C_WeaponX-SetWeaponPrimaryClipCountNoRegenReset: + + .. cpp:function:: void SetWeaponPrimaryClipCountNoRegenReset(int clipsize) + + .. _C_WeaponX-AddMod: + + .. cpp:function:: void AddMod(string mod) + + .. _C_WeaponX-IsForceRelease: + + .. cpp:function:: bool IsForceRelease() + + .. _C_WeaponX-GetDamageSourceID: + + .. cpp:function:: int GetDamageSourceID() + + .. _C_WeaponX-GetWeaponSettingFloat: + + .. cpp:function:: float GetWeaponSettingFloat(int setting) + + .. _C_WeaponX-FireWeaponBullet-Special: + + .. cpp:function:: void FireWeaponBullet_Special(vector origin, vector direction, int numShots, int damageType, bool noAntilag, bool noSpread, bool onlyDamageEntitiesOnce, bool unknownPurpose, bool noTracers, bool activeShot, bool doTraceBrushOnly) + + .. _C_WeaponX-IsBurstFireInProgress: + + .. cpp:function:: bool IsBurstFireInProgress() + + .. _C_WeaponX-SmartAmmo-GetTrackedEntities: + + .. cpp:function:: array SmartAmmo_GetTrackedEntities() + + .. _C_WeaponX-IsWeaponCharging: + + .. cpp:function:: unknown IsWeaponCharging(unknown) + + .. _C_WeaponX-SetNextAttackAllowedTime: + + .. cpp:function:: void SetNextAttackAllowedTime(float time) + + .. _C_WeaponX-SmartAmmo-GetFirePosition: + + .. cpp:function:: vector SmartAmmo_GetFirePosition(entity target, int burstIndex) + + .. _C_WeaponX-SmartAmmo-GetStoredTargets: + + .. cpp:function:: array SmartAmmo_GetStoredTargets() + + .. _C_WeaponX-GetAmmoDisplay: + + .. cpp:function:: unknown GetAmmoDisplay(unknown) + + .. _C_WeaponX-ClearForcedADS: + + .. cpp:function:: void ClearForcedADS() + + .. _C_WeaponX-SetAttackKickScale: + + .. cpp:function:: unknown SetAttackKickScale(unknown) + + .. _C_WeaponX-EmitWeaponNpcSound: + + .. cpp:function:: void EmitWeaponNpcSound(int volume, float duration) + + .. _C_WeaponX-SmartAmmo-IsEnabled: + + .. cpp:function:: bool SmartAmmo_IsEnabled(bool enabled) + + .. _C_WeaponX-GetWeaponChargeTimeRemaining: + + .. cpp:function:: unknown GetWeaponChargeTimeRemaining(unknown) + + .. _C_WeaponX-GetMeleeAttackAngle: + + .. cpp:function:: unknown GetMeleeAttackAngle(unknown) + + .. _C_WeaponX-GetWeaponInfoFileKeyFieldAsset: + + .. cpp:function:: unknown GetWeaponInfoFileKeyFieldAsset(unknown) + + .. _C_WeaponX-SetWeaponChargeFractionForced: + + .. cpp:function:: void SetWeaponChargeFractionForced(float frac) + + .. _C_WeaponX-GetWeaponInfoFileKeyField: + + .. cpp:function:: var GetWeaponInfoFileKeyField(string key) + + .. _C_WeaponX-ResetWeaponToDefaultEnergyCost: + + .. cpp:function:: void ResetWeaponToDefaultEnergyCost() + + .. _C_WeaponX-GetWeaponChargeEnergyCost: + + .. cpp:function:: unknown GetWeaponChargeEnergyCost(unknown) + + .. _C_WeaponX-GetWeaponReadyToFireProgress: + + .. cpp:function:: unknown GetWeaponReadyToFireProgress(unknown) + + .. _C_WeaponX-AllowUse: + + .. cpp:function:: bool AllowUse() + + .. _C_WeaponX-GetWeaponChargeLevelMax: + + .. cpp:function:: float GetWeaponChargeLevelMax() + + .. _C_WeaponX-GetWeaponChargeFraction: + + .. cpp:function:: float GetWeaponChargeFraction() + + .. _C_WeaponX-SetWeaponBurstFireCount: + + .. cpp:function:: void SetWeaponBurstFireCount(int amount) + + .. _C_WeaponX-SmartAmmo-GetNumTrackersOnEntity: + + .. cpp:function:: int SmartAmmo_GetNumTrackersOnEntity(entity target) + + .. _C_WeaponX-GetSustainedDischargeRemainder: + + .. cpp:function:: unknown GetSustainedDischargeRemainder(unknown) + + .. _C_WeaponX-GetWeaponType: + + .. cpp:function:: int GetWeaponType() + + .. _C_WeaponX-IsWeaponAdsButtonPressed: + + .. cpp:function:: bool IsWeaponAdsButtonPressed() + + .. _C_WeaponX-IsWeaponInAds: + + .. cpp:function:: bool IsWeaponInAds() + + .. _C_WeaponX-IsReloading: + + .. cpp:function:: bool IsReloading() + + .. _C_WeaponX-GetWeaponUtilityEntity: + + .. cpp:function:: entity GetWeaponUtilityEntity() + + .. _C_WeaponX-SetLifetimeShotsRemainingInfinite: + + .. cpp:function:: unknown SetLifetimeShotsRemainingInfinite(unknown) + + .. _C_WeaponX-GetWeaponPrimaryClipCount: + + .. cpp:function:: int GetWeaponPrimaryClipCount() + + .. _C_WeaponX-SetWeaponPrimaryClipCount: + + .. cpp:function:: void SetWeaponPrimaryClipCount(int) + + .. _C_WeaponX-RemoveMod: + + .. cpp:function:: void RemoveMod(string mod) + + .. _C_WeaponX-GetWeaponPrimaryAmmoCount: + + .. cpp:function:: int GetWeaponPrimaryAmmoCount() + + .. _C_WeaponX-SmartAmmo-SetTarget: + + .. cpp:function:: unknown SmartAmmo_SetTarget(unknown) + + .. _C_WeaponX-GetAmmoPerShot: + + .. cpp:function:: int GetAmmoPerShot() + + .. _C_WeaponX-PlayWeaponEffectNoCull: + + .. cpp:function:: void PlayWeaponEffectNoCull(asset effect1P, asset effect3P, string tagName) + + .. _C_WeaponX-GetWeaponReadyMsg: + + .. cpp:function:: unknown GetWeaponReadyMsg(unknown) + + .. _C_WeaponX-GetWeaponPrimaryClipCountMax: + + .. cpp:function:: int GetWeaponPrimaryClipCountMax() + + .. _C_WeaponX-FireWeaponMissile: + + .. cpp:function:: entity FireWeaponMissile(vector origin, vector dir, float missileSpeed, int contactDamageType, int explosionDamageType, bool doPopup, bool predict) + + .. _C_WeaponX-FireWeaponGrenade: + + .. cpp:function:: entity FireWeaponGrenade(vector attackPos, vector throwVelocity, vector angularVelocity, float fuseTime, int contactDamageType, int explosionDamageType, bool isPredicted, bool isLagCompensated, bool bounce?) + + .. _C_WeaponX-FireWeaponBolt: + + .. cpp:function:: entity FireWeaponBolt(vector origin, vector dir, float projectileSpeed, int contactDamageType, int explosionDamageType, bool predict, int index) + + .. _C_WeaponX-IsNetOptimized: + + .. cpp:function:: unknown IsNetOptimized(unknown) + + .. _C_WeaponX-GetAttackPosition: + + .. cpp:function:: vector GetAttackPosition() + + .. _C_WeaponX-SetWeaponSkin: + + .. cpp:function:: void SetWeaponSkin(int skin) + + .. _C_WeaponX-StopWeaponEffect: + + .. cpp:function:: void StopWeaponEffect(asset effect1P, asset effect3P) + + .. _C_WeaponX-GetProjectilesPerShot: + + .. cpp:function:: int GetProjectilesPerShot() + + .. _C_WeaponX-SmartAmmo-SetNewTargetTime: + + .. cpp:function:: unknown SmartAmmo_SetNewTargetTime(unknown) + + .. _C_WeaponX-StopWeaponSound: + + .. cpp:function:: void StopWeaponSound(string sound) + + .. _C_WeaponX-SetWeaponCamo: + + .. cpp:function:: unknown SetWeaponCamo(unknown) + + .. _C_WeaponX-GetWeaponClass: + + .. cpp:function:: string GetWeaponClass() + + .. _C_WeaponX-IsSustainedDischargeWeapon: + + .. cpp:function:: bool IsSustainedDischargeWeapon() + + .. _C_WeaponX-TimeUntilReadyToFire: + + .. cpp:function:: unknown TimeUntilReadyToFire(unknown) + + .. _C_WeaponX-DeployInstant: + + .. cpp:function:: unknown DeployInstant(unknown) + + .. _C_WeaponX-SmartAmmo-StoreTargets: + + .. cpp:function:: void SmartAmmo_StoreTargets() + + .. _C_WeaponX-GetAttackDirection: + + .. cpp:function:: vector GetAttackDirection() + + .. _C_WeaponX-GetCurrentAltFireIndex: + + .. cpp:function:: int GetCurrentAltFireIndex() + + .. _C_WeaponX-GetMaxDamageFarDist: + + .. cpp:function:: float GetMaxDamageFarDist() + + .. _C_WeaponX-SetWeaponChargeFraction: + + .. cpp:function:: float SetWeaponChargeFraction() + + .. _C_WeaponX-IsWeaponRegenDraining: + + .. cpp:function:: bool IsWeaponRegenDraining() + + .. _C_WeaponX-GetWeaponOwner: + + .. cpp:function:: entity GetWeaponOwner() + + .. _C_WeaponX-GetWeaponCurrentEnergyCost: + + .. cpp:function:: int GetWeaponCurrentEnergyCost() + + .. _C_WeaponX-FireWeaponBullet: + + .. cpp:function:: entity FireWeaponBullet(vector origin, vector dir, int numBullets, damageType) + + .. _C_WeaponX-SmartAmmo-IsVisibleTarget: + + .. cpp:function:: bool SmartAmmo_IsVisibleTarget(entity trackedEnt) + + .. _C_WeaponX-GetDamageAmountForArmorType: + + .. cpp:function:: int GetDamageAmountForArmorType(int armor) + + .. _C_WeaponX-RegenerateAmmoReset: + + .. cpp:function:: void RegenerateAmmoReset() + + .. _C_WeaponX-GetScriptTime0: + + .. cpp:function:: float GetScriptTime0() + + .. _C_WeaponX-GetSustainedDischargeFraction: + + .. cpp:function:: unknown GetSustainedDischargeFraction(unknown) + + .. _C_WeaponX-IsChargeWeapon: + + .. cpp:function:: bool IsChargeWeapon() + + .. _C_WeaponX-SmartAmmo-GetSearchAngle: + + .. cpp:function:: unknown SmartAmmo_GetSearchAngle(unknown) + + .. _C_WeaponX-IsCooldownPending: + + .. cpp:function:: unknown IsCooldownPending(unknown) + + .. _C_WeaponX-SmartAmmo-Clear: + + .. cpp:function:: void SmartAmmo_Clear(bool unknown_purpose, bool clearPartialLocks) + diff --git a/docs/source/reference/respawn/entities/client/C_WindowHint.rst b/docs/source/reference/respawn/entities/client/C_WindowHint.rst new file mode 100644 index 00000000..4d331bee --- /dev/null +++ b/docs/source/reference/respawn/entities/client/C_WindowHint.rst @@ -0,0 +1,28 @@ +.. _C-WindowHint: + +C_WindowHint +============ + +.. cpp:class:: C_WindowHint extends C_BaseEntity + + Inherits all properties from :ref:`C_BaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _C_WindowHint-GetHalfHeight: + + .. cpp:function:: unknown GetHalfHeight(unknown) + + .. _C_WindowHint-GetHalfWidth: + + .. cpp:function:: unknown GetHalfWidth(unknown) + + .. _C_WindowHint-GetRight: + + .. cpp:function:: unknown GetRight(unknown) + + .. _C_WindowHint-GetNormal: + + .. cpp:function:: unknown GetNormal(unknown) + diff --git a/docs/source/reference/respawn/entities/client/ScriptMover.rst b/docs/source/reference/respawn/entities/client/ScriptMover.rst new file mode 100644 index 00000000..307fb432 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/ScriptMover.rst @@ -0,0 +1,44 @@ +.. _ScriptMover: + +ScriptMover +=========== + +.. cpp:class:: ScriptMover extends C_ScriptProp + + Inherits all properties from :ref:`C_ScriptProp ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _ScriptMover-NonPhysicsSetRotateModeLocal: + + .. cpp:function:: unknown NonPhysicsSetRotateModeLocal(unknown) + + .. _ScriptMover-NonPhysicsSetMoveModeLocal: + + .. cpp:function:: unknown NonPhysicsSetMoveModeLocal(unknown) + + .. _ScriptMover-NonPhysicsRotate: + + .. cpp:function:: unknown NonPhysicsRotate(unknown) + + .. _ScriptMover-NonPhysicsRotateTo: + + .. cpp:function:: unknown NonPhysicsRotateTo(unknown) + + .. _ScriptMover-NonPhysicsMoveInWorldSpaceToLocalPos: + + .. cpp:function:: unknown NonPhysicsMoveInWorldSpaceToLocalPos(unknown) + + .. _ScriptMover-NonPhysicsMoveTo: + + .. cpp:function:: unknown NonPhysicsMoveTo(unknown) + + .. _ScriptMover-NonPhysicsStop: + + .. cpp:function:: unknown NonPhysicsStop(unknown) + + .. _ScriptMover-NonPhysicsMoveWithGravity: + + .. cpp:function:: unknown NonPhysicsMoveWithGravity(unknown) + diff --git a/docs/source/reference/respawn/entities/client/index.rst b/docs/source/reference/respawn/entities/client/index.rst new file mode 100644 index 00000000..f1172e06 --- /dev/null +++ b/docs/source/reference/respawn/entities/client/index.rst @@ -0,0 +1,40 @@ +Clientside Entity Classes +========================= + +.. toctree:: + :maxdepth: 2 + + /reference/respawn/entities/client/C_BaseEntity + /reference/respawn/entities/client/C_TitanSoul + /reference/respawn/entities/client/C_AmbientGeneric + /reference/respawn/entities/client/C_BaseAnimating + /reference/respawn/entities/client/C_BaseCombatWeapon + /reference/respawn/entities/client/C_WeaponX + /reference/respawn/entities/client/C_AI_BaseNPC + /reference/respawn/entities/client/C_NPC_Dropship + /reference/respawn/entities/client/C_NPC_Titan + /reference/respawn/entities/client/C_NPC_SentryTurret + /reference/respawn/entities/client/C_Player + /reference/respawn/entities/client/C_DynamicProp + /reference/respawn/entities/client/C_ScriptProp + /reference/respawn/entities/client/ScriptMover + /reference/respawn/entities/client/C_PlayerDecoy + /reference/respawn/entities/client/C_Titan_Cockpit + /reference/respawn/entities/client/C_FirstPersonProxy + /reference/respawn/entities/client/C_Projectile + /reference/respawn/entities/client/C_BaseGrenade + /reference/respawn/entities/client/C_CrossbowBolt + /reference/respawn/entities/client/C_Missile + /reference/respawn/entities/client/C_CascadeLight + /reference/respawn/entities/client/C_DynamicLight + /reference/respawn/entities/client/C_HardPointEntity + /reference/respawn/entities/client/C_PointCamera + /reference/respawn/entities/client/C_RopeKeyframe + /reference/respawn/entities/client/C_VGuiScreen + /reference/respawn/entities/client/C_VortexSphere + /reference/respawn/entities/client/C_WindowHint + /reference/respawn/entities/client/CClientHudElement + /reference/respawn/entities/client/CCockpitLightsMaterialProxy + /reference/respawn/entities/client/CHud + /reference/respawn/entities/client/CScriptDamageInfo + diff --git a/docs/source/reference/respawn/entities/server/CAI_BaseActor.rst b/docs/source/reference/respawn/entities/server/CAI_BaseActor.rst new file mode 100644 index 00000000..97eb8c19 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CAI_BaseActor.rst @@ -0,0 +1,12 @@ +.. _CAI-BaseActor: + +CAI_BaseActor +============= + +.. cpp:class:: CAI_BaseActor extends CAI_BaseNPC + + Inherits all properties from :ref:`CAI_BaseNPC ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + diff --git a/docs/source/reference/respawn/entities/server/CAI_BaseNPC.rst b/docs/source/reference/respawn/entities/server/CAI_BaseNPC.rst new file mode 100644 index 00000000..c841c973 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CAI_BaseNPC.rst @@ -0,0 +1,729 @@ +.. _CAI-BaseNPC: + +CAI_BaseNPC +=========== + +.. cpp:class:: CAI_BaseNPC extends CBaseCombatCharacter + + Inherits all properties from :ref:`CBaseCombatCharacter ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`CNPC_SentryTurret ` + - :ref:`CNPC_Titan ` + - :ref:`CNPC_Drone ` + - :ref:`CAI_BaseActor ` + - :ref:`CAI_TrackPather ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CAI_BaseNPC-TakeActiveWeapon: + + .. cpp:function:: unknown TakeActiveWeapon(unknown) + + .. _CAI_BaseNPC-GetClosestEnemyNPC: + + .. cpp:function:: unknown GetClosestEnemyNPC(unknown) + + .. _CAI_BaseNPC-AISetting-MeleeChargeSet: + + .. cpp:function:: unknown AISetting_MeleeChargeSet(unknown) + + .. _CAI_BaseNPC-GetNPCViewUp: + + .. cpp:function:: unknown GetNPCViewUp(unknown) + + .. _CAI_BaseNPC-AssaultPoint: + + .. cpp:function:: void AssaultPoint(vector point) + + .. _CAI_BaseNPC-DisableArrivalOnce: + + .. cpp:function:: unknown DisableArrivalOnce(unknown) + + .. _CAI_BaseNPC-SetAutoSquad: + + .. cpp:function:: unknown SetAutoSquad(unknown) + + .. _CAI_BaseNPC-Anim-ScriptedPlayWithRefPoint: + + .. cpp:function:: unknown Anim_ScriptedPlayWithRefPoint(unknown) + + .. _CAI_BaseNPC-Anim-ScriptedAddGestureActivity: + + .. cpp:function:: unknown Anim_ScriptedAddGestureActivity(unknown) + + .. _CAI_BaseNPC-IsInsideIndoorArea: + + .. cpp:function:: unknown IsInsideIndoorArea(unknown) + + .. _CAI_BaseNPC-RemoveFromFireteam: + + .. cpp:function:: unknown RemoveFromFireteam(unknown) + + .. _CAI_BaseNPC-DisableBehavior: + + .. cpp:function:: void DisableBehavior(string behaviour) + + .. _CAI_BaseNPC-AssaultClearArrivalTolerance: + + .. cpp:function:: unknown AssaultClearArrivalTolerance(unknown) + + .. _CAI_BaseNPC-AISetting-OnLeechFunc: + + .. cpp:function:: unknown AISetting_OnLeechFunc(unknown) + + .. _CAI_BaseNPC-SetHologram: + + .. cpp:function:: unknown SetHologram(unknown) + + .. _CAI_BaseNPC-SetMoveAnim: + + .. cpp:function:: unknown SetMoveAnim(unknown) + + .. _CAI_BaseNPC-AssaultPointClampedExtents: + + .. cpp:function:: unknown AssaultPointClampedExtents(unknown) + + .. _CAI_BaseNPC-ClearAllEnemyMemory: + + .. cpp:function:: unknown ClearAllEnemyMemory(unknown) + + .. _CAI_BaseNPC-EnableNPCFlag: + + .. cpp:function:: void EnableNPCFlag(int flag) + + .. _CAI_BaseNPC-SetEngagementDistVsStrong: + + .. cpp:function:: unknown SetEngagementDistVsStrong(unknown) + + .. _CAI_BaseNPC-TestAnimPath: + + .. cpp:function:: unknown TestAnimPath(unknown) + + .. _CAI_BaseNPC-GetSettingModelName: + + .. cpp:function:: unknown GetSettingModelName(unknown) + + .. _CAI_BaseNPC-GetLookDist: + + .. cpp:function:: unknown GetLookDist(unknown) + + .. _CAI_BaseNPC-GetAIClass: + + .. cpp:function:: int GetAIClass() + + .. _CAI_BaseNPC-GetSurprisedReactionReason: + + .. cpp:function:: unknown GetSurprisedReactionReason(unknown) + + .. _CAI_BaseNPC-ForceCombat: + + .. cpp:function:: void ForceCombat() + + .. _CAI_BaseNPC-HasAISettings: + + .. cpp:function:: unknown HasAISettings(unknown) + + .. _CAI_BaseNPC-GetEnemyLKP: + + .. cpp:function:: unknown GetEnemyLKP(unknown) + + .. _CAI_BaseNPC-SetSubclass: + + .. cpp:function:: unknown SetSubclass(unknown) + + .. _CAI_BaseNPC-GetNPCFlag: + + .. cpp:function:: unknown GetNPCFlag(unknown) + + .. _CAI_BaseNPC-GetSubclass: + + .. cpp:function:: unknown GetSubclass(unknown) + + .. _CAI_BaseNPC-SetAllowMelee: + + .. cpp:function:: unknown SetAllowMelee(unknown) + + .. _CAI_BaseNPC-SetPotentialThreatPos: + + .. cpp:function:: unknown SetPotentialThreatPos(unknown) + + .. _CAI_BaseNPC-SetNPCFlag: + + .. cpp:function:: unknown SetNPCFlag(unknown) + + .. _CAI_BaseNPC-ClearPotentialThreatPos: + + .. cpp:function:: unknown ClearPotentialThreatPos(unknown) + + .. _CAI_BaseNPC-CanBeMeleeExecuted: + + .. cpp:function:: unknown CanBeMeleeExecuted(unknown) + + .. _CAI_BaseNPC-SetBehaviorSelector: + + .. cpp:function:: unknown SetBehaviorSelector(unknown) + + .. _CAI_BaseNPC-SetFollowGoalTolerance: + + .. cpp:function:: unknown SetFollowGoalTolerance(unknown) + + .. _CAI_BaseNPC-AssaultSetAngles: + + .. cpp:function:: unknown AssaultSetAngles(unknown) + + .. _CAI_BaseNPC-Anim-ScriptedPlayActivityByName: + + .. cpp:function:: void Anim_ScriptedPlayActivityByName(string activity, bool unknown_purpose1, float unknown_purpose2) + + .. _CAI_BaseNPC-SetCanBeMeleeExecuted: + + .. cpp:function:: unknown SetCanBeMeleeExecuted(unknown) + + .. _CAI_BaseNPC-ForceCheckGroundEntity: + + .. cpp:function:: void ForceCheckGroundEntity() + + .. _CAI_BaseNPC-AssaultSetGoalHeight: + + .. cpp:function:: unknown AssaultSetGoalHeight(unknown) + + .. _CAI_BaseNPC-Dev-GetAISettingAssetByKeyField: + + .. cpp:function:: unknown Dev_GetAISettingAssetByKeyField(unknown) + + .. _CAI_BaseNPC-GetHearingSensitivity: + + .. cpp:function:: unknown GetHearingSensitivity(unknown) + + .. _CAI_BaseNPC-GetClosestEnemyPlayer: + + .. cpp:function:: unknown GetClosestEnemyPlayer(unknown) + + .. _CAI_BaseNPC-GetCapabilityFlag: + + .. cpp:function:: unknown GetCapabilityFlag(unknown) + + .. _CAI_BaseNPC-GetAIClassName: + + .. cpp:function:: unknown GetAIClassName(unknown) + + .. _CAI_BaseNPC-IsInterruptable: + + .. cpp:function:: bool IsInterruptable() + + .. _CAI_BaseNPC-EnableBehavior: + + .. cpp:function:: void EnableBehavior(string behaviour) + + .. _CAI_BaseNPC-GetDangerousAreaWeapon: + + .. cpp:function:: unknown GetDangerousAreaWeapon(unknown) + + .. _CAI_BaseNPC-SetCanBeGroundExecuted: + + .. cpp:function:: unknown SetCanBeGroundExecuted(unknown) + + .. _CAI_BaseNPC-InitFollowBehavior: + + .. cpp:function:: void InitFollowBehavior(entity followMe, string followBehaviour) + + .. _CAI_BaseNPC-ClearHologram: + + .. cpp:function:: unknown ClearHologram(unknown) + + .. _CAI_BaseNPC-SetAllowSpecialJump: + + .. cpp:function:: unknown SetAllowSpecialJump(unknown) + + .. _CAI_BaseNPC-SetGoalEnt: + + .. cpp:function:: unknown SetGoalEnt(unknown) + + .. _CAI_BaseNPC-ClearEnemyMemory: + + .. cpp:function:: unknown ClearEnemyMemory(unknown) + + .. _CAI_BaseNPC-DisableLookDistOverride: + + .. cpp:function:: unknown DisableLookDistOverride(unknown) + + .. _CAI_BaseNPC-SetFollowTargetMoveTolerance: + + .. cpp:function:: unknown SetFollowTargetMoveTolerance(unknown) + + .. _CAI_BaseNPC-CanSee: + + .. cpp:function:: bool CanSee(entity ent) + + .. _CAI_BaseNPC-GetBodyType: + + .. cpp:function:: string GetBodyType() + + .. _CAI_BaseNPC-SetFollowGoalCombatTolerance: + + .. cpp:function:: unknown SetFollowGoalCombatTolerance(unknown) + + .. _CAI_BaseNPC-TimeSinceKnown: + + .. cpp:function:: unknown TimeSinceKnown(unknown) + + .. _CAI_BaseNPC-SetAttackAnim: + + .. cpp:function:: unknown SetAttackAnim(unknown) + + .. _CAI_BaseNPC-GetNearestVisibleFriendlyPlayer: + + .. cpp:function:: unknown GetNearestVisibleFriendlyPlayer(unknown) + + .. _CAI_BaseNPC-AssaultGetGoalRadius: + + .. cpp:function:: unknown AssaultGetGoalRadius(unknown) + + .. _CAI_BaseNPC-UseSequenceBounds: + + .. cpp:function:: unknown UseSequenceBounds(unknown) + + .. _CAI_BaseNPC-GetAISettingsName: + + .. cpp:function:: string GetAISettingsName() + + .. _CAI_BaseNPC-GetSafeHint: + + .. cpp:function:: unknown GetSafeHint(unknown) + + .. _CAI_BaseNPC-IsAtShootingCoverHint: + + .. cpp:function:: unknown IsAtShootingCoverHint(unknown) + + .. _CAI_BaseNPC-SetAlert: + + .. cpp:function:: unknown SetAlert(unknown) + + .. _CAI_BaseNPC-Dev-GetAISettingByKeyField: + + .. cpp:function:: var Dev_GetAISettingByKeyField(string key) + + .. _CAI_BaseNPC-DisableNPCFlag: + + .. cpp:function:: void DisableNPCFlag(int flag) + + .. _CAI_BaseNPC-SetDangerousAreaRadius: + + .. cpp:function:: unknown SetDangerousAreaRadius(unknown) + + .. _CAI_BaseNPC-SetValidHealthBarTarget: + + .. cpp:function:: unknown SetValidHealthBarTarget(unknown) + + .. _CAI_BaseNPC-AssaultSetFightRadius: + + .. cpp:function:: unknown AssaultSetFightRadius(unknown) + + .. _CAI_BaseNPC-IsNonCombatAI: + + .. cpp:function:: unknown IsNonCombatAI(unknown) + + .. _CAI_BaseNPC-InCombat: + + .. cpp:function:: bool InCombat() + + .. _CAI_BaseNPC-SetSecondaryEnemy: + + .. cpp:function:: void SetSecondaryEnemy(entity enemy) + + .. _CAI_BaseNPC-AISetting-SummonDrone: + + .. cpp:function:: unknown AISetting_SummonDrone(unknown) + + .. _CAI_BaseNPC-GetNPCVelocity: + + .. cpp:function:: unknown GetNPCVelocity(unknown) + + .. _CAI_BaseNPC-SetCapabilityFlag: + + .. cpp:function:: void SetCapabilityFlag(int flag, bool active) + + .. _CAI_BaseNPC-SquadLastKnownPosition: + + .. cpp:function:: unknown SquadLastKnownPosition(unknown) + + .. _CAI_BaseNPC-LastSeenPosition: + + .. cpp:function:: unknown LastSeenPosition(unknown) + + .. _CAI_BaseNPC-LastKnownPosition: + + .. cpp:function:: unknown LastKnownPosition(unknown) + + .. _CAI_BaseNPC-GetMaxTurretYaw: + + .. cpp:function:: float GetMaxTurretYaw() + + .. _CAI_BaseNPC-GetMinGoalRadius: + + .. cpp:function:: unknown GetMinGoalRadius(unknown) + + .. _CAI_BaseNPC-GetMaxEnemyDistHeavyArmor: + + .. cpp:function:: float GetMaxEnemyDistHeavyArmor() + + .. _CAI_BaseNPC-GetMaxEnemyDist: + + .. cpp:function:: float GetMaxEnemyDist() + + .. _CAI_BaseNPC-GetNPCViewRight: + + .. cpp:function:: unknown GetNPCViewRight(unknown) + + .. _CAI_BaseNPC-CanBeGroundExecuted: + + .. cpp:function:: unknown CanBeGroundExecuted(unknown) + + .. _CAI_BaseNPC-GetNPCViewForward: + + .. cpp:function:: unknown GetNPCViewForward(unknown) + + .. _CAI_BaseNPC-Anim-ScriptedRemoveAllGestures: + + .. cpp:function:: unknown Anim_ScriptedRemoveAllGestures(unknown) + + .. _CAI_BaseNPC-Anim-ScriptedRemoveGestureActivity: + + .. cpp:function:: unknown Anim_ScriptedRemoveGestureActivity(unknown) + + .. _CAI_BaseNPC-Anim-ScriptedAddGestureSequence: + + .. cpp:function:: unknown Anim_ScriptedAddGestureSequence(unknown) + + .. _CAI_BaseNPC-AISetting-LeechAnimSet: + + .. cpp:function:: string AISetting_LeechAnimSet() + + .. _CAI_BaseNPC-Anim-ScriptedJump: + + .. cpp:function:: unknown Anim_ScriptedJump(unknown) + + .. _CAI_BaseNPC-Anim-ScriptedPlay: + + .. cpp:function:: void Anim_ScriptedPlay(string anim) + + .. _CAI_BaseNPC-GetMeleeDamageMaxForTarget: + + .. cpp:function:: int GetMeleeDamageMaxForTarget(entity target) + + .. _CAI_BaseNPC-AISetting-ShootableByFriendlyPlayer: + + .. cpp:function:: unknown AISetting_ShootableByFriendlyPlayer(unknown) + + .. _CAI_BaseNPC-SetAISettings: + + .. cpp:function:: void SetAISettings(string settings) + + .. _CAI_BaseNPC-AISetting-LeechAnimTag: + + .. cpp:function:: unknown AISetting_LeechAnimTag(unknown) + + .. _CAI_BaseNPC-AISetting-GetGrenadeWeapon: + + .. cpp:function:: unknown AISetting_GetGrenadeWeapon(unknown) + + .. _CAI_BaseNPC-AISetting-GetDefaultWeapon: + + .. cpp:function:: unknown AISetting_GetDefaultWeapon(unknown) + + .. _CAI_BaseNPC-AISetting-MaxFlyingSpeed: + + .. cpp:function:: float AISetting_MaxFlyingSpeed() + + .. _CAI_BaseNPC-AISetting-BaseHealth: + + .. cpp:function:: unknown AISetting_BaseHealth(unknown) + + .. _CAI_BaseNPC-IsSecondaryAttack: + + .. cpp:function:: bool IsSecondaryAttack() + + .. _CAI_BaseNPC-IsValidHealthBarTarget: + + .. cpp:function:: unknown IsValidHealthBarTarget(unknown) + + .. _CAI_BaseNPC-GetNPCMoveFlag: + + .. cpp:function:: unknown GetNPCMoveFlag(unknown) + + .. _CAI_BaseNPC-SetNPCMoveFlag: + + .. cpp:function:: unknown SetNPCMoveFlag(unknown) + + .. _CAI_BaseNPC-GetNPCState: + + .. cpp:function:: string GetNPCState() + + .. _CAI_BaseNPC-EnableNPCMoveFlag: + + .. cpp:function:: void EnableNPCMoveFlag(int flag) + + .. _CAI_BaseNPC-DisableNPCMoveFlag: + + .. cpp:function:: void DisableNPCMoveFlag(int flag) + + .. _CAI_BaseNPC-IsFrozen: + + .. cpp:function:: unknown IsFrozen(unknown) + + .. _CAI_BaseNPC-Unfreeze: + + .. cpp:function:: void Unfreeze() + + .. _CAI_BaseNPC-Freeze: + + .. cpp:function:: void Freeze() + + .. _CAI_BaseNPC-SetAimAssistForcePullPitchEnabled: + + .. cpp:function:: unknown SetAimAssistForcePullPitchEnabled(unknown) + + .. _CAI_BaseNPC-ClearDeathActivity: + + .. cpp:function:: unknown ClearDeathActivity(unknown) + + .. _CAI_BaseNPC-SetLookDistOverride: + + .. cpp:function:: unknown SetLookDistOverride(unknown) + + .. _CAI_BaseNPC-DoRodeoAttack: + + .. cpp:function:: unknown DoRodeoAttack(unknown) + + .. _CAI_BaseNPC-SetThinkEveryFrame: + + .. cpp:function:: void SetThinkEveryFrame(bool think) + + .. _CAI_BaseNPC-SetDefaultSchedule: + + .. cpp:function:: unknown SetDefaultSchedule(unknown) + + .. _CAI_BaseNPC-GetCurScheduleName: + + .. cpp:function:: unknown GetCurScheduleName(unknown) + + .. _CAI_BaseNPC-GetPrevScheduleName: + + .. cpp:function:: unknown GetPrevScheduleName(unknown) + + .. _CAI_BaseNPC-SetEnemyChangeCallback: + + .. cpp:function:: unknown SetEnemyChangeCallback(unknown) + + .. _CAI_BaseNPC-AssaultSetArrivalTolerance: + + .. cpp:function:: unknown AssaultSetArrivalTolerance(unknown) + + .. _CAI_BaseNPC-ClearEnemy: + + .. cpp:function:: void ClearEnemy(entity enemy) + + .. _CAI_BaseNPC-LockEnemy: + + .. cpp:function:: unknown LockEnemy(unknown) + + .. _CAI_BaseNPC-SetEnemy: + + .. cpp:function:: void SetEnemy(entity enemy) + + .. _CAI_BaseNPC-SetEnemyLKP: + + .. cpp:function:: unknown SetEnemyLKP(unknown) + + .. _CAI_BaseNPC-SetHullType: + + .. cpp:function:: unknown SetHullType(unknown) + + .. _CAI_BaseNPC-Anim-AdvanceCycleEveryFrame: + + .. cpp:function:: unknown Anim_AdvanceCycleEveryFrame(unknown) + + .. _CAI_BaseNPC-SetDeathActivity: + + .. cpp:function:: unknown SetDeathActivity(unknown) + + .. _CAI_BaseNPC-ClearAttackAnim: + + .. cpp:function:: unknown ClearAttackAnim(unknown) + + .. _CAI_BaseNPC-ClearIdleAnim: + + .. cpp:function:: unknown ClearIdleAnim(unknown) + + .. _CAI_BaseNPC-SetIdleAnim: + + .. cpp:function:: unknown SetIdleAnim(unknown) + + .. _CAI_BaseNPC-GetPrevNPCState: + + .. cpp:function:: unknown GetPrevNPCState(unknown) + + .. _CAI_BaseNPC-GetAllowMelee: + + .. cpp:function:: unknown GetAllowMelee(unknown) + + .. _CAI_BaseNPC-AssaultSetFinalDestination: + + .. cpp:function:: unknown AssaultSetFinalDestination(unknown) + + .. _CAI_BaseNPC-SetHearingSensitivity: + + .. cpp:function:: unknown SetHearingSensitivity(unknown) + + .. _CAI_BaseNPC-SetEngagementDistVsWeak: + + .. cpp:function:: unknown SetEngagementDistVsWeak(unknown) + + .. _CAI_BaseNPC-GetLookDistOverride: + + .. cpp:function:: unknown GetLookDistOverride(unknown) + + .. _CAI_BaseNPC-SetRodeoAllowed: + + .. cpp:function:: unknown SetRodeoAllowed(unknown) + + .. _CAI_BaseNPC-GetSquadEnemy: + + .. cpp:function:: unknown GetSquadEnemy(unknown) + + .. _CAI_BaseNPC-TimeSinceSeen: + + .. cpp:function:: unknown TimeSinceSeen(unknown) + + .. _CAI_BaseNPC-GetGoalEnt: + + .. cpp:function:: unknown GetGoalEnt(unknown) + + .. _CAI_BaseNPC-GetTimeFirstAttackAfterReacquire: + + .. cpp:function:: unknown GetTimeFirstAttackAfterReacquire(unknown) + + .. _CAI_BaseNPC-GetEnemyLSP: + + .. cpp:function:: unknown GetEnemyLSP(unknown) + + .. _CAI_BaseNPC-GetEnemy: + + .. cpp:function:: entity GetEnemy() + + .. _CAI_BaseNPC-SetSquad: + + .. cpp:function:: unknown SetSquad(unknown) + + .. _CAI_BaseNPC-GetSquadCentroid: + + .. cpp:function:: unknown GetSquadCentroid(unknown) + + .. _CAI_BaseNPC-GetClosestEnemy: + + .. cpp:function:: unknown GetClosestEnemy(unknown) + + .. _CAI_BaseNPC-SetActivityModifier: + + .. cpp:function:: unknown SetActivityModifier(unknown) + + .. _CAI_BaseNPC-AssaultGetArrivalTolerance: + + .. cpp:function:: unknown AssaultGetArrivalTolerance(unknown) + + .. _CAI_BaseNPC-AISetting-LeechDataKnifeTag: + + .. cpp:function:: string AISetting_LeechDataKnifeTag() + + .. _CAI_BaseNPC-SetDangerousAreaReactionTime: + + .. cpp:function:: unknown SetDangerousAreaReactionTime(unknown) + + .. _CAI_BaseNPC-GetSettingTitle: + + .. cpp:function:: unknown GetSettingTitle(unknown) + + .. _CAI_BaseNPC-AssaultSetGoalRadius: + + .. cpp:function:: unknown AssaultSetGoalRadius(unknown) + + .. _CAI_BaseNPC-GetFollowTarget: + + .. cpp:function:: entity GetFollowTarget() + + .. _CAI_BaseNPC-SetEfficientMode: + + .. cpp:function:: unknown SetEfficientMode(unknown) + + .. _CAI_BaseNPC-TestAnimPathFrom: + + .. cpp:function:: unknown TestAnimPathFrom(unknown) + + .. _CAI_BaseNPC-AssaultPointToAnimSetCallback: + + .. cpp:function:: unknown AssaultPointToAnimSetCallback(unknown) + + .. _CAI_BaseNPC-RequestSpecialRangeAttack: + + .. cpp:function:: unknown RequestSpecialRangeAttack(unknown) + + .. _CAI_BaseNPC-AssaultPointClamped: + + .. cpp:function:: unknown AssaultPointClamped(unknown) + + .. _CAI_BaseNPC-HasXRaySupport: + + .. cpp:function:: bool HasXRaySupport() + + .. _CAI_BaseNPC-AddToFireteam: + + .. cpp:function:: unknown AddToFireteam(unknown) + + .. _CAI_BaseNPC-IsActivityModifierActive: + + .. cpp:function:: unknown IsActivityModifierActive(unknown) + + .. _CAI_BaseNPC-InitSquadAssaultInterupt: + + .. cpp:function:: unknown InitSquadAssaultInterupt(unknown) + + .. _CAI_BaseNPC-Anim-ScriptedPlayActivityByNameWithRefPoint: + + .. cpp:function:: unknown Anim_ScriptedPlayActivityByNameWithRefPoint(unknown) + + .. _CAI_BaseNPC-GetNPCViewVector: + + .. cpp:function:: unknown GetNPCViewVector(unknown) + + .. _CAI_BaseNPC-AssaultGetGoalHeight: + + .. cpp:function:: unknown AssaultGetGoalHeight(unknown) + + .. _CAI_BaseNPC-GetEnemyLastTimeSeen: + + .. cpp:function:: unknown GetEnemyLastTimeSeen(unknown) + + .. _CAI_BaseNPC-AssaultGetFightRadius: + + .. cpp:function:: unknown AssaultGetFightRadius(unknown) + + .. _CAI_BaseNPC-SetNPCMoveSpeedScale: + + .. cpp:function:: unknown SetNPCMoveSpeedScale(unknown) + + .. _CAI_BaseNPC-IsCrouching: + + .. cpp:function:: bool IsCrouching() + + .. _CAI_BaseNPC-AssaultPointToAnim: + + .. cpp:function:: unknown AssaultPointToAnim(unknown) + + .. _CAI_BaseNPC-ClearMoveAnim: + + .. cpp:function:: unknown ClearMoveAnim(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CAI_Hint.rst b/docs/source/reference/respawn/entities/server/CAI_Hint.rst new file mode 100644 index 00000000..f90cc0f1 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CAI_Hint.rst @@ -0,0 +1,24 @@ +.. _CAI-Hint: + +CAI_Hint +======== + +.. cpp:class:: CAI_Hint extends CBaseEntity + + Inherits all properties from :ref:`CBaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CAI_Hint-GetHintGenericType: + + .. cpp:function:: unknown GetHintGenericType(unknown) + + .. _CAI_Hint-SetHintDisabled: + + .. cpp:function:: unknown SetHintDisabled(unknown) + + .. _CAI_Hint-GetHintType: + + .. cpp:function:: unknown GetHintType(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CAI_SkitNode.rst b/docs/source/reference/respawn/entities/server/CAI_SkitNode.rst new file mode 100644 index 00000000..6002dc9c --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CAI_SkitNode.rst @@ -0,0 +1,20 @@ +.. _CAI-SkitNode: + +CAI_SkitNode +============ + +.. cpp:class:: CAI_SkitNode extends CBaseEntity + + Inherits all properties from :ref:`CBaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CAI_SkitNode-SetReserved: + + .. cpp:function:: unknown SetReserved(unknown) + + .. _CAI_SkitNode-IsReserved: + + .. cpp:function:: unknown IsReserved(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CAI_TrackPather.rst b/docs/source/reference/respawn/entities/server/CAI_TrackPather.rst new file mode 100644 index 00000000..54bb2420 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CAI_TrackPather.rst @@ -0,0 +1,41 @@ +.. _CAI-TrackPather: + +CAI_TrackPather +=============== + +.. cpp:class:: CAI_TrackPather extends CAI_BaseNPC + + Inherits all properties from :ref:`CAI_BaseNPC ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`CBaseHelicopter ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CAI_TrackPather-FlyPath: + + .. cpp:function:: unknown FlyPath(unknown) + + .. _CAI_TrackPather-FlyToPointToAnim: + + .. cpp:function:: unknown FlyToPointToAnim(unknown) + + .. _CAI_TrackPather-FlyToPoint: + + .. cpp:function:: unknown FlyToPoint(unknown) + + .. _CAI_TrackPather-FlyToNodeUseNodeSpeed: + + .. cpp:function:: unknown FlyToNodeUseNodeSpeed(unknown) + + .. _CAI_TrackPather-FlyToNodeViaPath: + + .. cpp:function:: unknown FlyToNodeViaPath(unknown) + + .. _CAI_TrackPather-FlyPathBackward: + + .. cpp:function:: unknown FlyPathBackward(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CBaseAnimating.rst b/docs/source/reference/respawn/entities/server/CBaseAnimating.rst new file mode 100644 index 00000000..e4797be5 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CBaseAnimating.rst @@ -0,0 +1,298 @@ +.. _CBaseAnimating: + +CBaseAnimating +============== + +.. cpp:class:: CBaseAnimating extends CBaseEntity + + Inherits all properties from :ref:`CBaseEntity ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`CProjectile ` + - :ref:`CFirstPersonProxy ` + - :ref:`CDynamicProp ` + - :ref:`CPlayerDecoy ` + - :ref:`CBaseCombatWeapon ` + - :ref:`CBaseCombatCharacter ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CBaseAnimating-Anim-IsActive: + + .. cpp:function:: bool Anim_IsActive() + + .. _CBaseAnimating-GetAttachmentForward: + + .. cpp:function:: vector GetAttachmentForward(int attachID) + + .. _CBaseAnimating-Code-Anim-Stop: + + .. cpp:function:: unknown Code_Anim_Stop(unknown) + + .. _CBaseAnimating-Anim-DisableAnimDelta: + + .. cpp:function:: unknown Anim_DisableAnimDelta(unknown) + + .. _CBaseAnimating-Anim-DisableSequenceTransition: + + .. cpp:function:: unknown Anim_DisableSequenceTransition(unknown) + + .. _CBaseAnimating-Anim-EnablePlanting: + + .. cpp:function:: void Anim_EnablePlanting() + + .. _CBaseAnimating-SetPoseParameter: + + .. cpp:function:: void SetPoseParameter(int pose, float offset) + + .. _CBaseAnimating-GetAnimEndPos: + + .. cpp:function:: unknown GetAnimEndPos(unknown) + + .. _CBaseAnimating-Anim-GetStartForRefPoint-Old: + + .. cpp:function:: vector Anim_GetStartForRefPoint_Old(animation, origin, angles) + + .. _CBaseAnimating-ClearDoomed: + + .. cpp:function:: unknown ClearDoomed(unknown) + + .. _CBaseAnimating-Anim-GetStartForRefEntity: + + .. cpp:function:: unknown Anim_GetStartForRefEntity(unknown) + + .. _CBaseAnimating-Anim-NonScriptedPlay: + + .. cpp:function:: void Anim_NonScriptedPlay(string animation) + + .. _CBaseAnimating-DissolveStop: + + .. cpp:function:: unknown DissolveStop(unknown) + + .. _CBaseAnimating-SetDoFaceAnimations: + + .. cpp:function:: unknown SetDoFaceAnimations(unknown) + + .. _CBaseAnimating-PlayRecordedAnimation: + + .. cpp:function:: void PlayRecordedAnimation(asset animation, vector unknown_purpose1, vecor unknown_purpose2, float blendTime, entity ref) + + .. _CBaseAnimating-Anim-Play: + + .. cpp:function:: void Anim_Play(string anim) + + .. _CBaseAnimating-Anim-GetStartForRefEntity-Old: + + .. cpp:function:: vector Anim_GetStartForRefEntity_Old(string anim, vector reference, string optionalTag) + + .. _CBaseAnimating-Anim-GetStartForRefPoint: + + .. cpp:function:: AnimRefPoint Anim_GetStartForRefPoint(string anim, vector origin, vector angles) + + .. _CBaseAnimating-SetPlaybackRate: + + .. cpp:function:: void SetPlaybackRate(float rate) + + .. _CBaseAnimating-GetCycle: + + .. cpp:function:: unknown GetCycle(unknown) + + .. _CBaseAnimating-SetRecordedAnimationPlaybackRate: + + .. cpp:function:: void SetRecordedAnimationPlaybackRate(float rate) + + .. _CBaseAnimating-LerpSkyScale: + + .. cpp:function:: void LerpSkyScale(float skyScale, float time) + + .. _CBaseAnimating-GetAnimEventCycleFrac: + + .. cpp:function:: unknown GetAnimEventCycleFrac(unknown) + + .. _CBaseAnimating-DisableFastPathRendering: + + .. cpp:function:: unknown DisableFastPathRendering(unknown) + + .. _CBaseAnimating-IsDissolving: + + .. cpp:function:: unknown IsDissolving(unknown) + + .. _CBaseAnimating-DissolveNonLethal: + + .. cpp:function:: unknown DissolveNonLethal(unknown) + + .. _CBaseAnimating-Dissolve: + + .. cpp:function:: void Dissolve(int dissolveID, vector normal, int unknown_purpose) + + .. _CBaseAnimating-Gib: + + .. cpp:function:: void Gib(vector forceVec) + + .. _CBaseAnimating-SetContinueAnimatingAfterRagdoll: + + .. cpp:function:: void SetContinueAnimatingAfterRagdoll(bool cont) + + .. _CBaseAnimating-SetRagdollImpactFX: + + .. cpp:function:: unknown SetRagdollImpactFX(unknown) + + .. _CBaseAnimating-GetDecal: + + .. cpp:function:: unknown GetDecal(unknown) + + .. _CBaseAnimating-SetDecal: + + .. cpp:function:: unknown SetDecal(unknown) + + .. _CBaseAnimating-SetCamo: + + .. cpp:function:: unknown SetCamo(unknown) + + .. _CBaseAnimating-GetCamo: + + .. cpp:function:: unknown GetCamo(unknown) + + .. _CBaseAnimating-SetSkin: + + .. cpp:function:: void SetSkin(int skin) + + .. _CBaseAnimating-LookupPoseParameterIndex: + + .. cpp:function:: int LookupPoseParameterIndex(string poseParam) + + .. _CBaseAnimating-Anim-IgnoreParentRotation: + + .. cpp:function:: unknown Anim_IgnoreParentRotation(unknown) + + .. _CBaseAnimating-SequenceTransitionFromEntity: + + .. cpp:function:: unknown SequenceTransitionFromEntity(unknown) + + .. _CBaseAnimating-Anim-SetStartTime: + + .. cpp:function:: void Anim_SetStartTime(float time) + + .. _CBaseAnimating-SetPoseParameterOverTime: + + .. cpp:function:: unknown SetPoseParameterOverTime(unknown) + + .. _CBaseAnimating-Anim-SetInitialTime: + + .. cpp:function:: void Anim_SetInitialTime(float time) + + .. _CBaseAnimating-Anim-EnableUseAnimatedRefAttachmentInsteadOfRootMotion: + + .. cpp:function:: unknown Anim_EnableUseAnimatedRefAttachmentInsteadOfRootMotion(unknown) + + .. _CBaseAnimating-GetSkin: + + .. cpp:function:: int GetSkin() + + .. _CBaseAnimating-FindBodyGroup: + + .. cpp:function:: int FindBodyGroup(string group) + + .. _CBaseAnimating-Anim-GetActivity: + + .. cpp:function:: unknown Anim_GetActivity(unknown) + + .. _CBaseAnimating-SetDoomed: + + .. cpp:function:: unknown SetDoomed(unknown) + + .. _CBaseAnimating-Anim-HasActivity: + + .. cpp:function:: unknown Anim_HasActivity(unknown) + + .. _CBaseAnimating-Anim-HasSequence: + + .. cpp:function:: bool Anim_HasSequence(string animation) + + .. _CBaseAnimating-GetAttachmentOrigin: + + .. cpp:function:: vector GetAttachmentOrigin() + + .. _CBaseAnimating-SetPoseParametersSameAs: + + .. cpp:function:: unknown SetPoseParametersSameAs(unknown) + + .. _CBaseAnimating-GetPoseParameter: + + .. cpp:function:: unknown GetPoseParameter(unknown) + + .. _CBaseAnimating-Anim-Stop: + + .. cpp:function:: void Anim_Stop() + + .. _CBaseAnimating-GetBodyGroupModelCount: + + .. cpp:function:: int GetBodyGroupModelCount(int bodyGroupIndex) + + .. _CBaseAnimating-GetBodyGroupState: + + .. cpp:function:: int GetBodyGroupState(int bodyGroupIndex) + + .. _CBaseAnimating-Anim-DisableUpdatePosition: + + .. cpp:function:: void Anim_DisableUpdatePosition() + + .. _CBaseAnimating-GetFullBodygroup: + + .. cpp:function:: int GetFullBodygroup() + + .. _CBaseAnimating-SetFullBodygroup: + + .. cpp:function:: void SetFullBodygroup(int group) + + .. _CBaseAnimating-IsSequenceFinished: + + .. cpp:function:: unknown IsSequenceFinished(unknown) + + .. _CBaseAnimating-GetAnimDeltas: + + .. cpp:function:: unknown GetAnimDeltas(unknown) + + .. _CBaseAnimating-LookupSequence: + + .. cpp:function:: int LookupSequence(string sequence) + + .. _CBaseAnimating-GetAttachmentAngles: + + .. cpp:function:: vector GetAttachmentAngles() + + .. _CBaseAnimating-LookupAttachment: + + .. cpp:function:: int LookupAttachment(string attachment) + + .. _CBaseAnimating-GetScriptedAnimEventCycleFrac: + + .. cpp:function:: float GetScriptedAnimEventCycleFrac(string anim, string event) + + .. _CBaseAnimating-Anim-GetRefLocalOffset: + + .. cpp:function:: unknown Anim_GetRefLocalOffset(unknown) + + .. _CBaseAnimating-BecomeRagdoll: + + .. cpp:function:: void BecomeRagdoll(vector push, bool skipAnim) + + .. _CBaseAnimating-Anim-PlayWithRefPoint: + + .. cpp:function:: void Anim_PlayWithRefPoint(string animation, vector origin, vector angles, float blendTime) + + .. _CBaseAnimating-Anim-GetAttachmentAtTime: + + .. cpp:function:: Attachment Anim_GetAttachmentAtTime(string animation, string attachmentName, float time) + + .. _CBaseAnimating-SetBodygroup: + + .. cpp:function:: void SetBodygroup(int groupIndex, int newIndex) + + .. _CBaseAnimating-GetSequenceDuration: + + .. cpp:function:: float GetSequenceDuration(string anim) + diff --git a/docs/source/reference/respawn/entities/server/CBaseCombatCharacter.rst b/docs/source/reference/respawn/entities/server/CBaseCombatCharacter.rst new file mode 100644 index 00000000..f724495a --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CBaseCombatCharacter.rst @@ -0,0 +1,451 @@ +.. _CBaseCombatCharacter: + +CBaseCombatCharacter +==================== + +.. cpp:class:: CBaseCombatCharacter extends CBaseAnimating + + Inherits all properties from :ref:`CBaseAnimating ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`CTurret ` + - :ref:`CPlayer ` + - :ref:`CAI_BaseNPC ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CBaseCombatCharacter-GetRodeoRider: + + .. cpp:function:: entity GetRodeoRider() + + .. _CBaseCombatCharacter-GetMainWeapons: + + .. cpp:function:: array GetMainWeapons() + + .. _CBaseCombatCharacter-SetRodeoRider: + + .. cpp:function:: void SetRodeoRider(int slot, entity rider) + + .. _CBaseCombatCharacter-DisablePhaseShiftFlags: + + .. cpp:function:: void DisablePhaseShiftFlags() + + .. _CBaseCombatCharacter-GetWeaponAmmoStockpile: + + .. cpp:function:: int GetWeaponAmmoStockpile(entity weapon) + + .. _CBaseCombatCharacter-SetSharedEnergyRegenRate: + + .. cpp:function:: unknown SetSharedEnergyRegenRate(unknown) + + .. _CBaseCombatCharacter-GiveWeapon: + + .. cpp:function:: void GiveWeapon(string weapon) + + .. _CBaseCombatCharacter-GetOffhandWeapons: + + .. cpp:function:: array GetOffhandWeapons() + + .. _CBaseCombatCharacter-SetActiveWeaponBySlot: + + .. cpp:function:: unknown SetActiveWeaponBySlot(unknown) + + .. _CBaseCombatCharacter-SetSharedEnergyRegenDelay: + + .. cpp:function:: void SetSharedEnergyRegenDelay(float delay) + + .. _CBaseCombatCharacter-GetSharedEnergyTotal: + + .. cpp:function:: int GetSharedEnergyTotal() + + .. _CBaseCombatCharacter-CanUseSharedEnergy: + + .. cpp:function:: bool CanUseSharedEnergy(int curCost) + + .. _CBaseCombatCharacter-TakeSharedEnergy: + + .. cpp:function:: void TakeSharedEnergy(int amount) + + .. _CBaseCombatCharacter-ContextAction-IsRequisitionBattery: + + .. cpp:function:: unknown ContextAction_IsRequisitionBattery(unknown) + + .. _CBaseCombatCharacter-IsValidTetherID: + + .. cpp:function:: unknown IsValidTetherID(unknown) + + .. _CBaseCombatCharacter-RemoveTether: + + .. cpp:function:: unknown RemoveTether(unknown) + + .. _CBaseCombatCharacter-GetLatestPrimaryWeapon: + + .. cpp:function:: entity GetLatestPrimaryWeapon() + + .. _CBaseCombatCharacter-PlayerMelee-ExecutionStartAttacker: + + .. cpp:function:: unknown PlayerMelee_ExecutionStartAttacker(unknown) + + .. _CBaseCombatCharacter-AddTether: + + .. cpp:function:: unknown AddTether(unknown) + + .. _CBaseCombatCharacter-SetHudInfoVisibilityTestAlwaysPasses: + + .. cpp:function:: unknown SetHudInfoVisibilityTestAlwaysPasses(unknown) + + .. _CBaseCombatCharacter-GetPlayerOrNPCViewUp: + + .. cpp:function:: unknown GetPlayerOrNPCViewUp(unknown) + + .. _CBaseCombatCharacter-SetNPCPriorityOverride: + + .. cpp:function:: unknown SetNPCPriorityOverride(unknown) + + .. _CBaseCombatCharacter-ContextAction-IsMeleeExecution: + + .. cpp:function:: bool ContextAction_IsMeleeExecution() + + .. _CBaseCombatCharacter-ContextAction-RequisitionBatteryEnd: + + .. cpp:function:: unknown ContextAction_RequisitionBatteryEnd(unknown) + + .. _CBaseCombatCharacter-ContextAction-RequisitionBatteryStart: + + .. cpp:function:: unknown ContextAction_RequisitionBatteryStart(unknown) + + .. _CBaseCombatCharacter-ContextAction-IsInVehicle: + + .. cpp:function:: unknown ContextAction_IsInVehicle(unknown) + + .. _CBaseCombatCharacter-PlayerMelee-ExecutionEndTarget: + + .. cpp:function:: unknown PlayerMelee_ExecutionEndTarget(unknown) + + .. _CBaseCombatCharacter-ContextAction-SetInVehicle: + + .. cpp:function:: unknown ContextAction_SetInVehicle(unknown) + + .. _CBaseCombatCharacter-SetActiveWeaponPrimaryAmmoTotal: + + .. cpp:function:: unknown SetActiveWeaponPrimaryAmmoTotal(unknown) + + .. _CBaseCombatCharacter-PlayerMelee-ExecutionStartTarget: + + .. cpp:function:: unknown PlayerMelee_ExecutionStartTarget(unknown) + + .. _CBaseCombatCharacter-ContextAction-ClearFastball: + + .. cpp:function:: unknown ContextAction_ClearFastball(unknown) + + .. _CBaseCombatCharacter-ContextAction-SetFastball: + + .. cpp:function:: unknown ContextAction_SetFastball(unknown) + + .. _CBaseCombatCharacter-GetPlayerOrNPCViewVector: + + .. cpp:function:: vector GetPlayerOrNPCViewVector() + + .. _CBaseCombatCharacter-DropWeapon: + + .. cpp:function:: unknown DropWeapon(unknown) + + .. _CBaseCombatCharacter-ContextAction-SetBusy: + + .. cpp:function:: void ContextAction_SetBusy() + + .. _CBaseCombatCharacter-GetSelectedWeapon: + + .. cpp:function:: unknown GetSelectedWeapon(unknown) + + .. _CBaseCombatCharacter-ContextAction-IsZipline: + + .. cpp:function:: unknown ContextAction_IsZipline(unknown) + + .. _CBaseCombatCharacter-Event-LeechStart: + + .. cpp:function:: unknown Event_LeechStart(unknown) + + .. _CBaseCombatCharacter-ContextAction-IsRodeo: + + .. cpp:function:: unknown ContextAction_IsRodeo(unknown) + + .. _CBaseCombatCharacter-GetLastFiredTime: + + .. cpp:function:: unknown GetLastFiredTime(unknown) + + .. _CBaseCombatCharacter-ContextAction-IsMeleeExecutionTarget: + + .. cpp:function:: bool ContextAction_IsMeleeExecutionTarget() + + .. _CBaseCombatCharacter-ContextAction-IsMeleeExecutionAttacker: + + .. cpp:function:: unknown ContextAction_IsMeleeExecutionAttacker(unknown) + + .. _CBaseCombatCharacter-AddSharedEnergy: + + .. cpp:function:: void AddSharedEnergy(int amount) + + .. _CBaseCombatCharacter-GetSharedEnergyCount: + + .. cpp:function:: int GetSharedEnergyCount() + + .. _CBaseCombatCharacter-GetEntityAtPhaseShiftExitPosition: + + .. cpp:function:: entity GetEntityAtPhaseShiftExitPosition() + + .. _CBaseCombatCharacter-PhaseShiftTimePassed: + + .. cpp:function:: unknown PhaseShiftTimePassed(unknown) + + .. _CBaseCombatCharacter-PhaseShiftBegin: + + .. cpp:function:: void PhaseShiftBegin(float warmUpTime, float duration) + + .. _CBaseCombatCharacter-GetWeaponAmmoLoaded: + + .. cpp:function:: int GetWeaponAmmoLoaded(entity weapon) + + .. _CBaseCombatCharacter-PhaseShiftCancel: + + .. cpp:function:: void PhaseShiftCancel() + + .. _CBaseCombatCharacter-GetHealthPerSegment: + + .. cpp:function:: unknown GetHealthPerSegment(unknown) + + .. _CBaseCombatCharacter-PhaseShiftTimeRemaining: + + .. cpp:function:: float PhaseShiftTimeRemaining() + + .. _CBaseCombatCharacter-IsPhaseShiftedOrPending: + + .. cpp:function:: unknown IsPhaseShiftedOrPending(unknown) + + .. _CBaseCombatCharacter-GetSettingsHeadshotFX: + + .. cpp:function:: void GetSettingsHeadshotFX() + + .. _CBaseCombatCharacter-GetTitanSoul: + + .. cpp:function:: entity GetTitanSoul() + + .. _CBaseCombatCharacter-SetTitanSoul: + + .. cpp:function:: void SetTitanSoul(entity soul) + + .. _CBaseCombatCharacter-SetHealthPerSegment: + + .. cpp:function:: unknown SetHealthPerSegment(unknown) + + .. _CBaseCombatCharacter-GetWeaponAmmoMaxLoaded: + + .. cpp:function:: int GetWeaponAmmoMaxLoaded(entity weapon) + + .. _CBaseCombatCharacter-GetMeleeWeapon: + + .. cpp:function:: entity GetMeleeWeapon() + + .. _CBaseCombatCharacter-GiveExistingWeapon: + + .. cpp:function:: unknown GiveExistingWeapon(unknown) + + .. _CBaseCombatCharacter-GetAttackSpreadAngle: + + .. cpp:function:: float GetAttackSpreadAngle() + + .. _CBaseCombatCharacter-SetInventoryChangedCallbackEnabled: + + .. cpp:function:: unknown SetInventoryChangedCallbackEnabled(unknown) + + .. _CBaseCombatCharacter-GetPlayerOrNPCViewRight: + + .. cpp:function:: vector GetPlayerOrNPCViewRight() + + .. _CBaseCombatCharacter-ContextAction-ClearInVehicle: + + .. cpp:function:: unknown ContextAction_ClearInVehicle(unknown) + + .. _CBaseCombatCharacter-GetPlayerOrNPCViewForward: + + .. cpp:function:: unknown GetPlayerOrNPCViewForward(unknown) + + .. _CBaseCombatCharacter-IsWeaponDisabled: + + .. cpp:function:: bool IsWeaponDisabled() + + .. _CBaseCombatCharacter-TakeWeapon: + + .. cpp:function:: void TakeWeapon(string weapon) + + .. _CBaseCombatCharacter-ClearOffhand: + + .. cpp:function:: unknown ClearOffhand(unknown) + + .. _CBaseCombatCharacter-GetOffhandWeapon: + + .. cpp:function:: entity GetOffhandWeapon(int slot) + + .. _CBaseCombatCharacter-TakeOffhandWeapon-NoDelete: + + .. cpp:function:: unknown TakeOffhandWeapon_NoDelete(unknown) + + .. _CBaseCombatCharacter-TakeOffhandWeapon: + + .. cpp:function:: void TakeOffhandWeapon(int slot) + + .. _CBaseCombatCharacter-ResetHealthChangeRate: + + .. cpp:function:: void ResetHealthChangeRate() + + .. _CBaseCombatCharacter-SetActiveWeaponPrimaryAmmoLoaded: + + .. cpp:function:: unknown SetActiveWeaponPrimaryAmmoLoaded(unknown) + + .. _CBaseCombatCharacter-ContextAction-IsActive: + + .. cpp:function:: bool ContextAction_IsActive() + + .. _CBaseCombatCharacter-GetOutOfBoundsDeadTime: + + .. cpp:function:: int GetOutOfBoundsDeadTime() + + .. _CBaseCombatCharacter-OffsetFromViewAngles: + + .. cpp:function:: unknown OffsetFromViewAngles(unknown) + + .. _CBaseCombatCharacter-OffsetPositionFromView: + + .. cpp:function:: vector OffsetPositionFromView(vector startPos, vector offset) + + .. _CBaseCombatCharacter-IsUsingOffhandWeapon: + + .. cpp:function:: unknown IsUsingOffhandWeapon(unknown) + + .. _CBaseCombatCharacter-TakeWeaponNow: + + .. cpp:function:: void TakeWeaponNow(string weapon) + + .. _CBaseCombatCharacter-ContextAction-IsFastball: + + .. cpp:function:: unknown ContextAction_IsFastball(unknown) + + .. _CBaseCombatCharacter-GetSidearmWeapon: + + .. cpp:function:: unknown GetSidearmWeapon(unknown) + + .. _CBaseCombatCharacter-ContextAction-IsLeeching: + + .. cpp:function:: bool ContextAction_IsLeeching() + + .. _CBaseCombatCharacter-GetSharedEnergyRegenDelay: + + .. cpp:function:: unknown GetSharedEnergyRegenDelay(unknown) + + .. _CBaseCombatCharacter-SetActiveWeaponByName: + + .. cpp:function:: void SetActiveWeaponByName(string weapon) + + .. _CBaseCombatCharacter-PlayerMelee-ExecutionEndAttacker: + + .. cpp:function:: unknown PlayerMelee_ExecutionEndAttacker(unknown) + + .. _CBaseCombatCharacter-SetTargetInfoIcon: + + .. cpp:function:: unknown SetTargetInfoIcon(unknown) + + .. _CBaseCombatCharacter-GetSharedEnergyRegenRate: + + .. cpp:function:: unknown GetSharedEnergyRegenRate(unknown) + + .. _CBaseCombatCharacter-ReplaceActiveWeapon: + + .. cpp:function:: unknown ReplaceActiveWeapon(unknown) + + .. _CBaseCombatCharacter-EnablePhaseShiftFlags: + + .. cpp:function:: void EnablePhaseShiftFlags() + + .. _CBaseCombatCharacter-SetNumRodeoSlots: + + .. cpp:function:: void SetNumRodeoSlots(int) + + .. _CBaseCombatCharacter-GetActiveWeaponPrimaryAmmoLoaded: + + .. cpp:function:: int GetActiveWeaponPrimaryAmmoLoaded() + + .. _CBaseCombatCharacter-SetCloakReactEndTime: + + .. cpp:function:: unknown SetCloakReactEndTime(unknown) + + .. _CBaseCombatCharacter-RefillAllAmmo: + + .. cpp:function:: unknown RefillAllAmmo(unknown) + + .. _CBaseCombatCharacter-SetOutOfBoundsDeadTime: + + .. cpp:function:: unknown SetOutOfBoundsDeadTime(unknown) + + .. _CBaseCombatCharacter-SetSharedEnergyTotal: + + .. cpp:function:: unknown SetSharedEnergyTotal(unknown) + + .. _CBaseCombatCharacter-GetFirstRodeoRider: + + .. cpp:function:: enitity GetFirstRodeoRider() + + .. _CBaseCombatCharacter-ClearNPCPriorityOverride: + + .. cpp:function:: unknown ClearNPCPriorityOverride(unknown) + + .. _CBaseCombatCharacter-Event-LeechEnd: + + .. cpp:function:: unknown Event_LeechEnd(unknown) + + .. _CBaseCombatCharacter-GetAntiTitanWeapon: + + .. cpp:function:: entity GetAntiTitanWeapon() + + .. _CBaseCombatCharacter-TransferTethersToEntity: + + .. cpp:function:: unknown TransferTethersToEntity(unknown) + + .. _CBaseCombatCharacter-PrintInventory: + + .. cpp:function:: unknown PrintInventory(unknown) + + .. _CBaseCombatCharacter-GetNumRodeoSlots: + + .. cpp:function:: int GetNumRodeoSlots() + + .. _CBaseCombatCharacter-TakeWeapon-NoDelete: + + .. cpp:function:: unknown TakeWeapon_NoDelete(unknown) + + .. _CBaseCombatCharacter-ContextAction-ClearBusy: + + .. cpp:function:: void ContextAction_ClearBusy() + + .. _CBaseCombatCharacter-GiveOffhandWeapon: + + .. cpp:function:: void GiveOffhandWeapon(string ordnanceName, int slot, array mods) + + .. _CBaseCombatCharacter-SetNPCPriorityOverride-NoThreat: + + .. cpp:function:: void SetNPCPriorityOverride_NoThreat() + + .. _CBaseCombatCharacter-ContextAction-IsBusy: + + .. cpp:function:: bool ContextAction_IsBusy() + + .. _CBaseCombatCharacter-GiveExistingOffhandWeapon: + + .. cpp:function:: unknown GiveExistingOffhandWeapon(unknown) + + .. _CBaseCombatCharacter-GetActiveWeapon: + + .. cpp:function:: enitity GetActiveWeapon() + diff --git a/docs/source/reference/respawn/entities/server/CBaseCombatWeapon.rst b/docs/source/reference/respawn/entities/server/CBaseCombatWeapon.rst new file mode 100644 index 00000000..e55259e8 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CBaseCombatWeapon.rst @@ -0,0 +1,41 @@ +.. _CBaseCombatWeapon: + +CBaseCombatWeapon +================= + +.. cpp:class:: CBaseCombatWeapon extends CBaseAnimating + + Inherits all properties from :ref:`CBaseAnimating ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`CWeaponX ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CBaseCombatWeapon-LookupViewModelAttachment: + + .. cpp:function:: unknown LookupViewModelAttachment(unknown) + + .. _CBaseCombatWeapon-LookupWorldModelAttachment: + + .. cpp:function:: unknown LookupWorldModelAttachment(unknown) + + .. _CBaseCombatWeapon-GetWeaponPrintName: + + .. cpp:function:: unknown GetWeaponPrintName(unknown) + + .. _CBaseCombatWeapon-SetWeaponConstrained: + + .. cpp:function:: unknown SetWeaponConstrained(unknown) + + .. _CBaseCombatWeapon-GetWeaponDescription: + + .. cpp:function:: string GetWeaponDescription() + + .. _CBaseCombatWeapon-SetDroppedModel: + + .. cpp:function:: unknown SetDroppedModel(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CBaseEntity.rst b/docs/source/reference/respawn/entities/server/CBaseEntity.rst new file mode 100644 index 00000000..186736f2 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CBaseEntity.rst @@ -0,0 +1,1169 @@ +.. _CBaseEntity: + +CBaseEntity +=========== + +.. cpp:class:: CBaseEntity + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`CBaseAnimating ` + - :ref:`CVortexSphere ` + - :ref:`CScriptTraceVolume ` + - :ref:`CTitanSoul ` + - :ref:`CRopeKeyframe ` + - :ref:`CBaseTrigger ` + - :ref:`CHardPointEntity ` + - :ref:`CParticleSystem ` + - :ref:`CEnvExplosion ` + - :ref:`CSpawner ` + - :ref:`CTeamSpawnPoint ` + - :ref:`CAI_Hint ` + - :ref:`CAI_SkitNode ` + - :ref:`CBreakable ` + - :ref:`CWindowHint ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CBaseEntity-GetLocalOrigin: + + .. cpp:function:: unknown GetLocalOrigin(unknown) + + .. _CBaseEntity-GetNoTargetSmartAmmo: + + .. cpp:function:: unknown GetNoTargetSmartAmmo(unknown) + + .. _CBaseEntity-IsMarkedForDeletion: + + .. cpp:function:: bool IsMarkedForDeletion() + + .. _CBaseEntity-SetGrenadeTargetDebounce: + + .. cpp:function:: unknown SetGrenadeTargetDebounce(unknown) + + .. _CBaseEntity-DisableGrappleAttachment: + + .. cpp:function:: unknown DisableGrappleAttachment(unknown) + + .. _CBaseEntity-SetPreventCrits: + + .. cpp:function:: void SetPreventCrits(bool prevent) + + .. _CBaseEntity-IsTriggerBox: + + .. cpp:function:: unknown IsTriggerBox(unknown) + + .. _CBaseEntity-ClearBoneMerge: + + .. cpp:function:: unknown ClearBoneMerge(unknown) + + .. _CBaseEntity-GetInstanceName: + + .. cpp:function:: unknown GetInstanceName(unknown) + + .. _CBaseEntity-CreateTableFromModelKeyValues: + + .. cpp:function:: table CreateTableFromModelKeyValues() + + .. _CBaseEntity-ValidateScriptScope: + + .. cpp:function:: unknown ValidateScriptScope(unknown) + + .. _CBaseEntity-scope: + + .. cpp:function:: unknown scope(unknown) + + .. _CBaseEntity-HasKey: + + .. cpp:function:: bool HasKey(string key) + + .. _CBaseEntity-GetIndexForEntity: + + .. cpp:function:: unknown GetIndexForEntity(unknown) + + .. _CBaseEntity-Minimap-Hide: + + .. cpp:function:: unknown Minimap_Hide(unknown) + + .. _CBaseEntity-SetDamageNotifications: + + .. cpp:function:: void SetDamageNotifications(bool getNotifs) + + .. _CBaseEntity-Fire: + + .. cpp:function:: void Fire(string output, string param = "", float delay = 0, entity activator = null, entity caller = null) + + .. _CBaseEntity-SetLocalOrigin: + + .. cpp:function:: void SetLocalOrigin(vector origin) + + .. _CBaseEntity-SetForceVisibleInPhaseShift: + + .. cpp:function:: void SetForceVisibleInPhaseShift(bool visible) + + .. _CBaseEntity-SetAbsAngles: + + .. cpp:function:: void SetAbsAngles(vector angles) + + .. _CBaseEntity-GetOwner: + + .. cpp:function:: entity GetOwner() + + .. _CBaseEntity-SetTouchTriggers: + + .. cpp:function:: unknown SetTouchTriggers(unknown) + + .. _CBaseEntity-SetAngularVelocity: + + .. cpp:function:: void SetAngularVelocity(float x, float y, float z) + + .. _CBaseEntity-GetHealth: + + .. cpp:function:: int GetHealth() + + .. _CBaseEntity-MakeInvisible: + + .. cpp:function:: void MakeInvisible() + + .. _CBaseEntity-DisableNetworkedEntityLinks: + + .. cpp:function:: unknown DisableNetworkedEntityLinks(unknown) + + .. _CBaseEntity-EndSignal: + + .. cpp:function:: void EndSignal(string signal) + + .. _CBaseEntity-CanCloak: + + .. cpp:function:: unknown CanCloak(unknown) + + .. _CBaseEntity-GetNextKey: + + .. cpp:function:: unknown GetNextKey(unknown) + + .. _CBaseEntity-SetUsableByGroup: + + .. cpp:function:: void SetUsableByGroup(string group) + + .. _CBaseEntity-SetInactive: + + .. cpp:function:: unknown SetInactive(unknown) + + .. _CBaseEntity-GetValueForTextureKey: + + .. cpp:function:: unknown GetValueForTextureKey(unknown) + + .. _CBaseEntity-NotSolid: + + .. cpp:function:: bool NotSolid() + + .. _CBaseEntity-RotateTo: + + .. cpp:function:: void RotateTo(vector pos, float moveTime, float easeIn = 0, float easeOut = 0) + + .. _CBaseEntity-SetTitle: + + .. cpp:function:: void SetTitle(string title) + + .. _CBaseEntity-AreEntityLinksNetworked: + + .. cpp:function:: unknown AreEntityLinksNetworked(unknown) + + .. _CBaseEntity-SetForwardVector: + + .. cpp:function:: unknown SetForwardVector(unknown) + + .. _CBaseEntity-DisableAttackableByAI: + + .. cpp:function:: unknown DisableAttackableByAI(unknown) + + .. _CBaseEntity-DispatchImpactEffects: + + .. cpp:function:: void DispatchImpactEffects(entity ent, vector startPos, vector endPos, vector hitNormal, enitity prop, int propIndex, int damageType, int impactIndex, entity orig, int impactEffectFlags) + + .. _CBaseEntity-SetVelocity: + + .. cpp:function:: void SetVelocity(vector vel) + + .. _CBaseEntity-Highlight-GetCurrentInsideOpacity: + + .. cpp:function:: float Highlight_GetCurrentInsideOpacity() + + .. _CBaseEntity-EnableRenderAlways: + + .. cpp:function:: void EnableRenderAlways() + + .. _CBaseEntity-SetLocalForwardVector: + + .. cpp:function:: unknown SetLocalForwardVector(unknown) + + .. _CBaseEntity-SetHealth: + + .. cpp:function:: int SetHealth(int health) + + .. _CBaseEntity-DisableRenderAlways: + + .. cpp:function:: void DisableRenderAlways() + + .. _CBaseEntity-Highlight-ShowOutline: + + .. cpp:function:: void Highlight_ShowOutline(float duration) + + .. _CBaseEntity-FireNow: + + .. cpp:function:: void FireNow(string output, string param = "", float delay = 0, entity activator = null, entity caller = null) + + .. _CBaseEntity-TakeDamage: + + .. cpp:function:: void TakeDamage(int damageAmount, entity attacker_1, entity attacker_2, table { int scriptType, int damageType, int damageSourceId, vector origin, vector force }) + + .. _CBaseEntity-AddOutput: + + .. cpp:function:: void AddOutput(string outputName, string | entity target, string inputName, string parameter = "", float delay = 0, float maxFires = 0) + + .. _CBaseEntity-SetAbsAnglesSmooth: + + .. cpp:function:: unknown SetAbsAnglesSmooth(unknown) + + .. _CBaseEntity-SetParentWithHitbox: + + .. cpp:function:: void SetParentWithHitbox(entity parent, int hitGroup, bool unknown) + + .. _CBaseEntity-Kill-Deprecated-UseDestroyInstead: + + .. cpp:function:: void Kill_Deprecated_UseDestroyInstead() + + .. _CBaseEntity-DontIncludeParentBbox: + + .. cpp:function:: unknown DontIncludeParentBbox(unknown) + + .. _CBaseEntity-constructor: + + .. cpp:function:: entity constructor(unknown) + + .. _CBaseEntity-GetPreTemplateName: + + .. cpp:function:: unknown GetPreTemplateName(unknown) + + .. _CBaseEntity-Highlight-ShowInside: + + .. cpp:function:: void Highlight_ShowInside(float duration) + + .. _CBaseEntity-GetUpVector: + + .. cpp:function:: vector GetUpVector() + + .. _CBaseEntity-GetPassThroughFlags: + + .. cpp:function:: unknown GetPassThroughFlags(unknown) + + .. _CBaseEntity-Hide: + + .. cpp:function:: void Hide() + + .. _CBaseEntity-RenderWithViewModels: + + .. cpp:function:: void RenderWithViewModels(bool renderWith) + + .. _CBaseEntity-GetBoundingMins: + + .. cpp:function:: vector GetBoundingMins() + + .. _CBaseEntity-Solid: + + .. cpp:function:: void Solid() + + .. _CBaseEntity-IsDraw: + + .. cpp:function:: unknown IsDraw(unknown) + + .. _CBaseEntity-SetUsePrompts: + + .. cpp:function:: void SetUsePrompts(string pc_prompt, string console_prompt) + + .. _CBaseEntity-SetLocalAngles: + + .. cpp:function:: void SetLocalAngles(vector angles) + + .. _CBaseEntity-GetCritsPrevented: + + .. cpp:function:: bool GetCritsPrevented() + + .. _CBaseEntity-HasGibModel: + + .. cpp:function:: bool HasGibModel() + + .. _CBaseEntity-Highlight-SetVisibleByPlayer: + + .. cpp:function:: unknown Highlight_SetVisibleByPlayer(unknown) + + .. _CBaseEntity-Highlight-GetOutlineRadius: + + .. cpp:function:: float Highlight_GetOutlineRadius() + + .. _CBaseEntity-TransferChildrenTo: + + .. cpp:function:: unknown TransferChildrenTo(unknown) + + .. _CBaseEntity-GetLocalAngles: + + .. cpp:function:: vector GetLocalAngles() + + .. _CBaseEntity-IsLinkedToEnt: + + .. cpp:function:: unknown IsLinkedToEnt(unknown) + + .. _CBaseEntity-GetValueForEffectNameKey: + + .. cpp:function:: unknown GetValueForEffectNameKey(unknown) + + .. _CBaseEntity-Highlight-SetCurrentContext: + + .. cpp:function:: void Highlight_SetCurrentContext(int contextID) + + .. _CBaseEntity-SnapToAbsOrigin: + + .. cpp:function:: unknown SnapToAbsOrigin(unknown) + + .. _CBaseEntity-GetScriptName: + + .. cpp:function:: string GetScriptName() + + .. _CBaseEntity-GetModelName: + + .. cpp:function:: asset GetModelName() + + .. _CBaseEntity-Destroy: + + .. cpp:function:: void Destroy() + + .. _CBaseEntity-Highlight-SetInheritHighlight: + + .. cpp:function:: void Highlight_SetInheritHighlight(bool set) + + .. _CBaseEntity-Highlight-SetParam: + + .. cpp:function:: void Highlight_SetParam(int contextID, int parameterID, vector highlightColor) + + .. _CBaseEntity-IsWorld: + + .. cpp:function:: bool IsWorld() + + .. _CBaseEntity-HighlightDisableForTeam: + + .. cpp:function:: void HighlightDisableForTeam(int team) + + .. _CBaseEntity-Minimap-AlwaysShow: + + .. cpp:function:: void Minimap_AlwaysShow(int team, entity ent) + + .. _CBaseEntity-GetOrigin: + + .. cpp:function:: vector GetOrigin() + + .. _CBaseEntity-SetPhysics: + + .. cpp:function:: unknown SetPhysics(unknown) + + .. _CBaseEntity-SetDoDestroyCallback: + + .. cpp:function:: void SetDoDestroyCallback(bool doCallBack) + + .. _CBaseEntity-EnableDebugBrokenInterpolation: + + .. cpp:function:: unknown EnableDebugBrokenInterpolation(unknown) + + .. _CBaseEntity-EnableNetworkedEntityLinks: + + .. cpp:function:: unknown EnableNetworkedEntityLinks(unknown) + + .. _CBaseEntity-DisableDraw: + + .. cpp:function:: void DisableDraw() + + .. _CBaseEntity-GetTimeSinceSpawning: + + .. cpp:function:: unknown GetTimeSinceSpawning(unknown) + + .. _CBaseEntity-IsSolid: + + .. cpp:function:: unknown IsSolid(unknown) + + .. _CBaseEntity-DisableHibernation: + + .. cpp:function:: void DisableHibernation() + + .. _CBaseEntity-SetToSameParentAs: + + .. cpp:function:: unknown SetToSameParentAs(unknown) + + .. _CBaseEntity-EnableHibernation: + + .. cpp:function:: unknown EnableHibernation(unknown) + + .. _CBaseEntity-GetShieldHealthMax: + + .. cpp:function:: int GetShieldHealthMax() + + .. _CBaseEntity-RoundOriginAndAnglesToNearestNetworkValue: + + .. cpp:function:: void RoundOriginAndAnglesToNearestNetworkValue() + + .. _CBaseEntity-ClearBossPlayer: + + .. cpp:function:: void ClearBossPlayer() + + .. _CBaseEntity-Minimap-SetHeightTracking: + + .. cpp:function:: unknown Minimap_SetHeightTracking(unknown) + + .. _CBaseEntity-GetForwardVector: + + .. cpp:function:: vector GetForwardVector() + + .. _CBaseEntity-GetLinkParentArray: + + .. cpp:function:: unknown GetLinkParentArray(unknown) + + .. _CBaseEntity-NextMovePeer: + + .. cpp:function:: entity NextMovePeer() + + .. _CBaseEntity-SetOrigin: + + .. cpp:function:: void SetOrigin(vector position) + + .. _CBaseEntity-RemoveUsableValue: + + .. cpp:function:: unknown RemoveUsableValue(unknown) + + .. _CBaseEntity-GetScriptId: + + .. cpp:function:: unknown GetScriptId(unknown) + + .. _CBaseEntity-GetLifeState: + + .. cpp:function:: int GetLifeState() + + .. _CBaseEntity-TraceAttackToTriggers: + + .. cpp:function:: void TraceAttackToTriggers(int damageAmount, entity attacker_1, entity attacker_2, table { int scriptType, int damageType, int damageSourceId, vector force }, vector startPos, vector endPos, vector direction) + + .. _CBaseEntity-MinimizeHibernation: + + .. cpp:function:: unknown MinimizeHibernation(unknown) + + .. _CBaseEntity-SetAIObstacle: + + .. cpp:function:: unknown SetAIObstacle(unknown) + + .. _CBaseEntity-SetValueForTextureKey: + + .. cpp:function:: void SetValueForTextureKey(asset texture) + + .. _CBaseEntity-SetBlocksRadiusDamage: + + .. cpp:function:: void SetBlocksRadiusDamage(bool blocks) + + .. _CBaseEntity-GetDamage: + + .. cpp:function:: unknown GetDamage(unknown) + + .. _CBaseEntity-Highlight-GetCurrentOutlineOpacity: + + .. cpp:function:: float Highlight_GetCurrentOutlineOpacity() + + .. _CBaseEntity-IsProjectile: + + .. cpp:function:: bool IsProjectile() + + .. _CBaseEntity-Minimap-DisplayDefault: + + .. cpp:function:: void Minimap_DisplayDefault(int team, entity ent) + + .. _CBaseEntity-HighlightEnableForTeam: + + .. cpp:function:: void HighlightEnableForTeam(int team) + + .. _CBaseEntity-SetBossPlayer: + + .. cpp:function:: void SetBossPlayer(entity boss) + + .. _CBaseEntity-IsZipline: + + .. cpp:function:: unknown IsZipline(unknown) + + .. _CBaseEntity-SetSize: + + .. cpp:function:: void SetSize(float width, float height) + + .. _CBaseEntity-SetValueForKey: + + .. cpp:function:: void SetValueForKey(var key, var val) + + .. _CBaseEntity-GetEncodedEHandle: + + .. cpp:function:: int GetEncodedEHandle() + + .. _CBaseEntity-SetBoneMerge: + + .. cpp:function:: unknown SetBoneMerge(unknown) + + .. _CBaseEntity-Show: + + .. cpp:function:: void Show() + + .. _CBaseEntity-GetLinkParent: + + .. cpp:function:: entity GetLinkParent() + + .. _CBaseEntity-IsValidInternal: + + .. cpp:function:: bool IsValidInternal() + + .. _CBaseEntity-Highlight-GetOutlineFunction: + + .. cpp:function:: int Highlight_GetOutlineFunction(int contextID) + + .. _CBaseEntity-Minimap-SetClampToEdge: + + .. cpp:function:: void Minimap_SetClampToEdge(bool clamp) + + .. _CBaseEntity-WaitSignal: + + .. cpp:function:: void WaitSignal(string signal) + + .. _CBaseEntity-PhysicsDummyEnableMotion: + + .. cpp:function:: unknown PhysicsDummyEnableMotion(unknown) + + .. _CBaseEntity-IsPlayerDecoy: + + .. cpp:function:: void IsPlayerDecoy() + + .. _CBaseEntity-HasOutput: + + .. cpp:function:: unknown HasOutput(unknown) + + .. _CBaseEntity-UnlinkFromEnt: + + .. cpp:function:: unknown UnlinkFromEnt(unknown) + + .. _CBaseEntity-LinkToEnt: + + .. cpp:function:: void LinkToEnt(entity ent) + + .. _CBaseEntity-SetKillNPCOnPush: + + .. cpp:function:: unknown SetKillNPCOnPush(unknown) + + .. _CBaseEntity-Get: + + .. cpp:function:: var Get(string key) + + .. _CBaseEntity-SetLocalForwardVectorWithUp: + + .. cpp:function:: unknown SetLocalForwardVectorWithUp(unknown) + + .. _CBaseEntity-IsHologram: + + .. cpp:function:: bool IsHologram() + + .. _CBaseEntity-Highlight-SetFunctions: + + .. cpp:function:: void Highlight_SetFunctions(int contextID, int hightlightFillID, bool entityVisible, int colorMode, float radius, int highlightID, bool afterPostProcess) + + .. _CBaseEntity-Die: + + .. cpp:function:: void Die() + + .. _CBaseEntity-Minimap-SetObjectScale: + + .. cpp:function:: void Minimap_SetObjectScale(float scale) + + .. _CBaseEntity-AddVar: + + .. cpp:function:: unknown AddVar(unknown) + + .. _CBaseEntity-IsCloaked: + + .. cpp:function:: bool IsCloaked() + + .. _CBaseEntity-SetValueForModelKey: + + .. cpp:function:: void SetValueForModelKey(asset model) + + .. _CBaseEntity-UseHitBoxForTraceCheck: + + .. cpp:function:: unknown UseHitBoxForTraceCheck(unknown) + + .. _CBaseEntity-SetForwardVectorWithUp: + + .. cpp:function:: unknown SetForwardVectorWithUp(unknown) + + .. _CBaseEntity-ShipHack-PositionBetweenEyes: + + .. cpp:function:: unknown ShipHack_PositionBetweenEyes(unknown) + + .. _CBaseEntity-MoveTo: + + .. cpp:function:: void MoveTo(vector pos, float moveTime, float easeIn = 0, float easeOut = 0) + + .. _CBaseEntity-DisconnectOutput: + + .. cpp:function:: void DisconnectOutput(string event, void functionref( entity trigger, entity activator, entity caller, var value) + + .. _CBaseEntity-GetArmorType: + + .. cpp:function:: int GetArmorType() + + .. _CBaseEntity-SetInvulnerable: + + .. cpp:function:: void SetInvulnerable() + + .. _CBaseEntity-ConnectOutput: + + .. cpp:function:: void ConnectOutput(string event, void functionref( entity trigger, entity activator, entity caller, var value) + + .. _CBaseEntity-SetUsePromptSize: + + .. cpp:function:: unknown SetUsePromptSize(unknown) + + .. _CBaseEntity-SetPassThroughDirection: + + .. cpp:function:: void SetPassThroughDirection(float dir) + + .. _CBaseEntity-Code-SetTeam: + + .. cpp:function:: void Code_SetTeam(int team) + + .. _CBaseEntity-SetShieldHealthMax: + + .. cpp:function:: void SetShieldHealthMax(int) + + .. _CBaseEntity-SetUsableRadius: + + .. cpp:function:: void SetUsableRadius(float distance) + + .. _CBaseEntity-entindex: + + .. cpp:function:: unknown entindex(unknown) + + .. _CBaseEntity-GetTeam: + + .. cpp:function:: int GetTeam() + + .. _CBaseEntity-GetGroundEntity: + + .. cpp:function:: entity GetGroundEntity() + + .. _CBaseEntity-HighlightSetTeamBitField: + + .. cpp:function:: void HighlightSetTeamBitField(int bitField) + + .. _CBaseEntity-ClearInvulnerable: + + .. cpp:function:: void ClearInvulnerable() + + .. _CBaseEntity-SetGroundEntity: + + .. cpp:function:: unknown SetGroundEntity(unknown) + + .. _CBaseEntity-SetNameVisibleToOwner: + + .. cpp:function:: void SetNameVisibleToOwner(bool visible) + + .. _CBaseEntity-GetParent: + + .. cpp:function:: entity GetParent() + + .. _CBaseEntity-SetAbsOriginSmooth: + + .. cpp:function:: unknown SetAbsOriginSmooth(unknown) + + .. _CBaseEntity-GetParentHitbox: + + .. cpp:function:: unknown GetParentHitbox(unknown) + + .. _CBaseEntity-GetShieldHealth: + + .. cpp:function:: int GetShieldHealth() + + .. _CBaseEntity-GetBoundingMaxs: + + .. cpp:function:: vector GetBoundingMaxs() + + .. _CBaseEntity-EnableAttackableByAI: + + .. cpp:function:: void EnableAttackableByAI(int ai_priority_no_threat, int unknown, int ai_ap_flag) + + .. _CBaseEntity-GetLinkEnt: + + .. cpp:function:: entity GetLinkEnt() + + .. _CBaseEntity-GetLinkEntArray: + + .. cpp:function:: array GetLinkEntArray() + + .. _CBaseEntity-SetNoTarget: + + .. cpp:function:: void SetNoTarget(bool noTarget) + + .. _CBaseEntity-SetPassThroughThickness: + + .. cpp:function:: void SetPassThroughThickness(float thickness) + + .. _CBaseEntity-ClearHitboxAttachedChildren: + + .. cpp:function:: unknown ClearHitboxAttachedChildren(unknown) + + .. _CBaseEntity-GetAngles: + + .. cpp:function:: vector GetAngles() + + .. _CBaseEntity-SetMaxHealth: + + .. cpp:function:: int SetMaxHealth(int health) + + .. _CBaseEntity-EyeAngles: + + .. cpp:function:: vector EyeAngles() + + .. _CBaseEntity-GetGroundRelativePos: + + .. cpp:function:: vector GetGroundRelativePos() + + .. _CBaseEntity-SetUsableFOVByDegrees: + + .. cpp:function:: unknown SetUsableFOVByDegrees(unknown) + + .. _CBaseEntity-CreateStringForFunction: + + .. cpp:function:: string CreateStringForFunction(function func) + + .. _CBaseEntity-SetShieldHealth: + + .. cpp:function:: void SetShieldHealth(int) + + .. _CBaseEntity-IsSpottedByTeam: + + .. cpp:function:: unknown IsSpottedByTeam(unknown) + + .. _CBaseEntity-IsEntAlive: + + .. cpp:function:: bool IsEntAlive() + + .. _CBaseEntity-GetValueForKey: + + .. cpp:function:: var GetValueForKey(string key) + + .. _CBaseEntity-SetNoTargetSmartAmmo: + + .. cpp:function:: void SetNoTargetSmartAmmo(bool noTarget) + + .. _CBaseEntity-GetMaxHealth: + + .. cpp:function:: int GetMaxHealth() + + .. _CBaseEntity-GetBossPlayer: + + .. cpp:function:: entity GetBossPlayer() + + .. _CBaseEntity-SetScriptName: + + .. cpp:function:: void SetScriptName(string name) + + .. _CBaseEntity-IsOnGround: + + .. cpp:function:: bool IsOnGround() + + .. _CBaseEntity-GetVelocity: + + .. cpp:function:: vector GetVelocity() + + .. _CBaseEntity-GetSpawner: + + .. cpp:function:: entity GetSpawner() + + .. _CBaseEntity-GetBlocksRadiusDamage: + + .. cpp:function:: unknown GetBlocksRadiusDamage(unknown) + + .. _CBaseEntity-SetValueForKey: + + .. cpp:function:: void SetValueForKey(var key, var val) + + .. _CBaseEntity-Highlight-IsEntityVisible: + + .. cpp:function:: bool Highlight_IsEntityVisible(int contextID) + + .. _CBaseEntity-IsNPC: + + .. cpp:function:: bool IsNPC() + + .. _CBaseEntity-SetParent: + + .. cpp:function:: void SetParent(entity parent, ..., string type = "") + + .. _CBaseEntity-SetTakeDamageType: + + .. cpp:function:: void SetTakeDamageType(int takeDamageType) + + .. _CBaseEntity-IsMechanical: + + .. cpp:function:: bool IsMechanical() + + .. _CBaseEntity-SetPassThroughFlags: + + .. cpp:function:: unknown SetPassThroughFlags(unknown) + + .. _CBaseEntity-RemoveFromSpatialPartition: + + .. cpp:function:: void RemoveFromSpatialPartition() + + .. _CBaseEntity-GetTitle: + + .. cpp:function:: unknown GetTitle(unknown) + + .. _CBaseEntity-SetBoundingBox: + + .. cpp:function:: unknown SetBoundingBox(unknown) + + .. _CBaseEntity-MakeVisible: + + .. cpp:function:: void MakeVisible() + + .. _CBaseEntity-IsChild: + + .. cpp:function:: unknown IsChild(unknown) + + .. _CBaseEntity-SetUsableFOV: + + .. cpp:function:: unknown SetUsableFOV(unknown) + + .. _CBaseEntity-HasPusherRootParent: + + .. cpp:function:: bool HasPusherRootParent() + + .. _CBaseEntity-GetEntIndex: + + .. cpp:function:: int GetEntIndex() + + .. _CBaseEntity-Minimap-SetCustomState: + + .. cpp:function:: void Minimap_SetCustomState(int state) + + .. _CBaseEntity-GetTargetName: + + .. cpp:function:: string GetTargetName() + + .. _CBaseEntity-GetWorldSpaceCenter: + + .. cpp:function:: vector GetWorldSpaceCenter() + + .. _CBaseEntity-SetOwner: + + .. cpp:function:: void SetOwner(entity owner) + + .. _CBaseEntity-Minimap-SetZOrder: + + .. cpp:function:: void Minimap_SetZOrder(int order) + + .. _CBaseEntity-GetParentAttachment: + + .. cpp:function:: entity GetParentAttachment() + + .. _CBaseEntity-SetCloakFlicker: + + .. cpp:function:: void SetCloakFlicker(float intensity, float duration) + + .. _CBaseEntity-SetAbsForwardVector: + + .. cpp:function:: unknown SetAbsForwardVector(unknown) + + .. _CBaseEntity-GetRootMoveParent: + + .. cpp:function:: entity GetRootMoveParent() + + .. _CBaseEntity-Signal: + + .. cpp:function:: void Signal(string signal) + + .. _CBaseEntity-GetSmoothedVelocity: + + .. cpp:function:: unknown GetSmoothedVelocity(unknown) + + .. _CBaseEntity-SetModel: + + .. cpp:function:: void SetModel(asset model) + + .. _CBaseEntity-GetRightVector: + + .. cpp:function:: vector GetRightVector() + + .. _CBaseEntity-GetBodyGroupNameFromHitboxId: + + .. cpp:function:: unknown GetBodyGroupNameFromHitboxId(unknown) + + .. _CBaseEntity-SetBlocksLOS: + + .. cpp:function:: unknown SetBlocksLOS(unknown) + + .. _CBaseEntity-GetClassName: + + .. cpp:function:: string GetClassName() + + .. _CBaseEntity-GetUsableValue: + + .. cpp:function:: unknown GetUsableValue(unknown) + + .. _CBaseEntity-SetValueForKey: + + .. cpp:function:: void SetValueForKey(var key, var val) + + .. _CBaseEntity-SetPusher: + + .. cpp:function:: unknown SetPusher(unknown) + + .. _CBaseEntity-AllowMantle: + + .. cpp:function:: unknown AllowMantle(unknown) + + .. _CBaseEntity-SetNameVisibleToEnemy: + + .. cpp:function:: void SetNameVisibleToEnemy(bool visible) + + .. _CBaseEntity-GetScriptScope: + + .. cpp:function:: table GetScriptScope() + + .. _CBaseEntity-IsPhaseShifted: + + .. cpp:function:: bool IsPhaseShifted() + + .. _CBaseEntity-SetFadeDistance: + + .. cpp:function:: void SetFadeDistance(int distance) + + .. _CBaseEntity-IsRenderingWithViewModels: + + .. cpp:function:: unknown IsRenderingWithViewModels(unknown) + + .. _CBaseEntity-GetAngularVelocity: + + .. cpp:function:: unknown GetAngularVelocity(unknown) + + .. _CBaseEntity-UnsetUsable: + + .. cpp:function:: void UnsetUsable() + + .. _CBaseEntity-SetDeathNotifications: + + .. cpp:function:: void SetDeathNotifications(bool notifs) + + .. _CBaseEntity-SetAbsOrigin: + + .. cpp:function:: void SetAbsOrigin(void origin) + + .. _CBaseEntity-GetTarget-Deprecated: + + .. cpp:function:: unknown GetTarget_Deprecated(unknown) + + .. _CBaseEntity-GetPusher: + + .. cpp:function:: unknown GetPusher(unknown) + + .. _CBaseEntity-SetUsableValue: + + .. cpp:function:: void SetUsableValue(int val) + + .. _CBaseEntity-GetValueForModelKey: + + .. cpp:function:: asset GetValueForModelKey() + + .. _CBaseEntity-IsInvulnerable: + + .. cpp:function:: bool IsInvulnerable() + + .. _CBaseEntity-SetAimAssistAllowed: + + .. cpp:function:: unknown SetAimAssistAllowed(unknown) + + .. _CBaseEntity-StopPhysics: + + .. cpp:function:: void StopPhysics() + + .. _CBaseEntity-IsHighlightEnabledForTeam: + + .. cpp:function:: unknown IsHighlightEnabledForTeam(unknown) + + .. _CBaseEntity-GetCenter: + + .. cpp:function:: vector GetCenter() + + .. _CBaseEntity-GetLocalVelocity: + + .. cpp:function:: unknown GetLocalVelocity(unknown) + + .. _CBaseEntity-AddToSpatialPartition: + + .. cpp:function:: unknown AddToSpatialPartition(unknown) + + .. _CBaseEntity-AddUsableValue: + + .. cpp:function:: unknown AddUsableValue(unknown) + + .. _CBaseEntity-SetCanCloak: + + .. cpp:function:: void SetCanCloak(bool canCloak) + + .. _CBaseEntity-SetNameVisibleToFriendly: + + .. cpp:function:: void SetNameVisibleToFriendly(bool visible) + + .. _CBaseEntity-GetCloakEndTime: + + .. cpp:function:: unknown GetCloakEndTime(unknown) + + .. _CBaseEntity-IsFuncBrush: + + .. cpp:function:: unknown IsFuncBrush(unknown) + + .. _CBaseEntity-IsTitan: + + .. cpp:function:: bool IsTitan() + + .. _CBaseEntity-IsOperator: + + .. cpp:function:: unknown IsOperator(unknown) + + .. _CBaseEntity-IsHuman: + + .. cpp:function:: bool IsHuman() + + .. _CBaseEntity-SetCloakDuration: + + .. cpp:function:: unknown SetCloakDuration(unknown) + + .. _CBaseEntity-IsBreakableGlass: + + .. cpp:function:: bool IsBreakableGlass() + + .. _CBaseEntity-SetUsablePriority: + + .. cpp:function:: unknown SetUsablePriority(unknown) + + .. _CBaseEntity-Minimap-SetAlignUpright: + + .. cpp:function:: void Minimap_SetAlignUpright(bool align) + + .. _CBaseEntity-MarkAsNonMovingAttachment: + + .. cpp:function:: void MarkAsNonMovingAttachment() + + .. _CBaseEntity-DumpParentingState: + + .. cpp:function:: unknown DumpParentingState(unknown) + + .. _CBaseEntity-Set: + + .. cpp:function:: var Set(string key) + + .. _CBaseEntity-SetValueForEffectNameKey: + + .. cpp:function:: void SetValueForEffectNameKey(asset effect) + + .. _CBaseEntity-SetNameVisibleToNeutral: + + .. cpp:function:: unknown SetNameVisibleToNeutral(unknown) + + .. _CBaseEntity-Highlight-GetCurrentContext: + + .. cpp:function:: int Highlight_GetCurrentContext() + + .. _CBaseEntity-LagCompensate: + + .. cpp:function:: unknown LagCompensate(unknown) + + .. _CBaseEntity-Highlight-GetInheritHighlight: + + .. cpp:function:: unknown Highlight_GetInheritHighlight() + + .. _CBaseEntity-Highlight-GetInsideFunction: + + .. cpp:function:: int Highlight_GetInsideFunction(int contextID) + + .. _CBaseEntity-SetAngles: + + .. cpp:function:: void SetAngles(vector angle) + + .. _CBaseEntity-Highlight-GetParam: + + .. cpp:function:: unknown Highlight_GetParam(int contextID, int parameterNum) + + .. _CBaseEntity-Highlight-GetState: + + .. cpp:function:: int Highlight_GetState(int contextID) + + .. _CBaseEntity-Highlight-IsAfterPostProcess: + + .. cpp:function:: bool Highlight_IsAfterPostProcess(int contextID) + + .. _CBaseEntity-Highlight-HideOutline: + + .. cpp:function:: void Highlight_HideOutline(float duration) + + .. _CBaseEntity-FirstMoveChild: + + .. cpp:function:: entity FirstMoveChild() + + .. _CBaseEntity-SetNextThinkNow: + + .. cpp:function:: void SetNextThinkNow() + + .. _CBaseEntity-GetNoTarget: + + .. cpp:function:: bool GetNoTarget() + + .. _CBaseEntity-Highlight-HideInside: + + .. cpp:function:: void Highlight_HideInside(float duration) + + .. _CBaseEntity-Highlight-Enable: + + .. cpp:function:: unknown Highlight_Enable(unknown) + + .. _CBaseEntity-GetParentAttachmentIndex: + + .. cpp:function:: unknown GetParentAttachmentIndex(unknown) + + .. _CBaseEntity-SetUsable: + + .. cpp:function:: void SetUsable(bool usable) + + .. _CBaseEntity-GetPhysicsSolidMask: + + .. cpp:function:: int GetPhysicsSolidMask() + + .. _CBaseEntity-ClearParent: + + .. cpp:function:: void ClearParent(entity parent) + + .. _CBaseEntity-IsPlayer: + + .. cpp:function:: bool IsPlayer() + + .. _CBaseEntity-EnableDraw: + + .. cpp:function:: void EnableDraw() + + .. _CBaseEntity-GetBlocksLOS: + + .. cpp:function:: unknown GetBlocksLOS(unknown) + + .. _CBaseEntity-EyePosition: + + .. cpp:function:: vector EyePosition() + diff --git a/docs/source/reference/respawn/entities/server/CBaseGrenade.rst b/docs/source/reference/respawn/entities/server/CBaseGrenade.rst new file mode 100644 index 00000000..1c910668 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CBaseGrenade.rst @@ -0,0 +1,76 @@ +.. _CBaseGrenade: + +CBaseGrenade +============ + +.. cpp:class:: CBaseGrenade extends CProjectile + + Inherits all properties from :ref:`CProjectile ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CBaseGrenade-GrenadeIgnite: + + .. cpp:function:: void GrenadeIgnite() + + .. _CBaseGrenade-GrenadeHasIgnited: + + .. cpp:function:: bool GrenadeHasIgnited() + + .. _CBaseGrenade-SetGrenadeTimer: + + .. cpp:function:: void SetGrenadeTimer(float fuseTime) + + .. _CBaseGrenade-SetGrenadeIgnitionDuration: + + .. cpp:function:: void SetGrenadeIgnitionDuration(float fuseTime) + + .. _CBaseGrenade-InitMagnetic: + + .. cpp:function:: void InitMagnetic(float force, string attractKey) + + .. _CBaseGrenade-SetDoesExplode: + + .. cpp:function:: void SetDoesExplode(bool explodes) + + .. _CBaseGrenade-GetThrower: + + .. cpp:function:: entity GetThrower() + + .. _CBaseGrenade-MarkAsAttached: + + .. cpp:function:: void MarkAsAttached() + + .. _CBaseGrenade-GetCreationTime: + + .. cpp:function:: unknown GetCreationTime(unknown) + + .. _CBaseGrenade-GetDamageAmount: + + .. cpp:function:: unknown GetDamageAmount(unknown) + + .. _CBaseGrenade-GetDamageRadius: + + .. cpp:function:: float GetDamageRadius() + + .. _CBaseGrenade-ExplodeForCollisionCallback: + + .. cpp:function:: void ExplodeForCollisionCallback(vector normal) + + .. _CBaseGrenade-GetFuseTime: + + .. cpp:function:: unknown GetFuseTime(unknown) + + .. _CBaseGrenade-SetLauncherOwner: + + .. cpp:function:: unknown SetLauncherOwner(unknown) + + .. _CBaseGrenade-GetExplosionRadius: + + .. cpp:function:: float GetExplosionRadius() + + .. _CBaseGrenade-GrenadeExplode: + + .. cpp:function:: void GrenadeExplode(vector normal) + diff --git a/docs/source/reference/respawn/entities/server/CBaseHelicopter.rst b/docs/source/reference/respawn/entities/server/CBaseHelicopter.rst new file mode 100644 index 00000000..88fb4ee5 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CBaseHelicopter.rst @@ -0,0 +1,37 @@ +.. _CBaseHelicopter: + +CBaseHelicopter +=============== + +.. cpp:class:: CBaseHelicopter extends CAI_TrackPather + + Inherits all properties from :ref:`CAI_TrackPather ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`CNPC_Dropship ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CBaseHelicopter-EngineEffectsDisable: + + .. cpp:function:: unknown EngineEffectsDisable(unknown) + + .. _CBaseHelicopter-SetFacingEntity: + + .. cpp:function:: unknown SetFacingEntity(unknown) + + .. _CBaseHelicopter-SetSpeedImmediate: + + .. cpp:function:: unknown SetSpeedImmediate(unknown) + + .. _CBaseHelicopter-ClearFacingEntity: + + .. cpp:function:: unknown ClearFacingEntity(unknown) + + .. _CBaseHelicopter-EngineEffectsEnable: + + .. cpp:function:: unknown EngineEffectsEnable(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CBaseTrigger.rst b/docs/source/reference/respawn/entities/server/CBaseTrigger.rst new file mode 100644 index 00000000..966670b1 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CBaseTrigger.rst @@ -0,0 +1,81 @@ +.. _CBaseTrigger: + +CBaseTrigger +============ + +.. cpp:class:: CBaseTrigger extends CBaseEntity + + Inherits all properties from :ref:`CBaseEntity ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`CTriggerCylinder ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CBaseTrigger-IsTouching: + + .. cpp:function:: unknown IsTouching(unknown) + + .. _CBaseTrigger-SearchForNewTouchingEntity: + + .. cpp:function:: unknown SearchForNewTouchingEntity(unknown) + + .. _CBaseTrigger-SetEnterCallback: + + .. cpp:function:: unknown SetEnterCallback(unknown) + + .. _CBaseTrigger-Enable: + + .. cpp:function:: unknown Enable(unknown) + + .. _CBaseTrigger-GetNearbyDistance: + + .. cpp:function:: unknown GetNearbyDistance(unknown) + + .. _CBaseTrigger-SetLeaveCallback: + + .. cpp:function:: unknown SetLeaveCallback(unknown) + + .. _CBaseTrigger-GetTouchingEntities: + + .. cpp:function:: unknown GetTouchingEntities(unknown) + + .. _CBaseTrigger-GetClosestPoint: + + .. cpp:function:: unknown GetClosestPoint(unknown) + + .. _CBaseTrigger-GetNearbyFraction: + + .. cpp:function:: unknown GetNearbyFraction(unknown) + + .. _CBaseTrigger-IsEnabled: + + .. cpp:function:: unknown IsEnabled(unknown) + + .. _CBaseTrigger-Disable: + + .. cpp:function:: unknown Disable(unknown) + + .. _CBaseTrigger-IsTouched: + + .. cpp:function:: unknown IsTouched(unknown) + + .. _CBaseTrigger-ContainsPoint: + + .. cpp:function:: unknown ContainsPoint(unknown) + + .. _CBaseTrigger-SetNearbyRadius: + + .. cpp:function:: unknown SetNearbyRadius(unknown) + + .. _CBaseTrigger-SetPhaseShiftCanTouch: + + .. cpp:function:: unknown SetPhaseShiftCanTouch(unknown) + + .. _CBaseTrigger-GetNearbyRadius: + + .. cpp:function:: unknown GetNearbyRadius(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CBreakable.rst b/docs/source/reference/respawn/entities/server/CBreakable.rst new file mode 100644 index 00000000..56d10e42 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CBreakable.rst @@ -0,0 +1,17 @@ +.. _CBreakable: + +CBreakable +========== + +.. cpp:class:: CBreakable extends CBaseEntity + + Inherits all properties from :ref:`CBaseEntity ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`CBreakableSurface ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + diff --git a/docs/source/reference/respawn/entities/server/CBreakableSurface.rst b/docs/source/reference/respawn/entities/server/CBreakableSurface.rst new file mode 100644 index 00000000..539240b3 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CBreakableSurface.rst @@ -0,0 +1,16 @@ +.. _CBreakableSurface: + +CBreakableSurface +================= + +.. cpp:class:: CBreakableSurface extends CBreakable + + Inherits all properties from :ref:`CBreakable ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CBreakableSurface-BreakSphere: + + .. cpp:function:: unknown BreakSphere(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CCrossbowBolt.rst b/docs/source/reference/respawn/entities/server/CCrossbowBolt.rst new file mode 100644 index 00000000..0f94d18e --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CCrossbowBolt.rst @@ -0,0 +1,16 @@ +.. _CCrossbowBolt: + +CCrossbowBolt +============= + +.. cpp:class:: CCrossbowBolt extends CProjectile + + Inherits all properties from :ref:`CProjectile ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CCrossbowBolt-SetRicochetMaxCount: + + .. cpp:function:: unknown SetRicochetMaxCount(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CDynamicProp.rst b/docs/source/reference/respawn/entities/server/CDynamicProp.rst new file mode 100644 index 00000000..22ba433b --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CDynamicProp.rst @@ -0,0 +1,25 @@ +.. _CDynamicProp: + +CDynamicProp +============ + +.. cpp:class:: CDynamicProp extends CBaseAnimating + + Inherits all properties from :ref:`CBaseAnimating ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`CScriptProp ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CDynamicProp-SetBoneFollowersSolid: + + .. cpp:function:: unknown SetBoneFollowersSolid(unknown) + + .. _CDynamicProp-GetBoneFollowerForBone: + + .. cpp:function:: unknown GetBoneFollowerForBone(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CEnvExplosion.rst b/docs/source/reference/respawn/entities/server/CEnvExplosion.rst new file mode 100644 index 00000000..b7e6d548 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CEnvExplosion.rst @@ -0,0 +1,12 @@ +.. _CEnvExplosion: + +CEnvExplosion +============= + +.. cpp:class:: CEnvExplosion extends CBaseEntity + + Inherits all properties from :ref:`CBaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + diff --git a/docs/source/reference/respawn/entities/server/CFirstPersonProxy.rst b/docs/source/reference/respawn/entities/server/CFirstPersonProxy.rst new file mode 100644 index 00000000..5e459670 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CFirstPersonProxy.rst @@ -0,0 +1,20 @@ +.. _CFirstPersonProxy: + +CFirstPersonProxy +================= + +.. cpp:class:: CFirstPersonProxy extends CBaseAnimating + + Inherits all properties from :ref:`CBaseAnimating ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CFirstPersonProxy-HideFirstPersonProxy: + + .. cpp:function:: unknown HideFirstPersonProxy(unknown) + + .. _CFirstPersonProxy-ShowFirstPersonProxy: + + .. cpp:function:: unknown ShowFirstPersonProxy(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CHardPointEntity.rst b/docs/source/reference/respawn/entities/server/CHardPointEntity.rst new file mode 100644 index 00000000..89e54d91 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CHardPointEntity.rst @@ -0,0 +1,80 @@ +.. _CHardPointEntity: + +CHardPointEntity +================ + +.. cpp:class:: CHardPointEntity extends CBaseEntity + + Inherits all properties from :ref:`CBaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CHardPointEntity-SetHardpointID: + + .. cpp:function:: unknown SetHardpointID(unknown) + + .. _CHardPointEntity-GetHardpointState: + + .. cpp:function:: unknown GetHardpointState(unknown) + + .. _CHardPointEntity-SetHardpointEstimatedCaptureTime: + + .. cpp:function:: unknown SetHardpointEstimatedCaptureTime(unknown) + + .. _CHardPointEntity-GetHardpointAICount: + + .. cpp:function:: unknown GetHardpointAICount(unknown) + + .. _CHardPointEntity-SetHardpointPlayerCount: + + .. cpp:function:: unknown SetHardpointPlayerCount(unknown) + + .. _CHardPointEntity-Enabled: + + .. cpp:function:: unknown Enabled(unknown) + + .. _CHardPointEntity-GetTerminal: + + .. cpp:function:: unknown GetTerminal(unknown) + + .. _CHardPointEntity-SetTerminal: + + .. cpp:function:: unknown SetTerminal(unknown) + + .. _CHardPointEntity-GetHardpointID: + + .. cpp:function:: unknown GetHardpointID(unknown) + + .. _CHardPointEntity-GetHardpointPlayerTitanCount: + + .. cpp:function:: unknown GetHardpointPlayerTitanCount(unknown) + + .. _CHardPointEntity-GetHardpointPlayerCount: + + .. cpp:function:: unknown GetHardpointPlayerCount(unknown) + + .. _CHardPointEntity-GetHardpointProgressRefPoint: + + .. cpp:function:: unknown GetHardpointProgressRefPoint(unknown) + + .. _CHardPointEntity-GetHardpointEstimatedCaptureTime: + + .. cpp:function:: unknown GetHardpointEstimatedCaptureTime(unknown) + + .. _CHardPointEntity-SetHardpointPlayerTitanCount: + + .. cpp:function:: unknown SetHardpointPlayerTitanCount(unknown) + + .. _CHardPointEntity-SetHardpointAICount: + + .. cpp:function:: unknown SetHardpointAICount(unknown) + + .. _CHardPointEntity-SetHardpointProgressRefPoint: + + .. cpp:function:: unknown SetHardpointProgressRefPoint(unknown) + + .. _CHardPointEntity-SetHardpointState: + + .. cpp:function:: unknown SetHardpointState(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CMissile.rst b/docs/source/reference/respawn/entities/server/CMissile.rst new file mode 100644 index 00000000..00dfface --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CMissile.rst @@ -0,0 +1,84 @@ +.. _CMissile: + +CMissile +======== + +.. cpp:class:: CMissile extends CProjectile + + Inherits all properties from :ref:`CProjectile ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CMissile-InitMissileForRandomDriftFromWeaponSettings: + + .. cpp:function:: void InitMissileForRandomDriftFromWeaponSettings(vector pos, vector dir) + + .. _CMissile-GetHomingSpeedAtDodgingPlayer: + + .. cpp:function:: unknown GetHomingSpeedAtDodgingPlayer(unknown) + + .. _CMissile-ApplyMissileControlledDrift: + + .. cpp:function:: unknown ApplyMissileControlledDrift(unknown) + + .. _CMissile-InitMissileForRandomDrift: + + .. cpp:function:: void InitMissileForRandomDrift(vector pos, vector dir) + + .. _CMissile-MissileExplode: + + .. cpp:function:: void MissileExplode() + + .. _CMissile-ClearMissileTargetPosition: + + .. cpp:function:: unknown ClearMissileTargetPosition(unknown) + + .. _CMissile-GetMissileTargetPosition: + + .. cpp:function:: unknown GetMissileTargetPosition(unknown) + + .. _CMissile-SetMissileTargetPosition: + + .. cpp:function:: void SetMissileTargetPosition(vector pos) + + .. _CMissile-SetMissileTarget: + + .. cpp:function:: void SetMissileTarget(enity target, vector offset) + + .. _CMissile-GetHomingSpeed: + + .. cpp:function:: unknown GetHomingSpeed(unknown) + + .. _CMissile-SetHomingSpeeds: + + .. cpp:function:: void SetHomingSpeeds(int speed, int speed_for_dodging_player) + + .. _CMissile-GetSpeed: + + .. cpp:function:: unknown GetSpeed(unknown) + + .. _CMissile-SetSpeed: + + .. cpp:function:: void SetSpeed(float speed) + + .. _CMissile-SetExplosionRadius: + + .. cpp:function:: unknown SetExplosionRadius(unknown) + + .. _CMissile-SetDamage: + + .. cpp:function:: unknown SetDamage(unknown) + + .. _CMissile-InitMissileSpiral: + + .. cpp:function:: void InitMissileSpiral(vector pos, vector dir, int missileNumber, bool unknown_purpose1, bool unknown_purpose2) + + .. _CMissile-InitMissileExpandContract: + + .. cpp:function:: void InitMissileExpandContract(vector outward, vector inward, float launchOutTime, float launchInLerpTime, float launchInTime, float launchStraightLerpTime, vector missileEndPos, bool applyRandSpread) + + .. _CMissile-GetMissileTarget: + + .. cpp:function:: entity GetMissileTarget() + diff --git a/docs/source/reference/respawn/entities/server/CNPC_Drone.rst b/docs/source/reference/respawn/entities/server/CNPC_Drone.rst new file mode 100644 index 00000000..f1bc1d29 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CNPC_Drone.rst @@ -0,0 +1,16 @@ +.. _CNPC-Drone: + +CNPC_Drone +========== + +.. cpp:class:: CNPC_Drone extends CAI_BaseNPC + + Inherits all properties from :ref:`CAI_BaseNPC ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CNPC_Drone-SetAttackMode: + + .. cpp:function:: void SetAttackMode(bool attack) + diff --git a/docs/source/reference/respawn/entities/server/CNPC_Dropship.rst b/docs/source/reference/respawn/entities/server/CNPC_Dropship.rst new file mode 100644 index 00000000..89236c50 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CNPC_Dropship.rst @@ -0,0 +1,20 @@ +.. _CNPC-Dropship: + +CNPC_Dropship +============= + +.. cpp:class:: CNPC_Dropship extends CBaseHelicopter + + Inherits all properties from :ref:`CBaseHelicopter ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CNPC_Dropship-SetJetWakeFXEnabled: + + .. cpp:function:: unknown SetJetWakeFXEnabled(unknown) + + .. _CNPC_Dropship-IsJetWakeFXEnabled: + + .. cpp:function:: bool IsJetWakeFXEnabled() + diff --git a/docs/source/reference/respawn/entities/server/CNPC_SentryTurret.rst b/docs/source/reference/respawn/entities/server/CNPC_SentryTurret.rst new file mode 100644 index 00000000..d91cdd70 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CNPC_SentryTurret.rst @@ -0,0 +1,44 @@ +.. _CNPC-SentryTurret: + +CNPC_SentryTurret +================= + +.. cpp:class:: CNPC_SentryTurret extends CAI_BaseNPC + + Inherits all properties from :ref:`CAI_BaseNPC ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CNPC_SentryTurret-SetControlPanel: + + .. cpp:function:: unknown SetControlPanel(unknown) + + .. _CNPC_SentryTurret-StartDeployed: + + .. cpp:function:: void StartDeployed() + + .. _CNPC_SentryTurret-GetControlPanel: + + .. cpp:function:: entity GetControlPanel() + + .. _CNPC_SentryTurret-SetMuzzleData: + + .. cpp:function:: unknown SetMuzzleData(unknown) + + .. _CNPC_SentryTurret-GetTurretState: + + .. cpp:function:: int GetTurretState() + + .. _CNPC_SentryTurret-DisableTurret: + + .. cpp:function:: unknown DisableTurret(unknown) + + .. _CNPC_SentryTurret-EnableTurret: + + .. cpp:function:: unknown EnableTurret(unknown) + + .. _CNPC_SentryTurret-SetDumbFireMode: + + .. cpp:function:: unknown SetDumbFireMode(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CNPC_Titan.rst b/docs/source/reference/respawn/entities/server/CNPC_Titan.rst new file mode 100644 index 00000000..9d818011 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CNPC_Titan.rst @@ -0,0 +1,24 @@ +.. _CNPC-Titan: + +CNPC_Titan +========== + +.. cpp:class:: CNPC_Titan extends CAI_BaseNPC + + Inherits all properties from :ref:`CAI_BaseNPC ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CNPC_Titan-GrappleNPC: + + .. cpp:function:: void GrappleNPC(vector dir) + + .. _CNPC_Titan-SetCanStand: + + .. cpp:function:: void SetCanStand(bool canStand) + + .. _CNPC_Titan-GetCanStand: + + .. cpp:function:: bool GetCanStand() + diff --git a/docs/source/reference/respawn/entities/server/CParticleSystem.rst b/docs/source/reference/respawn/entities/server/CParticleSystem.rst new file mode 100644 index 00000000..d36f77b8 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CParticleSystem.rst @@ -0,0 +1,32 @@ +.. _CParticleSystem: + +CParticleSystem +=============== + +.. cpp:class:: CParticleSystem extends CBaseEntity + + Inherits all properties from :ref:`CBaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CParticleSystem-FXDisableRenderAlways: + + .. cpp:function:: unknown FXDisableRenderAlways(unknown) + + .. _CParticleSystem-DoNotCreateFXOnRestore: + + .. cpp:function:: unknown DoNotCreateFXOnRestore(unknown) + + .. _CParticleSystem-SetControlPointEnt: + + .. cpp:function:: void SetControlPointEnt(int controlPoint, entity destEnt) + + .. _CParticleSystem-FXEnableRenderAlways: + + .. cpp:function:: void FXEnableRenderAlways() + + .. _CParticleSystem-SetStopType: + + .. cpp:function:: void SetStopType(string type) + diff --git a/docs/source/reference/respawn/entities/server/CPlayer.rst b/docs/source/reference/respawn/entities/server/CPlayer.rst new file mode 100644 index 00000000..5e3b98a7 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CPlayer.rst @@ -0,0 +1,1788 @@ +.. _CPlayer: + +CPlayer +======= + +.. cpp:class:: CPlayer extends CBaseCombatCharacter + + Inherits all properties from :ref:`CBaseCombatCharacter ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CPlayer-GetCommunityClanTag: + + .. cpp:function:: unknown GetCommunityClanTag(unknown) + + .. _CPlayer-GetVoicePackIndex: + + .. cpp:function:: unknown GetVoicePackIndex(unknown) + + .. _CPlayer-AnimViewEntity-Clear: + + .. cpp:function:: unknown AnimViewEntity_Clear(unknown) + + .. _CPlayer-GetTrackEntityOffset: + + .. cpp:function:: unknown GetTrackEntityOffset(unknown) + + .. _CPlayer-Weapon-CustomActivityClearAttachedModel: + + .. cpp:function:: unknown Weapon_CustomActivityClearAttachedModel(unknown) + + .. _CPlayer-DisableWeaponViewModel: + + .. cpp:function:: unknown DisableWeaponViewModel(unknown) + + .. _CPlayer-Despawn: + + .. cpp:function:: unknown Despawn(unknown) + + .. _CPlayer-SetCallSign: + + .. cpp:function:: unknown SetCallSign(unknown) + + .. _CPlayer-PlayerMelee-SetState: + + .. cpp:function:: void PlayerMelee_SetState(int state) + + .. _CPlayer-PlayerCone-SetMaxPitch: + + .. cpp:function:: void PlayerCone_SetMaxPitch(int maxPitch) + + .. _CPlayer-GetMMDbgFlags: + + .. cpp:function:: unknown GetMMDbgFlags(unknown) + + .. _CPlayer-GetRemoteTurret: + + .. cpp:function:: entity GetRemoteTurret() + + .. _CPlayer-SetPlayerNetFloatOverTime: + + .. cpp:function:: unknown SetPlayerNetFloatOverTime(unknown) + + .. _CPlayer-GetPlayerMins: + + .. cpp:function:: unknown GetPlayerMins(unknown) + + .. _CPlayer-SetTrackEntitySpringViewToCenterRate: + + .. cpp:function:: unknown SetTrackEntitySpringViewToCenterRate(unknown) + + .. _CPlayer-UnforceAutoSprint: + + .. cpp:function:: unknown UnforceAutoSprint(unknown) + + .. _CPlayer-SnapFeetToEyes: + + .. cpp:function:: void SnapFeetToEyes() + + .. _CPlayer-GetPlayerGameStat: + + .. cpp:function:: int GetPlayerGameStat(int PGS) + + .. _CPlayer-GetStandingViewHeight: + + .. cpp:function:: unknown GetStandingViewHeight(unknown) + + .. _CPlayer-UnlockWeaponChange: + + .. cpp:function:: unknown UnlockWeaponChange(unknown) + + .. _CPlayer-SetOneHandedWeaponUsageOn: + + .. cpp:function:: unknown SetOneHandedWeaponUsageOn(unknown) + + .. _CPlayer-GetReplayDelay: + + .. cpp:function:: unknown GetReplayDelay(unknown) + + .. _CPlayer-GetPINNucleusId: + + .. cpp:function:: unknown GetPINNucleusId(unknown) + + .. _CPlayer-SetPersistentVar: + + .. cpp:function:: void SetPersistentVar(string key, var val) + + .. _CPlayer-GetViewVector: + + .. cpp:function:: vector GetViewVector() + + .. _CPlayer-XPChanged: + + .. cpp:function:: unknown XPChanged(unknown) + + .. _CPlayer-SetIsReplayRoundWinning: + + .. cpp:function:: unknown SetIsReplayRoundWinning(unknown) + + .. _CPlayer-SetTrackEntityMinPitch: + + .. cpp:function:: unknown SetTrackEntityMinPitch(unknown) + + .. _CPlayer-SetCinematicEventFlags: + + .. cpp:function:: void SetCinematicEventFlags(int flag) + + .. _CPlayer-GetTrackEntityMaxPitch: + + .. cpp:function:: unknown GetTrackEntityMaxPitch(unknown) + + .. _CPlayer-AddXP: + + .. cpp:function:: unknown AddXP(unknown) + + .. _CPlayer-SetSendMovementCallbacks: + + .. cpp:function:: unknown SetSendMovementCallbacks(unknown) + + .. _CPlayer-PlayerMelee-EndAttack: + + .. cpp:function:: void PlayerMelee_EndAttack() + + .. _CPlayer-GetPlayerPlatformName: + + .. cpp:function:: unknown GetPlayerPlatformName(unknown) + + .. _CPlayer-Lunge-ClearTarget: + + .. cpp:function:: void Lunge_ClearTarget() + + .. _CPlayer-SetViewEntity: + + .. cpp:function:: unknown SetViewEntity(unknown) + + .. _CPlayer-GetTrackEntityMinYaw: + + .. cpp:function:: unknown GetTrackEntityMinYaw(unknown) + + .. _CPlayer-Weapon-StopCustomActivity: + + .. cpp:function:: unknown Weapon_StopCustomActivity(unknown) + + .. _CPlayer-GetTrackEntityLookaheadMaxAngle: + + .. cpp:function:: unknown GetTrackEntityLookaheadMaxAngle(unknown) + + .. _CPlayer-IsDodging: + + .. cpp:function:: unknown IsDodging(unknown) + + .. _CPlayer-GetPlayerSettingsAsset: + + .. cpp:function:: unknown GetPlayerSettingsAsset(unknown) + + .. _CPlayer-ClearHotDropImpactTime: + + .. cpp:function:: unknown ClearHotDropImpactTime(unknown) + + .. _CPlayer-SetNextTitanRespawnAvailable: + + .. cpp:function:: unknown SetNextTitanRespawnAvailable(unknown) + + .. _CPlayer-Lunge-IsLungingToPosition: + + .. cpp:function:: unknown Lunge_IsLungingToPosition(unknown) + + .. _CPlayer-GetPlatformUID: + + .. cpp:function:: unknown GetPlatformUID(unknown) + + .. _CPlayer-SetForcedDialogueOnly: + + .. cpp:function:: unknown SetForcedDialogueOnly(unknown) + + .. _CPlayer-SetSuitPower: + + .. cpp:function:: unknown SetSuitPower(unknown) + + .. _CPlayer-GetTrackEntityPitchLookMode: + + .. cpp:function:: unknown GetTrackEntityPitchLookMode(unknown) + + .. _CPlayer-MovementDisable: + + .. cpp:function:: unknown MovementDisable(unknown) + + .. _CPlayer-Server-TurnDodgeDisabledOn: + + .. cpp:function:: void Server_TurnDodgeDisabledOn() + + .. _CPlayer-Weapon-GetCustomActivityDuration: + + .. cpp:function:: unknown Weapon_GetCustomActivityDuration(unknown) + + .. _CPlayer-AddToPlayerGameStat: + + .. cpp:function:: unknown AddToPlayerGameStat(unknown) + + .. _CPlayer-GetSuitPower: + + .. cpp:function:: unknown GetSuitPower(unknown) + + .. _CPlayer-SetWallrunFrictionScale: + + .. cpp:function:: unknown SetWallrunFrictionScale(unknown) + + .. _CPlayer-GetUserInfoFloat: + + .. cpp:function:: unknown GetUserInfoFloat(unknown) + + .. _CPlayer-GetUserInfoInt: + + .. cpp:function:: unknown GetUserInfoInt(unknown) + + .. _CPlayer-GetUserInfoString: + + .. cpp:function:: unknown GetUserInfoString(unknown) + + .. _CPlayer-GetFirstObserverTarget: + + .. cpp:function:: unknown GetFirstObserverTarget(unknown) + + .. _CPlayer-SetPlayerSettingsWithMods: + + .. cpp:function:: void SetPlayerSettingsWithMods(string settings, array newMods) + + .. _CPlayer-ViewOffsetEntity-SetLerpOutTime: + + .. cpp:function:: unknown ViewOffsetEntity_SetLerpOutTime(unknown) + + .. _CPlayer-ClearSpawnPoint: + + .. cpp:function:: unknown ClearSpawnPoint(unknown) + + .. _CPlayer-GetObjectiveIndex: + + .. cpp:function:: int GetObjectiveIndex() + + .. _CPlayer-SetPlayerSettings: + + .. cpp:function:: unknown SetPlayerSettings(unknown) + + .. _CPlayer-GetViewPunchSqrd: + + .. cpp:function:: unknown GetViewPunchSqrd(unknown) + + .. _CPlayer-RecordSkill: + + .. cpp:function:: unknown RecordSkill(unknown) + + .. _CPlayer-RecordLastMatchPerformance: + + .. cpp:function:: unknown RecordLastMatchPerformance(unknown) + + .. _CPlayer-GetPlayerNetBool: + + .. cpp:function:: bool GetPlayerNetBool(string key) + + .. _CPlayer-DisableAllIDLightsFriendly: + + .. cpp:function:: unknown DisableAllIDLightsFriendly(unknown) + + .. _CPlayer-RecordLastMatchContribution: + + .. cpp:function:: unknown RecordLastMatchContribution(unknown) + + .. _CPlayer-ClearExtraWeaponMods: + + .. cpp:function:: unknown ClearExtraWeaponMods(unknown) + + .. _CPlayer-TakeExtraWeaponMod: + + .. cpp:function:: unknown TakeExtraWeaponMod(unknown) + + .. _CPlayer-GiveScriptWeapon: + + .. cpp:function:: unknown GiveScriptWeapon(unknown) + + .. _CPlayer-GetOriginOutOfTraversal: + + .. cpp:function:: unknown GetOriginOutOfTraversal(unknown) + + .. _CPlayer-SetObserverModeStaticPosition: + + .. cpp:function:: unknown SetObserverModeStaticPosition(unknown) + + .. _CPlayer-SetPlayerPilotSettings: + + .. cpp:function:: unknown SetPlayerPilotSettings(unknown) + + .. _CPlayer-ViewOffsetEntity-SetEntity: + + .. cpp:function:: unknown ViewOffsetEntity_SetEntity(unknown) + + .. _CPlayer-CleanupMPClasses: + + .. cpp:function:: unknown CleanupMPClasses(unknown) + + .. _CPlayer-ViewOffsetEntity-SetLerpInTime: + + .. cpp:function:: unknown ViewOffsetEntity_SetLerpInTime(unknown) + + .. _CPlayer-GetClassDataEnts: + + .. cpp:function:: unknown GetClassDataEnts(unknown) + + .. _CPlayer-Disconnected: + + .. cpp:function:: unknown Disconnected(unknown) + + .. _CPlayer-OnDeathAsClass: + + .. cpp:function:: unknown OnDeathAsClass(unknown) + + .. _CPlayer-IsWeaponChangeLocked: + + .. cpp:function:: unknown IsWeaponChangeLocked(unknown) + + .. _CPlayer-HasExtraWeaponMod: + + .. cpp:function:: unknown HasExtraWeaponMod(unknown) + + .. _CPlayer-SpawnAsClass: + + .. cpp:function:: unknown SpawnAsClass(unknown) + + .. _CPlayer-InitSPClasses: + + .. cpp:function:: unknown InitSPClasses(unknown) + + .. _CPlayer-SetTrackEntityMaxPitch: + + .. cpp:function:: unknown SetTrackEntityMaxPitch(unknown) + + .. _CPlayer-RespawnPlayer: + + .. cpp:function:: unknown RespawnPlayer(unknown) + + .. _CPlayer-GetMeleeDisabled: + + .. cpp:function:: unknown GetMeleeDisabled(unknown) + + .. _CPlayer-InitMPClasses: + + .. cpp:function:: unknown InitMPClasses(unknown) + + .. _CPlayer-ForceStand: + + .. cpp:function:: void ForceStand() + + .. _CPlayer-GetDropEntForPoint: + + .. cpp:function:: unknown GetDropEntForPoint(unknown) + + .. _CPlayer-GetSPDifficulty: + + .. cpp:function:: unknown GetSPDifficulty(unknown) + + .. _CPlayer-SetTrackEntityLookaheadMaxAngle: + + .. cpp:function:: unknown SetTrackEntityLookaheadMaxAngle(unknown) + + .. _CPlayer-SmartAmmo-GetHighestLockOnMeFraction: + + .. cpp:function:: float SmartAmmo_GetHighestLockOnMeFraction() + + .. _CPlayer-SetTrackEntityLookaheadUpperEntSpeed: + + .. cpp:function:: unknown SetTrackEntityLookaheadUpperEntSpeed(unknown) + + .. _CPlayer-SetCallingCard: + + .. cpp:function:: unknown SetCallingCard(unknown) + + .. _CPlayer-Server-TurnOffhandWeaponsDisabledOn: + + .. cpp:function:: void Server_TurnOffhandWeaponsDisabledOn() + + .. _CPlayer-IsWatchingSpecReplay: + + .. cpp:function:: unknown IsWatchingSpecReplay(unknown) + + .. _CPlayer-GetPlayerStateStats: + + .. cpp:function:: unknown GetPlayerStateStats(unknown) + + .. _CPlayer-GetPINAdditionalData: + + .. cpp:function:: unknown GetPINAdditionalData(unknown) + + .. _CPlayer-IsPlayingRanked: + + .. cpp:function:: unknown IsPlayingRanked(unknown) + + .. _CPlayer-SetExtraWeaponMods: + + .. cpp:function:: unknown SetExtraWeaponMods(unknown) + + .. _CPlayer-GetLatency: + + .. cpp:function:: unknown GetLatency(unknown) + + .. _CPlayer-GetExtraWeaponMods: + + .. cpp:function:: unknown GetExtraWeaponMods(unknown) + + .. _CPlayer-Server-SetDodgePower: + + .. cpp:function:: void Server_SetDodgePower(float dodgePower) + + .. _CPlayer-AirCameraMaxPitch: + + .. cpp:function:: unknown AirCameraMaxPitch(unknown) + + .. _CPlayer-CreateAnimatedPlayerDecoy: + + .. cpp:function:: entity CreateAnimatedPlayerDecoy(string decoyType) + + .. _CPlayer-GetPlayerRequestedSettingsField: + + .. cpp:function:: unknown GetPlayerRequestedSettingsField(unknown) + + .. _CPlayer-GetObserverMode: + + .. cpp:function:: int GetObserverMode() + + .. _CPlayer-GetPlayerSettingsField: + + .. cpp:function:: string GetPlayerSettingsField(string field) + + .. _CPlayer-Weapon-CustomActivityAttachModel: + + .. cpp:function:: unknown Weapon_CustomActivityAttachModel(unknown) + + .. _CPlayer-GetPlayerModsForPos: + + .. cpp:function:: unknown GetPlayerModsForPos(unknown) + + .. _CPlayer-SetPlayerSettingPosMods: + + .. cpp:function:: unknown SetPlayerSettingPosMods(unknown) + + .. _CPlayer-RunSettingsChangedFuncs: + + .. cpp:function:: unknown RunSettingsChangedFuncs(unknown) + + .. _CPlayer-AnimViewEntity-SetThirdPersonCameraAttachments: + + .. cpp:function:: unknown AnimViewEntity_SetThirdPersonCameraAttachments(unknown) + + .. _CPlayer-Dev-GetPlayerSettingByKeyField: + + .. cpp:function:: unknown Dev_GetPlayerSettingByKeyField(unknown) + + .. _CPlayer-GetSPTitanLoadoutsSelected: + + .. cpp:function:: unknown GetSPTitanLoadoutsSelected(unknown) + + .. _CPlayer-GetSPTitanLoadoutsUsed: + + .. cpp:function:: unknown GetSPTitanLoadoutsUsed(unknown) + + .. _CPlayer-GetSPHighestDifficultyCompleted: + + .. cpp:function:: unknown GetSPHighestDifficultyCompleted(unknown) + + .. _CPlayer-SetAnimNearZ: + + .. cpp:function:: unknown SetAnimNearZ(unknown) + + .. _CPlayer-FreezeControlsOnServer: + + .. cpp:function:: void FreezeControlsOnServer() + + .. _CPlayer-IsStanding: + + .. cpp:function:: bool IsStanding() + + .. _CPlayer-GetSPStartPoint: + + .. cpp:function:: unknown GetSPStartPoint(unknown) + + .. _CPlayer-GetPreferredDataCenter: + + .. cpp:function:: unknown GetPreferredDataCenter(unknown) + + .. _CPlayer-GetIPString: + + .. cpp:function:: unknown GetIPString(unknown) + + .. _CPlayer-GetPINPlatformId: + + .. cpp:function:: unknown GetPINPlatformId(unknown) + + .. _CPlayer-ForceMPAimassist: + + .. cpp:function:: unknown ForceMPAimassist(unknown) + + .. _CPlayer-ForceAutoSprintOn: + + .. cpp:function:: unknown ForceAutoSprintOn(unknown) + + .. _CPlayer-StartObservingPlayerInFirstPerson: + + .. cpp:function:: unknown StartObservingPlayerInFirstPerson(unknown) + + .. _CPlayer-Player-GetWorldViewAngles: + + .. cpp:function:: unknown Player_GetWorldViewAngles(unknown) + + .. _CPlayer-RequestCallbackWhenPlayerHasBeenConnectedForDuration: + + .. cpp:function:: unknown RequestCallbackWhenPlayerHasBeenConnectedForDuration(unknown) + + .. _CPlayer-GetPlayerNetEnt: + + .. cpp:function:: entity GetPlayerNetEnt(string key) + + .. _CPlayer-SetTrackEntityPushedInByGeo: + + .. cpp:function:: unknown SetTrackEntityPushedInByGeo(unknown) + + .. _CPlayer-AirCameraEnable: + + .. cpp:function:: unknown AirCameraEnable(unknown) + + .. _CPlayer-GetPlayerNetTime: + + .. cpp:function:: float GetPlayerNetTime(string key) + + .. _CPlayer-GetPlayerNetFloat: + + .. cpp:function:: float GetPlayerNetFloat(string state) + + .. _CPlayer-SetPlayerSettingsFromDataTable: + + .. cpp:function:: unknown SetPlayerSettingsFromDataTable(unknown) + + .. _CPlayer-SetPlayerNetEnt: + + .. cpp:function:: unknown SetPlayerNetEnt(unknown) + + .. _CPlayer-SetPlayerNetTime: + + .. cpp:function:: unknown SetPlayerNetTime(unknown) + + .. _CPlayer-SetPlayerNetFloat: + + .. cpp:function:: unknown SetPlayerNetFloat(unknown) + + .. _CPlayer-GetTrackEntity: + + .. cpp:function:: unknown GetTrackEntity(unknown) + + .. _CPlayer-HasPassive: + + .. cpp:function:: bool HasPassive(int passive) + + .. _CPlayer-SetPlayerNetInt: + + .. cpp:function:: void SetPlayerNetInt(string key, int val) + + .. _CPlayer-GetTrackEntityLookaheadLerpAheadRate: + + .. cpp:function:: unknown GetTrackEntityLookaheadLerpAheadRate(unknown) + + .. _CPlayer-SetPlayerNetBool: + + .. cpp:function:: void SetPlayerNetBool(string key, bool val) + + .. _CPlayer-HidePlayer: + + .. cpp:function:: unknown HidePlayer(unknown) + + .. _CPlayer-SetCallSignStyle: + + .. cpp:function:: unknown SetCallSignStyle(unknown) + + .. _CPlayer-IsWorldSpacePlayerEyeAngles: + + .. cpp:function:: unknown IsWorldSpacePlayerEyeAngles(unknown) + + .. _CPlayer-Lunge-GetStartPositionOffset: + + .. cpp:function:: vector Lunge_GetStartPositionOffset() + + .. _CPlayer-DisableWorldSpacePlayerEyeAngles: + + .. cpp:function:: unknown DisableWorldSpacePlayerEyeAngles(unknown) + + .. _CPlayer-GetMantlingEndPosition: + + .. cpp:function:: unknown GetMantlingEndPosition(unknown) + + .. _CPlayer-GetStandingHullMax: + + .. cpp:function:: unknown GetStandingHullMax(unknown) + + .. _CPlayer-GetUserInfoBool: + + .. cpp:function:: unknown GetUserInfoBool(unknown) + + .. _CPlayer-GivePassive: + + .. cpp:function:: unknown GivePassive(unknown) + + .. _CPlayer-GetWallrunFrictionScale: + + .. cpp:function:: unknown GetWallrunFrictionScale(unknown) + + .. _CPlayer-SetGroundFrictionScale: + + .. cpp:function:: void SetGroundFrictionScale(int scale) + + .. _CPlayer-AnimViewEntity-SetEntity: + + .. cpp:function:: unknown AnimViewEntity_SetEntity(unknown) + + .. _CPlayer-PlayerCone-SetMinYaw: + + .. cpp:function:: void PlayerCone_SetMinYaw(int min) + + .. _CPlayer-PlayerMelee-StartAttack: + + .. cpp:function:: void PlayerMelee_StartAttack(int attackState) + + .. _CPlayer-GetInputAxisRight: + + .. cpp:function:: float GetInputAxisRight() + + .. _CPlayer-GetSuitGrapplePower: + + .. cpp:function:: int GetSuitGrapplePower() + + .. _CPlayer-ClearReplayDelay: + + .. cpp:function:: unknown ClearReplayDelay(unknown) + + .. _CPlayer-IsInputCommandReleased: + + .. cpp:function:: unknown IsInputCommandReleased(unknown) + + .. _CPlayer-IsInputCommandPressed: + + .. cpp:function:: unknown IsInputCommandPressed(unknown) + + .. _CPlayer-SetTrackEntityDistanceMode: + + .. cpp:function:: unknown SetTrackEntityDistanceMode(unknown) + + .. _CPlayer-SetSendInputCallbacks: + + .. cpp:function:: unknown SetSendInputCallbacks(unknown) + + .. _CPlayer-GetSendMovementCallbacks: + + .. cpp:function:: unknown GetSendMovementCallbacks(unknown) + + .. _CPlayer-GetTitanTarget: + + .. cpp:function:: unknown GetTitanTarget(unknown) + + .. _CPlayer-SetPingGroupStartTime: + + .. cpp:function:: void SetPingGroupStartTime(float gametime) + + .. _CPlayer-SetLastPingTime: + + .. cpp:function:: void SetLastPingTime(float time) + + .. _CPlayer-SetNumPingsUsed: + + .. cpp:function:: void SetNumPingsUsed(int num) + + .. _CPlayer-EnableWeaponWithSlowDeploy: + + .. cpp:function:: unknown EnableWeaponWithSlowDeploy(unknown) + + .. _CPlayer-GetPingGroupAccumulator: + + .. cpp:function:: int GetPingGroupAccumulator() + + .. _CPlayer-GetPingGroupStartTime: + + .. cpp:function:: float GetPingGroupStartTime() + + .. _CPlayer-HasEntitlement: + + .. cpp:function:: unknown HasEntitlement(unknown) + + .. _CPlayer-GetLastPingTime: + + .. cpp:function:: float GetLastPingTime() + + .. _CPlayer-GetNumPingsAvailable: + + .. cpp:function:: int GetNumPingsAvailable() + + .. _CPlayer-GetFirstPersonProxy: + + .. cpp:function:: entity GetFirstPersonProxy() + + .. _CPlayer-GetViewModelEntity: + + .. cpp:function:: entity GetViewModelEntity() + + .. _CPlayer-GetNumPingsUsed: + + .. cpp:function:: unknown GetNumPingsUsed(unknown) + + .. _CPlayer-SetSyncedEntity: + + .. cpp:function:: void SetSyncedEntity(entity synced) + + .. _CPlayer-GetTrackEntityMinPitch: + + .. cpp:function:: unknown GetTrackEntityMinPitch(unknown) + + .. _CPlayer-IsHoverEnabled: + + .. cpp:function:: unknown IsHoverEnabled(unknown) + + .. _CPlayer-IsHovering: + + .. cpp:function:: unknown IsHovering(unknown) + + .. _CPlayer-WantsMatchmaking: + + .. cpp:function:: unknown WantsMatchmaking(unknown) + + .. _CPlayer-IsGliding: + + .. cpp:function:: unknown IsGliding(unknown) + + .. _CPlayer-IsBoosting: + + .. cpp:function:: unknown IsBoosting(unknown) + + .. _CPlayer-IsClassModAvailableForPlayerSetting: + + .. cpp:function:: unknown IsClassModAvailableForPlayerSetting(unknown) + + .. _CPlayer-GetSPTitanLoadoutCurrent: + + .. cpp:function:: unknown GetSPTitanLoadoutCurrent(unknown) + + .. _CPlayer-Anim-StopGesture: + + .. cpp:function:: void Anim_StopGesture(int gesture) + + .. _CPlayer-Lunge-IsGroundExecute: + + .. cpp:function:: bool Lunge_IsGroundExecute() + + .. _CPlayer-IsPlayback: + + .. cpp:function:: unknown IsPlayback(unknown) + + .. _CPlayer-IsBot: + + .. cpp:function:: bool IsBot() + + .. _CPlayer-PlayerCone-Disable: + + .. cpp:function:: void PlayerCone_Disable() + + .. _CPlayer-GetTrackEntityMaxYaw: + + .. cpp:function:: unknown GetTrackEntityMaxYaw(unknown) + + .. _CPlayer-GetSPLastMission: + + .. cpp:function:: unknown GetSPLastMission(unknown) + + .. _CPlayer-EnableWeapon: + + .. cpp:function:: unknown EnableWeapon(unknown) + + .. _CPlayer-GetPlayerClassData: + + .. cpp:function:: unknown GetPlayerClassData(unknown) + + .. _CPlayer-GetCinematicEventFlags: + + .. cpp:function:: int GetCinematicEventFlags() + + .. _CPlayer-NotifyDidDamage: + + .. cpp:function:: void NotifyDidDamage(entity damagedEnt, int hitbox, vector damagePosition, int customDamageType, float damage, int damageFlags, int hitGroup, enitity weapon, float distanceFromAttackOrigin) + + .. _CPlayer-UnforceSlide: + + .. cpp:function:: unknown UnforceSlide(unknown) + + .. _CPlayer-GetPlayerRequestedClass: + + .. cpp:function:: unknown GetPlayerRequestedClass(unknown) + + .. _CPlayer-ForceSlide: + + .. cpp:function:: unknown ForceSlide(unknown) + + .. _CPlayer-UnforceCrouch: + + .. cpp:function:: void UnforceCrouch() + + .. _CPlayer-CockpitStartBoot: + + .. cpp:function:: void CockpitStartBoot() + + .. _CPlayer-ForceCrouch: + + .. cpp:function:: void ForceCrouch() + + .. _CPlayer-SetObjectiveEndTime: + + .. cpp:function:: unknown SetObjectiveEndTime(unknown) + + .. _CPlayer-GetPlayerName: + + .. cpp:function:: string GetPlayerName() + + .. _CPlayer-EnableWorldSpacePlayerEyeAngles: + + .. cpp:function:: unknown EnableWorldSpacePlayerEyeAngles(unknown) + + .. _CPlayer-SetSelectedOffhandToMelee: + + .. cpp:function:: void SetSelectedOffhandToMelee() + + .. _CPlayer-GetCrouchingViewHeight: + + .. cpp:function:: unknown GetCrouchingViewHeight(unknown) + + .. _CPlayer-TrueTeamSwitch: + + .. cpp:function:: unknown TrueTeamSwitch(unknown) + + .. _CPlayer-DeployWeapon: + + .. cpp:function:: void DeployWeapon() + + .. _CPlayer-ResetIdleTimer: + + .. cpp:function:: unknown ResetIdleTimer(unknown) + + .. _CPlayer-GetFaction: + + .. cpp:function:: unknown GetFaction(unknown) + + .. _CPlayer-GetCommunityId: + + .. cpp:function:: unknown GetCommunityId(unknown) + + .. _CPlayer-GetCommunityName: + + .. cpp:function:: unknown GetCommunityName(unknown) + + .. _CPlayer-StopRecordingAnimation: + + .. cpp:function:: unknown StopRecordingAnimation(unknown) + + .. _CPlayer-UnhidePlayer: + + .. cpp:function:: unknown UnhidePlayer(unknown) + + .. _CPlayer-GetGen: + + .. cpp:function:: int GetGen() + + .. _CPlayer-GetLevel: + + .. cpp:function:: int GetLevel() + + .. _CPlayer-GetXP: + + .. cpp:function:: int GetXP() + + .. _CPlayer-SetKillReplayInflictorEHandle: + + .. cpp:function:: unknown SetKillReplayInflictorEHandle(unknown) + + .. _CPlayer-GetXPRate: + + .. cpp:function:: unknown GetXPRate(unknown) + + .. _CPlayer-RankedChanged: + + .. cpp:function:: unknown RankedChanged(unknown) + + .. _CPlayer-ViewOffsetEntity-Clear: + + .. cpp:function:: void ViewOffsetEntity_Clear() + + .. _CPlayer-GenChanged: + + .. cpp:function:: unknown GenChanged(unknown) + + .. _CPlayer-SetVoicePackIndex: + + .. cpp:function:: unknown SetVoicePackIndex(unknown) + + .. _CPlayer-Lunge-IsLungingToEntity: + + .. cpp:function:: bool Lunge_IsLungingToEntity() + + .. _CPlayer-GetViewRight: + + .. cpp:function:: vector GetViewRight() + + .. _CPlayer-GetCrouchingHullMin: + + .. cpp:function:: unknown GetCrouchingHullMin(unknown) + + .. _CPlayer-SetObjectiveEntity: + + .. cpp:function:: unknown SetObjectiveEntity(unknown) + + .. _CPlayer-SetObjectiveIndex: + + .. cpp:function:: unknown SetObjectiveIndex(unknown) + + .. _CPlayer-GetTitanDisembarkEnabled: + + .. cpp:function:: bool GetTitanDisembarkEnabled() + + .. _CPlayer-GetTitanEmbarkEnabled: + + .. cpp:function:: bool GetTitanEmbarkEnabled() + + .. _CPlayer-SetTitanEmbarkEnabled: + + .. cpp:function:: void SetTitanEmbarkEnabled(bool enabled) + + .. _CPlayer-IsBuddhaMode: + + .. cpp:function:: unknown IsBuddhaMode(unknown) + + .. _CPlayer-GetForcedDialogueOnly: + + .. cpp:function:: bool GetForcedDialogueOnly() + + .. _CPlayer-SetTitanBubbleShieldTime: + + .. cpp:function:: unknown SetTitanBubbleShieldTime(unknown) + + .. _CPlayer-GetTitanBuildTime: + + .. cpp:function:: unknown GetTitanBuildTime(unknown) + + .. _CPlayer-IsFreeSpace: + + .. cpp:function:: unknown IsFreeSpace(unknown) + + .. _CPlayer-Code-GetActiveBurnCardIndex: + + .. cpp:function:: int Code_GetActiveBurnCardIndex() + + .. _CPlayer-Code-SetActiveBurnCardIndex: + + .. cpp:function:: unknown Code_SetActiveBurnCardIndex(unknown) + + .. _CPlayer-GetSkill: + + .. cpp:function:: unknown GetSkill(unknown) + + .. _CPlayer-GetUID: + + .. cpp:function:: unknown GetUID(unknown) + + .. _CPlayer-GetViewUp: + + .. cpp:function:: vector GetViewUp() + + .. _CPlayer-SetKillReplayVictim: + + .. cpp:function:: unknown SetKillReplayVictim(unknown) + + .. _CPlayer-UnfreezeControlsOnServer: + + .. cpp:function:: void UnfreezeControlsOnServer() + + .. _CPlayer-AirCameraFollowDistanceSmooth: + + .. cpp:function:: unknown AirCameraFollowDistanceSmooth(unknown) + + .. _CPlayer-SetSpecReplayDelay: + + .. cpp:function:: unknown SetSpecReplayDelay(unknown) + + .. _CPlayer-SetKillReplayDelay: + + .. cpp:function:: unknown SetKillReplayDelay(unknown) + + .. _CPlayer-CockpitStartEject: + + .. cpp:function:: void CockpitStartEject() + + .. _CPlayer-IsMantling: + + .. cpp:function:: unknown IsMantling(unknown) + + .. _CPlayer-GetTrackEntityYawLookMode: + + .. cpp:function:: unknown GetTrackEntityYawLookMode(unknown) + + .. _CPlayer-IsWatchingKillReplay: + + .. cpp:function:: unknown IsWatchingKillReplay(unknown) + + .. _CPlayer-GetSyncedEntity: + + .. cpp:function:: unknown GetSyncedEntity(unknown) + + .. _CPlayer-IsInAirSlowMo: + + .. cpp:function:: unknown IsInAirSlowMo(unknown) + + .. _CPlayer-SetTrackEntityMaxYaw: + + .. cpp:function:: unknown SetTrackEntityMaxYaw(unknown) + + .. _CPlayer-GetTitanSoulBeingRodeoed: + + .. cpp:function:: entity GetTitanSoulBeingRodeoed() + + .. _CPlayer-SetTitanSoulBeingRodeoed: + + .. cpp:function:: unknown SetTitanSoulBeingRodeoed(unknown) + + .. _CPlayer-SetOneHandedWeaponUsageOff: + + .. cpp:function:: unknown SetOneHandedWeaponUsageOff(unknown) + + .. _CPlayer-SmartAmmo-GetHighestLocksOnMeEntities: + + .. cpp:function:: array SmartAmmo_GetHighestLocksOnMeEntities() + + .. _CPlayer-SetIsValidChaseObserverTarget: + + .. cpp:function:: unknown SetIsValidChaseObserverTarget(unknown) + + .. _CPlayer-GetTrackEntitySpringViewToCenterRate: + + .. cpp:function:: unknown GetTrackEntitySpringViewToCenterRate(unknown) + + .. _CPlayer-GetSendInputCallbacks: + + .. cpp:function:: unknown GetSendInputCallbacks(unknown) + + .. _CPlayer-IsZipliningInReverse: + + .. cpp:function:: unknown IsZipliningInReverse(unknown) + + .. _CPlayer-IsZiplining: + + .. cpp:function:: bool IsZiplining() + + .. _CPlayer-SetDodgePowerDelayScale: + + .. cpp:function:: void SetDodgePowerDelayScale(float delay) + + .. _CPlayer-SetPowerRegenRateScale: + + .. cpp:function:: void SetPowerRegenRateScale(float scale) + + .. _CPlayer-GetDodgePower: + + .. cpp:function:: int GetDodgePower() + + .. _CPlayer-AirCameraFollowDistance: + + .. cpp:function:: unknown AirCameraFollowDistance(unknown) + + .. _CPlayer-ClearAnimNearZ: + + .. cpp:function:: unknown ClearAnimNearZ(unknown) + + .. _CPlayer-SetTrackEntityPitchLookMode: + + .. cpp:function:: unknown SetTrackEntityPitchLookMode(unknown) + + .. _CPlayer-GetSPUnlockedMission: + + .. cpp:function:: unknown GetSPUnlockedMission(unknown) + + .. _CPlayer-SetStaggering: + + .. cpp:function:: void SetStaggering() + + .. _CPlayer-TouchGround: + + .. cpp:function:: void TouchGround() + + .. _CPlayer-RumbleEffect: + + .. cpp:function:: void RumbleEffect(int x, int y, int z) + + .. _CPlayer-Anim-PlayGesture: + + .. cpp:function:: void Anim_PlayGesture(string anim3p, float unknown_purpose, float unknown_purpose1, float unknown_purpose2) + + .. _CPlayer-GetObjectiveEndTime: + + .. cpp:function:: float GetObjectiveEndTime() + + .. _CPlayer-Lunge-IsActive: + + .. cpp:function:: bool Lunge_IsActive() + + .. _CPlayer-Lunge-SetMaxEndSpeed: + + .. cpp:function:: unknown Lunge_SetMaxEndSpeed(unknown) + + .. _CPlayer-AirCameraDisable: + + .. cpp:function:: unknown AirCameraDisable(unknown) + + .. _CPlayer-Lunge-SetMaxTime: + + .. cpp:function:: unknown Lunge_SetMaxTime(unknown) + + .. _CPlayer-Lunge-LockPitch: + + .. cpp:function:: void Lunge_LockPitch(bool lock) + + .. _CPlayer-Lunge-EnableFlying: + + .. cpp:function:: void Lunge_EnableFlying() + + .. _CPlayer-Lunge-GetEndPositionOffset: + + .. cpp:function:: vector Lunge_GetEndPositionOffset() + + .. _CPlayer-Lunge-SetEndPositionOffset: + + .. cpp:function:: void Lunge_SetEndPositionOffset(vector offset) + + .. _CPlayer-Lunge-GetTargetPosition: + + .. cpp:function:: unknown Lunge_GetTargetPosition(unknown) + + .. _CPlayer-Lunge-SetTargetPosition: + + .. cpp:function:: void Lunge_SetTargetPosition(vector pos) + + .. _CPlayer-Lunge-GetTargetEntity: + + .. cpp:function:: unknown Lunge_GetTargetEntity(unknown) + + .. _CPlayer-Lunge-SetTargetEntity: + + .. cpp:function:: void Lunge_SetTargetEntity(entity target, bool unknown_purpose) + + .. _CPlayer-ClearMeleeDisabled: + + .. cpp:function:: void ClearMeleeDisabled() + + .. _CPlayer-SetMeleeDisabled: + + .. cpp:function:: void SetMeleeDisabled() + + .. _CPlayer-PlayerMelee-GetState: + + .. cpp:function:: int PlayerMelee_GetState() + + .. _CPlayer-PlayerMelee-GetAttackHitEntity: + + .. cpp:function:: entity PlayerMelee_GetAttackHitEntity() + + .. _CPlayer-SetTrackEntityLookaheadLerpAheadRate: + + .. cpp:function:: unknown SetTrackEntityLookaheadLerpAheadRate(unknown) + + .. _CPlayer-HasBadReputation: + + .. cpp:function:: bool HasBadReputation() + + .. _CPlayer-PlayerMelee-SetAttackHitEntity: + + .. cpp:function:: void PlayerMelee_SetAttackHitEntity(entity ent) + + .. _CPlayer-PlayerMelee-IsAttackActive: + + .. cpp:function:: bool PlayerMelee_IsAttackActive() + + .. _CPlayer-UseButtonPressed: + + .. cpp:function:: unknown UseButtonPressed(unknown) + + .. _CPlayer-GetPlayerMaxs: + + .. cpp:function:: unknown GetPlayerMaxs(unknown) + + .. _CPlayer-StopObservingPlayerInFirstPerson: + + .. cpp:function:: unknown StopObservingPlayerInFirstPerson(unknown) + + .. _CPlayer-StopObserverMode: + + .. cpp:function:: void StopObserverMode() + + .. _CPlayer-DisableWeapon: + + .. cpp:function:: unknown DisableWeapon(unknown) + + .. _CPlayer-SetObserverModeStaticAngles: + + .. cpp:function:: unknown SetObserverModeStaticAngles(unknown) + + .. _CPlayer-GetObserverTarget: + + .. cpp:function:: entity GetObserverTarget() + + .. _CPlayer-SetSkyCamera: + + .. cpp:function:: unknown SetSkyCamera(unknown) + + .. _CPlayer-IsObserver: + + .. cpp:function:: unknown IsObserver(unknown) + + .. _CPlayer-IsReplay: + + .. cpp:function:: unknown IsReplay(unknown) + + .. _CPlayer-SetLastSpawnPoint: + + .. cpp:function:: unknown SetLastSpawnPoint(unknown) + + .. _CPlayer-GetPlayerNetInt: + + .. cpp:function:: int GetPlayerNetInt(string state) + + .. _CPlayer-SetPlayerRequestedSettings: + + .. cpp:function:: unknown SetPlayerRequestedSettings(unknown) + + .. _CPlayer-SetTrackEntityOffset: + + .. cpp:function:: unknown SetTrackEntityOffset(unknown) + + .. _CPlayer-Code-RespawnPlayer: + + .. cpp:function:: unknown Code_RespawnPlayer(unknown) + + .. _CPlayer-GetTrackEntityDistanceMode: + + .. cpp:function:: unknown GetTrackEntityDistanceMode(unknown) + + .. _CPlayer-EnableWeaponDestroyNoAmmo: + + .. cpp:function:: unknown EnableWeaponDestroyNoAmmo(unknown) + + .. _CPlayer-PlayerMelee-SetAttackRecoveryShouldBeQuick: + + .. cpp:function:: void PlayerMelee_SetAttackRecoveryShouldBeQuick(bool beQuick) + + .. _CPlayer-ForceAutoSprintOff: + + .. cpp:function:: unknown ForceAutoSprintOff(unknown) + + .. _CPlayer-Server-TurnDodgeDisabledOff: + + .. cpp:function:: void Server_TurnDodgeDisabledOff() + + .. _CPlayer-Server-TurnOffhandWeaponsDisabledOff: + + .. cpp:function:: void Server_TurnOffhandWeaponsDisabledOff() + + .. _CPlayer-MovementEnable: + + .. cpp:function:: unknown MovementEnable(unknown) + + .. _CPlayer-SetTrackEntityBlendTimes: + + .. cpp:function:: unknown SetTrackEntityBlendTimes(unknown) + + .. _CPlayer-LockWeaponChange: + + .. cpp:function:: unknown LockWeaponChange(unknown) + + .. _CPlayer-GetPlayerIndex: + + .. cpp:function:: unknown GetPlayerIndex(unknown) + + .. _CPlayer-SetViewIndex: + + .. cpp:function:: unknown SetViewIndex(unknown) + + .. _CPlayer-JumpedOffRodeo: + + .. cpp:function:: unknown JumpedOffRodeo(unknown) + + .. _CPlayer-GetPlayerSubClass: + + .. cpp:function:: unknown GetPlayerSubClass(unknown) + + .. _CPlayer-GetPlayerClass: + + .. cpp:function:: string GetPlayerClass() + + .. _CPlayer-GetPlayerRequestedSettings: + + .. cpp:function:: unknown GetPlayerRequestedSettings(unknown) + + .. _CPlayer-GetPlayerSettings: + + .. cpp:function:: string GetPlayerSettings() + + .. _CPlayer-IsClassPosModAvailableForPlayerSetting: + + .. cpp:function:: unknown IsClassPosModAvailableForPlayerSetting(unknown) + + .. _CPlayer-GetTrackEntityLookaheadUpperEntSpeed: + + .. cpp:function:: unknown GetTrackEntityLookaheadUpperEntSpeed(unknown) + + .. _CPlayer-GetPilotClassIndex: + + .. cpp:function:: unknown GetPilotClassIndex(unknown) + + .. _CPlayer-HasClassPosMod: + + .. cpp:function:: unknown HasClassPosMod(unknown) + + .. _CPlayer-Code-SetPlayerSettings: + + .. cpp:function:: unknown Code_SetPlayerSettings(unknown) + + .. _CPlayer-Grapple: + + .. cpp:function:: void Grapple(vector direction) + + .. _CPlayer-ViewPunch: + + .. cpp:function:: unknown ViewPunch(unknown) + + .. _CPlayer-GetObjectiveEntity: + + .. cpp:function:: entity GetObjectiveEntity() + + .. _CPlayer-GetViewForward: + + .. cpp:function:: vector GetViewForward() + + .. _CPlayer-GiveExtraWeaponMod: + + .. cpp:function:: void GiveExtraWeaponMod(string mod) + + .. _CPlayer-AirCameraMinPitch: + + .. cpp:function:: unknown AirCameraMinPitch(unknown) + + .. _CPlayer-ClearTraverse: + + .. cpp:function:: unknown ClearTraverse(unknown) + + .. _CPlayer-IsSliding: + + .. cpp:function:: unknown IsSliding(unknown) + + .. _CPlayer-MayGrapple: + + .. cpp:function:: bool MayGrapple() + + .. _CPlayer-HasGrapple: + + .. cpp:function:: unknown HasGrapple(unknown) + + .. _CPlayer-IsPredicting: + + .. cpp:function:: unknown IsPredicting(unknown) + + .. _CPlayer-IsTraversing: + + .. cpp:function:: void IsTraversing() + + .. _CPlayer-IsDoubleJumping: + + .. cpp:function:: unknown IsDoubleJumping(unknown) + + .. _CPlayer-IsSprinting: + + .. cpp:function:: unknown IsSprinting(unknown) + + .. _CPlayer-IsWallHanging: + + .. cpp:function:: bool IsWallHanging() + + .. _CPlayer-IsWallRunning: + + .. cpp:function:: void IsWallRunning() + + .. _CPlayer-GetPersistentVar: + + .. cpp:function:: var GetPersistentVar(string key) + + .. _CPlayer-CreatePlayerDecoy: + + .. cpp:function:: entity CreatePlayerDecoy(float stickPercentToRun) + + .. _CPlayer-SetSuitJumpPower: + + .. cpp:function:: unknown SetSuitJumpPower(unknown) + + .. _CPlayer-GetInputAxisForward: + + .. cpp:function:: float GetInputAxisForward() + + .. _CPlayer-GetSuitJumpPower: + + .. cpp:function:: unknown GetSuitJumpPower(unknown) + + .. _CPlayer-SetAccelerationScale: + + .. cpp:function:: unknown SetAccelerationScale(unknown) + + .. _CPlayer-AnimViewEntity-SetLerpOutTime: + + .. cpp:function:: unknown AnimViewEntity_SetLerpOutTime(unknown) + + .. _CPlayer-AnimViewEntity-SetLerpInTime: + + .. cpp:function:: unknown AnimViewEntity_SetLerpInTime(unknown) + + .. _CPlayer-AnimViewEntity-EnableThirdPersonCameraVisibilityChecks: + + .. cpp:function:: unknown AnimViewEntity_EnableThirdPersonCameraVisibilityChecks(unknown) + + .. _CPlayer-GetRank: + + .. cpp:function:: unknown GetRank(unknown) + + .. _CPlayer-PlayerCone-SetMinPitch: + + .. cpp:function:: void PlayerCone_SetMinPitch(int min) + + .. _CPlayer-PlayerCone-SetMaxYaw: + + .. cpp:function:: void PlayerCone_SetMaxYaw(int maxYaw) + + .. _CPlayer-GetGroundFrictionScale: + + .. cpp:function:: unknown GetGroundFrictionScale(unknown) + + .. _CPlayer-PlayerCone-SetLerpTime: + + .. cpp:function:: void PlayerCone_SetLerpTime(float time) + + .. _CPlayer-PlayerCone-SetSpecific: + + .. cpp:function:: void PlayerCone_SetSpecific(vector viewAngles) + + .. _CPlayer-PlayerCone-FromAnim: + + .. cpp:function:: void PlayerCone_FromAnim() + + .. _CPlayer-IsCrouched: + + .. cpp:function:: bool IsCrouched() + + .. _CPlayer-SetTrackEntityLookaheadLowerEntSpeed: + + .. cpp:function:: unknown SetTrackEntityLookaheadLowerEntSpeed(unknown) + + .. _CPlayer-ForceUseEntity: + + .. cpp:function:: unknown ForceUseEntity(unknown) + + .. _CPlayer-IsGodMode: + + .. cpp:function:: unknown IsGodMode(unknown) + + .. _CPlayer-RemoveAllItems: + + .. cpp:function:: unknown RemoveAllItems(unknown) + + .. _CPlayer-Weapon-IsInCustomActivity: + + .. cpp:function:: unknown Weapon_IsInCustomActivity(unknown) + + .. _CPlayer-Weapon-StartCustomActivity: + + .. cpp:function:: void Weapon_StartCustomActivity(string animation, bool unknown_purpose) + + .. _CPlayer-EnableWeaponViewModel: + + .. cpp:function:: unknown EnableWeaponViewModel(unknown) + + .. _CPlayer-PreventWeaponDestroyNoAmmo: + + .. cpp:function:: unknown PreventWeaponDestroyNoAmmo(unknown) + + .. _CPlayer-HolsterWeapon: + + .. cpp:function:: void HolsterWeapon() + + .. _CPlayer-UnforceStand: + + .. cpp:function:: void UnforceStand() + + .. _CPlayer-DisableWeaponWithSlowHolster: + + .. cpp:function:: unknown DisableWeaponWithSlowHolster(unknown) + + .. _CPlayer-GetHardpointEntity: + + .. cpp:function:: entity GetHardpointEntity() + + .. _CPlayer-GetStandingHullMin: + + .. cpp:function:: unknown GetStandingHullMin(unknown) + + .. _CPlayer-GetPlayerModHealth: + + .. cpp:function:: float GetPlayerModHealth() + + .. _CPlayer-GetPlayerModHealthPerSegment: + + .. cpp:function:: unknown GetPlayerModHealthPerSegment(unknown) + + .. _CPlayer-SetPetTitanMode: + + .. cpp:function:: unknown SetPetTitanMode(unknown) + + .. _CPlayer-GetPetTitanMode: + + .. cpp:function:: int GetPetTitanMode() + + .. _CPlayer-SetPetTitan: + + .. cpp:function:: unknown SetPetTitan(unknown) + + .. _CPlayer-GetPetTitan: + + .. cpp:function:: entity GetPetTitan() + + .. _CPlayer-SnapEyesToFeet: + + .. cpp:function:: unknown SnapEyesToFeet(unknown) + + .. _CPlayer-SnapEyeAngles: + + .. cpp:function:: void SnapEyeAngles(vector angles) + + .. _CPlayer-SetTrackEntityMinYaw: + + .. cpp:function:: unknown SetTrackEntityMinYaw(unknown) + + .. _CPlayer-CameraAngles: + + .. cpp:function:: vector CameraAngles() + + .. _CPlayer-SetSuitGrapplePower: + + .. cpp:function:: void SetSuitGrapplePower(float power) + + .. _CPlayer-AirCameraFollowHeightSmooth: + + .. cpp:function:: unknown AirCameraFollowHeightSmooth(unknown) + + .. _CPlayer-Script-GetHighSpeedViewmodelAnims: + + .. cpp:function:: unknown Script_GetHighSpeedViewmodelAnims(unknown) + + .. _CPlayer-Script-SetHighSpeedViewmodelAnims: + + .. cpp:function:: unknown Script_SetHighSpeedViewmodelAnims(unknown) + + .. _CPlayer-SetPlayerGameStat: + + .. cpp:function:: unknown SetPlayerGameStat(unknown) + + .. _CPlayer-SetHotDropImpactDelay: + + .. cpp:function:: unknown SetHotDropImpactDelay(unknown) + + .. _CPlayer-CockpitStartDisembark: + + .. cpp:function:: void CockpitStartDisembark() + + .. _CPlayer-AirCameraShootFromPlayer: + + .. cpp:function:: unknown AirCameraShootFromPlayer(unknown) + + .. _CPlayer-AirCameraMaxPitchSmooth: + + .. cpp:function:: unknown AirCameraMaxPitchSmooth(unknown) + + .. _CPlayer-AirCameraMinPitchSmooth: + + .. cpp:function:: unknown AirCameraMinPitchSmooth(unknown) + + .. _CPlayer-GetPersistentVarAsInt: + + .. cpp:function:: int GetPersistentVarAsInt(string key) + + .. _CPlayer-SetNumPingsAvailable: + + .. cpp:function:: void SetNumPingsAvailable(int num) + + .. _CPlayer-SetTrackEntity: + + .. cpp:function:: unknown SetTrackEntity(unknown) + + .. _CPlayer-SetPilotClassIndex: + + .. cpp:function:: unknown SetPilotClassIndex(unknown) + + .. _CPlayer-StartObserverMode: + + .. cpp:function:: unknown StartObserverMode(unknown) + + .. _CPlayer-ClearViewEntity: + + .. cpp:function:: unknown ClearViewEntity(unknown) + + .. _CPlayer-GetIdleTime: + + .. cpp:function:: unknown GetIdleTime(unknown) + + .. _CPlayer-GetPredictedFirstPersonProxy: + + .. cpp:function:: enitity GetPredictedFirstPersonProxy() + + .. _CPlayer-SetHardpointEntity: + + .. cpp:function:: unknown SetHardpointEntity(unknown) + + .. _CPlayer-SetTrackEntityLookaheadLerpToCenterRate: + + .. cpp:function:: unknown SetTrackEntityLookaheadLerpToCenterRate(unknown) + + .. _CPlayer-IsInputCommandHeld: + + .. cpp:function:: bool IsInputCommandHeld(int flag) + + .. _CPlayer-SetTrackEntityYawLookMode: + + .. cpp:function:: unknown SetTrackEntityYawLookMode(unknown) + + .. _CPlayer-SetPredictionEnabled: + + .. cpp:function:: unknown SetPredictionEnabled(unknown) + + .. _CPlayer-AirCameraFollowHeight: + + .. cpp:function:: unknown AirCameraFollowHeight(unknown) + + .. _CPlayer-GetTrackEntityLookaheadLerpToCenterRate: + + .. cpp:function:: unknown GetTrackEntityLookaheadLerpToCenterRate(unknown) + + .. _CPlayer-SetMoveSpeedScale: + + .. cpp:function:: unknown SetMoveSpeedScale(unknown) + + .. _CPlayer-ClearTrackEntitySettings: + + .. cpp:function:: unknown ClearTrackEntitySettings(unknown) + + .. _CPlayer-HasXRaySupport: + + .. cpp:function:: bool HasXRaySupport() + + .. _CPlayer-CameraPosition: + + .. cpp:function:: vector CameraPosition() + + .. _CPlayer-GetCrouchingHullMax: + + .. cpp:function:: unknown GetCrouchingHullMax(unknown) + + .. _CPlayer-StartRecordingAnimation: + + .. cpp:function:: unknown StartRecordingAnimation(unknown) + + .. _CPlayer-GetPlayerSettingsMods: + + .. cpp:function:: array GetPlayerSettingsMods() + + .. _CPlayer-GetTitanBubbleShieldTime: + + .. cpp:function:: unknown GetTitanBubbleShieldTime(unknown) + + .. _CPlayer-SetPingGroupAccumulator: + + .. cpp:function:: void SetPingGroupAccumulator(int acc) + + .. _CPlayer-SetTitanBuildTime: + + .. cpp:function:: unknown SetTitanBuildTime(unknown) + + .. _CPlayer-IsJetpack: + + .. cpp:function:: unknown IsJetpack(unknown) + + .. _CPlayer-SetObserverTarget: + + .. cpp:function:: unknown SetObserverTarget(unknown) + + .. _CPlayer-GetZoomFrac: + + .. cpp:function:: float GetZoomFrac() + + .. _CPlayer-SmartAmmo-GetPreviousHighestLockOnMeFraction: + + .. cpp:function:: float SmartAmmo_GetPreviousHighestLockOnMeFraction() + + .. _CPlayer-Weapon-GetCustomActivityFraction: + + .. cpp:function:: unknown Weapon_GetCustomActivityFraction(unknown) + + .. _CPlayer-GetTrackEntityLookaheadLowerEntSpeed: + + .. cpp:function:: unknown GetTrackEntityLookaheadLowerEntSpeed(unknown) + + .. _CPlayer-Lunge-SetSmoothTime: + + .. cpp:function:: void Lunge_SetSmoothTime(float time) + + .. _CPlayer-GetClassPosCount: + + .. cpp:function:: unknown GetClassPosCount(unknown) + + .. _CPlayer-Weapon-HasCustomActivity: + + .. cpp:function:: unknown Weapon_HasCustomActivity(unknown) + + .. _CPlayer-ConsumeDoubleJump: + + .. cpp:function:: unknown ConsumeDoubleJump(unknown) + + .. _CPlayer-IsNoclipping: + + .. cpp:function:: bool IsNoclipping() + + .. _CPlayer-ReserveSpawnPoint: + + .. cpp:function:: unknown ReserveSpawnPoint(unknown) + + .. _CPlayer-GetNextTitanRespawnAvailable: + + .. cpp:function:: float GetNextTitanRespawnAvailable() + + .. _CPlayer-SetTitanDisembarkEnabled: + + .. cpp:function:: void SetTitanDisembarkEnabled(bool enabled) + + .. _CPlayer-RemovePassive: + + .. cpp:function:: unknown RemovePassive(unknown) + + .. _CPlayer-GetAutoSprintSetting: + + .. cpp:function:: unknown GetAutoSprintSetting(unknown) + + .. _CPlayer-HasClassMod: + + .. cpp:function:: unknown HasClassMod(unknown) + + .. _CPlayer-EnableAllIDLightsFriendly: + + .. cpp:function:: unknown EnableAllIDLightsFriendly(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CPlayerDecoy.rst b/docs/source/reference/respawn/entities/server/CPlayerDecoy.rst new file mode 100644 index 00000000..f96facac --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CPlayerDecoy.rst @@ -0,0 +1,60 @@ +.. _CPlayerDecoy: + +CPlayerDecoy +============ + +.. cpp:class:: CPlayerDecoy extends CBaseAnimating + + Inherits all properties from :ref:`CBaseAnimating ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CPlayerDecoy-Decoy-Dissolve: + + .. cpp:function:: void Decoy_Dissolve() + + .. _CPlayerDecoy-SetFlickerRate: + + .. cpp:function:: unknown SetFlickerRate(unknown) + + .. _CPlayerDecoy-SetDecoyRandomPulseRateMax: + + .. cpp:function:: void SetDecoyRandomPulseRateMax(float pulse_amount_per_second) + + .. _CPlayerDecoy-SetTimeout: + + .. cpp:function:: void SetTimeout(float duration) + + .. _CPlayerDecoy-GetLandSplash: + + .. cpp:function:: unknown GetLandSplash(unknown) + + .. _CPlayerDecoy-Decoy-Die: + + .. cpp:function:: unknown Decoy_Die(unknown) + + .. _CPlayerDecoy-SetKillOnCollision: + + .. cpp:function:: void SetKillOnCollision(bool kill) + + .. _CPlayerDecoy-SetEnableRandomLanding: + + .. cpp:function:: unknown SetEnableRandomLanding(unknown) + + .. _CPlayerDecoy-GetFriendlyFire: + + .. cpp:function:: unknown GetFriendlyFire(unknown) + + .. _CPlayerDecoy-SetJumpDelay: + + .. cpp:function:: unknown SetJumpDelay(unknown) + + .. _CPlayerDecoy-SetLandSplash: + + .. cpp:function:: unknown SetLandSplash(unknown) + + .. _CPlayerDecoy-SetFriendlyFire: + + .. cpp:function:: void SetFriendlyFire(bool enabled) + diff --git a/docs/source/reference/respawn/entities/server/CProjectile.rst b/docs/source/reference/respawn/entities/server/CProjectile.rst new file mode 100644 index 00000000..8e42acf6 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CProjectile.rst @@ -0,0 +1,131 @@ +.. _CProjectile: + +CProjectile +=========== + +.. cpp:class:: CProjectile extends CBaseAnimating + + Inherits all properties from :ref:`CBaseAnimating ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`CMissile ` + - :ref:`CCrossbowBolt ` + - :ref:`CBaseGrenade ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CProjectile-ForceAdjustToGunBarrelDisabled: + + .. cpp:function:: unknown ForceAdjustToGunBarrelDisabled(unknown) + + .. _CProjectile-GetProjectileCreationTimeServer: + + .. cpp:function:: unknown GetProjectileCreationTimeServer(unknown) + + .. _CProjectile-ProjectileGetWeaponChargeLevel: + + .. cpp:function:: unknown ProjectileGetWeaponChargeLevel(unknown) + + .. _CProjectile-ProjectileGetMods: + + .. cpp:function:: array ProjectileGetMods() + + .. _CProjectile-GetTimeToProjectileDeath: + + .. cpp:function:: unknown GetTimeToProjectileDeath(unknown) + + .. _CProjectile-GetProjectileCreationTime: + + .. cpp:function:: float GetProjectileCreationTime() + + .. _CProjectile-SetProjectileDestructionDistance: + + .. cpp:function:: unknown SetProjectileDestructionDistance(unknown) + + .. _CProjectile-DamageAliveOnly: + + .. cpp:function:: unknown DamageAliveOnly(unknown) + + .. _CProjectile-GetProjectileAllowHeadShots: + + .. cpp:function:: unknown GetProjectileAllowHeadShots(unknown) + + .. _CProjectile-ProjectileGetRodeoDamage: + + .. cpp:function:: unknown ProjectileGetRodeoDamage(unknown) + + .. _CProjectile-GetProjectileWeaponSettingString: + + .. cpp:function:: unknown GetProjectileWeaponSettingString(unknown) + + .. _CProjectile-GetProjectileWeaponSettingVector: + + .. cpp:function:: unknown GetProjectileWeaponSettingVector(unknown) + + .. _CProjectile-GetProjectileWeaponSettingFloat: + + .. cpp:function:: float GetProjectileWeaponSettingFloat(string setting) + + .. _CProjectile-GetProjectileWeaponSettingInt: + + .. cpp:function:: int GetProjectileWeaponSettingInt(string setting) + + .. _CProjectile-ProjectileSetDamageSourceID: + + .. cpp:function:: void ProjectileSetDamageSourceID(int id) + + .. _CProjectile-ProjectileGetDamageSourceID: + + .. cpp:function:: int ProjectileGetDamageSourceID() + + .. _CProjectile-SetWeaponClassName: + + .. cpp:function:: void SetWeaponClassName(string name) + + .. _CProjectile-SetProjectileImpactDamageOverride: + + .. cpp:function:: void SetProjectileImpactDamageOverride(int flag) + + .. _CProjectile-SetImpactEffectTable: + + .. cpp:function:: void SetImpactEffectTable(string fxTableHandle) + + .. _CProjectile-SetReducedEffects: + + .. cpp:function:: void SetReducedEffects() + + .. _CProjectile-SetProjectileLifetime: + + .. cpp:function:: void SetProjectileLifetime(float lifetime) + + .. _CProjectile-SetProjectilTrailEffectIndex: + + .. cpp:function:: void SetProjectilTrailEffectIndex(int index) + + .. _CProjectile-ProjectileGetWeaponInfoFileKeyFieldAsset: + + .. cpp:function:: asset ProjectileGetWeaponInfoFileKeyFieldAsset(string key) + + .. _CProjectile-ProjectileGetWeaponInfoFileKeyField: + + .. cpp:function:: string ProjectileGetWeaponInfoFileKeyField(string key) + + .. _CProjectile-SetVortexRefired: + + .. cpp:function:: void SetVortexRefired(bool refired) + + .. _CProjectile-ProjectileGetWeaponClassName: + + .. cpp:function:: string ProjectileGetWeaponClassName() + + .. _CProjectile-GetProjectileWeaponSettingAsset: + + .. cpp:function:: asset GetProjectileWeaponSettingAsset(string setting) + + .. _CProjectile-GetProjectileWeaponSettingBool: + + .. cpp:function:: bool GetProjectileWeaponSettingBool(string setting) + diff --git a/docs/source/reference/respawn/entities/server/CRopeKeyframe.rst b/docs/source/reference/respawn/entities/server/CRopeKeyframe.rst new file mode 100644 index 00000000..491be8c0 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CRopeKeyframe.rst @@ -0,0 +1,28 @@ +.. _CRopeKeyframe: + +CRopeKeyframe +============= + +.. cpp:class:: CRopeKeyframe extends CBaseEntity + + Inherits all properties from :ref:`CBaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CRopeKeyframe-Zipline-Disable: + + .. cpp:function:: unknown Zipline_Disable(unknown) + + .. _CRopeKeyframe-RopeWiggle: + + .. cpp:function:: unknown RopeWiggle(unknown) + + .. _CRopeKeyframe-Zipline-Enable: + + .. cpp:function:: unknown Zipline_Enable(unknown) + + .. _CRopeKeyframe-Zipline-IsEnabled: + + .. cpp:function:: unknown Zipline_IsEnabled(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CScriptDamageInfo.rst b/docs/source/reference/respawn/entities/server/CScriptDamageInfo.rst new file mode 100644 index 00000000..fe75a511 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CScriptDamageInfo.rst @@ -0,0 +1,14 @@ +.. _CScriptDamageInfo: + +CScriptDamageInfo +================= + +.. cpp:class:: CScriptDamageInfo + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CScriptDamageInfo-IsValidInternal: + + .. cpp:function:: bool IsValidInternal() + diff --git a/docs/source/reference/respawn/entities/server/CScriptProp.rst b/docs/source/reference/respawn/entities/server/CScriptProp.rst new file mode 100644 index 00000000..93ce6412 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CScriptProp.rst @@ -0,0 +1,41 @@ +.. _CScriptProp: + +CScriptProp +=========== + +.. cpp:class:: CScriptProp extends CDynamicProp + + Inherits all properties from :ref:`CDynamicProp ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`ScriptMover ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CScriptProp-GetSmartAmmoLockType: + + .. cpp:function:: unknown GetSmartAmmoLockType(unknown) + + .. _CScriptProp-SetSmartAmmoLockType: + + .. cpp:function:: void SetSmartAmmoLockType(int salt) + + .. _CScriptProp-SetFootstepType: + + .. cpp:function:: void SetFootstepType(int type) + + .. _CScriptProp-SetArmorType: + + .. cpp:function:: void SetArmorType(int armor) + + .. _CScriptProp-GetScriptPropFlags: + + .. cpp:function:: int GetScriptPropFlags() + + .. _CScriptProp-SetScriptPropFlags: + + .. cpp:function:: void SetScriptPropFlags(int flags) + diff --git a/docs/source/reference/respawn/entities/server/CScriptTraceVolume.rst b/docs/source/reference/respawn/entities/server/CScriptTraceVolume.rst new file mode 100644 index 00000000..2f979e8a --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CScriptTraceVolume.rst @@ -0,0 +1,20 @@ +.. _CScriptTraceVolume: + +CScriptTraceVolume +================== + +.. cpp:class:: CScriptTraceVolume extends CBaseEntity + + Inherits all properties from :ref:`CBaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CScriptTraceVolume-SetBox: + + .. cpp:function:: unknown SetBox(unknown) + + .. _CScriptTraceVolume-SetSphere: + + .. cpp:function:: unknown SetSphere(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CSpawner.rst b/docs/source/reference/respawn/entities/server/CSpawner.rst new file mode 100644 index 00000000..2e345fdd --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CSpawner.rst @@ -0,0 +1,36 @@ +.. _CSpawner: + +CSpawner +======== + +.. cpp:class:: CSpawner extends CBaseEntity + + Inherits all properties from :ref:`CBaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CSpawner-SetSpawnCallback: + + .. cpp:function:: unknown SetSpawnCallback(unknown) + + .. _CSpawner-SpawnEntity: + + .. cpp:function:: unknown SpawnEntity(unknown) + + .. _CSpawner-GetSpawnEntityKeyValues: + + .. cpp:function:: unknown GetSpawnEntityKeyValues(unknown) + + .. _CSpawner-GetSpawnCount: + + .. cpp:function:: unknown GetSpawnCount(unknown) + + .. _CSpawner-GetSpawnEntityClassName: + + .. cpp:function:: unknown GetSpawnEntityClassName(unknown) + + .. _CSpawner-GetSpawnerModelName: + + .. cpp:function:: unknown GetSpawnerModelName(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CTeamSpawnPoint.rst b/docs/source/reference/respawn/entities/server/CTeamSpawnPoint.rst new file mode 100644 index 00000000..70c15479 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CTeamSpawnPoint.rst @@ -0,0 +1,52 @@ +.. _CTeamSpawnPoint: + +CTeamSpawnPoint +=============== + +.. cpp:class:: CTeamSpawnPoint extends CBaseEntity + + Inherits all properties from :ref:`CBaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CTeamSpawnPoint-NearbyEnemyScore: + + .. cpp:function:: unknown NearbyEnemyScore(unknown) + + .. _CTeamSpawnPoint-GetRatingData: + + .. cpp:function:: unknown GetRatingData(unknown) + + .. _CTeamSpawnPoint-IsVisibleToEnemies: + + .. cpp:function:: unknown IsVisibleToEnemies(unknown) + + .. _CTeamSpawnPoint-IsOccupied: + + .. cpp:function:: unknown IsOccupied(unknown) + + .. _CTeamSpawnPoint-CalculateFrontlineRating: + + .. cpp:function:: unknown CalculateFrontlineRating(unknown) + + .. _CTeamSpawnPoint-CalculateRatingDontCache: + + .. cpp:function:: unknown CalculateRatingDontCache(unknown) + + .. _CTeamSpawnPoint-CalculateRating: + + .. cpp:function:: unknown CalculateRating(unknown) + + .. _CTeamSpawnPoint-NearbyAllyDistance: + + .. cpp:function:: unknown NearbyAllyDistance(unknown) + + .. _CTeamSpawnPoint-NearbyAllyScore: + + .. cpp:function:: unknown NearbyAllyScore(unknown) + + .. _CTeamSpawnPoint-NearbyEnemyDistance: + + .. cpp:function:: unknown NearbyEnemyDistance(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CTitanSoul.rst b/docs/source/reference/respawn/entities/server/CTitanSoul.rst new file mode 100644 index 00000000..47e6143a --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CTitanSoul.rst @@ -0,0 +1,168 @@ +.. _CTitanSoul: + +CTitanSoul +========== + +.. cpp:class:: CTitanSoul extends CBaseEntity + + Inherits all properties from :ref:`CBaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CTitanSoul-GetCoreChargeExpireTime: + + .. cpp:function:: float GetCoreChargeExpireTime() + + .. _CTitanSoul-SetTitanSoulNetInt: + + .. cpp:function:: void SetTitanSoulNetInt(string key, int val) + + .. _CTitanSoul-IsEjecting: + + .. cpp:function:: bool IsEjecting() + + .. _CTitanSoul-SetCoreChargeStartTime: + + .. cpp:function:: void SetCoreChargeStartTime(float gametime) + + .. _CTitanSoul-SetPlayerSettingsNum: + + .. cpp:function:: void SetPlayerSettingsNum(int enum) + + .. _CTitanSoul-AddTitanSoulSpawnFlag: + + .. cpp:function:: unknown AddTitanSoulSpawnFlag(unknown) + + .. _CTitanSoul-SetTitanSoulNetTime: + + .. cpp:function:: unknown SetTitanSoulNetTime(unknown) + + .. _CTitanSoul-GetTitanSoulNetBool: + + .. cpp:function:: unknown GetTitanSoulNetBool(unknown) + + .. _CTitanSoul-SetDefensiveAttachment: + + .. cpp:function:: unknown SetDefensiveAttachment(unknown) + + .. _CTitanSoul-SetCoreUseDuration: + + .. cpp:function:: void SetCoreUseDuration(float duration) + + .. _CTitanSoul-SoulDestroy: + + .. cpp:function:: void SoulDestroy() + + .. _CTitanSoul-HasValidTitan: + + .. cpp:function:: bool HasValidTitan() + + .. _CTitanSoul-GetTitanSoulNetEnt: + + .. cpp:function:: unknown GetTitanSoulNetEnt(unknown) + + .. _CTitanSoul-GetTitanSoulNetTime: + + .. cpp:function:: unknown GetTitanSoulNetTime(unknown) + + .. _CTitanSoul-GetTitanSoulNetFloat: + + .. cpp:function:: float GetTitanSoulNetFloat(string key) + + .. _CTitanSoul-GetTitanSoulNetInt: + + .. cpp:function:: int GetTitanSoulNetInt(string key) + + .. _CTitanSoul-SetTitanSoulNetEnt: + + .. cpp:function:: unknown SetTitanSoulNetEnt(unknown) + + .. _CTitanSoul-SetTitanSoulNetFloatOverTime: + + .. cpp:function:: void SetTitanSoulNetFloatOverTime(string key, float val, float time) + + .. _CTitanSoul-SetTitanSoulNetFloat: + + .. cpp:function:: void SetTitanSoulNetFloat(string key, float val) + + .. _CTitanSoul-SetTitanSoulNetBool: + + .. cpp:function:: unknown SetTitanSoulNetBool(unknown) + + .. _CTitanSoul-GetCoreUseDuration: + + .. cpp:function:: float GetCoreUseDuration() + + .. _CTitanSoul-SetCoreChargeExpireTime: + + .. cpp:function:: void SetCoreChargeExpireTime(float gametime) + + .. _CTitanSoul-SetNextCoreChargeAvailable: + + .. cpp:function:: void SetNextCoreChargeAvailable(float time) + + .. _CTitanSoul-GetNextCoreChargeAvailable: + + .. cpp:function:: float GetNextCoreChargeAvailable() + + .. _CTitanSoul-GetTitan: + + .. cpp:function:: entity GetTitan() + + .. _CTitanSoul-SetIsValidRodeoTarget: + + .. cpp:function:: unknown SetIsValidRodeoTarget(unknown) + + .. _CTitanSoul-SetEjecting: + + .. cpp:function:: void SetEjecting(bool ejecting) + + .. _CTitanSoul-GetInvalidHealthBarEnt: + + .. cpp:function:: entity GetInvalidHealthBarEnt() + + .. _CTitanSoul-SetInvalidHealthBarEnt: + + .. cpp:function:: unknown SetInvalidHealthBarEnt(unknown) + + .. _CTitanSoul-IsDoomed: + + .. cpp:function:: bool IsDoomed() + + .. _CTitanSoul-DisableDoomed: + + .. cpp:function:: unknown DisableDoomed(unknown) + + .. _CTitanSoul-EnableDoomed: + + .. cpp:function:: unknown EnableDoomed(unknown) + + .. _CTitanSoul-GetPlayerSettingsNum: + + .. cpp:function:: int GetPlayerSettingsNum() + + .. _CTitanSoul-SetStance: + + .. cpp:function:: void SetStance(int stance) + + .. _CTitanSoul-GetStance: + + .. cpp:function:: int GetStance() + + .. _CTitanSoul-GetLastRodeoHitTime: + + .. cpp:function:: float GetLastRodeoHitTime() + + .. _CTitanSoul-GetCoreChargeStartTime: + + .. cpp:function:: float GetCoreChargeStartTime() + + .. _CTitanSoul-SetDefensivePlacement: + + .. cpp:function:: unknown SetDefensivePlacement(unknown) + + .. _CTitanSoul-SetLastRodeoHitTime: + + .. cpp:function:: void SetLastRodeoHitTime(float gametime) + diff --git a/docs/source/reference/respawn/entities/server/CTriggerCylinder.rst b/docs/source/reference/respawn/entities/server/CTriggerCylinder.rst new file mode 100644 index 00000000..0c0c43fd --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CTriggerCylinder.rst @@ -0,0 +1,45 @@ +.. _CTriggerCylinder: + +CTriggerCylinder +================ + +.. cpp:class:: CTriggerCylinder extends CBaseTrigger + + Inherits all properties from :ref:`CBaseTrigger ` + + Derived Classes + ^^^^^^^^^^^^^^^ + + - :ref:`CTriggerPointGravity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CTriggerCylinder-CheckForLOS: + + .. cpp:function:: unknown CheckForLOS(unknown) + + .. _CTriggerCylinder-SetBelowHeight: + + .. cpp:function:: unknown SetBelowHeight(unknown) + + .. _CTriggerCylinder-GetBelowHeight: + + .. cpp:function:: unknown GetBelowHeight(unknown) + + .. _CTriggerCylinder-GetAboveHeight: + + .. cpp:function:: unknown GetAboveHeight(unknown) + + .. _CTriggerCylinder-SetRadius: + + .. cpp:function:: unknown SetRadius(unknown) + + .. _CTriggerCylinder-GetRadius: + + .. cpp:function:: unknown GetRadius(unknown) + + .. _CTriggerCylinder-SetAboveHeight: + + .. cpp:function:: unknown SetAboveHeight(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CTriggerPointGravity.rst b/docs/source/reference/respawn/entities/server/CTriggerPointGravity.rst new file mode 100644 index 00000000..073a397b --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CTriggerPointGravity.rst @@ -0,0 +1,16 @@ +.. _CTriggerPointGravity: + +CTriggerPointGravity +==================== + +.. cpp:class:: CTriggerPointGravity extends CTriggerCylinder + + Inherits all properties from :ref:`CTriggerCylinder ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CTriggerPointGravity-SetParams: + + .. cpp:function:: unknown SetParams(unknown) + diff --git a/docs/source/reference/respawn/entities/server/CTurret.rst b/docs/source/reference/respawn/entities/server/CTurret.rst new file mode 100644 index 00000000..2090ad25 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CTurret.rst @@ -0,0 +1,28 @@ +.. _CTurret: + +CTurret +======= + +.. cpp:class:: CTurret extends CBaseCombatCharacter + + Inherits all properties from :ref:`CBaseCombatCharacter ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CTurret-AimTurret: + + .. cpp:function:: unknown AimTurret(unknown) + + .. _CTurret-ClearDriver: + + .. cpp:function:: void ClearDriver() + + .. _CTurret-GetDriver: + + .. cpp:function:: entity GetDriver() + + .. _CTurret-SetDriver: + + .. cpp:function:: voit SetDriver(enitity driver) + diff --git a/docs/source/reference/respawn/entities/server/CVortexSphere.rst b/docs/source/reference/respawn/entities/server/CVortexSphere.rst new file mode 100644 index 00000000..a72acde0 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CVortexSphere.rst @@ -0,0 +1,64 @@ +.. _CVortexSphere: + +CVortexSphere +============= + +.. cpp:class:: CVortexSphere extends CBaseEntity + + Inherits all properties from :ref:`CBaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CVortexSphere-RemoveProjectileFromSphere: + + .. cpp:function:: void RemoveProjectileFromSphere() + + .. _CVortexSphere-RemoveBulletFromSphere: + + .. cpp:function:: void RemoveBulletFromSphere() + + .. _CVortexSphere-SetVortexEffect: + + .. cpp:function:: void SetVortexEffect(entity fx) + + .. _CVortexSphere-SetGunVortexAngles: + + .. cpp:function:: void SetGunVortexAngles(vector angles) + + .. _CVortexSphere-GetBulletAbsorbedCount: + + .. cpp:function:: int GetBulletAbsorbedCount() + + .. _CVortexSphere-DisableVortexBlockLOS: + + .. cpp:function:: void DisableVortexBlockLOS() + + .. _CVortexSphere-ClearAllBulletsFromSphere: + + .. cpp:function:: void ClearAllBulletsFromSphere() + + .. _CVortexSphere-AddProjectileToSphere: + + .. cpp:function:: void AddProjectileToSphere() + + .. _CVortexSphere-AddBulletToSphere: + + .. cpp:function:: void AddBulletToSphere() + + .. _CVortexSphere-GetProjectileAbsorbedCount: + + .. cpp:function:: int GetProjectileAbsorbedCount() + + .. _CVortexSphere-SetOwnerWeapon: + + .. cpp:function:: void SetOwnerWeapon(entity owner) + + .. _CVortexSphere-GetOwnerWeapon: + + .. cpp:function:: enitity GetOwnerWeapon() + + .. _CVortexSphere-SetGunVortexAttachment: + + .. cpp:function:: void SetGunVortexAttachment(string attach) + diff --git a/docs/source/reference/respawn/entities/server/CWeaponX.rst b/docs/source/reference/respawn/entities/server/CWeaponX.rst new file mode 100644 index 00000000..27af5b40 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CWeaponX.rst @@ -0,0 +1,700 @@ +.. _CWeaponX: + +CWeaponX +======== + +.. cpp:class:: CWeaponX extends CBaseCombatWeapon + + Inherits all properties from :ref:`CBaseCombatWeapon ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CWeaponX-GetProScreenOwner: + + .. cpp:function:: unknown GetProScreenOwner(unknown) + + .. _CWeaponX-MarkAsLoadoutPickup: + + .. cpp:function:: unknown MarkAsLoadoutPickup(unknown) + + .. _CWeaponX-HasSilencer: + + .. cpp:function:: unknown HasSilencer(unknown) + + .. _CWeaponX-IsDischarging: + + .. cpp:function:: unknown IsDischarging(unknown) + + .. _CWeaponX-FireWeaponMissile: + + .. cpp:function:: entity FireWeaponMissile(vector origin, vector dir, float missileSpeed, int contactDamageType, int explosionDamageType, bool doPopup, bool predict) + + .. _CWeaponX-GetAllowHeadShots: + + .. cpp:function:: bool GetAllowHeadShots() + + .. _CWeaponX-SmartAmmo-IsEnabled: + + .. cpp:function:: bool SmartAmmo_IsEnabled(bool enabled) + + .. _CWeaponX-GetImpactTableIndex: + + .. cpp:function:: unknown GetImpactTableIndex(unknown) + + .. _CWeaponX-GetWeaponChargeTime: + + .. cpp:function:: float GetWeaponChargeTime() + + .. _CWeaponX-SetWeaponEnergyCost: + + .. cpp:function:: void SetWeaponEnergyCost(int cost) + + .. _CWeaponX-GetWeaponDamageFlags: + + .. cpp:function:: int GetWeaponDamageFlags() + + .. _CWeaponX-SetProScreenIntValForIndex: + + .. cpp:function:: unknown SetProScreenIntValForIndex(unknown) + + .. _CWeaponX-Deploy: + + .. cpp:function:: unknown Deploy(unknown) + + .. _CWeaponX-SetWeaponPrimaryClipCountAbsolute: + + .. cpp:function:: void SetWeaponPrimaryClipCountAbsolute(int clipsize) + + .. _CWeaponX-IsBurstFireInProgress: + + .. cpp:function:: bool IsBurstFireInProgress() + + .. _CWeaponX-GetWeaponBurstFireCount: + + .. cpp:function:: int GetWeaponBurstFireCount() + + .. _CWeaponX-SetSustainedDischargeFractionForced: + + .. cpp:function:: void SetSustainedDischargeFractionForced(float frac) + + .. _CWeaponX-GetWeaponDefaultEnergyCost: + + .. cpp:function:: unknown GetWeaponDefaultEnergyCost(unknown) + + .. _CWeaponX-GetWeaponSettingInt: + + .. cpp:function:: int GetWeaponSettingInt(int setting) + + .. _CWeaponX-GetWeaponReadyHint: + + .. cpp:function:: unknown GetWeaponReadyHint(unknown) + + .. _CWeaponX-GetWeaponPrimaryClipCount: + + .. cpp:function:: int GetWeaponPrimaryClipCount() + + .. _CWeaponX-PlayWeaponEffect: + + .. cpp:function:: void PlayWeaponEffect(asset effect1P, asset effect3P, string tagName) + + .. _CWeaponX-IsReadyToFire: + + .. cpp:function:: bool IsReadyToFire() + + .. _CWeaponX-GetChargeDuration: + + .. cpp:function:: unknown GetChargeDuration(unknown) + + .. _CWeaponX-GetForcedADS: + + .. cpp:function:: unknown GetForcedADS(unknown) + + .. _CWeaponX-SetForcedADS: + + .. cpp:function:: void SetForcedADS() + + .. _CWeaponX-GetWeaponZoomFOV: + + .. cpp:function:: unknown GetWeaponZoomFOV(unknown) + + .. _CWeaponX-GetMeleeCanHitTitans: + + .. cpp:function:: bool GetMeleeCanHitTitans() + + .. _CWeaponX-GetWeaponChargeLevelMax: + + .. cpp:function:: float GetWeaponChargeLevelMax() + + .. _CWeaponX-GetWeaponSettingFloat: + + .. cpp:function:: float GetWeaponSettingFloat(int setting) + + .. _CWeaponX-SetNextAttackAllowedTime: + + .. cpp:function:: void SetNextAttackAllowedTime(float time) + + .. _CWeaponX-GetWeaponChargeTimeRemaining: + + .. cpp:function:: unknown GetWeaponChargeTimeRemaining(unknown) + + .. _CWeaponX-IsForceReleaseFromServer: + + .. cpp:function:: bool IsForceReleaseFromServer() + + .. _CWeaponX-GetMeleeAttackAngle: + + .. cpp:function:: unknown GetMeleeAttackAngle(unknown) + + .. _CWeaponX-GetWeaponInfoFileKeyFieldAsset: + + .. cpp:function:: unknown GetWeaponInfoFileKeyFieldAsset(unknown) + + .. _CWeaponX-GetNextAttackAllowedTimeRaw: + + .. cpp:function:: unknown GetNextAttackAllowedTimeRaw(unknown) + + .. _CWeaponX-SmartAmmo-GetNumTrackersOnEntity: + + .. cpp:function:: int SmartAmmo_GetNumTrackersOnEntity(entity target) + + .. _CWeaponX-GetSustainedDischargeRemainder: + + .. cpp:function:: unknown GetSustainedDischargeRemainder(unknown) + + .. _CWeaponX-SetProScreenFloatValForIndex: + + .. cpp:function:: unknown SetProScreenFloatValForIndex(unknown) + + .. _CWeaponX-SetWeaponPrimaryClipCount: + + .. cpp:function:: void SetWeaponPrimaryClipCount(int) + + .. _CWeaponX-RemoveMod: + + .. cpp:function:: void RemoveMod(string mod) + + .. _CWeaponX-GetWeaponPrimaryClipCountMax: + + .. cpp:function:: int GetWeaponPrimaryClipCountMax() + + .. _CWeaponX-SetWeaponSkin: + + .. cpp:function:: void SetWeaponSkin(int skin) + + .. _CWeaponX-GetProjectilesPerShot: + + .. cpp:function:: int GetProjectilesPerShot() + + .. _CWeaponX-SmartAmmo-TrackEntity: + + .. cpp:function:: void SmartAmmo_TrackEntity(entity hitEnt, LMG_SMART_AMMO_TRACKER_TIME) + + .. _CWeaponX-IsWeaponOffhand: + + .. cpp:function:: bool IsWeaponOffhand() + + .. _CWeaponX-IsSustainedDischargeWeapon: + + .. cpp:function:: bool IsSustainedDischargeWeapon() + + .. _CWeaponX-AddMod: + + .. cpp:function:: void AddMod(string mod) + + .. _CWeaponX-GetWeaponPrimaryAmmoCount: + + .. cpp:function:: int GetWeaponPrimaryAmmoCount() + + .. _CWeaponX-IsWeaponAdsButtonPressed: + + .. cpp:function:: bool IsWeaponAdsButtonPressed() + + .. _CWeaponX-GetAmmoDisplay: + + .. cpp:function:: unknown GetAmmoDisplay(unknown) + + .. _CWeaponX-GetMeleeAttackRange: + + .. cpp:function:: float GetMeleeAttackRange() + + .. _CWeaponX-DeployInstant: + + .. cpp:function:: unknown DeployInstant(unknown) + + .. _CWeaponX-GetAttackDirection: + + .. cpp:function:: vector GetAttackDirection() + + .. _CWeaponX-GetCurrentAltFireIndex: + + .. cpp:function:: int GetCurrentAltFireIndex() + + .. _CWeaponX-GetMaxDamageFarDist: + + .. cpp:function:: float GetMaxDamageFarDist() + + .. _CWeaponX-SetWeaponChargeFraction: + + .. cpp:function:: float SetWeaponChargeFraction() + + .. _CWeaponX-GetWeaponOwner: + + .. cpp:function:: entity GetWeaponOwner() + + .. _CWeaponX-GetWeaponInfoFileKeyField: + + .. cpp:function:: var GetWeaponInfoFileKeyField(string key) + + .. _CWeaponX-SetScriptFlags0: + + .. cpp:function:: unknown SetScriptFlags0(unknown) + + .. _CWeaponX-GetSustainedDischargeDuration: + + .. cpp:function:: float GetSustainedDischargeDuration() + + .. _CWeaponX-GetScriptTime0: + + .. cpp:function:: float GetScriptTime0() + + .. _CWeaponX-GetSustainedDischargeFraction: + + .. cpp:function:: unknown GetSustainedDischargeFraction(unknown) + + .. _CWeaponX-SetScriptTime0: + + .. cpp:function:: void SetScriptTime0(float gameTime) + + .. _CWeaponX-GetSustainedDischargePulseFrequency: + + .. cpp:function:: unknown GetSustainedDischargePulseFrequency(unknown) + + .. _CWeaponX-GetChargeAnimIndex: + + .. cpp:function:: int GetChargeAnimIndex() + + .. _CWeaponX-IsForceRelease: + + .. cpp:function:: bool IsForceRelease() + + .. _CWeaponX-HasMod: + + .. cpp:function:: bool HasMod(string mod) + + .. _CWeaponX-GetRodeoDamage: + + .. cpp:function:: unknown GetRodeoDamage(unknown) + + .. _CWeaponX-GetWeaponDamageForce: + + .. cpp:function:: unknown GetWeaponDamageForce(unknown) + + .. _CWeaponX-Raise: + + .. cpp:function:: unknown Raise(unknown) + + .. _CWeaponX-GetNextAttackAllowedTime: + + .. cpp:function:: unknown GetNextAttackAllowedTime(unknown) + + .. _CWeaponX-GetModBitField: + + .. cpp:function:: unknown GetModBitField(unknown) + + .. _CWeaponX-IsSustainedLaserWeapon: + + .. cpp:function:: unknown IsSustainedLaserWeapon(unknown) + + .. _CWeaponX-GetWeaponChargeLevel: + + .. cpp:function:: float GetWeaponChargeLevel() + + .. _CWeaponX-GetNPCMissFastPlayer: + + .. cpp:function:: unknown GetNPCMissFastPlayer(unknown) + + .. _CWeaponX-SetModBitField: + + .. cpp:function:: unknown SetModBitField(unknown) + + .. _CWeaponX-ForceChargeEndNoAttack: + + .. cpp:function:: unknown ForceChargeEndNoAttack(unknown) + + .. _CWeaponX-SetChargeAnimIndex: + + .. cpp:function:: void SetChargeAnimIndex(int index) + + .. _CWeaponX-SmartAmmo-UntrackEntity: + + .. cpp:function:: void SmartAmmo_UntrackEntity(entity target) + + .. _CWeaponX-SetLifetimeShotsRemaining: + + .. cpp:function:: unknown SetLifetimeShotsRemaining(unknown) + + .. _CWeaponX-GetWeaponExplosionDamageFlags: + + .. cpp:function:: unknown GetWeaponExplosionDamageFlags(unknown) + + .. _CWeaponX-SmartAmmo-GetTrackedEntities: + + .. cpp:function:: array SmartAmmo_GetTrackedEntities() + + .. _CWeaponX-SetWeaponPrimaryAmmoCount: + + .. cpp:function:: void SetWeaponPrimaryAmmoCount(int count) + + .. _CWeaponX-GetGrenadeIgnitionTime: + + .. cpp:function:: unknown GetGrenadeIgnitionTime(unknown) + + .. _CWeaponX-GetReloadMilestoneIndex: + + .. cpp:function:: int GetReloadMilestoneIndex() + + .. _CWeaponX-GetLifetimeShotsRemaining: + + .. cpp:function:: unknown GetLifetimeShotsRemaining(unknown) + + .. _CWeaponX-GetWeaponReadyToFireProgress: + + .. cpp:function:: unknown GetWeaponReadyToFireProgress(unknown) + + .. _CWeaponX-GetWeaponSettingString: + + .. cpp:function:: string GetWeaponSettingString(string setting) + + .. _CWeaponX-ForceReleaseFromServer: + + .. cpp:function:: void ForceReleaseFromServer() + + .. _CWeaponX-GetCoreDuration: + + .. cpp:function:: float GetCoreDuration() + + .. _CWeaponX-GetMeleeAnim3p: + + .. cpp:function:: unknown GetMeleeAnim3p(unknown) + + .. _CWeaponX-ForceRelease: + + .. cpp:function:: void ForceRelease() + + .. _CWeaponX-GetShotCount: + + .. cpp:function:: int GetShotCount() + + .. _CWeaponX-IsInCooldown: + + .. cpp:function:: unknown IsInCooldown(unknown) + + .. _CWeaponX-SetAttackKickRollScale: + + .. cpp:function:: void SetAttackKickRollScale(float scale) + + .. _CWeaponX-GetInventoryIndex: + + .. cpp:function:: unknown GetInventoryIndex(unknown) + + .. _CWeaponX-ShouldPredictProjectiles: + + .. cpp:function:: bool ShouldPredictProjectiles() + + .. _CWeaponX-GetWeaponChargeFraction: + + .. cpp:function:: float GetWeaponChargeFraction() + + .. _CWeaponX-GetWeaponSettingAsset: + + .. cpp:function:: unknown GetWeaponSettingAsset(unknown) + + .. _CWeaponX-GetWeaponSettingBool: + + .. cpp:function:: bool GetWeaponSettingBool(int setting) + + .. _CWeaponX-SetMods: + + .. cpp:function:: void SetMods(array mods) + + .. _CWeaponX-GetMods: + + .. cpp:function:: array GetMods() + + .. _CWeaponX-IsLoadoutPickup: + + .. cpp:function:: unknown IsLoadoutPickup(unknown) + + .. _CWeaponX-SetProScreenOwner: + + .. cpp:function:: unknown SetProScreenOwner(unknown) + + .. _CWeaponX-ForceDryfireEvent: + + .. cpp:function:: void ForceDryfireEvent() + + .. _CWeaponX-EmitWeaponSound: + + .. cpp:function:: void EmitWeaponSound(string sound) + + .. _CWeaponX-PlayWeaponEffectOnOwner: + + .. cpp:function:: void PlayWeaponEffectOnOwner(asset effect, int bodypart) + + .. _CWeaponX-SetWeaponUtilityEntity: + + .. cpp:function:: void SetWeaponUtilityEntity(entity ent) + + .. _CWeaponX-FireWeaponBullet-Special: + + .. cpp:function:: void FireWeaponBullet_Special(vector origin, vector direction, int numShots, int damageType, bool noAntilag, bool noSpread, bool onlyDamageEntitiesOnce, bool unknownPurpose, bool noTracers, bool activeShot, bool doTraceBrushOnly) + + .. _CWeaponX-ThrowWeapon: + + .. cpp:function:: unknown ThrowWeapon(unknown) + + .. _CWeaponX-GetScriptFlags0: + + .. cpp:function:: int GetScriptFlags0() + + .. _CWeaponX-DoMeleeHitConfirmation: + + .. cpp:function:: void DoMeleeHitConfirmation(float severityScale) + + .. _CWeaponX-GetSmartAmmoWeaponType: + + .. cpp:function:: string GetSmartAmmoWeaponType() + + .. _CWeaponX-SmartAmmo-Clear: + + .. cpp:function:: void SmartAmmo_Clear(bool unknown_purpose, bool clearPartialLocks) + + .. _CWeaponX-IsCooldownPending: + + .. cpp:function:: unknown IsCooldownPending(unknown) + + .. _CWeaponX-GetWeaponChargeEnergyCost: + + .. cpp:function:: unknown GetWeaponChargeEnergyCost(unknown) + + .. _CWeaponX-SmartAmmo-GetStoredTargets: + + .. cpp:function:: array SmartAmmo_GetStoredTargets() + + .. _CWeaponX-ClearForcedADS: + + .. cpp:function:: void ClearForcedADS() + + .. _CWeaponX-SetAttackKickScale: + + .. cpp:function:: unknown SetAttackKickScale(unknown) + + .. _CWeaponX-CheckWeaponIsDisabled: + + .. cpp:function:: unknown CheckWeaponIsDisabled(unknown) + + .. _CWeaponX-SetWeaponChargeFractionForced: + + .. cpp:function:: void SetWeaponChargeFractionForced(float frac) + + .. _CWeaponX-ForceSustainedDischargeEnd: + + .. cpp:function:: unknown ForceSustainedDischargeEnd(unknown) + + .. _CWeaponX-IsReloading: + + .. cpp:function:: bool IsReloading() + + .. _CWeaponX-SetLifetimeShotsRemainingInfinite: + + .. cpp:function:: unknown SetLifetimeShotsRemainingInfinite(unknown) + + .. _CWeaponX-SmartAmmo-IsVisibleTarget: + + .. cpp:function:: bool SmartAmmo_IsVisibleTarget(entity trackedEnt) + + .. _CWeaponX-SetWeaponPrimaryClipCountNoRegenReset: + + .. cpp:function:: void SetWeaponPrimaryClipCountNoRegenReset(int clipsize) + + .. _CWeaponX-GetWeaponCurrentEnergyCost: + + .. cpp:function:: int GetWeaponCurrentEnergyCost() + + .. _CWeaponX-SetWeaponBurstFireCount: + + .. cpp:function:: void SetWeaponBurstFireCount(int amount) + + .. _CWeaponX-EnableCatchAnimation: + + .. cpp:function:: unknown EnableCatchAnimation(unknown) + + .. _CWeaponX-GetAttackPosition: + + .. cpp:function:: vector GetAttackPosition() + + .. _CWeaponX-SmartAmmo-SetTarget: + + .. cpp:function:: unknown SmartAmmo_SetTarget(unknown) + + .. _CWeaponX-GetWeaponReadyMsg: + + .. cpp:function:: unknown GetWeaponReadyMsg(unknown) + + .. _CWeaponX-SmartAmmo-GetNewTargetTime: + + .. cpp:function:: unknown SmartAmmo_GetNewTargetTime(unknown) + + .. _CWeaponX-StopWeaponSound: + + .. cpp:function:: void StopWeaponSound(string sound) + + .. _CWeaponX-SetWeaponCamo: + + .. cpp:function:: unknown SetWeaponCamo(unknown) + + .. _CWeaponX-GetWeaponClass: + + .. cpp:function:: string GetWeaponClass() + + .. _CWeaponX-PlayWeaponEffectNoCull: + + .. cpp:function:: void PlayWeaponEffectNoCull(asset effect1P, asset effect3P, string tagName) + + .. _CWeaponX-GetWeaponClassName: + + .. cpp:function:: string GetWeaponClassName() + + .. _CWeaponX-GetSmartAmmoHudLockStyle: + + .. cpp:function:: unknown GetSmartAmmoHudLockStyle(unknown) + + .. _CWeaponX-SmartAmmo-GetFirePosition: + + .. cpp:function:: vector SmartAmmo_GetFirePosition(entity target, int burstIndex) + + .. _CWeaponX-StopWeaponEffect: + + .. cpp:function:: void StopWeaponEffect(asset effect1P, asset effect3P) + + .. _CWeaponX-TimeUntilReadyToFire: + + .. cpp:function:: unknown TimeUntilReadyToFire(unknown) + + .. _CWeaponX-GetWeaponSettingVector: + + .. cpp:function:: unknown GetWeaponSettingVector(unknown) + + .. _CWeaponX-SmartAmmo-StoreTargets: + + .. cpp:function:: void SmartAmmo_StoreTargets() + + .. _CWeaponX-AllowUse: + + .. cpp:function:: bool AllowUse() + + .. _CWeaponX-IsWeaponRegenDraining: + + .. cpp:function:: bool IsWeaponRegenDraining() + + .. _CWeaponX-EmitWeaponNpcSound: + + .. cpp:function:: void EmitWeaponNpcSound(int volume, float duration) + + .. _CWeaponX-EmitWeaponNpcSound-DontUpdateLastFiredTime: + + .. cpp:function:: void EmitWeaponNpcSound_DontUpdateLastFiredTime(int volume, float time) + + .. _CWeaponX-IsNetOptimized: + + .. cpp:function:: unknown IsNetOptimized(unknown) + + .. _CWeaponX-GetMeleeCanHitHumanSized: + + .. cpp:function:: bool GetMeleeCanHitHumanSized() + + .. _CWeaponX-FireWeaponBolt: + + .. cpp:function:: entity FireWeaponBolt(vector origin, vector dir, float projectileSpeed, int contactDamageType, int explosionDamageType, bool predict, int index) + + .. _CWeaponX-GetWeaponUtilityEntity: + + .. cpp:function:: entity GetWeaponUtilityEntity() + + .. _CWeaponX-FireWeaponGrenade: + + .. cpp:function:: entity FireWeaponGrenade(vector attackPos, vector throwVelocity, vector angularVelocity, float fuseTime, int contactDamageType, int explosionDamageType, bool isPredicted, bool isLagCompensated, bool bounce?) + + .. _CWeaponX-GetAmmoPerShot: + + .. cpp:function:: int GetAmmoPerShot() + + .. _CWeaponX-FireWeaponBullet: + + .. cpp:function:: entity FireWeaponBullet(vector origin, vector dir, int numBullets, damageType) + + .. _CWeaponX-GetDamageAmountForArmorType: + + .. cpp:function:: int GetDamageAmountForArmorType(int armor) + + .. _CWeaponX-RegenerateAmmoReset: + + .. cpp:function:: void RegenerateAmmoReset() + + .. _CWeaponX-IsWeaponInAds: + + .. cpp:function:: bool IsWeaponInAds() + + .. _CWeaponX-GetWeaponType: + + .. cpp:function:: int GetWeaponType() + + .. _CWeaponX-IsWeaponCharging: + + .. cpp:function:: unknown IsWeaponCharging(unknown) + + .. _CWeaponX-EmitWeaponSound-1p3p: + + .. cpp:function:: void EmitWeaponSound_1p3p(string sound1P, string sound3P) + + .. _CWeaponX-GetBurstFireShotsPending: + + .. cpp:function:: int GetBurstFireShotsPending() + + .. _CWeaponX-IsChargeWeapon: + + .. cpp:function:: bool IsChargeWeapon() + + .. _CWeaponX-SmartAmmo-SetNewTargetTime: + + .. cpp:function:: unknown SmartAmmo_SetNewTargetTime(unknown) + + .. _CWeaponX-SmartAmmo-GetTargets: + + .. cpp:function:: array SmartAmmo_GetTargets() + + .. _CWeaponX-ResetWeaponToDefaultEnergyCost: + + .. cpp:function:: void ResetWeaponToDefaultEnergyCost() + + .. _CWeaponX-SmartAmmo-GetSearchAngle: + + .. cpp:function:: unknown SmartAmmo_GetSearchAngle(unknown) + + .. _CWeaponX-GetMeleeLungeTargetRange: + + .. cpp:function:: float GetMeleeLungeTargetRange() + + .. _CWeaponX-GetMeleeLungeTargetAngle: + + .. cpp:function:: unknown GetMeleeLungeTargetAngle(unknown) + + .. _CWeaponX-GetGrenadeFuseTime: + + .. cpp:function:: float GetGrenadeFuseTime() + + .. _CWeaponX-GetDamageSourceID: + + .. cpp:function:: int GetDamageSourceID() + diff --git a/docs/source/reference/respawn/entities/server/CWindowHint.rst b/docs/source/reference/respawn/entities/server/CWindowHint.rst new file mode 100644 index 00000000..7e9029df --- /dev/null +++ b/docs/source/reference/respawn/entities/server/CWindowHint.rst @@ -0,0 +1,28 @@ +.. _CWindowHint: + +CWindowHint +=========== + +.. cpp:class:: CWindowHint extends CBaseEntity + + Inherits all properties from :ref:`CBaseEntity ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _CWindowHint-GetHalfHeight: + + .. cpp:function:: unknown GetHalfHeight(unknown) + + .. _CWindowHint-GetHalfWidth: + + .. cpp:function:: unknown GetHalfWidth(unknown) + + .. _CWindowHint-GetRight: + + .. cpp:function:: unknown GetRight(unknown) + + .. _CWindowHint-GetNormal: + + .. cpp:function:: unknown GetNormal(unknown) + diff --git a/docs/source/reference/respawn/entities/server/ScriptMover.rst b/docs/source/reference/respawn/entities/server/ScriptMover.rst new file mode 100644 index 00000000..b9965480 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/ScriptMover.rst @@ -0,0 +1,156 @@ +.. _ScriptMover: + +ScriptMover +=========== + +.. cpp:class:: ScriptMover extends CScriptProp + + Inherits all properties from :ref:`CScriptProp ` + + Unique Functions + ^^^^^^^^^^^^^^^^ + + .. _ScriptMover-SetMoveToPosition: + + .. cpp:function:: unknown SetMoveToPosition(unknown) + + .. _ScriptMover-NonPhysicsMoveInWorldSpaceToLocalPos: + + .. cpp:function:: unknown NonPhysicsMoveInWorldSpaceToLocalPos(unknown) + + .. _ScriptMover-AllowNPCGroundEnt: + + .. cpp:function:: unknown AllowNPCGroundEnt(unknown) + + .. _ScriptMover-SetYawRate: + + .. cpp:function:: unknown SetYawRate(unknown) + + .. _ScriptMover-SetDesiredVelocity3D: + + .. cpp:function:: unknown SetDesiredVelocity3D(unknown) + + .. _ScriptMover-GetMoveToPosition: + + .. cpp:function:: unknown GetMoveToPosition(unknown) + + .. _ScriptMover-GetYawRate: + + .. cpp:function:: unknown GetYawRate(unknown) + + .. _ScriptMover-GetAccelScale: + + .. cpp:function:: unknown GetAccelScale(unknown) + + .. _ScriptMover-NonPhysicsSetRotateModeLocal: + + .. cpp:function:: unknown NonPhysicsSetRotateModeLocal(unknown) + + .. _ScriptMover-SetDesiredYaw: + + .. cpp:function:: unknown SetDesiredYaw(unknown) + + .. _ScriptMover-GetRollTorque: + + .. cpp:function:: unknown GetRollTorque(unknown) + + .. _ScriptMover-NonPhysicsRotate: + + .. cpp:function:: unknown NonPhysicsRotate(unknown) + + .. _ScriptMover-NonPhysicsRotateTo: + + .. cpp:function:: unknown NonPhysicsRotateTo(unknown) + + .. _ScriptMover-NonPhysicsMoveTo: + + .. cpp:function:: unknown NonPhysicsMoveTo(unknown) + + .. _ScriptMover-NonPhysicsStop: + + .. cpp:function:: unknown NonPhysicsStop(unknown) + + .. _ScriptMover-GetSideForce: + + .. cpp:function:: unknown GetSideForce(unknown) + + .. _ScriptMover-SetSideForce: + + .. cpp:function:: unknown SetSideForce(unknown) + + .. _ScriptMover-SetRollTorque: + + .. cpp:function:: unknown SetRollTorque(unknown) + + .. _ScriptMover-SetMinimalHeight: + + .. cpp:function:: unknown SetMinimalHeight(unknown) + + .. _ScriptMover-SetAccelScale: + + .. cpp:function:: unknown SetAccelScale(unknown) + + .. _ScriptMover-GetBobSpeedScale: + + .. cpp:function:: unknown GetBobSpeedScale(unknown) + + .. _ScriptMover-SetDesiredVelocityHorizontal: + + .. cpp:function:: unknown SetDesiredVelocityHorizontal(unknown) + + .. _ScriptMover-GetBobScale: + + .. cpp:function:: unknown GetBobScale(unknown) + + .. _ScriptMover-SetBobSpeedScale: + + .. cpp:function:: unknown SetBobSpeedScale(unknown) + + .. _ScriptMover-SetBobScale: + + .. cpp:function:: unknown SetBobScale(unknown) + + .. _ScriptMover-GetDesiredYaw: + + .. cpp:function:: unknown GetDesiredYaw(unknown) + + .. _ScriptMover-NonPhysicsSetMoveModeLocal: + + .. cpp:function:: unknown NonPhysicsSetMoveModeLocal(unknown) + + .. _ScriptMover-GetDesiredHeight: + + .. cpp:function:: unknown GetDesiredHeight(unknown) + + .. _ScriptMover-SetDesiredHeight: + + .. cpp:function:: unknown SetDesiredHeight(unknown) + + .. _ScriptMover-SetMaxSpeed: + + .. cpp:function:: unknown SetMaxSpeed(unknown) + + .. _ScriptMover-ClearDesiredYaw: + + .. cpp:function:: unknown ClearDesiredYaw(unknown) + + .. _ScriptMover-ChangeNPCPathsOnMove: + + .. cpp:function:: unknown ChangeNPCPathsOnMove(unknown) + + .. _ScriptMover-GetMaxSpeed: + + .. cpp:function:: unknown GetMaxSpeed(unknown) + + .. _ScriptMover-GetDesiredVelocity: + + .. cpp:function:: unknown GetDesiredVelocity(unknown) + + .. _ScriptMover-NonPhysicsMoveWithGravity: + + .. cpp:function:: unknown NonPhysicsMoveWithGravity(unknown) + + .. _ScriptMover-ClearMinimalHeight: + + .. cpp:function:: unknown ClearMinimalHeight(unknown) + diff --git a/docs/source/reference/respawn/entities/server/index.rst b/docs/source/reference/respawn/entities/server/index.rst new file mode 100644 index 00000000..af098c18 --- /dev/null +++ b/docs/source/reference/respawn/entities/server/index.rst @@ -0,0 +1,48 @@ +Serverside Entity Classes +========================= + +.. toctree:: + :maxdepth: 2 + + /reference/respawn/entities/server/CBaseEntity + /reference/respawn/entities/server/CTitanSoul + /reference/respawn/entities/server/CParticleSystem + /reference/respawn/entities/server/CBaseAnimating + /reference/respawn/entities/server/CBaseCombatCharacter + /reference/respawn/entities/server/CPlayer + /reference/respawn/entities/server/CAI_BaseNPC + /reference/respawn/entities/server/CNPC_Titan + /reference/respawn/entities/server/CNPC_Dropship + /reference/respawn/entities/server/CNPC_Drone + /reference/respawn/entities/server/CAI_BaseActor + /reference/respawn/entities/server/CNPC_SentryTurret + /reference/respawn/entities/server/CAI_TrackPather + /reference/respawn/entities/server/CBaseHelicopter + /reference/respawn/entities/server/CTurret + /reference/respawn/entities/server/CDynamicProp + /reference/respawn/entities/server/CProjectile + /reference/respawn/entities/server/CBaseGrenade + /reference/respawn/entities/server/CMissile + /reference/respawn/entities/server/CCrossbowBolt + /reference/respawn/entities/server/CScriptProp + /reference/respawn/entities/server/CBaseCombatWeapon + /reference/respawn/entities/server/CWeaponX + /reference/respawn/entities/server/CFirstPersonProxy + /reference/respawn/entities/server/CPlayerDecoy + /reference/respawn/entities/server/CVortexSphere + /reference/respawn/entities/server/CEnvExplosion + /reference/respawn/entities/server/CBaseTrigger + /reference/respawn/entities/server/CTriggerCylinder + /reference/respawn/entities/server/CTriggerPointGravity + /reference/respawn/entities/server/CBreakable + /reference/respawn/entities/server/CBreakableSurface + /reference/respawn/entities/server/CHardPointEntity + /reference/respawn/entities/server/CRopeKeyframe + /reference/respawn/entities/server/CScriptTraceVolume + /reference/respawn/entities/server/ScriptMover + /reference/respawn/entities/server/CAI_SkitNode + /reference/respawn/entities/server/CScriptDamageInfo + /reference/respawn/entities/server/CSpawner + /reference/respawn/entities/server/CTeamSpawnPoint + /reference/respawn/entities/server/CWindowHint + /reference/respawn/entities/server/CAI_Hint