C# Class DeveloperConsole.GTAFuncs

Afficher le fichier Open project: Dakota628/GTAVDeveloperConsole Class Usage Examples

Méthodes publiques

Méthode Description
ActivateDamageTrackerOnNetworkId ( int id, bool active ) : void
AntiBan ( ) : void
ClearAreaOfObjects ( Vector3 v, float radius, bool b = false ) : void
ClearAreaOfProjectiles ( Vector3 v, float radius, bool b = false ) : void
CreateAmbientPickup ( string hashKey, Vector3 pos, int value ) : void
DisableAllControls ( ) : List
DisableControlAction ( Control c, bool b ) : void
DisplayHud ( bool b ) : void
DisplayRadar ( bool b ) : void
DrawBox ( Vector3 v1, Vector3 v2, Color c ) : void
DrawLine ( Vector3 v1, Vector3 v2, Color c ) : void
DrawPoly ( Vector3 v1, Vector3 v2, Vector3 v3, Color c ) : void
EnableControlAction ( Control c, bool b ) : void
EnableControls ( List ctrls ) : void
GetControlNormal ( Control c ) : float
GetControlPoint ( Control c1, Control c2 ) : System.Vector2
GetControlValue ( Control c ) : int
GetCoordsFromCam ( int distance ) : Vector3
GetEntityQuaternion ( System.Entity e ) : Quaternion
GetEntityType ( System.Entity e ) : EntityType
GetFirstBlipInfoID ( int i ) : int
GetGroundPos ( System.Vector2 pos ) : Vector3
GetHashKey ( string s ) : int
GetLeftStick ( ) : System.Vector2
GetLookInputVector ( ) : System.Vector2
GetMousePos ( ) : Point
GetMoveInputVector ( ) : System.Vector2
GetNetworkID ( GTA.Player p ) : int
GetNumNetworkPlayers ( ) : int
GetPedGroupIndex ( GTA.Ped p ) : int
GetPedPlayer ( GTA.Ped ped ) : GTA.Player
GetPlayerByName ( string player ) : GTA.Player
GetPlayerEntity ( GTA.Player p ) : System.Entity
GetPlayerIndex ( GTA.Ped p ) : int
GetPlayerInvincible ( GTA.Player p ) : bool
GetRightStick ( ) : System.Vector2
GetTextWidth ( string s, GTA.Font f, float scale ) : float
IsControlEnabled ( Control c ) : bool
IsControlPressed ( Control c ) : bool
IsControlPressedIgnoreDisabled ( Control c ) : bool
IsLeftMouseClicked ( ) : bool
IsRightMouseClicked ( ) : bool
IsSelectPressed ( ) : bool
IsWaypointActive ( ) : bool
KickPlayer ( GTA.Player p ) : void
RequestEntityControl ( System.Entity e, int time = 10000 ) : System.Entity
RequestEntityControl ( GTA.Player p, int time = 10000 ) : System.Entity
SetControlActions ( bool b ) : void
SetEntityCollision ( System.Entity e, bool b, bool b1 ) : void
SetEntityGravity ( System.Entity e, bool b ) : void
SetEntityInvinc ( System.Entity e, bool b ) : void
SetEntityLoadColissionFlag ( System.Entity e, bool b ) : void
SetEntityProofs ( System.Entity e, bool b1, bool b2, bool b3, bool b4, bool b5, bool b6, bool b7, bool b8 ) : void
SetEntityRecordsCollisions ( System.Entity e, bool b ) : void
SetInSpectatorMode ( GTA.Player p, bool spectating ) : void
SetInvincTime ( int time ) : void
SetSPInvinc ( GTA.Player p, bool b ) : void
SetTextDropShadow ( int i, Color c ) : void
SetTextEdge ( int i, Color c ) : void
SetTextRightJustifty ( bool b ) : void
ShowMouseThisFrame ( ) : void
SlotHasPlayer ( int i ) : bool
SpawnVehicleProper ( Model m, Vector3 pos ) : GTA.Vehicle
StatSetBool ( string hashKey, bool value, bool b ) : void
StatSetFloat ( string hashKey, float value, bool b ) : void
StatSetInt ( string hashKey, int value, bool b ) : void
ValidateScreenPoint ( System.Vector2 v ) : System.Vector2
WorldToScreen ( Vector3 world ) : System.Vector2

Private Methods

Méthode Description
SetControlAction ( Control c, bool b ) : void

Method Details

ActivateDamageTrackerOnNetworkId() public static méthode

public static ActivateDamageTrackerOnNetworkId ( int id, bool active ) : void
id int
active bool
Résultat void

AntiBan() public static méthode

public static AntiBan ( ) : void
Résultat void

ClearAreaOfObjects() public static méthode

