Provides APIs for toggling or applying player cheat effects.
More...
Provides APIs for toggling or applying player cheat effects.
Definition at line 35 of file PlayerCheats.cs.
◆ OutputActiveCheats()
static IList<string> HamstarHelpers.Services.Cheats.PlayerCheats.OutputActiveCheats |
( |
Player |
player | ) |
|
|
static |
Gets a string list representation of a player's active cheats.
- Parameters
-
- Returns
Definition at line 91 of file PlayerCheats.cs.
◆ OutputCheatFlags()
static IList<string> HamstarHelpers.Services.Cheats.PlayerCheats.OutputCheatFlags |
( |
CheatModeType |
cheatFlags | ) |
|
|
static |
Gets a string list representation of a given set of cheats.
- Parameters
-
- Returns
Definition at line 101 of file PlayerCheats.cs.
◆ TeleportTo()
static void HamstarHelpers.Services.Cheats.PlayerCheats.TeleportTo |
( |
Player |
player, |
|
|
int |
tileX, |
|
|
int |
tileY |
|
) |
| |
|
static |
Teleports a player to a given tile location. Negative tile values loop from the opposite respective side of the world.
- Parameters
-
Definition at line 22 of file PlayerCheats_Effects.cs.
◆ ToggleCheats()
static void HamstarHelpers.Services.Cheats.PlayerCheats.ToggleCheats |
( |
Player |
player, |
|
|
CheatModeType |
cheatFlags |
|
) |
| |
|
static |
Toggles a given set of cheats.
- Parameters
-
Definition at line 41 of file PlayerCheats.cs.
◆ TryParseCheatFlags()
static bool HamstarHelpers.Services.Cheats.PlayerCheats.TryParseCheatFlags |
( |
string [] |
cheatNames, |
|
|
out CheatModeType |
cheatFlags |
|
) |
| |
|
static |
Attempts to parse cheat flags from a textual string list of cheat names.
- Parameters
-
- Returns
true
if all cheats are valid.
Definition at line 63 of file PlayerCheats.cs.
The documentation for this class was generated from the following files: