@tlua/gmod 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/index.d.tlua +1 -0
  2. package/package.json +1 -1
  3. package/types/achievements.d.tlua +15 -45
  4. package/types/ai.d.tlua +5 -15
  5. package/types/angle.d.tlua +18 -54
  6. package/types/baseclass.d.tlua +2 -4
  7. package/types/bf_read.d.tlua +11 -32
  8. package/types/bit.d.tlua +11 -33
  9. package/types/cam.d.tlua +16 -48
  10. package/types/ceffectdata.d.tlua +32 -95
  11. package/types/chat.d.tlua +5 -15
  12. package/types/cleanup.d.tlua +7 -21
  13. package/types/cluaemitter.d.tlua +12 -35
  14. package/types/clualocomotion.d.tlua +40 -119
  15. package/types/cluaparticle.d.tlua +44 -131
  16. package/types/cmovedata.d.tlua +47 -140
  17. package/types/cnavarea.d.tlua +77 -230
  18. package/types/cnavladder.d.tlua +22 -65
  19. package/types/cnewparticleeffect.d.tlua +26 -77
  20. package/types/color.d.tlua +28 -84
  21. package/types/concommand.d.tlua +4 -12
  22. package/types/constraint.d.tlua +28 -84
  23. package/types/construct.d.tlua +1 -3
  24. package/types/contentheader.d.tlua +3 -6
  25. package/types/contenticon.d.tlua +9 -24
  26. package/types/contentsidebar.d.tlua +4 -9
  27. package/types/contextbase.d.tlua +4 -9
  28. package/types/controlpanel.d.tlua +18 -40
  29. package/types/controlpresets.d.tlua +13 -36
  30. package/types/convar.d.tlua +16 -47
  31. package/types/cookie.d.tlua +3 -9
  32. package/types/coroutine.d.tlua +7 -21
  33. package/types/crecipientfilter.d.tlua +16 -47
  34. package/types/csoundpatch.d.tlua +14 -41
  35. package/types/ctakedamageinfo.d.tlua +33 -98
  36. package/types/ctrlnumpad.d.tlua +6 -17
  37. package/types/cusercmd.d.tlua +27 -80
  38. package/types/cvars.d.tlua +6 -18
  39. package/types/dadjustablemodelpanel.d.tlua +7 -18
  40. package/types/dalphabar.d.tlua +3 -6
  41. package/types/dbinder.d.tlua +4 -9
  42. package/types/dbubblecontainer.d.tlua +2 -3
  43. package/types/dbutton.d.tlua +8 -21
  44. package/types/dcheckbox.d.tlua +5 -12
  45. package/types/dcheckboxlabel.d.tlua +9 -27
  46. package/types/dcollapsiblecategory.d.tlua +23 -66
  47. package/types/dcolorbutton.d.tlua +7 -18
  48. package/types/dcolorcombo.d.tlua +5 -12
  49. package/types/dcolorcube.d.tlua +13 -36
  50. package/types/dcolormixer.d.tlua +27 -78
  51. package/types/dcolorpalette.d.tlua +23 -66
  52. package/types/dcolumnsheet.d.tlua +5 -12
  53. package/types/dcombobox.d.tlua +17 -48
  54. package/types/ddragbase.d.tlua +13 -36
  55. package/types/ddrawer.d.tlua +8 -21
  56. package/types/debug.d.tlua +44 -76
  57. package/types/debugoverlay.d.tlua +11 -33
  58. package/types/dentityproperties.d.tlua +5 -12
  59. package/types/derma.d.tlua +10 -30
  60. package/types/dexpandbutton.d.tlua +3 -6
  61. package/types/dfilebrowser.d.tlua +20 -60
  62. package/types/dform.d.tlua +18 -51
  63. package/types/dframe.d.tlua +24 -72
  64. package/types/dgrid.d.tlua +11 -30
  65. package/types/dhorizontaldivider.d.tlua +20 -57
  66. package/types/dhorizontalscroller.d.tlua +11 -30
  67. package/types/dhscrollbar.d.tlua +11 -30
  68. package/types/dhtml.d.tlua +8 -21
  69. package/types/dhtmlcontrols.d.tlua +5 -15
  70. package/types/diconbrowser.d.tlua +11 -30
  71. package/types/diconlayout.d.tlua +18 -51
  72. package/types/dimage.d.tlua +20 -55
  73. package/types/dimagebutton.d.tlua +9 -27
  74. package/types/dlabel.d.tlua +33 -96
  75. package/types/dlabeleditable.d.tlua +5 -12
  76. package/types/dlabelurl.d.tlua +10 -27
  77. package/types/dlistbox.d.tlua +8 -21
  78. package/types/dlistboxitem.d.tlua +4 -9
  79. package/types/dlistview.d.tlua +34 -99
  80. package/types/dlistview_column.d.tlua +14 -39
  81. package/types/dlistview_line.d.tlua +13 -36
  82. package/types/dmenu.d.tlua +28 -75
  83. package/types/dmenubar.d.tlua +6 -11
  84. package/types/dmenuoption.d.tlua +13 -36
  85. package/types/dmenuoptioncvar.d.tlua +6 -15
  86. package/types/dmodelpanel.d.tlua +22 -63
  87. package/types/dmodelselect.d.tlua +2 -3
  88. package/types/dmodelselectmulti.d.tlua +2 -3
  89. package/types/dnotify.d.tlua +10 -27
  90. package/types/dnumberscratch.d.tlua +26 -75
  91. package/types/dnumberwang.d.tlua +16 -45
  92. package/types/dnumslider.d.tlua +17 -51
  93. package/types/dpanel.d.tlua +14 -39
  94. package/types/dpanellist.d.tlua +11 -33
  95. package/types/dpaneloverlay.d.tlua +7 -18
  96. package/types/dpanpanel.d.tlua +6 -15
  97. package/types/dprogress.d.tlua +3 -6
  98. package/types/dproperties.d.tlua +4 -9
  99. package/types/dproperty_combo.d.tlua +3 -6
  100. package/types/dproperty_generic.d.tlua +5 -12
  101. package/types/dpropertysheet.d.tlua +26 -56
  102. package/types/dragndrop.d.tlua +10 -30
  103. package/types/draw.d.tlua +11 -31
  104. package/types/drgbpicker.d.tlua +4 -9
  105. package/types/drive.d.tlua +18 -41
  106. package/types/dscrollpanel.d.tlua +10 -30
  107. package/types/dshape.d.tlua +7 -18
  108. package/types/dsizetocontents.d.tlua +5 -12
  109. package/types/dslider.d.tlua +28 -81
  110. package/types/dsprite.d.tlua +9 -24
  111. package/types/dtab.d.tlua +8 -21
  112. package/types/dtextentry.d.tlua +43 -126
  113. package/types/dtilelayout.d.tlua +21 -60
  114. package/types/dtooltip.d.tlua +6 -15
  115. package/types/dtree.d.tlua +16 -45
  116. package/types/dtree_node.d.tlua +68 -201
  117. package/types/duplicator.d.tlua +30 -88
  118. package/types/dverticaldivider.d.tlua +23 -66
  119. package/types/dvscrollbar.d.tlua +11 -30
  120. package/types/effect.d.tlua +4 -9
  121. package/types/effects.d.tlua +6 -18
  122. package/types/engine.d.tlua +21 -63
  123. package/types/entity.d.tlua +676 -1962
  124. package/types/ents.d.tlua +23 -61
  125. package/types/file.d.tlua +39 -117
  126. package/types/frame_blend.d.tlua +7 -21
  127. package/types/game.d.tlua +39 -117
  128. package/types/gameevent.d.tlua +4 -8
  129. package/types/gamemode.d.tlua +3 -7
  130. package/types/gm.d.tlua +267 -800
  131. package/types/gmsave.d.tlua +4 -12
  132. package/types/gui.d.tlua +21 -63
  133. package/types/gwen.d.tlua +3 -9
  134. package/types/halo.d.tlua +2 -6
  135. package/types/hook.d.tlua +8 -17
  136. package/types/hook_events.d.tlua +2412 -0
  137. package/types/http.d.tlua +1 -3
  138. package/types/iconeditor.d.tlua +11 -30
  139. package/types/igmodaudiochannel.d.tlua +41 -122
  140. package/types/imagecheckbox.d.tlua +4 -9
  141. package/types/imaterial.d.tlua +26 -77
  142. package/types/imesh.d.tlua +5 -14
  143. package/types/input.d.tlua +24 -68
  144. package/types/irestore.d.tlua +9 -26
  145. package/types/isave.d.tlua +9 -26
  146. package/types/itexture.d.tlua +10 -29
  147. package/types/ivideowriter.d.tlua +5 -14
  148. package/types/jit.d.tlua +21 -53
  149. package/types/killicon.d.tlua +7 -21
  150. package/types/language.d.tlua +1 -3
  151. package/types/list.d.tlua +8 -24
  152. package/types/markup.d.tlua +2 -6
  153. package/types/markupobject.d.tlua +5 -14
  154. package/types/math.d.tlua +277 -447
  155. package/types/matproxy.d.tlua +3 -9
  156. package/types/matselect.d.tlua +11 -30
  157. package/types/menubar.d.tlua +2 -6
  158. package/types/mesh.d.tlua +19 -57
  159. package/types/motionsensor.d.tlua +10 -30
  160. package/types/navmesh.d.tlua +26 -78
  161. package/types/net.d.tlua +52 -154
  162. package/types/nextbot.d.tlua +46 -116
  163. package/types/notification.d.tlua +2 -6
  164. package/types/npc.d.tlua +182 -543
  165. package/types/numpad.d.tlua +7 -21
  166. package/types/os.d.tlua +4 -10
  167. package/types/panel.d.tlua +333 -991
  168. package/types/pathfollower.d.tlua +31 -92
  169. package/types/permissions.d.tlua +6 -18
  170. package/types/physcollide.d.tlua +3 -8
  171. package/types/physenv.d.tlua +11 -33
  172. package/types/physobj.d.tlua +78 -233
  173. package/types/player.d.tlua +302 -880
  174. package/types/player_manager.d.tlua +13 -39
  175. package/types/presets.d.tlua +6 -18
  176. package/types/projectedtexture.d.tlua +48 -143
  177. package/types/properties.d.tlua +5 -15
  178. package/types/propselect.d.tlua +5 -12
  179. package/types/render.d.tlua +142 -426
  180. package/types/resource.d.tlua +2 -6
  181. package/types/sandbox.d.tlua +54 -159
  182. package/types/saverestore.d.tlua +12 -36
  183. package/types/schedule.d.tlua +6 -17
  184. package/types/scripted_ents.d.tlua +11 -29
  185. package/types/search.d.tlua +1 -3
  186. package/types/serverlist.d.tlua +7 -21
  187. package/types/sound.d.tlua +10 -30
  188. package/types/spawnicon.d.tlua +8 -21
  189. package/types/spawnmenu.d.tlua +24 -70
  190. package/types/spawnmenucontentpanel.d.tlua +5 -12
  191. package/types/sql.d.tlua +9 -27
  192. package/types/stack.d.tlua +5 -14
  193. package/types/steamworks.d.tlua +18 -54
  194. package/types/string.d.tlua +49 -141
  195. package/types/surface.d.tlua +34 -102
  196. package/types/surfaceinfo.d.tlua +5 -14
  197. package/types/system.d.tlua +10 -30
  198. package/types/table.d.tlua +47 -137
  199. package/types/task.d.tlua +9 -26
  200. package/types/team.d.tlua +19 -57
  201. package/types/timer.d.tlua +14 -42
  202. package/types/tool.d.tlua +46 -131
  203. package/types/ugcpublishwindow.d.tlua +9 -24
  204. package/types/umsg.d.tlua +12 -36
  205. package/types/undo.d.tlua +10 -30
  206. package/types/usermessage.d.tlua +2 -6
  207. package/types/utf8.d.tlua +7 -21
  208. package/types/util.d.tlua +94 -274
  209. package/types/vector.d.tlua +36 -108
  210. package/types/vehicle.d.tlua +52 -149
  211. package/types/vgui.d.tlua +18 -46
  212. package/types/vmatrix.d.tlua +35 -105
  213. package/types/weapon.d.tlua +85 -248
  214. package/types/weapons.d.tlua +6 -16
  215. package/types/widgets.d.tlua +1 -3
  216. package/types/workshopfilebase.d.tlua +5 -14