public static ClearAreaOfObjects ( Vector3 v, float radius, bool b = false ) : void
v Vector3
radius float
b bool
Résultat void

ClearAreaOfProjectiles() public static méthode

public static ClearAreaOfProjectiles ( Vector3 v, float radius, bool b = false ) : void
v Vector3
radius float
b bool
Résultat void

CreateAmbientPickup() public static méthode

public static CreateAmbientPickup ( string hashKey, Vector3 pos, int value ) : void
hashKey string
pos Vector3
value int
Résultat void

DisableAllControls() public static méthode

public static DisableAllControls ( ) : List
Résultat List

DisableControlAction() public static méthode

public static DisableControlAction ( Control c, bool b ) : void
c Control
b bool
Résultat void

DisplayHud() public static méthode

public static DisplayHud ( bool b ) : void
b bool
Résultat void

DisplayRadar() public static méthode

public static DisplayRadar ( bool b ) : void
b bool
Résultat void

DrawBox() public static méthode

public static DrawBox ( Vector3 v1, Vector3 v2, Color c ) : void
v1 Vector3
v2 Vector3
c Color
Résultat void

DrawLine() public static méthode

public static DrawLine ( Vector3 v1, Vector3 v2, Color c ) : void
v1 Vector3
v2 Vector3
c Color
Résultat void

DrawPoly() public static méthode

public static DrawPoly ( Vector3 v1, Vector3 v2, Vector3 v3, Color c ) : void
v1 Vector3
v2 Vector3
v3 Vector3
c Color
Résultat void

EnableControlAction() public static méthode

public static EnableControlAction ( Control c, bool b ) : void
c Control
b bool
Résultat void

EnableControls() public static méthode

public static EnableControls ( List ctrls ) : void
ctrls List
Résultat void

GetControlNormal() public static méthode

public static GetControlNormal ( Control c ) : float
c Control
Résultat float

GetControlPoint() public static méthode

public static GetControlPoint ( Control c1, Control c2 ) : System.Vector2
c1 Control
c2 Control
Résultat System.Vector2

GetControlValue() public static méthode

public static GetControlValue ( Control c ) : int
c Control
Résultat int

GetCoordsFromCam() public static méthode

public static GetCoordsFromCam ( int distance ) : Vector3
distance int
Résultat Vector3

GetEntityQuaternion() public static méthode

public static GetEntityQuaternion ( System.Entity e ) : Quaternion
e System.Entity
Résultat Quaternion

GetEntityType() public static méthode

public static GetEntityType ( System.Entity e ) : EntityType
e System.Entity
Résultat EntityType

GetFirstBlipInfoID() public static méthode

public static GetFirstBlipInfoID ( int i ) : int
i int
Résultat int

GetGroundPos() public static méthode

public static GetGroundPos ( System.Vector2 pos ) : Vector3
pos System.Vector2
Résultat Vector3

GetHashKey() public static méthode

public static GetHashKey ( string s ) : int
s string
Résultat int

GetLeftStick() public static méthode

public static GetLeftStick ( ) : System.Vector2
Résultat System.Vector2

GetLookInputVector() public static méthode

public static GetLookInputVector ( ) : System.Vector2
Résultat System.Vector2

GetMousePos() public static méthode

public static GetMousePos ( ) : Point
Résultat Point

GetMoveInputVector() public static méthode

public static GetMoveInputVector ( ) : System.Vector2
Résultat System.Vector2

GetNetworkID() public static méthode

public static GetNetworkID ( GTA.Player p ) : int
p GTA.Player
Résultat int

GetNumNetworkPlayers() public static méthode

public static GetNumNetworkPlayers ( ) : int
Résultat int

GetPedGroupIndex() public static méthode

public static GetPedGroupIndex ( GTA.Ped p ) : int
p GTA.Ped
Résultat int

GetPedPlayer() public static méthode

public static GetPedPlayer ( GTA.Ped ped ) : GTA.Player
ped GTA.Ped
Résultat GTA.Player

GetPlayerByName() public static méthode

public static GetPlayerByName ( string player ) : GTA.Player
player string
Résultat GTA.Player

GetPlayerEntity() public static méthode

public static GetPlayerEntity ( GTA.Player p ) : System.Entity
p GTA.Player
Résultat System.Entity

GetPlayerIndex() public static méthode

public static GetPlayerIndex ( GTA.Ped p ) : int
p GTA.Ped
Résultat int

GetPlayerInvincible() public static méthode

public static GetPlayerInvincible ( GTA.Player p ) : bool
p GTA.Player
Résultat bool

GetRightStick() public static méthode

public static GetRightStick ( ) : System.Vector2
Résultat System.Vector2

GetTextWidth() public static méthode

