Skip to content

Commit

Permalink
Add CBaseCombatWeapon docs
Browse files Browse the repository at this point in the history
  • Loading branch information
luttje committed Aug 11, 2024
1 parent f53d301 commit b1dfb05
Show file tree
Hide file tree
Showing 132 changed files with 3,696 additions and 576 deletions.
23 changes: 23 additions & 0 deletions docs/classes/CBaseCombatWeapon/AbortReload.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
template: lua-class-function.html
title: AbortReload
icon: lua-shared
tags:
- lua
- shared
- needs-verification
- needs-example
lua:
library: CBaseCombatWeapon
function: AbortReload
realm: shared
description: "Abort reload."


returns:

---

<div class="lua__search__keywords">
CBaseCombatWeapon:AbortReload &#x2013; Abort reload.
</div>
24 changes: 24 additions & 0 deletions docs/classes/CBaseCombatWeapon/ActivityListCount.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
template: lua-class-function.html
title: ActivityListCount
icon: lua-shared
tags:
- lua
- shared
- needs-verification
- needs-example
lua:
library: CBaseCombatWeapon
function: ActivityListCount
realm: shared
description: "Activity list count."


returns:
- type: integer
description: "Number of activities in the list."
---

<div class="lua__search__keywords">
CBaseCombatWeapon:ActivityListCount &#x2013; Activity list count.
</div>
28 changes: 28 additions & 0 deletions docs/classes/CBaseCombatWeapon/ActivityOverride.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
template: lua-class-function.html
title: ActivityOverride
icon: lua-shared
tags:
- lua
- shared
- needs-verification
- needs-example
lua:
library: CBaseCombatWeapon
function: ActivityOverride
realm: shared
description: "Asks which Activity override the weapon wants."

arguments:
- name: "activity"
type: number
returns:
- type: integer
description: "Override activity ID."
- type: boolean
description: "Whether the activity is required."
---

<div class="lua__search__keywords">
CBaseCombatWeapon:ActivityOverride &#x2013; Asks which Activity override the weapon wants.
</div>
23 changes: 23 additions & 0 deletions docs/classes/CBaseCombatWeapon/AddViewKick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
template: lua-class-function.html
title: AddViewKick
icon: lua-shared
tags:
- lua
- shared
- needs-verification
- needs-example
lua:
library: CBaseCombatWeapon
function: AddViewKick
realm: shared
description: "Add view kick."


returns:

---

<div class="lua__search__keywords">
CBaseCombatWeapon:AddViewKick &#x2013; Add view kick.
</div>
24 changes: 24 additions & 0 deletions docs/classes/CBaseCombatWeapon/AllowsAutoSwitchFrom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
template: lua-class-function.html
title: AllowsAutoSwitchFrom
icon: lua-shared
tags:
- lua
- shared
- needs-verification
- needs-example
lua:
library: CBaseCombatWeapon
function: AllowsAutoSwitchFrom
realm: shared
description: "Allows auto switch from."


returns:
- type: boolean
description: "Whether the weapon allows auto switch from."
---

<div class="lua__search__keywords">
CBaseCombatWeapon:AllowsAutoSwitchFrom &#x2013; Allows auto switch from.
</div>
24 changes: 24 additions & 0 deletions docs/classes/CBaseCombatWeapon/AllowsAutoSwitchTo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
template: lua-class-function.html
title: AllowsAutoSwitchTo
icon: lua-shared
tags:
- lua
- shared
- needs-verification
- needs-example
lua:
library: CBaseCombatWeapon
function: AllowsAutoSwitchTo
realm: shared
description: "Allows auto switch to."


returns:
- type: boolean
description: "Whether the weapon allows auto switch to."
---

<div class="lua__search__keywords">
CBaseCombatWeapon:AllowsAutoSwitchTo &#x2013; Allows auto switch to.
</div>
24 changes: 24 additions & 0 deletions docs/classes/CBaseCombatWeapon/CalcViewmodelBob.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
template: lua-class-function.html
title: CalcViewmodelBob
icon: lua-shared
tags:
- lua
- shared
- needs-verification
- needs-example
lua:
library: CBaseCombatWeapon
function: CalcViewmodelBob
realm: shared
description: "Calculate viewmodel bob."


returns:
- type: number
description: "Viewmodel bob."
---