@@ -13,9 +13,6 @@ interface Player_managerLib {
13
13
  * @source https://wiki.facepunch.com/gmod/player_manager.AddValidHands
14
14
  */
15
15
  AddValidHands(name: string, model: string, skin?: number, bodygroups?: string, matchBodySkin?: boolean): void;
16
- }
17
-
18
- interface Player_managerLib {
19
16
  /**
20
17
  * Associates a simplified name with a path to a valid player model.
21
18
  *
@@ -26,54 +23,36 @@ interface Player_managerLib {
26
23
  * @source https://wiki.facepunch.com/gmod/player_manager.AddValidModel
27
24
  */
28
25
  AddValidModel(name: string, model: string): void;
29
- }
30
-
31
- interface Player_managerLib {
32
26
  /**
33
27
  * Returns the entire list of valid player models.
34
28
  * @realm shared
35
29
  * @source https://wiki.facepunch.com/gmod/player_manager.AllValidModels
36
30
  */
37
31
  AllValidModels(): table;
38
- }
39
-
40
- interface Player_managerLib {
41
32
  /**
42
33
  * Clears a player's class association by setting their ClassID to 0.
43
34
  * @realm shared
44
35
  * @source https://wiki.facepunch.com/gmod/player_manager.ClearPlayerClass
45
36
  */
46
37
  ClearPlayerClass(ply: Player): void;
47
- }
48
-
49
- interface Player_managerLib {
50
38
  /**
51
39
  * Gets a players class.
52
40
  * @realm shared
53
41
  * @source https://wiki.facepunch.com/gmod/player_manager.GetPlayerClass
54
42
  */
55
43
  GetPlayerClass(ply: Player): string;
56
- }
57
-
58
- interface Player_managerLib {
59
44
  /**
60
45
  * Gets a players' class table.
61
46
  * @realm shared
62
47
  * @source https://wiki.facepunch.com/gmod/player_manager.GetPlayerClassTable
63
48
  */
64
49
  GetPlayerClassTable(ply: Player): table;
65
- }
66
-
67
- interface Player_managerLib {
68
50
  /**
69
51
  * Retrieves a copy of all registered player classes.
70
52
  * @realm shared
71
53
  * @source https://wiki.facepunch.com/gmod/player_manager.GetPlayerClasses
72
54
  */
73
55
  GetPlayerClasses(): table;
74
- }
75
-
76
- interface Player_managerLib {
77
56
  /**
78
57
  * Applies basic class variables when the player spawns.
79
58
  *
@@ -83,36 +62,24 @@ interface Player_managerLib {
83
62
  * @source https://wiki.facepunch.com/gmod/player_manager.OnPlayerSpawn
84
63
  */
85
64
  OnPlayerSpawn(ply: Player, transition: boolean): void;
86
- }
87
-
88
- interface Player_managerLib {
89
65
  /**
90
66
  * Register a class metatable to be assigned to players later.
91
67
  * @realm shared
92
68
  * @source https://wiki.facepunch.com/gmod/player_manager.RegisterClass
93
69
  */
94
70
  RegisterClass(name: string, table: PLAYER, base?: string): void;
95
- }
96
-
97
- interface Player_managerLib {
98
71
  /**
99
72
  * Execute a named function within the player's set class.
100
73
  * @realm shared
101
74
  * @source https://wiki.facepunch.com/gmod/player_manager.RunClass
102
75
  */
103
76
  RunClass(ply: Player, funcName: string, ...: any): (...any);
104
- }
105
-
106
- interface Player_managerLib {
107
77
  /**
108
78
  * Sets a player's class.
109
79
  * @realm shared
110
80
  * @source https://wiki.facepunch.com/gmod/player_manager.SetPlayerClass
111
81
  */
112
82
  SetPlayerClass(ply: Player, className: string): void;
113
- }
114
-
115
- interface Player_managerLib {
116
83
  /**
117
84
  * Retrieves correct hands for given player model. By default returns citizen hands.
118
85
  *
@@ -122,18 +89,12 @@ interface Player_managerLib {
122
89
  * @source https://wiki.facepunch.com/gmod/player_manager.TranslatePlayerHands
123
90
  */
124
91
  TranslatePlayerHands(name: string): table;
125
- }
126
-
127
- interface Player_managerLib {
128
92
  /**
129
93
  * Returns the valid model path for a simplified name.
130
94
  * @realm shared
131
95
  * @source https://wiki.facepunch.com/gmod/player_manager.TranslatePlayerModel
132
96
  */
133
97
  TranslatePlayerModel(shortName: string): string;
134
- }
135
-
136
- interface Player_managerLib {
137
98
  /**
138
99
  * Returns the simplified name for a valid model path of a player model.
139
100
  *
@@ -145,3 +106,16 @@ interface Player_managerLib {
145
106
  TranslateToPlayerModelName(model: string): string;
146
107
  }
147
108
 
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
@@ -13,9 +13,6 @@ interface PresetsLib {
13
13
  * @source https://wiki.facepunch.com/gmod/presets.Add
14
14
  */
15
15
  Add(groupname: string, name: string, values: table): void;
16
- }
17
-
18
- interface PresetsLib {
19
16
  /**
20
17
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
21
18
  *
@@ -26,27 +23,18 @@ interface PresetsLib {
26
23
  * @source https://wiki.facepunch.com/gmod/presets.BadNameAlert
27
24
  */
28
25
  BadNameAlert(): void;
29
- }
30
-
31
- interface PresetsLib {
32
26
  /**
33
27
  * Returns whether a preset with given name exists or not
34
28
  * @realm client
35
29
  * @source https://wiki.facepunch.com/gmod/presets.Exists
36
30
  */
37
31
  Exists(type: string, name: string): boolean;
38
- }
39
-
40
- interface PresetsLib {
41
32
  /**
42
33
  * Returns a table with preset names and values from a single preset group.
43
34
  * @realm client
44
35
  * @source https://wiki.facepunch.com/gmod/presets.GetTable
45
36
  */
46
37
  GetTable(groupname: string): table;
47
- }
48
-
49
- interface PresetsLib {
50
38
  /**
51
39
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
52
40
  *
@@ -57,18 +45,12 @@ interface PresetsLib {
57
45
  * @source https://wiki.facepunch.com/gmod/presets.OverwritePresetPrompt
58
46
  */
59
47
  OverwritePresetPrompt(callback: function): void;
60
- }
61
-
62
- interface PresetsLib {
63
48
  /**
64
49
  * Removes a preset entry from a preset group.
65
50
  * @realm client
66
51
  * @source https://wiki.facepunch.com/gmod/presets.Remove
67
52
  */
68
53
  Remove(groupname: string, name: string): void;
69
- }
70
-
71
- interface PresetsLib {
72
54
  /**
73
55
  * Renames preset.
74
56
  * @realm client
@@ -77,3 +59,9 @@ interface PresetsLib {
77
59
  Rename(groupname: string, oldname: string, newname: string): void;
78
60
  }
79
61
 
62
+
63
+
64
+
65
+
66
+
67
+
@@ -4,8 +4,6 @@
4
4
  * A client side projected texture, created by [Global.ProjectedTexture](https://wiki.facepunch.com/gmod/Global.ProjectedTexture).
5
5
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture
6
6
  */
7
- interface ProjectedTexture {}
8
-
9
7
  interface ProjectedTexture {
10
8
  /**
11
9
  * Returns the angle of the ProjectedTexture, which were previously set by [ProjectedTexture:SetAngles](https://wiki.facepunch.com/gmod/ProjectedTexture:SetAngles)
@@ -13,18 +11,12 @@ interface ProjectedTexture {
13
11
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetAngles
14
12
  */
15
13
  GetAngles(self: ProjectedTexture): Angle;
16
- }
17
-
18
- interface ProjectedTexture {
19
14
  /**
20
15
  * Returns the brightness of the ProjectedTexture, which was previously set by [ProjectedTexture:SetBrightness](https://wiki.facepunch.com/gmod/ProjectedTexture:SetBrightness)
21
16
  * @realm client
22
17
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetBrightness
23
18
  */
24
19
  GetBrightness(self: ProjectedTexture): number;
25
- }
26
-
27
- interface ProjectedTexture {
28
20
  /**
29
21
  * Returns the color of the ProjectedTexture, which was previously set by [ProjectedTexture:SetColor](https://wiki.facepunch.com/gmod/ProjectedTexture:SetColor).
30
22
  *
@@ -32,72 +24,48 @@ interface ProjectedTexture {
32
24
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetColor
33
25
  */
34
26
  GetColor(self: ProjectedTexture): Color;
35
- }
36
-
37
- interface ProjectedTexture {
38
27
  /**
39
28
  * Returns the constant attenuation of the projected texture, which can also be set by [ProjectedTexture:SetConstantAttenuation](https://wiki.facepunch.com/gmod/ProjectedTexture:SetConstantAttenuation).
40
29
  * @realm client
41
30
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetConstantAttenuation
42
31
  */
43
32
  GetConstantAttenuation(self: ProjectedTexture): number;
44
- }
45
-
46
- interface ProjectedTexture {
47
33
  /**
48
34
  * Returns whether shadows are enabled for this ProjectedTexture, which was previously set by [ProjectedTexture:SetEnableShadows](https://wiki.facepunch.com/gmod/ProjectedTexture:SetEnableShadows)
49
35
  * @realm client
50
36
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetEnableShadows
51
37
  */
52
38
  GetEnableShadows(self: ProjectedTexture): boolean;
53
- }
54
-
55
- interface ProjectedTexture {
56
39
  /**
57
40
  * Returns the projection distance of the ProjectedTexture, which was previously set by [ProjectedTexture:SetFarZ](https://wiki.facepunch.com/gmod/ProjectedTexture:SetFarZ)
58
41
  * @realm client
59
42
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetFarZ
60
43
  */
61
44
  GetFarZ(self: ProjectedTexture): number;
62
- }
63
-
64
- interface ProjectedTexture {
65
45
  /**
66
46
  * Returns the horizontal FOV of the ProjectedTexture, which was previously set by [ProjectedTexture:SetHorizontalFOV](https://wiki.facepunch.com/gmod/ProjectedTexture:SetHorizontalFOV) or [ProjectedTexture:SetFOV](https://wiki.facepunch.com/gmod/ProjectedTexture:SetFOV)
67
47
  * @realm client
68
48
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetHorizontalFOV
69
49
  */
70
50
  GetHorizontalFOV(self: ProjectedTexture): number;
71
- }
72
-
73
- interface ProjectedTexture {
74
51
  /**
75
52
  * Returns whenever or not the Texture should light up world geometry.
76
53
  * @realm client
77
54
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetLightWorld
78
55
  */
79
56
  GetLightWorld(self: ProjectedTexture): boolean;
80
- }
81
-
82
- interface ProjectedTexture {
83
57
  /**
84
58
  * Returns the linear attenuation of the projected texture, which can also be set by [ProjectedTexture:SetLinearAttenuation](https://wiki.facepunch.com/gmod/ProjectedTexture:SetLinearAttenuation).
85
59
  * @realm client
86
60
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetLinearAttenuation
87
61
  */
88
62
  GetLinearAttenuation(self: ProjectedTexture): number;
89
- }
90
-
91
- interface ProjectedTexture {
92
63
  /**
93
64
  * Returns the NearZ value of the ProjectedTexture, which was previously set by [ProjectedTexture:SetNearZ](https://wiki.facepunch.com/gmod/ProjectedTexture:SetNearZ)
94
65
  * @realm client
95
66
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetNearZ
96
67
  */
97
68
  GetNearZ(self: ProjectedTexture): number;
98
- }
99
-
100
- interface ProjectedTexture {
101
69
  /**
102
70
  * Returns the state of projected texture view-frustum culling. See [ProjectedTexture:SetNoCull](https://wiki.facepunch.com/gmod/ProjectedTexture:SetNoCull).
103
71
  *
@@ -105,36 +73,24 @@ interface ProjectedTexture {
105
73
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetNoCull
106
74
  */
107
75
  GetNoCull(self: ProjectedTexture): boolean;
108
- }
109
-
110
- interface ProjectedTexture {
111
76
  /**
112
77
  * Returns the current orthographic settings of the Projected Texture. To set these values, use [ProjectedTexture:SetOrthographic](https://wiki.facepunch.com/gmod/ProjectedTexture:SetOrthographic).
113
78
  * @realm client
114
79
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetOrthographic
115
80
  */
116
81
  GetOrthographic(self: ProjectedTexture): (boolean, number, number, number, number);
117
- }
118
-
119
- interface ProjectedTexture {
120
82
  /**
121
83
  * Returns the position of the ProjectedTexture, which was previously set by [ProjectedTexture:SetPos](https://wiki.facepunch.com/gmod/ProjectedTexture:SetPos)
122
84
  * @realm client
123
85
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetPos
124
86
  */
125
87
  GetPos(self: ProjectedTexture): Vector;
126
- }
127
-
128
- interface ProjectedTexture {
129
88
  /**
130
89
  * Returns the quadratic attenuation of the projected texture, which can also be set by [ProjectedTexture:SetQuadraticAttenuation](https://wiki.facepunch.com/gmod/ProjectedTexture:SetQuadraticAttenuation).
131
90
  * @realm client
132
91
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetQuadraticAttenuation
133
92
  */
134
93
  GetQuadraticAttenuation(self: ProjectedTexture): number;
135
- }
136
-
137
- interface ProjectedTexture {
138
94
  /**
139
95
  * Returns the shadow depth bias of the projected texture.
140
96
  *
@@ -144,9 +100,6 @@ interface ProjectedTexture {
144
100
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetShadowDepthBias
145
101
  */
146
102
  GetShadowDepthBias(self: ProjectedTexture): number;
147
- }
148
-
149
- interface ProjectedTexture {
150
103
  /**
151
104
  * Returns the shadow "filter size" of the projected texture. `0` is fully pixelated, higher values will blur the shadow more.
152
105
  *
@@ -156,9 +109,6 @@ interface ProjectedTexture {
156
109
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetShadowFilter
157
110
  */
158
111
  GetShadowFilter(self: ProjectedTexture): number;
159
- }
160
-
161
- interface ProjectedTexture {
162
112
  /**
163
113
  * Returns the shadow depth slope scale bias of the projected texture.
164
114
  *
@@ -168,18 +118,12 @@ interface ProjectedTexture {
168
118
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetShadowSlopeScaleDepthBias
169
119
  */
170
120
  GetShadowSlopeScaleDepthBias(self: ProjectedTexture): number;
171
- }
172
-
173
- interface ProjectedTexture {
174
121
  /**
175
122
  * Returns whether shadow updates are disabled for this ProjectedTexture, which was previously set by [ProjectedTexture:SetSkipShadowUpdates](https://wiki.facepunch.com/gmod/ProjectedTexture:SetSkipShadowUpdates).
176
123
  * @realm client
177
124
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetSkipShadowUpdates
178
125
  */
179
126
  GetSkipShadowUpdates(self: ProjectedTexture): boolean;
180
- }
181
-
182
- interface ProjectedTexture {
183
127
  /**
184
128
  * Returns the target entity of this projected texture.
185
129
  *
@@ -188,36 +132,24 @@ interface ProjectedTexture {
188
132
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetTargetEntity
189
133
  */
190
134
  GetTargetEntity(self: ProjectedTexture): Entity;
191
- }
192
-
193
- interface ProjectedTexture {
194
135
  /**
195
136
  * Returns the texture of the ProjectedTexture, which was previously set by [ProjectedTexture:SetTexture](https://wiki.facepunch.com/gmod/ProjectedTexture:SetTexture)
196
137
  * @realm client
197
138
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetTexture
198
139
  */
199
140
  GetTexture(self: ProjectedTexture): ITexture;
200
- }
201
-
202
- interface ProjectedTexture {
203
141
  /**
204
142
  * Returns the texture frame of the ProjectedTexture, which was previously set by [ProjectedTexture:SetTextureFrame](https://wiki.facepunch.com/gmod/ProjectedTexture:SetTextureFrame)
205
143
  * @realm client
206
144
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetTextureFrame
207
145
  */
208
146
  GetTextureFrame(self: ProjectedTexture): number;
209
- }
210
-
211
- interface ProjectedTexture {
212
147
  /**
213
148
  * Returns the vertical FOV of the ProjectedTexture, which was previously set by [ProjectedTexture:SetVerticalFOV](https://wiki.facepunch.com/gmod/ProjectedTexture:SetVerticalFOV) or [ProjectedTexture:SetFOV](https://wiki.facepunch.com/gmod/ProjectedTexture:SetFOV)
214
149
  * @realm client
215
150
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:GetVerticalFOV
216
151
  */
217
152
  GetVerticalFOV(self: ProjectedTexture): number;
218
- }
219
-
220
- interface ProjectedTexture {
221
153
  /**
222
154
  * Returns true if the projected texture is valid (i.e. has not been removed), false otherwise.
223
155
  *
@@ -235,18 +167,12 @@ interface ProjectedTexture {
235
167
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:IsValid
236
168
  */
237
169
  IsValid(self: ProjectedTexture): boolean;
238
- }
239
-
240
- interface ProjectedTexture {
241
170
  /**
242
171
  * Removes the projected texture. After calling this, [ProjectedTexture:IsValid](https://wiki.facepunch.com/gmod/ProjectedTexture:IsValid) will return false, and any hooks with the projected texture as the identifier will be automatically deleted.
243
172
  * @realm client
244
173
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:Remove
245
174
  */
246
175
  Remove(self: ProjectedTexture): void;
247
- }
248
-
249
- interface ProjectedTexture {
250
176
  /**
251
177
  * Sets the angles (direction) of the projected texture.
252
178
  *
@@ -256,9 +182,6 @@ interface ProjectedTexture {
256
182
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetAngles
257
183
  */
258
184
  SetAngles(self: ProjectedTexture, angle: Angle): void;
259
- }
260
-
261
- interface ProjectedTexture {
262
185
  /**
263
186
  * Sets the brightness of the projected texture.
264
187
  *
@@ -268,9 +191,6 @@ interface ProjectedTexture {
268
191
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetBrightness
269
192
  */
270
193
  SetBrightness(self: ProjectedTexture, brightness: number): void;
271
- }
272
-
273
- interface ProjectedTexture {
274
194
  /**
275
195
  * Sets the color of the projected texture.
276
196
  *
@@ -280,9 +200,6 @@ interface ProjectedTexture {
280
200
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetColor
281
201
  */
282
202
  SetColor(self: ProjectedTexture, color: Color): void;
283
- }
284
-
285
- interface ProjectedTexture {
286
203
  /**
287
204
  * Sets the constant attenuation of the projected texture.
288
205
  *
@@ -294,9 +211,6 @@ interface ProjectedTexture {
294
211
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetConstantAttenuation
295
212
  */
296
213
  SetConstantAttenuation(self: ProjectedTexture, constAtten: number): void;
297
- }
298
-
299
- interface ProjectedTexture {
300
214
  /**
301
215
  * Enable or disable shadows cast from the projected texture.
302
216
  *
@@ -309,9 +223,6 @@ interface ProjectedTexture {
309
223
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetEnableShadows
310
224
  */
311
225
  SetEnableShadows(self: ProjectedTexture, newState: boolean): void;
312
- }
313
-
314
- interface ProjectedTexture {
315
226
  /**
316
227
  * Sets the angle of projection.
317
228
  *
@@ -321,9 +232,6 @@ interface ProjectedTexture {
321
232
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetFOV
322
233
  */
323
234
  SetFOV(self: ProjectedTexture, fov: number): void;
324
- }
325
-
326
- interface ProjectedTexture {
327
235
  /**
328
236
  * Sets the distance at which the projected texture ends.
329
237
  *
@@ -333,9 +241,6 @@ interface ProjectedTexture {
333
241
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetFarZ
334
242
  */
335
243
  SetFarZ(self: ProjectedTexture, farZ: number): void;
336
- }
337
-
338
- interface ProjectedTexture {
339
244
  /**
340
245
  * Sets the horizontal angle of projection without affecting the vertical angle.
341
246
  *
@@ -345,18 +250,12 @@ interface ProjectedTexture {
345
250
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetHorizontalFOV
346
251
  */
347
252
  SetHorizontalFOV(self: ProjectedTexture, hFOV: number): void;
348
- }
349
-
350
- interface ProjectedTexture {
351
253
  /**
352
254
  * Set whenever or not the Texture should light up world geometry.
353
255
  * @realm client
354
256
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetLightWorld
355
257
  */
356
258
  SetLightWorld(self: ProjectedTexture, lightworld: boolean): void;
357
- }
358
-
359
- interface ProjectedTexture {
360
259
  /**
361
260
  * Sets the linear attenuation of the projected texture.
362
261
  *
@@ -370,9 +269,6 @@ interface ProjectedTexture {
370
269
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetLinearAttenuation
371
270
  */
372
271
  SetLinearAttenuation(self: ProjectedTexture, linearAtten: number): void;
373
- }
374
-
375
- interface ProjectedTexture {
376
272
  /**
377
273
  * Sets the distance at which the projected texture begins its projection.
378
274
  *
@@ -388,9 +284,6 @@ interface ProjectedTexture {
388
284
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetNearZ
389
285
  */
390
286
  SetNearZ(self: ProjectedTexture, nearZ: number): void;
391
- }
392
-
393
- interface ProjectedTexture {
394
287
  /**
395
288
  * Allows disabling of projected texture view-frustum culling for cases where said culling creates unwanted side effects. Disabling culling will have a negative effect on performance.
396
289
  *
@@ -400,9 +293,6 @@ interface ProjectedTexture {
400
293
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetNoCull
401
294
  */
402
295
  SetNoCull(self: ProjectedTexture, enable: boolean): void;
403
- }
404
-
405
- interface ProjectedTexture {
406
296
  /**
407
297
  * Changes the current projected texture between orthographic and perspective projection.
408
298
  *
@@ -414,9 +304,6 @@ interface ProjectedTexture {
414
304
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetOrthographic
415
305
  */
416
306
  SetOrthographic(self: ProjectedTexture, orthographic: boolean, left: number, top: number, right: number, bottom: number): void;
417
- }
418
-
419
- interface ProjectedTexture {
420
307
  /**
421
308
  * Move the Projected Texture to the specified position.
422
309
  *
@@ -426,9 +313,6 @@ interface ProjectedTexture {
426
313
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetPos
427
314
  */
428
315
  SetPos(self: ProjectedTexture, position: Vector): void;
429
- }
430
-
431
- interface ProjectedTexture {
432
316
  /**
433
317
  * Sets the quadratic attenuation of the projected texture.
434
318
  *
@@ -440,9 +324,6 @@ interface ProjectedTexture {
440
324
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetQuadraticAttenuation
441
325
  */
442
326
  SetQuadraticAttenuation(self: ProjectedTexture, quadAtten: number): void;
443
- }
444
-
445
- interface ProjectedTexture {
446
327
  /**
447
328
  * Sets the shadow depth bias of the projected texture.
448
329
  *
@@ -454,9 +335,6 @@ interface ProjectedTexture {
454
335
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetShadowDepthBias
455
336
  */
456
337
  SetShadowDepthBias(self: ProjectedTexture, bias: number): void;
457
- }
458
-
459
- interface ProjectedTexture {
460
338
  /**
461
339
  * Sets the shadow "filter size" of the projected texture. `0` is fully pixelated, higher values will blur the shadow more. The initial value is the value of `r_projectedtexture_filter` [ConVar](https://wiki.facepunch.com/gmod/ConVar).
462
340
  *
@@ -466,9 +344,6 @@ interface ProjectedTexture {
466
344
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetShadowFilter
467
345
  */
468
346
  SetShadowFilter(self: ProjectedTexture, filter: number): void;
469
- }
470
-
471
- interface ProjectedTexture {
472
347
  /**
473
348
  * Sets the shadow depth slope scale bias of the projected texture.
474
349
  *
@@ -480,18 +355,12 @@ interface ProjectedTexture {
480
355
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetShadowSlopeScaleDepthBias
481
356
  */
482
357
  SetShadowSlopeScaleDepthBias(self: ProjectedTexture, bias: number): void;
483
- }
484
-
485
- interface ProjectedTexture {
486
358
  /**
487
359
  * Sets whether shadow updates are disabled for this ProjectedTexture. This can be useful to save up on performance, but it will inevitably cause graphical glitches if left not updating for long.
488
360
  * @realm client
489
361
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetSkipShadowUpdates
490
362
  */
491
363
  SetSkipShadowUpdates(self: ProjectedTexture, enable: boolean): void;
492
- }
493
-
494
- interface ProjectedTexture {
495
364
  /**
496
365
  * Sets the target entity for this projected texture, meaning it will only be lighting the given entity and the world.
497
366
  *
@@ -501,9 +370,6 @@ interface ProjectedTexture {
501
370
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetTargetEntity
502
371
  */
503
372
  SetTargetEntity(self: ProjectedTexture, target?: Entity): void;
504
- }
505
-
506
- interface ProjectedTexture {
507
373
  /**
508
374
  * Sets the texture to be projected.
509
375
  *
@@ -513,9 +379,6 @@ interface ProjectedTexture {
513
379
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetTexture
514
380
  */
515
381
  SetTexture(self: ProjectedTexture, texture: string): void;
516
- }
517
-
518
- interface ProjectedTexture {
519
382
  /**
520
383
  * For animated textures, this will choose which frame in the animation will be projected.
521
384
  *
@@ -525,9 +388,6 @@ interface ProjectedTexture {
525
388
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetTextureFrame
526
389
  */
527
390
  SetTextureFrame(self: ProjectedTexture, frame: number): void;
528
- }
529
-
530
- interface ProjectedTexture {
531
391
  /**
532
392
  * Sets the vertical angle of projection without affecting the horizontal angle.
533
393
  *
@@ -537,9 +397,6 @@ interface ProjectedTexture {
537
397
  * @source https://wiki.facepunch.com/gmod/ProjectedTexture:SetVerticalFOV
538
398
  */
539
399
  SetVerticalFOV(self: ProjectedTexture, vFOV: number): void;
540
- }
541
-
542
- interface ProjectedTexture {
543
400
  /**
544
401
  * Updates the Projected Light and applies all previously set parameters.
545
402
  *
@@ -551,3 +408,51 @@ interface ProjectedTexture {
551
408
  Update(self: ProjectedTexture): void;
552
409
  }
553
410
 
411
+
412
+
413
+
414
+
415
+
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+
437
+
438
+
439
+
440
+
441
+
442
+
443
+
444
+
445
+
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+