public static GetTextWidth ( string s, GTA.Font f, float scale ) : float
s string
f GTA.Font
scale float
Résultat float

IsControlEnabled() public static méthode

public static IsControlEnabled ( Control c ) : bool
c Control
Résultat bool

IsControlPressed() public static méthode

public static IsControlPressed ( Control c ) : bool
c Control
Résultat bool

IsControlPressedIgnoreDisabled() public static méthode

public static IsControlPressedIgnoreDisabled ( Control c ) : bool
c Control
Résultat bool

IsLeftMouseClicked() public static méthode

public static IsLeftMouseClicked ( ) : bool
Résultat bool

IsRightMouseClicked() public static méthode

public static IsRightMouseClicked ( ) : bool
Résultat bool

IsSelectPressed() public static méthode

public static IsSelectPressed ( ) : bool
Résultat bool

IsWaypointActive() public static méthode

public static IsWaypointActive ( ) : bool
Résultat bool

KickPlayer() public static méthode

public static KickPlayer ( GTA.Player p ) : void
p GTA.Player
Résultat void

RequestEntityControl() public static méthode

public static RequestEntityControl ( System.Entity e, int time = 10000 ) : System.Entity
e System.Entity
time int
Résultat System.Entity

RequestEntityControl() public static méthode

public static RequestEntityControl ( GTA.Player p, int time = 10000 ) : System.Entity
p GTA.Player
time int
Résultat System.Entity

SetControlActions() public static méthode

public static SetControlActions ( bool b ) : void
b bool
Résultat void

SetEntityCollision() public static méthode

public static SetEntityCollision ( System.Entity e, bool b, bool b1 ) : void
e System.Entity
b bool
b1 bool
Résultat void

SetEntityGravity() public static méthode

public static SetEntityGravity ( System.Entity e, bool b ) : void
e System.Entity
b bool
Résultat void

SetEntityInvinc() public static méthode

public static SetEntityInvinc ( System.Entity e, bool b ) : void
e System.Entity
b bool
Résultat void

SetEntityLoadColissionFlag() public static méthode

public static SetEntityLoadColissionFlag ( System.Entity e, bool b ) : void
e System.Entity
b bool
Résultat void

SetEntityProofs() public static méthode

public static SetEntityProofs ( System.Entity e, bool b1, bool b2, bool b3, bool b4, bool b5, bool b6, bool b7, bool b8 ) : void
e System.Entity
b1 bool
b2 bool
b3 bool
b4 bool
b5 bool
b6 bool
b7 bool
b8 bool
Résultat void

SetEntityRecordsCollisions() public static méthode

public static SetEntityRecordsCollisions ( System.Entity e, bool b ) : void
e System.Entity
b bool
Résultat void

SetInSpectatorMode() public static méthode

public static SetInSpectatorMode ( GTA.Player p, bool spectating ) : void
p GTA.Player
spectating bool
Résultat void

SetInvincTime() public static méthode

public static SetInvincTime ( int time ) : void
time int
Résultat void

SetSPInvinc() public static méthode

public static SetSPInvinc ( GTA.Player p, bool b ) : void
p GTA.Player
b bool
Résultat void

SetTextDropShadow() public static méthode

public static SetTextDropShadow ( int i, Color c ) : void
i int
c Color
Résultat void

SetTextEdge() public static méthode

public static SetTextEdge ( int i, Color c ) : void
i int
c Color
Résultat void

SetTextRightJustifty() public static méthode

public static SetTextRightJustifty ( bool b ) : void
b bool
Résultat void

ShowMouseThisFrame() public static méthode

public static ShowMouseThisFrame ( ) : void
Résultat void

SlotHasPlayer() public static méthode

public static SlotHasPlayer ( int i ) : bool
i int
Résultat bool

SpawnVehicleProper() public static méthode

public static SpawnVehicleProper ( Model m, Vector3 pos ) : GTA.Vehicle
m Model
pos Vector3
Résultat GTA.Vehicle

StatSetBool() public static méthode

public static StatSetBool ( string hashKey, bool value, bool b ) : void
hashKey string
value bool
b bool
Résultat void

StatSetFloat() public static méthode

public static StatSetFloat ( string hashKey, float value, bool b ) : void
hashKey string
value float
b bool
Résultat void

StatSetInt() public static méthode

public static StatSetInt ( string hashKey, int value, bool b ) : void
hashKey string
value int
b bool
Résultat void

ValidateScreenPoint() public static méthode

public static ValidateScreenPoint ( System.Vector2 v ) : System.Vector2
v System.Vector2
Résultat System.Vector2

WorldToScreen() public static méthode

public static WorldToScreen ( Vector3 world ) : System.Vector2
world Vector3
Résultat System.Vector2