-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better doc generation support for that one hook we define in a macro
- Loading branch information
Showing
190 changed files
with
3,819 additions
and
511 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
template: lua-class-function.html | ||
title: Normalize | ||
icon: lua-shared | ||
tags: | ||
- lua | ||
- shared | ||
- needs-verification | ||
- needs-example | ||
lua: | ||
library: Angle | ||
function: Normalize | ||
realm: shared | ||
description: "Modifies the existing angle, normalizing it between -180 to 180 degrees pitch, yaw and roll." | ||
|
||
|
||
returns: | ||
- type: Angle | ||
description: "The same angle, now normalized." | ||
--- | ||
|
||
<div class="lua__search__keywords"> | ||
Angle:Normalize – Modifies the existing angle, normalizing it between -180 to 180 degrees pitch, yaw and roll. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
template: lua-class-function.html | ||
title: GetAngles | ||
icon: lua-shared | ||
tags: | ||
- lua | ||
- shared | ||
- needs-verification | ||
- needs-example | ||
lua: | ||
library: EffectData | ||
function: GetAngles | ||
realm: shared | ||
description: "Get the angles of the effect." | ||
|
||
|
||
returns: | ||
- type: Angle | ||
description: "Angles" | ||
--- | ||
|
||
<div class="lua__search__keywords"> | ||
EffectData:GetAngles – Get the angles of the effect. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
template: lua-class-function.html | ||
title: GetAttachmentIndex | ||
icon: lua-shared | ||
tags: | ||
- lua | ||
- shared | ||
- needs-verification | ||
- needs-example | ||
lua: | ||
library: EffectData | ||
function: GetAttachmentIndex | ||
realm: shared | ||
description: "Get the attachment ID for the effect." | ||
|
||
|
||
returns: | ||
- type: integer | ||
description: "Attachment ID" | ||
--- | ||
|
||
<div class="lua__search__keywords"> | ||
EffectData:GetAttachmentIndex – Get the attachment ID for the effect. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
template: lua-class-function.html | ||
title: GetColor | ||
icon: lua-shared | ||
tags: | ||
- lua | ||
- shared | ||
- needs-verification | ||
- needs-example | ||
lua: | ||
library: EffectData | ||
function: GetColor | ||
realm: shared | ||
description: "Get the byte described as the color of the effect." | ||
|
||
|
||
returns: | ||
- type: integer | ||
description: "Color" | ||
--- | ||
|
||
<div class="lua__search__keywords"> | ||
EffectData:GetColor – Get the byte described as the color of the effect. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
template: lua-class-function.html | ||
title: GetDamageType | ||
icon: lua-shared | ||
tags: | ||
- lua | ||
- shared | ||
- needs-verification | ||
- needs-example | ||
lua: | ||
library: EffectData | ||
function: GetDamageType | ||
realm: shared | ||
description: "Get the damage type of the effect." | ||
|
||
|
||
returns: | ||
- type: integer | ||
description: "Damage type" | ||
--- | ||
|
||
<div class="lua__search__keywords"> | ||
EffectData:GetDamageType – Get the damage type of the effect. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
--- | ||
template: lua-class-function.html | ||
title: GetEntity | ||
icon: lua-client | ||
icon: lua-shared | ||
tags: | ||
- lua | ||
- client | ||
- shared | ||
- needs-verification | ||
- needs-example | ||
lua: | ||
library: EffectData | ||
function: GetEntity | ||
realm: client | ||
description: "Get the entity." | ||
realm: shared | ||
description: "Get the entity the effect is assigned to." | ||
|
||
|
||
returns: | ||
- type: Entity | ||
description: "Entity." | ||
description: "The entity the effect is assigned to." | ||
--- | ||
|
||
<div class="lua__search__keywords"> | ||
EffectData:GetEntity – Get the entity. | ||
EffectData:GetEntity – Get the entity the effect is assigned to. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
template: lua-class-function.html | ||
title: GetFlags | ||
icon: lua-shared | ||
tags: | ||
- lua | ||
- shared | ||
- needs-verification | ||
- needs-example | ||
lua: | ||
library: EffectData | ||
function: GetFlags | ||
realm: shared | ||
description: "Get the flags of the effect." | ||
|
||
|
||
returns: | ||
- type: integer | ||
description: "The flags of the effect." | ||
--- | ||
|
||
<div class="lua__search__keywords"> | ||
EffectData:GetFlags – Get the flags of the effect. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
template: lua-class-function.html | ||
title: GetHitBox | ||
icon: lua-shared | ||
tags: | ||
- lua | ||
- shared | ||
- needs-verification | ||
- needs-example | ||
lua: | ||
library: EffectData | ||
function: GetHitBox | ||
realm: shared | ||
description: "Get the hit box ID of the effect." | ||
|
||
|
||
returns: | ||
- type: integer | ||
description: "Hit box ID" | ||
--- | ||
|
||
<div class="lua__search__keywords"> | ||
EffectData:GetHitBox – Get the hit box ID of the effect. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
template: lua-class-function.html | ||
title: GetMagnitude | ||
icon: lua-shared | ||
tags: | ||
- lua | ||
- shared | ||
- needs-verification | ||
- needs-example | ||
lua: | ||
library: EffectData | ||
function: GetMagnitude | ||
realm: shared | ||
description: "Get the magnitude of the effect." | ||
|
||
|
||
returns: | ||
- type: number | ||
description: "Magnitude" | ||
--- | ||
|
||
<div class="lua__search__keywords"> | ||
EffectData:GetMagnitude – Get the magnitude of the effect. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
template: lua-class-function.html | ||
title: GetMaterialIndex | ||
icon: lua-shared | ||
tags: | ||
- lua | ||
- shared | ||
- needs-verification | ||
- needs-example | ||
lua: | ||
library: EffectData | ||
function: GetMaterialIndex | ||
realm: shared | ||
description: "Get the material index of the effect." | ||
|
||
|
||
returns: | ||
- type: integer | ||
description: "Material index" | ||
--- | ||
|
||
<div class="lua__search__keywords"> | ||
EffectData:GetMaterialIndex – Get the material index of the effect. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
template: lua-class-function.html | ||
title: GetNormal | ||
icon: lua-shared | ||
tags: | ||
- lua | ||
- shared | ||
- needs-verification | ||
- needs-example | ||
lua: | ||
library: EffectData | ||
function: GetNormal | ||
realm: shared | ||
description: "Get the normalized direction vector of the effect." | ||
|
||
|
||
returns: | ||
- type: Vector | ||
description: "Normal" | ||
--- | ||
|
||
<div class="lua__search__keywords"> | ||
EffectData:GetNormal – Get the normalized direction vector of the effect. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
template: lua-class-function.html | ||
title: GetOrigin | ||
icon: lua-shared | ||
tags: | ||
- lua | ||
- shared | ||
- needs-verification | ||
- needs-example | ||
lua: | ||
library: EffectData | ||
function: GetOrigin | ||
realm: shared | ||
description: "Get the origin position of the effect." | ||
|
||
|
||
returns: | ||
- type: Vector | ||
description: "Origin" | ||
--- | ||
|
||
<div class="lua__search__keywords"> | ||
EffectData:GetOrigin – Get the origin position of the effect. | ||
</div> |
Oops, something went wrong.