|
65 | 65 | {"method": "Time", "signature": "float Time()", "doc": "Get the current server time" }, |
66 | 66 | {"method": "TraceHull", "signature": "handle TraceHull(Vector, Vector, Vector, Vector, int, handle, int)", "doc": "Sweeps a hull along the specified line. Returns a CGameTrace with the trace result" }, |
67 | 67 | {"method": "TraceLine", "signature": "float TraceLine(Vector, Vector, handle)", "doc": "given 2 points & ent to ignore, return fraction along line that hits world or models" }, |
68 | | - {"method": "TraceLineEx", "signature": "handle TraceLineEx(Vector, Vector, int, handle, int)", "doc": "Given 2 points, ent to ignore, collision group and trace mask, returns a CGameTrace with the result" }, |
| 68 | + {"method": "TraceLineEx", "signature": "handle TraceLineEx(Vector, Vector, int, handle, int)", "doc": "Given 2 points, ent to ignore (or array of ents to ignore), collision group and trace mask, returns a CGameTrace with the result" }, |
69 | 69 | {"method": "TraceLinePlayersIncluded", "signature": "float TraceLinePlayersIncluded(Vector, Vector, handle)", "doc": "given 2 points & ent to ignore, return fraction along line that hits world, models, players or npcs" }, |
70 | 70 | {"method": "TracePortalLine", "signature": "handle TracePortalLine(Vector, Vector, int, handle, int, bool)", "doc": "Same as TraceLineEx, but will transform the trace based on any portals it passes through. If the last bool is true, it will transform based on the first portal it went though." }, |
71 | 71 | {"method": "TryDLC1InstalledOrCatch", "signature": "bool TryDLC1InstalledOrCatch()", "doc": "Tests if the DLC1 is installed for Try/Catch blocks." }, |
|
190 | 190 | "methods": [ { "method": "ScriptStorageMgr::CreateScope", "signature": "handle ScriptStorageMgr::CreateScope(string)", "doc": "Creates a new named storage scope" } |
191 | 191 | ] |
192 | 192 | }, |
| 193 | + { |
| 194 | + "class": "CPortal_Player", |
| 195 | + "extends": "CBaseMultiplayerPlayer", |
| 196 | + "methods": [ { "method": "CPortal_Player::GetWheatleyMonitorDestructionCount", "signature": "int CPortal_Player::GetWheatleyMonitorDestructionCount()", "doc": "Get number of wheatley monitors destroyed by the player." }, |
| 197 | + { "method": "CPortal_Player::IncWheatleyMonitorDestructionCount", "signature": "void CPortal_Player::IncWheatleyMonitorDestructionCount()", "doc": "Set number of wheatley monitors destroyed by the player." }, |
| 198 | + { "method": "CPortal_Player::TurnOffPotatos", "signature": "void CPortal_Player::TurnOffPotatos()", "doc": "Turns Off the Potatos material light" }, |
| 199 | + { "method": "CPortal_Player::TurnOnPotatos", "signature": "void CPortal_Player::TurnOnPotatos()", "doc": "Turns On the Potatos material light" } |
| 200 | + ] |
| 201 | + }, |
193 | 202 | { |
194 | 203 | "class": "CWeaponPaintGun", |
195 | 204 | "extends": "CBaseCombatWeapon", |
|
205 | 214 | ] |
206 | 215 | }, |
207 | 216 | { |
208 | | - "class": "CPortal_Player", |
209 | | - "extends": "CBaseMultiplayerPlayer", |
210 | | - "methods": [ { "method": "CPortal_Player::GetWheatleyMonitorDestructionCount", "signature": "int CPortal_Player::GetWheatleyMonitorDestructionCount()", "doc": "Get number of wheatley monitors destroyed by the player." }, |
211 | | - { "method": "CPortal_Player::IncWheatleyMonitorDestructionCount", "signature": "void CPortal_Player::IncWheatleyMonitorDestructionCount()", "doc": "Set number of wheatley monitors destroyed by the player." }, |
212 | | - { "method": "CPortal_Player::TurnOffPotatos", "signature": "void CPortal_Player::TurnOffPotatos()", "doc": "Turns Off the Potatos material light" }, |
213 | | - { "method": "CPortal_Player::TurnOnPotatos", "signature": "void CPortal_Player::TurnOnPotatos()", "doc": "Turns On the Potatos material light" } |
| 217 | + "class": "CPropPhysicsPaintable", |
| 218 | + "extends": "CBaseAnimating", |
| 219 | + "methods": [ { "method": "CPropPhysicsPaintable::GetPaint", "signature": "int CPropPhysicsPaintable::GetPaint()", "doc": "Get the current paint type applied to the prop. Returns a value from the *_POWER enum" }, |
| 220 | + { "method": "CPropPhysicsPaintable::GetPaintedSkin", "signature": "int CPropPhysicsPaintable::GetPaintedSkin()", "doc": "Get the skin used when the prop is painted." }, |
| 221 | + { "method": "CPropPhysicsPaintable::GetUnPaintedSkin", "signature": "int CPropPhysicsPaintable::GetUnPaintedSkin()", "doc": "Get the skin used when the prop is not painted." } |
214 | 222 | ] |
215 | 223 | }, |
216 | 224 | { |
|
375 | 383 | { |
376 | 384 | "class": "CPropWeightedCube", |
377 | 385 | "extends": "CBaseAnimating", |
378 | | - "methods": [ { "method": "CPropWeightedCube::GetCubeType", "signature": "int CPropWeightedCube::GetCubeType()", "doc": "Get the type of the cube. Returns a value from the CUBE_* enum" }, |
379 | | - { "method": "CPropWeightedCube::GetPartner", "signature": "handle CPropWeightedCube::GetPartner()", "doc": "Get the instance handle of the schrodinger's partner" } |
| 386 | + "methods": [ { "method": "CPropWeightedCube::GetCubeBehavior", "signature": "int CPropWeightedCube::GetCubeBehavior()", "doc": "Get the behavior type of the cube. Returns a value from the CUBE_BEHAVIOR_* enum" }, |
| 387 | + { "method": "CPropWeightedCube::GetCubeShape", "signature": "int CPropWeightedCube::GetCubeShape()", "doc": "Get the shape of the cube (IE what buttons it presses). This is a number which matches the CUBE_SHAPE_* enum, or other values if a custom shape was set." }, |
| 388 | + { "method": "CPropWeightedCube::GetLaser", "signature": "handle CPropWeightedCube::GetLaser()", "doc": "Get the instance handle of the invisible env_portal_laser outputting from this cube, or null if not emitting" }, |
| 389 | + { "method": "CPropWeightedCube::GetPaint", "signature": "int CPropWeightedCube::GetPaint()", "doc": "Get the current paint type applied to the cube. Returns a value from the *_POWER enum" }, |
| 390 | + { "method": "CPropWeightedCube::GetPartner", "signature": "handle CPropWeightedCube::GetPartner()", "doc": "Get the instance handle of the schrodinger's partner" }, |
| 391 | + { "method": "CPropWeightedCube::IsEmissionLocked", "signature": "bool CPropWeightedCube::IsEmissionLocked()", "doc": "Check whether the laser output is locked on" }, |
| 392 | + { "method": "CPropWeightedCube::IsPressingButton", "signature": "bool CPropWeightedCube::IsPressingButton()", "doc": "Check whether the cube is 'activated', pressing a button." } |
380 | 393 | ] |
381 | 394 | }, |
382 | 395 | { |
|
0 commit comments