Skip to content

Commit

Permalink
Fix traceline filter not working + generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
luttje committed Aug 14, 2024
1 parent 1d8fe3d commit 4e9fb87
Show file tree
Hide file tree
Showing 294 changed files with 3,754 additions and 362 deletions.
2 changes: 1 addition & 1 deletion docs/classes/Angle/Add.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lua:
- name: "angle2"
type: Angle
returns:
- type: angle
- type: Angle
description: "The added angle."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Angle/Divide.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lua:
- name: "divideBy"
type: number
returns:
- type: angle
- type: Angle
description: "The divided angle."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Angle/Forward.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: vector
- type: Vector
description: "The forward vector of the angle."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Angle/Init.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ lua:
- name: "z"
type: number
returns:
- type: angle
- type: Angle
description: "The initialized angle."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Angle/Invalidate.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: angle
- type: Angle
description: "The invalidated angle."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Angle/Right.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: vector
- type: Vector
description: "The right vector of the angle."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Angle/RotateAroundAxis.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ lua:
- name: "degrees"
type: number
returns:
- type: angle
- type: Angle
description: "The rotated angle."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Angle/Scale.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lua:
- name: "scaleBy"
type: number
returns:
- type: angle
- type: Angle
description: "The scaled angle."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Angle/Up.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: vector
- type: Vector
description: "The up vector of the angle."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Angle/__add.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lua:
- name: "angle2"
type: Angle
returns:
- type: angle
- type: Angle
description: "The added angle."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Angle/__div.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lua:
- name: "number"
type: number
returns:
- type: angle
- type: Angle
description: "The divided angle."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Angle/__mul.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: angle
- type: Angle
description: "The multiplied angle."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Angle/__sub.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lua:
- name: "angle2"
type: Angle
returns:
- type: angle
- type: Angle
description: "The subtracted angle."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Angle/__unm.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: angle
- type: Angle
description: "The negated angle."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/EffectData/GetEntity.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: entity
- type: Entity
description: "Entity."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/BecomeRagdollOnClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: entity
- type: Entity
description: "The ragdoll entity"
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/BodyTarget.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lua:
type: boolean
default: "true"
returns:
- type: vector
- type: Vector
description: "The body target"
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/CalculateNearestPoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lua:
- name: "point"
type: Vector
returns:
- type: vector
- type: Vector
description: "The nearest point."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/ComputeAbsoluteDirection.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lua:
- name: "localDir"
type: Vector
returns:
- type: vector
- type: Vector
description: "The absolute direction."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/ComputeAbsolutePosition.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lua:
- name: "localPos"
type: Vector
returns:
- type: vector
- type: Vector
description: "The absolute position."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/ComputeWorldSpaceSurroundingBox.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: vector
- type: Vector
description: "The minimum vector."
- type: vector
description: "The maximum vector."
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/CreatePredictedEntityByName.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ lua:
type: boolean
default: "false"
returns:
- type: entity
- type: Entity
description: "The predicted entity."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/CreateRagdollCopy.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: entity
- type: Entity
description: "The ragdoll entity"
---

Expand Down
30 changes: 30 additions & 0 deletions docs/classes/Entity/DropToFloor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
template: lua-class-function.html
title: DropToFloor
icon: lua-server
tags:
- lua
- server
- needs-verification
- needs-example
lua:
library: Entity
function: DropToFloor
realm: server
description: "Drops the entity to the floor."

arguments:
- name: "mask"
type: integer
default: "MASK_SOLID"
- name: "ignore"
type: Entity
default: "NULL"
returns:
- type: number
description: "-1 if the floor to drop to isn't valid. 0 if nothing changed. 1 if the entity dropped to the floor"
---

<div class="lua__search__keywords">
Entity:DropToFloor &#x2013; Drops the entity to the floor.
</div>
2 changes: 1 addition & 1 deletion docs/classes/Entity/EntityToWorldSpace.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lua:
- name: "local"
type: Vector
returns:
- type: vector
- type: Vector
description: "The world space vector."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/FindFollowedEntity.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: entity
- type: Entity
description: "The followed entity"
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/GetAimEntOrigin.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lua:
- name: "attachedTo"
type: Entity
returns:
- type: vector
- type: Vector
description: "The aim entity origin"
- type: angle
description: "The aim entity angles"
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/GetAngles.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: angle
- type: Angle
description: "The absolute angles."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/GetAutoAimCenter.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: vector
- type: Vector
description: "The auto aim center"
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/GetBaseVelocity.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: vector
- type: Vector
description: "The base velocity."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/GetBlendedLinearVelocity.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: vector
- type: Vector
description: "The blended linear velocity"
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/GetBonePosition.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lua:
- name: "bone"
type: number
returns:
- type: vector
- type: Vector
description: "The origin"
- type: angle
description: "The angles"
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/GetEarPosition.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: vector
- type: Vector
description: "The ear position."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/GetEffectEntity.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: entity
- type: Entity
description: "The effect entity."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/GetEnemy.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: entity
- type: Entity
description: "The enemy"
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/GetEyeAngles.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: angle
- type: Angle
description: "The eye angles."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/GetEyePosition.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: vector
- type: Vector
description: "The eye position."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/GetFirstMoveChild.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: entity
- type: Entity
description: "The first move child."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/GetFollowedEntity.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: entity
- type: Entity
description: "The followed entity."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/GetGroundEntity.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: entity
- type: Entity
description: "The ground entity."
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/GetGroundVelocityToApply.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: vector
- type: Vector
description: "The ground velocity to apply"
---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Entity/GetLocalAngles.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lua:


returns:
- type: angle
- type: Angle
description: "The local angles."
---

Expand Down
Loading

0 comments on commit 4e9fb87

Please sign in to comment.