pub enum Cheat {
Show 25 variants
PauseCombat,
UnpauseCombat,
GodModeOn,
GodModeOff,
GetRich,
ClearInventory,
ClearSlot {
item_id: Uuid,
},
GetAllSpells,
SetChapter {
chapter: i64,
},
StartFight {
templated_id: FightTemplateId,
},
SpawnEntity {
entity_id: EntityTemplateId,
x: i64,
y: i64,
team: EntityTeam,
attributes: Vec<(String, i64)>,
},
WearItems {
items_ids: Vec<ItemTemplateId>,
},
EquipSkin {
skin_id: SkinId,
},
UnequipSkin {
skin_id: SkinId,
},
NewLevel {
level: i64,
},
Script {
script_id: CheatScriptId,
},
MakeDailyRatingRewardsReady,
MakeWeeklyRatingRewardsReady,
GetAllStones,
GetAllAbilityStones,
GetAllPets,
GetAllArtifacts,
GetAllLaws,
OpenItemCase {
batch_size: i64,
},
OpenItemCaseFree {
batch_size: i64,
},
}Variants§
PauseCombat
UnpauseCombat
GodModeOn
GodModeOff
GetRich
ClearInventory
ClearSlot
GetAllSpells
SetChapter
StartFight
Fields
templated_id: FightTemplateIdSpawnEntity
WearItems
Fields
items_ids: Vec<ItemTemplateId>EquipSkin
UnequipSkin
NewLevel
Script
Fields
script_id: CheatScriptIdMakeDailyRatingRewardsReady
Reopens the latest Daily Arena and PvE rating reward entitlements. Appended at the enum tail to preserve postcard tags of existing cheats.
MakeWeeklyRatingRewardsReady
Reopens the latest Weekly Arena and PvE rating reward entitlements. Appended at the enum tail to preserve postcard tags of existing cheats.
GetAllStones
Grants one copy of every Trigger and Effect Stone in the catalog. A template already owned gains a raw copy instead of a second instance, so running it repeatedly feeds upgrades. Appended at the enum tail to preserve postcard tags of existing cheats.
GetAllAbilityStones
Grants one raw copy of every ability support stone in the catalog.
Ownership is a per-template stack, so running it repeatedly banks the
copies an upgrade costs — the only other source is the chapter faucet,
which hands out one copy per chapter_reward_period cleared chapters.
Appended at the enum tail to preserve postcard tags of existing cheats.
GetAllPets
Grants one copy of every pet in the catalog. A pet already owned gains a shard instead of a second entry, so running it repeatedly feeds upgrades exactly as the gacha does. Appended at the enum tail to preserve postcard tags of existing cheats.
GetAllArtifacts
Grants one copy of every artifact and every artifact stone in the catalog through the normal grant path, so duplicates bank upgrade copies exactly as a repeat bundle/drop would. Appended at the enum tail to preserve postcard tags of existing cheats.
GetAllLaws
Grants every catalog law as an owned level-1 law (already-owned laws are untouched — the cheat unlocks, copy income levels). Appended at the enum tail to preserve postcard tags of existing cheats.
OpenItemCase
Rolls batch_size items through the normal case pipeline with the
chest-level batch cap lifted — any size is accepted — but PAID for out
of the character’s own chest keys, so it fails on an empty wallet
exactly as a manual open does. With auto-chest off it then applies the
client’s own keep/sell rule over the batch: per logical slot only the
strongest roll survives.
Appended at the enum tail to preserve postcard tags of existing cheats.
OpenItemCaseFree
Cheat::OpenItemCase with the key price lifted as well: the keys the
open spends are granted by the cheat, so the wallet nets zero and a
character with no keys can still roll. Everything else — the batch cap,
the roll, the keep/sell pass — is identical.
Appended at the enum tail to preserve postcard tags of existing cheats.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cheat
impl<'de> Deserialize<'de> for Cheat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl FromWasmAbi for Cheatwhere
Self: DeserializeOwned,
impl FromWasmAbi for Cheatwhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for Cheat
impl IntoWasmAbi for Cheat
Source§impl JsonSchema for Cheat
impl JsonSchema for Cheat
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreSource§impl OptionFromWasmAbi for Cheatwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for Cheatwhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for Cheat
impl OptionIntoWasmAbi for Cheat
Source§impl RefFromWasmAbi for Cheatwhere
Self: DeserializeOwned,
impl RefFromWasmAbi for Cheatwhere
Self: DeserializeOwned,
Source§type Abi = <JsType as RefFromWasmAbi>::Abi
type Abi = <JsType as RefFromWasmAbi>::Abi
Self are recovered from.Source§impl Tsify for Cheat
impl Tsify for Cheat
const DECL: &'static str = "export type Cheat = \"PauseCombat\" | \"UnpauseCombat\" | \"GodModeOn\" | \"GodModeOff\" | \"GetRich\" | \"ClearInventory\" | { ClearSlot: { item_id: Uuid } } | \"GetAllSpells\" | { SetChapter: { chapter: number } } | { StartFight: { templated_id: FightTemplateId } } | { SpawnEntity: { entity_id: EntityTemplateId; x: number; y: number; team: EntityTeam; attributes: [string, number][] } } | { WearItems: { items_ids: ItemTemplateId[] } } | { EquipSkin: { skin_id: SkinId } } | { UnequipSkin: { skin_id: SkinId } } | { NewLevel: { level: number } } | { Script: { script_id: CheatScriptId } } | \"MakeDailyRatingRewardsReady\" | \"MakeWeeklyRatingRewardsReady\" | \"GetAllStones\" | \"GetAllAbilityStones\" | \"GetAllPets\" | \"GetAllArtifacts\" | \"GetAllLaws\" | { OpenItemCase: { batch_size: number } } | { OpenItemCaseFree: { batch_size: number } };"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
Source§impl VectorFromWasmAbi for Cheatwhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for Cheatwhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for Cheat
impl VectorIntoWasmAbi for Cheat
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
impl Eq for Cheat
impl StructuralPartialEq for Cheat
Auto Trait Implementations§
impl Freeze for Cheat
impl RefUnwindSafe for Cheat
impl Send for Cheat
impl Sync for Cheat
impl Unpin for Cheat
impl UnwindSafe for Cheat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.