<div class="lua__search__keywords">
CBaseCombatWeapon:CalcViewmodelBob &#x2013; Calculate viewmodel bob.
</div>
24 changes: 24 additions & 0 deletions docs/classes/CBaseCombatWeapon/CanBePickedUpByNPCs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
template: lua-class-function.html
title: CanBePickedUpByNPCs
icon: lua-shared
tags:
- lua
- shared
- needs-verification
- needs-example
lua:
library: CBaseCombatWeapon
function: CanBePickedUpByNPCs
realm: shared
description: "Can be picked up by NPCs."


returns:
- type: boolean
description: "Whether the weapon can be picked up by NPCs."
---

<div class="lua__search__keywords">
CBaseCombatWeapon:CanBePickedUpByNPCs &#x2013; Can be picked up by NPCs.
</div>
24 changes: 24 additions & 0 deletions docs/classes/CBaseCombatWeapon/CanBeSelected.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
template: lua-class-function.html
title: CanBeSelected
icon: lua-shared
tags:
- lua
- shared
- needs-verification
- needs-example
lua:
library: CBaseCombatWeapon
function: CanBeSelected
realm: shared
description: "Can be selected."


returns:
- type: boolean
description: "Whether the weapon can be selected."
---

<div class="lua__search__keywords">
CBaseCombatWeapon:CanBeSelected &#x2013; Can be selected.
</div>
24 changes: 24 additions & 0 deletions docs/classes/CBaseCombatWeapon/CanDeploy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
template: lua-class-function.html
title: CanDeploy
icon: lua-shared
tags:
- lua
- shared
- needs-verification
- needs-example
lua:
library: CBaseCombatWeapon
function: CanDeploy
realm: shared
description: "Can deploy."


returns:
- type: boolean
description: "Whether the weapon can deploy."
---

<div class="lua__search__keywords">
CBaseCombatWeapon:CanDeploy &#x2013; Can deploy.
</div>
24 changes: 24 additions & 0 deletions docs/classes/CBaseCombatWeapon/CanHolster.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
template: lua-class-function.html
title: CanHolster
icon: lua-shared
tags:
- lua
- shared
- needs-verification
- needs-example
lua:
library: CBaseCombatWeapon
function: CanHolster
realm: shared
description: "Can holster."


returns:
- type: boolean
description: "Whether the weapon can holster."
---

<div class="lua__search__keywords">
CBaseCombatWeapon:CanHolster &#x2013; Can holster.
</div>
24 changes: 24 additions & 0 deletions docs/classes/CBaseCombatWeapon/CanLower.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
template: lua-class-function.html
title: CanLower
icon: lua-shared
tags:
- lua
- shared
- needs-verification
- needs-example
lua:
library: CBaseCombatWeapon
function: CanLower
realm: shared
description: "Can lower."


returns:
- type: boolean
description: "Whether the weapon can lower."
---

<div class="lua__search__keywords">
CBaseCombatWeapon:CanLower &#x2013; Can lower.
</div>
23 changes: 23 additions & 0 deletions docs/classes/CBaseCombatWeapon/CheckReload.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
template: lua-class-function.html
title: CheckReload
icon: lua-shared
tags:
- lua
- shared
- needs-verification
- needs-example
lua:
library: CBaseCombatWeapon
function: CheckReload
realm: shared
description: "Check reload."


returns:

---

<div class="lua__search__keywords">
CBaseCombatWeapon:CheckReload &#x2013; Check reload.
</div>
24 changes: 24 additions & 0 deletions docs/classes/CBaseCombatWeapon/Clip1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
template: lua-class-function.html
title: Clip1
icon: lua-shared
tags:
- lua
- shared
- needs-verification
- needs-example
lua:
library: CBaseCombatWeapon
function: Clip1
realm: shared
description: "The amount of ammo in the primary clip."


returns:
- type: integer
description: "The amount of ammo in the primary clip."
---

<div class="lua__search__keywords">
CBaseCombatWeapon:Clip1 &#x2013; The amount of ammo in the primary clip.
</div>
24 changes: 24 additions & 0 deletions docs/classes/CBaseCombatWeapon/Clip2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
template: lua-class-function.html
title: Clip2
icon: lua-shared
tags:
- lua
- shared
- needs-verification
- needs-example
lua:
library: CBaseCombatWeapon
function: Clip2
realm: shared
description: "The amount of ammo in the secondary clip."


returns:
- type: integer
description: "The amount of ammo in the secondary clip."
---

<div class="lua__search__keywords">
CBaseCombatWeapon:Clip2 &#x2013; The amount of ammo in the secondary clip.
</div>
Loading

0 comments on commit b1dfb05

Please sign in to comment.