Enum OverlordEvent

Source
pub enum OverlordEvent {
Show 180 variants OpenItemCase { batch_size: i64, }, AutoChestOpenItemCase { batch_size: i64, }, PlayerNewItems { items: Vec<Item>, }, PlayerEquipItem { item_id: Uuid, }, SellItem { item_id: Uuid, }, ItemSold { item_id: Uuid, }, UpgradeItemCase {}, ItemCaseUpgraded {}, SpeedupUpgradeItemCase {}, SkipUpgradeItemCase {}, ClaimUpgradeItemCase {}, EnableAutoSell {}, DisableAutoSell {}, SetGearOverrideEnabled { item_type: ItemType, enabled: bool, }, EnableAutoChest {}, DisableAutoChest {}, EnableAutoChestFilter { filter_id: AutoChestFilterId, }, DisableAutoChestFilter {}, EnableAutoChestPowerCompare {}, DisableAutoChestPowerCompare {}, UpdateAutoChestBatchSize { batch_size: i64, }, NewAutoChestFilter { filter: AutoChestFilter, }, UpdateAutoChestFilter { updated_filter: AutoChestFilter, }, RemoveAutoChestFilter { filter_id: AutoChestFilterId, }, OpenAbilityCase { roll_type: AbilityCaseRollType, }, SetAbilityGachaWishlist { ability_ids: Vec<AbilityId>, }, UpgradeAbilitySlot { slot_id: u64, }, AbilityCaseOpened { batch_size: u8, }, NewAbilities { abilities: Vec<AbilityDrop>, }, FastEquipAbilities {}, EquipAbility { slot_id: u64, ability_id: AbilityId, }, UnequipAbility { slot_id: AbilitySlotId, }, EquipAbilities { equipped_abilities: EquippedAbilities, }, UpgradeAbility { ability_id: AbilityId, }, UpgradeAllAbilities {}, UpgradedAbilities { upgraded_abilities: UpgradedAbilitiesMap, }, UpgradeAbilityCase {}, CurrencyIncrease { currencies: Vec<CurrencyUnit>, currency_source: CurrencySource, }, CurrencyDecrease { currencies: Vec<CurrencyUnit>, currency_consumer: CurrencyConsumer, }, NewCharacterLevel { level: i64, }, StartGame {}, PrepareFight { prepare_fight_type: PrepareFightType, }, StartFight { fight_id: Uuid, }, FightProgress {}, EndFight { fight_id: Uuid, is_win: bool, pvp_state: Option<PVPState>, }, StageCleared {}, RaidDungeon { dungeon_id: DungeonTemplateId, difficulty: i64, amount: i64, }, WaveCleared {}, StartVassalPVPSync { opponent_id: Uuid, opponent_suzerain_id: Option<Uuid>, }, StartArenaPVPSync { opponent_id: Uuid, is_bot: bool, }, StartArenaRematchSync { match_id: Uuid, }, RefreshArenaMatchmaking {}, BuyArenaTicket {}, StartMove { entity_id: Uuid, to: Coordinates, duration_ticks: u64, }, EndMove { entity_id: Uuid, }, SpawnEntity { id: EntityId, entity_template_id: EntityTemplateId, position: Coordinates, entity_team: EntityTeam, has_big_hp_bar: bool, entity_attributes: EntityAttributes, }, StartCastAbility { by_entity_id: Uuid, ability_id: AbilityId, pet_id: Option<PetId>, }, StartedCastAbility { by_entity_id: Uuid, ability_id: AbilityId, duration_ticks: u64, }, CastAbility { by_entity_id: Uuid, to_entity_id: Uuid, ability_id: AbilityId, }, StartCastProjectile { by_entity_id: Uuid, to_entity_id: Uuid, projectile_id: Uuid, level: i64, delay: u64, }, StartedCastProjectile { by_entity_id: Uuid, to_entity_id: Uuid, projectile_id: Uuid, duration_ticks: u64, }, CastProjectile { by_entity_id: Uuid, to_entity_id: Uuid, projectile_id: Uuid, level: i64, projectile_data: CustomEventData, }, Damage { entity_id: Uuid, damage: u64, damage_data: CustomEventData, }, Heal { entity_id: Uuid, heal: u64, }, CounterAttack { by_entity_id: Uuid, to_entity_id: Uuid, duration_ticks: u64, }, Multicast { entity_id: Uuid, amount: u64, }, Evasion { entity_id: Uuid, }, PlayerDeath {}, EntityDeath { entity_id: Uuid, reward: Vec<CurrencyUnit>, }, EntityIncrAttribute { entity_id: Uuid, attribute: String, delta: i64, }, EntityApplyEffect { entity_id: Uuid, effect_id: Uuid, }, CastEffect { entity_id: Uuid, effect_id: Uuid, }, CastEffectFromEvent { entity_id: Uuid, effect_id: Uuid, caller_event: Box<OverlordEvent>, }, FightCustomEvent { entity_id: u64, value: String, }, FightVisualEvent { effect_type: String, effect_data: CustomEventData, }, SetMaxHp { entity_id: EntityId, new_max_hp: u64, new_hp: u64, }, ClaimVassalReward { character_id: Uuid, }, ClaimSuzerainReward {}, NewSuzerain { new_suzerain: Option<Suzerain>, }, RemoveVassal { vassal_id: Uuid, }, GiveTask { vassal_id: Uuid, template_task_id: Uuid, }, NewTask { new_task: VassalTask, }, AcceptTask { task_id: Uuid, is_good: bool, }, TaskAccepted { task_id: Uuid, started_good: bool, started_at: DateTime<Utc>, finish_at: DateTime<Utc>, }, HitHands { task_id: Uuid, }, HandsHitted { task_id: Uuid, }, TaskFinished { task_id: Uuid, }, ClaimTaskReward { task_id: Uuid, }, GiveResistTask { new_resist_task: VassalTask, }, AcceptResistTask {}, ResistTaskAccepted { new_resist_task: VassalTask, }, CatchResistTask { task_id: Uuid, }, ResistTaskCatched { task_id: Uuid, }, ResistTaskFinished { task_id: Uuid, }, ClaimResistTaskReward { task_id: Uuid, }, SetCustomValue { key: String, value: i64, }, SetConnectionStore { key: String, value: i64, }, ClaimQuest { quest_id: Uuid, }, ClaimAllQuests { quest_group_type: QuestGroupType, }, PatronQuestCompleted { quest_id: Uuid, }, HiddenQuestCompleted { quest_id: Uuid, }, QuestCompleted { quest_id: Uuid, }, NewQuests { quest_ids: Vec<Uuid>, }, UpdateActiveLoopTaskId { quest_id: Uuid, }, ResetRepeatingQuests { quest_ids: Vec<Uuid>, }, ClaimQuestProgressionReward { quest_group_type: QuestGroupType, }, ClaimReferralLvlUpReward { level: i64, }, ClaimReferralDailyReward {}, ReferralDailyRewardStatusUpdate { referral_daily_reward_status: bool, }, SendGift { receiver_id: Uuid, config_gift_id: Uuid, }, NewGift { new_gift: Gift, }, AcceptGift { gift_id: Uuid, }, ClaimAfkReward {}, AfkRewardClaimed {}, AfkRewardsGatingUnlocked {}, ClaimAfkInstantRewardGems {}, WatchAd { ad_reward_type: AdRewardType, }, ShowBird { variant_id: BirdVariantId, }, BirdShown {}, ResetAdUsage { placements: Vec<AdPlacement>, }, ResetInstantRewardGemsPressCount {}, ClaimBundleStepGeneric {}, AddBundleGroup { bundle_ids: Vec<BundleId>, }, ChangeClass { new_class_id: Uuid, }, LinkGuestAccount { token: String, }, SetUsername { username: String, }, SetCharacterBlocked { character_id: Uuid, blocked: bool, }, CreateAbilityPreset { name: Option<String>, ability_ids: Vec<AbilityId>, index: i64, }, EditAbilityPreset { preset_id: AbilityPresetId, name: String, ability_ids: Vec<AbilityId>, }, EnableCaseUpgradePopUp {}, DisableCaseUpgradePopUp {}, BuySkins { skin_ids: Vec<SkinId>, equip: bool, }, EquipAndUnequipSkins { equip_skin_ids: Vec<SkinId>, unequip_skin_ids: Vec<SkinId>, }, RunCheat { cheat: Cheat, }, ClaimMail { mail_id: MailId, }, ClaimAllMails {}, MakeRead { mail_id: MailId, }, MakeAllRead {}, DeleteMail { mail_id: MailId, }, DeleteAllMails {}, NewMail { new_mail: Mail, }, NewOffer { offer_template_id: OfferTemplateId, }, BuyOffer { purchase_token: Option<String>, offer_id: OfferId, }, OfferPurchaseCompleted { purchase_token: String, offer_id: OfferId, }, OfferPurchaseFailed { purchase_token: String, offer_id: OfferId, }, PurchasesBanned {}, ResetOffers { new_offers: Vec<Offer>, }, EquipPet { slot_id: u64, pet_id: PetId, }, UnequipPet { slot_id: PetSlotId, }, FastEquipPets {}, EquipPets { equipped_pets: EquippedPets, }, UpgradePet { pet_id: PetId, }, UpgradeAllPets {}, UpgradedPets { upgraded_pets: UpgradedPetsMap, }, UpgradePetSlot { slot_id: u64, }, OpenPetCase { roll_type: PetCaseRollType, }, SetPetGachaWishlist { pet_ids: Vec<PetId>, }, PetCaseOpened { batch_size: u8, }, NewPets { pets: Vec<PetDrop>, }, UpgradePetCase {}, TutorialShown { step_number: i16, }, TutorialStepCompleted { step_number: i16, }, AddCharacterToParty { character_id: Uuid, }, RemoveCharacterFromParty {}, RefreshPartyPlayers {}, RefreshPartyMemberState {}, StartTalentResearch { talent_id: TalentId, }, TalentResearchStarted { talent_id: TalentId, finish_at: DateTime<Utc>, }, SpeedupTalentResearch {}, SkipTalentResearch {}, ClaimTalentResearch {}, StatueRoll { set_index: u8, locked_slot_indices: Vec<u8>, }, StatueActivateSet { set_index: u8, }, StatueAddSet {}, StatueRenameSet { set_index: u8, name: String, }, StatueLockSlot { set_index: u8, slot_index: u8, is_locked: bool, }, StatueRollNewSlot { set_index: u8, slot_index: u8, }, UserRating { rating: Option<i8>, }, Error { code: String, message: String, }, CustomRhai { event_type: String, data: CustomEventData, },
}

Variants§

§

OpenItemCase

Fields

§batch_size: i64
§

AutoChestOpenItemCase

Fields

§batch_size: i64
§

PlayerNewItems

Fields

§items: Vec<Item>
§

PlayerEquipItem

Fields

§item_id: Uuid
§

SellItem

Fields

§item_id: Uuid
§

ItemSold

Fields

§item_id: Uuid
§

UpgradeItemCase

§

ItemCaseUpgraded

§

SpeedupUpgradeItemCase

§

SkipUpgradeItemCase

§

ClaimUpgradeItemCase

§

EnableAutoSell

§

DisableAutoSell

§

SetGearOverrideEnabled

Fields

§item_type: ItemType
§enabled: bool
§

EnableAutoChest

§

DisableAutoChest

§

EnableAutoChestFilter

Fields

§

DisableAutoChestFilter

§

EnableAutoChestPowerCompare

§

DisableAutoChestPowerCompare

§

UpdateAutoChestBatchSize

Fields

§batch_size: i64
§

NewAutoChestFilter

Fields

§

UpdateAutoChestFilter

Fields

§updated_filter: AutoChestFilter
§

RemoveAutoChestFilter

Fields

§

OpenAbilityCase

Fields

§

SetAbilityGachaWishlist

Обновляет вишлист гачи способностей. Список ограничен числом слотов и разрешенными редкостями текущего уровня гачи.

Fields

§ability_ids: Vec<AbilityId>
§

UpgradeAbilitySlot

Повышает уровень указанного слота способностей за Stardust.

Fields

§slot_id: u64
§

AbilityCaseOpened

Fields

§batch_size: u8
§

NewAbilities

Fields

§abilities: Vec<AbilityDrop>
§

FastEquipAbilities

§

EquipAbility

Fields

§slot_id: u64
§ability_id: AbilityId
§

UnequipAbility

Fields

§

EquipAbilities

Fields

§equipped_abilities: EquippedAbilities
§

UpgradeAbility

Fields

§ability_id: AbilityId
§

UpgradeAllAbilities

§

UpgradedAbilities

Fields

§upgraded_abilities: UpgradedAbilitiesMap
§

UpgradeAbilityCase

§

CurrencyIncrease

Fields

§currencies: Vec<CurrencyUnit>
§currency_source: CurrencySource
§

CurrencyDecrease

Fields

§currencies: Vec<CurrencyUnit>
§currency_consumer: CurrencyConsumer
§

NewCharacterLevel

Fields

§level: i64
§

StartGame

§

PrepareFight

Fields

§prepare_fight_type: PrepareFightType
§

StartFight

Fields

§fight_id: Uuid
§

FightProgress

§

EndFight

Fields

§fight_id: Uuid
§is_win: bool
§pvp_state: Option<PVPState>
§

StageCleared

§

RaidDungeon

Fields

§difficulty: i64
§amount: i64
§

WaveCleared

§

StartVassalPVPSync

Fields

§opponent_id: Uuid
§opponent_suzerain_id: Option<Uuid>
§

StartArenaPVPSync

Fields

§opponent_id: Uuid
§is_bot: bool
§

StartArenaRematchSync

Fields

§match_id: Uuid
§

RefreshArenaMatchmaking

§

BuyArenaTicket

§

StartMove

Fields

§entity_id: Uuid
§duration_ticks: u64
§

EndMove

Fields

§entity_id: Uuid
§

SpawnEntity

Fields

§entity_template_id: EntityTemplateId
§position: Coordinates
§entity_team: EntityTeam
§has_big_hp_bar: bool
§entity_attributes: EntityAttributes
§

StartCastAbility

Fields

§by_entity_id: Uuid
§ability_id: AbilityId
§pet_id: Option<PetId>
§

StartedCastAbility

Fields

§by_entity_id: Uuid
§ability_id: AbilityId
§duration_ticks: u64
§

CastAbility

Fields

§by_entity_id: Uuid
§to_entity_id: Uuid
§ability_id: AbilityId
§

StartCastProjectile

Fields

§by_entity_id: Uuid
§to_entity_id: Uuid
§projectile_id: Uuid
§level: i64
§delay: u64
§

StartedCastProjectile

Fields

§by_entity_id: Uuid
§to_entity_id: Uuid
§projectile_id: Uuid
§duration_ticks: u64
§

CastProjectile

Fields

§by_entity_id: Uuid
§to_entity_id: Uuid
§projectile_id: Uuid
§level: i64
§projectile_data: CustomEventData
§

Damage

Fields

§entity_id: Uuid
§damage: u64
§damage_data: CustomEventData
§

Heal

Fields

§entity_id: Uuid
§heal: u64
§

CounterAttack

Fields

§by_entity_id: Uuid
§to_entity_id: Uuid
§duration_ticks: u64
§

Multicast

Fields

§entity_id: Uuid
§amount: u64
§

Evasion

Fields

§entity_id: Uuid
§

PlayerDeath

§

EntityDeath

Fields

§entity_id: Uuid
§

EntityIncrAttribute

Fields

§entity_id: Uuid
§attribute: String
§delta: i64
§

EntityApplyEffect

Fields

§entity_id: Uuid
§effect_id: Uuid
§

CastEffect

Fields

§entity_id: Uuid
§effect_id: Uuid
§

CastEffectFromEvent

Fields

§entity_id: Uuid
§effect_id: Uuid
§caller_event: Box<OverlordEvent>
§

FightCustomEvent

Fields

§entity_id: u64
§value: String
§

FightVisualEvent

Fields

§effect_type: String
§effect_data: CustomEventData
§

SetMaxHp

Fields

§entity_id: EntityId
§new_max_hp: u64
§new_hp: u64
§

ClaimVassalReward

Fields

§character_id: Uuid
§

ClaimSuzerainReward

§

NewSuzerain

Fields

§new_suzerain: Option<Suzerain>
§

RemoveVassal

Fields

§vassal_id: Uuid
§

GiveTask

Fields

§vassal_id: Uuid
§template_task_id: Uuid
§

NewTask

Fields

§new_task: VassalTask
§

AcceptTask

Fields

§task_id: Uuid
§is_good: bool
§

TaskAccepted

Fields

§task_id: Uuid
§started_good: bool
§started_at: DateTime<Utc>
§finish_at: DateTime<Utc>
§

HitHands

Fields

§task_id: Uuid
§

HandsHitted

Fields

§task_id: Uuid
§

TaskFinished

Fields

§task_id: Uuid
§

ClaimTaskReward

Fields

§task_id: Uuid
§

GiveResistTask

Fields

§new_resist_task: VassalTask
§

AcceptResistTask

§

ResistTaskAccepted

Fields

§new_resist_task: VassalTask
§

CatchResistTask

Fields

§task_id: Uuid
§

ResistTaskCatched

Fields

§task_id: Uuid
§

ResistTaskFinished

Fields

§task_id: Uuid
§

ClaimResistTaskReward

Fields

§task_id: Uuid
§

SetCustomValue

Fields

§value: i64
§

SetConnectionStore

Fields

§value: i64
§

ClaimQuest

Fields

§quest_id: Uuid
§

ClaimAllQuests

Fields

§quest_group_type: QuestGroupType
§

PatronQuestCompleted

Fields

§quest_id: Uuid
§

HiddenQuestCompleted

Fields

§quest_id: Uuid
§

QuestCompleted

Fields

§quest_id: Uuid
§

NewQuests

Fields

§quest_ids: Vec<Uuid>
§

UpdateActiveLoopTaskId

Fields

§quest_id: Uuid
§

ResetRepeatingQuests

Fields

§quest_ids: Vec<Uuid>
§

ClaimQuestProgressionReward

Fields

§quest_group_type: QuestGroupType
§

ClaimReferralLvlUpReward

Fields

§level: i64
§

ClaimReferralDailyReward

§

ReferralDailyRewardStatusUpdate

Fields

§referral_daily_reward_status: bool
§

SendGift

Fields

§receiver_id: Uuid
§config_gift_id: Uuid
§

NewGift

Fields

§new_gift: Gift
§

AcceptGift

Fields

§gift_id: Uuid
§

ClaimAfkReward

§

AfkRewardClaimed

§

AfkRewardsGatingUnlocked

Emitted when the player crosses the AFK rewards unlock chapter threshold and the async handler has adjusted last_afk_reward_claimed_at so that the elapsed time is not less than min_required_time_sec. The side effect handler persists the new value to the database.

§

ClaimAfkInstantRewardGems

§

WatchAd

Fields

§ad_reward_type: AdRewardType
§

ShowBird

Fields

§variant_id: BirdVariantId
§

BirdShown

Отправляется клиентом, когда птица была успешно показана игроку. Переводит птицу в полный кулдаун.

§

ResetAdUsage

Fields

§placements: Vec<AdPlacement>
§

ResetInstantRewardGemsPressCount

§

ClaimBundleStepGeneric

§

AddBundleGroup

Fields

§bundle_ids: Vec<BundleId>
§

ChangeClass

Fields

§new_class_id: Uuid
§

LinkGuestAccount

Fields

§token: String
§

SetUsername

Fields

§username: String
§

SetCharacterBlocked

Fields

§character_id: Uuid
§blocked: bool
§

CreateAbilityPreset

Fields

§ability_ids: Vec<AbilityId>
§index: i64
§

EditAbilityPreset

Fields

§name: String
§ability_ids: Vec<AbilityId>
§

EnableCaseUpgradePopUp

§

DisableCaseUpgradePopUp

§

BuySkins

Fields

§skin_ids: Vec<SkinId>
§equip: bool
§

EquipAndUnequipSkins

Fields

§equip_skin_ids: Vec<SkinId>
§unequip_skin_ids: Vec<SkinId>
§

RunCheat

Fields

§cheat: Cheat
§

ClaimMail

Fields

§mail_id: MailId
§

ClaimAllMails

§

MakeRead

Fields

§mail_id: MailId
§

MakeAllRead

§

DeleteMail

Fields

§mail_id: MailId
§

DeleteAllMails

§

NewMail

Fields

§new_mail: Mail
§

NewOffer

Fields

§offer_template_id: OfferTemplateId
§

BuyOffer

Fields

§purchase_token: Option<String>
§offer_id: OfferId
§

OfferPurchaseCompleted

Fields

§purchase_token: String
§offer_id: OfferId
§

OfferPurchaseFailed

Fields

§purchase_token: String
§offer_id: OfferId
§

PurchasesBanned

§

ResetOffers

Fields

§new_offers: Vec<Offer>
§

EquipPet

Fields

§slot_id: u64
§pet_id: PetId
§

UnequipPet

Fields

§slot_id: PetSlotId
§

FastEquipPets

§

EquipPets

Fields

§equipped_pets: EquippedPets
§

UpgradePet

Fields

§pet_id: PetId
§

UpgradeAllPets

§

UpgradedPets

Fields

§upgraded_pets: UpgradedPetsMap
§

UpgradePetSlot

Fields

§slot_id: u64
§

OpenPetCase

Fields

§

SetPetGachaWishlist

Обновляет вишлист гачи петов.

Fields

§pet_ids: Vec<PetId>
§

PetCaseOpened

Fields

§batch_size: u8
§

NewPets

Fields

§pets: Vec<PetDrop>
§

UpgradePetCase

§

TutorialShown

Fields

§step_number: i16
§

TutorialStepCompleted

Fields

§step_number: i16
§

AddCharacterToParty

Fields

§character_id: Uuid
§

RemoveCharacterFromParty

§

RefreshPartyPlayers

§

RefreshPartyMemberState

§

StartTalentResearch

Начать изучение следующего уровня таланта (клиент -> бэкенд).

Fields

§talent_id: TalentId
§

TalentResearchStarted

Бэкенд подтверждает начало изучения таланта.

Fields

§talent_id: TalentId
§finish_at: DateTime<Utc>
§

SpeedupTalentResearch

Ускорить изучение таланта с помощью таймскип-билетика.

§

SkipTalentResearch

Пропустить оставшееся время изучения за валюту (брюли/таймскипы).

§

ClaimTalentResearch

Забрать завершённый талант (после истечения таймера). Эмитируется бэкендом автоматически.

§

StatueRoll

Откатить незаблокированные слоты статуи. Списывает валюту, начисляет опыт статуе.

Fields

§set_index: u8
§locked_slot_indices: Vec<u8>
§

StatueActivateSet

Сделать указанный сет статуи активным (“In Use”).

Fields

§set_index: u8
§

StatueAddSet

Добавить новый сет статуи (если уровень статуи позволяет).

§

StatueRenameSet

Переименовать сет статуи.

Fields

§set_index: u8
§name: String
§

StatueLockSlot

Заблокировать или разблокировать слот статуи.

Fields

§set_index: u8
§slot_index: u8
§is_locked: bool
§

StatueRollNewSlot

Бесплатный первичный ролл для нового слота на любом сете (после создания сета или повышения уровня статуи).

Fields

§set_index: u8
§slot_index: u8
§

UserRating

User rated the game (1–5) or declined to rate (rating = None).

Fields

§rating: Option<i8>
§

Error

Fields

§code: String
§message: String
§

CustomRhai

Fields

§event_type: String

Trait Implementations§

Source§

impl AsyncEventHandler<OverlordEvent, OverlordState> for OverlordAsyncEventHandler

Source§

fn handle_event( &mut self, event: &OverlordEvent, state: OverlordState, rand_gen: StdRng, current_tick: u64, ) -> EventHandleResult<OverlordEvent, OverlordState>

Source§

fn compute_fields( &self, state: &mut OverlordState, prev_state: &OverlordState, ) -> Vec<OverlordEvent>

Can be used to compute fields that arent stored in database, but computed from stored data. Also can emit events on some logical data changes. This events eventually can change state.
Source§

impl Clone for OverlordEvent

Source§

fn clone(&self) -> OverlordEvent

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for OverlordEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for OverlordEvent

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for OverlordEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Event for OverlordEvent

Source§

fn is_client(&self) -> bool

If true then this event can be emitted by the client.
Source§

fn is_sync(&self) -> bool

If true then this event requires DB context (sync handler). Used by the server-authoritative pipeline to route events.
Source§

impl EventRhaiEnum for OverlordEvent

Source§

fn register_rhai_types(engine: &mut Engine)

Source§

fn register_event_vec_push(builder: &mut TypeBuilder<'_, EventVec<Self>>)

Source§

fn add_event_to_scope( &self, scope_setter: &mut ScriptScope<'_, Self>, name: &str, )

Source§

fn to_rhai(&self) -> Dynamic

Source§

impl EventStruct<OverlordEvent> for OverlordEventAbilityCaseOpened

Source§

impl EventStruct<OverlordEvent> for OverlordEventAcceptGift

Source§

impl EventStruct<OverlordEvent> for OverlordEventAcceptResistTask

Source§

impl EventStruct<OverlordEvent> for OverlordEventAcceptTask

Source§

impl EventStruct<OverlordEvent> for OverlordEventAddBundleGroup

Source§

impl EventStruct<OverlordEvent> for OverlordEventAddCharacterToParty

Source§

impl EventStruct<OverlordEvent> for OverlordEventAfkRewardClaimed

Source§

impl EventStruct<OverlordEvent> for OverlordEventAfkRewardsGatingUnlocked

Source§

impl EventStruct<OverlordEvent> for OverlordEventAutoChestOpenItemCase

Source§

impl EventStruct<OverlordEvent> for OverlordEventBirdShown

Source§

impl EventStruct<OverlordEvent> for OverlordEventBuyArenaTicket

Source§

impl EventStruct<OverlordEvent> for OverlordEventBuyOffer

Source§

impl EventStruct<OverlordEvent> for OverlordEventBuySkins

Source§

impl EventStruct<OverlordEvent> for OverlordEventCastAbility

Source§

impl EventStruct<OverlordEvent> for OverlordEventCastEffect

Source§

impl EventStruct<OverlordEvent> for OverlordEventCastEffectFromEvent

Source§

impl EventStruct<OverlordEvent> for OverlordEventCastProjectile

Source§

impl EventStruct<OverlordEvent> for OverlordEventCatchResistTask

Source§

impl EventStruct<OverlordEvent> for OverlordEventChangeClass

Source§

impl EventStruct<OverlordEvent> for OverlordEventClaimAfkInstantRewardGems

Source§

impl EventStruct<OverlordEvent> for OverlordEventClaimAfkReward

Source§

impl EventStruct<OverlordEvent> for OverlordEventClaimAllMails

Source§

impl EventStruct<OverlordEvent> for OverlordEventClaimAllQuests

Source§

impl EventStruct<OverlordEvent> for OverlordEventClaimBundleStepGeneric

Source§

impl EventStruct<OverlordEvent> for OverlordEventClaimMail

Source§

impl EventStruct<OverlordEvent> for OverlordEventClaimQuest

Source§

impl EventStruct<OverlordEvent> for OverlordEventClaimQuestProgressionReward

Source§

impl EventStruct<OverlordEvent> for OverlordEventClaimReferralDailyReward

Source§

impl EventStruct<OverlordEvent> for OverlordEventClaimReferralLvlUpReward

Source§

impl EventStruct<OverlordEvent> for OverlordEventClaimResistTaskReward

Source§

impl EventStruct<OverlordEvent> for OverlordEventClaimSuzerainReward

Source§

impl EventStruct<OverlordEvent> for OverlordEventClaimTalentResearch

Source§

impl EventStruct<OverlordEvent> for OverlordEventClaimTaskReward

Source§

impl EventStruct<OverlordEvent> for OverlordEventClaimUpgradeItemCase

Source§

impl EventStruct<OverlordEvent> for OverlordEventClaimVassalReward

Source§

impl EventStruct<OverlordEvent> for OverlordEventCounterAttack

Source§

impl EventStruct<OverlordEvent> for OverlordEventCreateAbilityPreset

Source§

impl EventStruct<OverlordEvent> for OverlordEventCurrencyDecrease

Source§

impl EventStruct<OverlordEvent> for OverlordEventCurrencyIncrease

Source§

impl EventStruct<OverlordEvent> for OverlordEventCustomRhai

Source§

impl EventStruct<OverlordEvent> for OverlordEventDamage

Source§

impl EventStruct<OverlordEvent> for OverlordEventDeleteAllMails

Source§

impl EventStruct<OverlordEvent> for OverlordEventDeleteMail

Source§

impl EventStruct<OverlordEvent> for OverlordEventDisableAutoChest

Source§

impl EventStruct<OverlordEvent> for OverlordEventDisableAutoChestFilter

Source§

impl EventStruct<OverlordEvent> for OverlordEventDisableAutoChestPowerCompare

Source§

impl EventStruct<OverlordEvent> for OverlordEventDisableAutoSell

Source§

impl EventStruct<OverlordEvent> for OverlordEventDisableCaseUpgradePopUp

Source§

impl EventStruct<OverlordEvent> for OverlordEventEditAbilityPreset

Source§

impl EventStruct<OverlordEvent> for OverlordEventEnableAutoChest

Source§

impl EventStruct<OverlordEvent> for OverlordEventEnableAutoChestFilter

Source§

impl EventStruct<OverlordEvent> for OverlordEventEnableAutoChestPowerCompare

Source§

impl EventStruct<OverlordEvent> for OverlordEventEnableAutoSell

Source§

impl EventStruct<OverlordEvent> for OverlordEventEnableCaseUpgradePopUp

Source§

impl EventStruct<OverlordEvent> for OverlordEventEndFight

Source§

impl EventStruct<OverlordEvent> for OverlordEventEndMove

Source§

impl EventStruct<OverlordEvent> for OverlordEventEntityApplyEffect

Source§

impl EventStruct<OverlordEvent> for OverlordEventEntityDeath

Source§

impl EventStruct<OverlordEvent> for OverlordEventEntityIncrAttribute

Source§

impl EventStruct<OverlordEvent> for OverlordEventEquipAbilities

Source§

impl EventStruct<OverlordEvent> for OverlordEventEquipAbility

Source§

impl EventStruct<OverlordEvent> for OverlordEventEquipAndUnequipSkins

Source§

impl EventStruct<OverlordEvent> for OverlordEventEquipPet

Source§

impl EventStruct<OverlordEvent> for OverlordEventEquipPets

Source§

impl EventStruct<OverlordEvent> for OverlordEventError

Source§

impl EventStruct<OverlordEvent> for OverlordEventEvasion

Source§

impl EventStruct<OverlordEvent> for OverlordEventFastEquipAbilities

Source§

impl EventStruct<OverlordEvent> for OverlordEventFastEquipPets

Source§

impl EventStruct<OverlordEvent> for OverlordEventFightCustomEvent

Source§

impl EventStruct<OverlordEvent> for OverlordEventFightProgress

Source§

impl EventStruct<OverlordEvent> for OverlordEventFightVisualEvent

Source§

impl EventStruct<OverlordEvent> for OverlordEventGiveResistTask

Source§

impl EventStruct<OverlordEvent> for OverlordEventGiveTask

Source§

impl EventStruct<OverlordEvent> for OverlordEventHandsHitted

Source§

impl EventStruct<OverlordEvent> for OverlordEventHeal

Source§

impl EventStruct<OverlordEvent> for OverlordEventHiddenQuestCompleted

Source§

impl EventStruct<OverlordEvent> for OverlordEventHitHands

Source§

impl EventStruct<OverlordEvent> for OverlordEventItemCaseUpgraded

Source§

impl EventStruct<OverlordEvent> for OverlordEventItemSold

Source§

impl EventStruct<OverlordEvent> for OverlordEventLinkGuestAccount

Source§

impl EventStruct<OverlordEvent> for OverlordEventMakeAllRead

Source§

impl EventStruct<OverlordEvent> for OverlordEventMakeRead

Source§

impl EventStruct<OverlordEvent> for OverlordEventMulticast

Source§

impl EventStruct<OverlordEvent> for OverlordEventNewAbilities

Source§

impl EventStruct<OverlordEvent> for OverlordEventNewAutoChestFilter

Source§

impl EventStruct<OverlordEvent> for OverlordEventNewCharacterLevel

Source§

impl EventStruct<OverlordEvent> for OverlordEventNewGift

Source§

impl EventStruct<OverlordEvent> for OverlordEventNewMail

Source§

impl EventStruct<OverlordEvent> for OverlordEventNewOffer

Source§

impl EventStruct<OverlordEvent> for OverlordEventNewPets

Source§

impl EventStruct<OverlordEvent> for OverlordEventNewQuests

Source§

impl EventStruct<OverlordEvent> for OverlordEventNewSuzerain

Source§

impl EventStruct<OverlordEvent> for OverlordEventNewTask

Source§

impl EventStruct<OverlordEvent> for OverlordEventOfferPurchaseCompleted

Source§

impl EventStruct<OverlordEvent> for OverlordEventOfferPurchaseFailed

Source§

impl EventStruct<OverlordEvent> for OverlordEventOpenAbilityCase

Source§

impl EventStruct<OverlordEvent> for OverlordEventOpenItemCase

Source§

impl EventStruct<OverlordEvent> for OverlordEventOpenPetCase

Source§

impl EventStruct<OverlordEvent> for OverlordEventPatronQuestCompleted

Source§

impl EventStruct<OverlordEvent> for OverlordEventPetCaseOpened

Source§

impl EventStruct<OverlordEvent> for OverlordEventPlayerDeath

Source§

impl EventStruct<OverlordEvent> for OverlordEventPlayerEquipItem

Source§

impl EventStruct<OverlordEvent> for OverlordEventPlayerNewItems

Source§

impl EventStruct<OverlordEvent> for OverlordEventPrepareFight

Source§

impl EventStruct<OverlordEvent> for OverlordEventPurchasesBanned

Source§

impl EventStruct<OverlordEvent> for OverlordEventQuestCompleted

Source§

impl EventStruct<OverlordEvent> for OverlordEventRaidDungeon

Source§

impl EventStruct<OverlordEvent> for OverlordEventReferralDailyRewardStatusUpdate

Source§

impl EventStruct<OverlordEvent> for OverlordEventRefreshArenaMatchmaking

Source§

impl EventStruct<OverlordEvent> for OverlordEventRefreshPartyMemberState

Source§

impl EventStruct<OverlordEvent> for OverlordEventRefreshPartyPlayers

Source§

impl EventStruct<OverlordEvent> for OverlordEventRemoveAutoChestFilter

Source§

impl EventStruct<OverlordEvent> for OverlordEventRemoveCharacterFromParty

Source§

impl EventStruct<OverlordEvent> for OverlordEventRemoveVassal

Source§

impl EventStruct<OverlordEvent> for OverlordEventResetAdUsage

Source§

impl EventStruct<OverlordEvent> for OverlordEventResetInstantRewardGemsPressCount

Source§

impl EventStruct<OverlordEvent> for OverlordEventResetOffers

Source§

impl EventStruct<OverlordEvent> for OverlordEventResetRepeatingQuests

Source§

impl EventStruct<OverlordEvent> for OverlordEventResistTaskAccepted

Source§

impl EventStruct<OverlordEvent> for OverlordEventResistTaskCatched

Source§

impl EventStruct<OverlordEvent> for OverlordEventResistTaskFinished

Source§

impl EventStruct<OverlordEvent> for OverlordEventRunCheat

Source§

impl EventStruct<OverlordEvent> for OverlordEventSellItem

Source§

impl EventStruct<OverlordEvent> for OverlordEventSendGift

Source§

impl EventStruct<OverlordEvent> for OverlordEventSetAbilityGachaWishlist

Source§

impl EventStruct<OverlordEvent> for OverlordEventSetCharacterBlocked

Source§

impl EventStruct<OverlordEvent> for OverlordEventSetConnectionStore

Source§

impl EventStruct<OverlordEvent> for OverlordEventSetCustomValue

Source§

impl EventStruct<OverlordEvent> for OverlordEventSetGearOverrideEnabled

Source§

impl EventStruct<OverlordEvent> for OverlordEventSetMaxHp

Source§

impl EventStruct<OverlordEvent> for OverlordEventSetPetGachaWishlist

Source§

impl EventStruct<OverlordEvent> for OverlordEventSetUsername

Source§

impl EventStruct<OverlordEvent> for OverlordEventShowBird

Source§

impl EventStruct<OverlordEvent> for OverlordEventSkipTalentResearch

Source§

impl EventStruct<OverlordEvent> for OverlordEventSkipUpgradeItemCase

Source§

impl EventStruct<OverlordEvent> for OverlordEventSpawnEntity

Source§

impl EventStruct<OverlordEvent> for OverlordEventSpeedupTalentResearch

Source§

impl EventStruct<OverlordEvent> for OverlordEventSpeedupUpgradeItemCase

Source§

impl EventStruct<OverlordEvent> for OverlordEventStageCleared

Source§

impl EventStruct<OverlordEvent> for OverlordEventStartArenaPVPSync

Source§

impl EventStruct<OverlordEvent> for OverlordEventStartArenaRematchSync

Source§

impl EventStruct<OverlordEvent> for OverlordEventStartCastAbility

Source§

impl EventStruct<OverlordEvent> for OverlordEventStartCastProjectile

Source§

impl EventStruct<OverlordEvent> for OverlordEventStartFight

Source§

impl EventStruct<OverlordEvent> for OverlordEventStartGame

Source§

impl EventStruct<OverlordEvent> for OverlordEventStartMove

Source§

impl EventStruct<OverlordEvent> for OverlordEventStartTalentResearch

Source§

impl EventStruct<OverlordEvent> for OverlordEventStartVassalPVPSync

Source§

impl EventStruct<OverlordEvent> for OverlordEventStartedCastAbility

Source§

impl EventStruct<OverlordEvent> for OverlordEventStartedCastProjectile

Source§

impl EventStruct<OverlordEvent> for OverlordEventStatueActivateSet

Source§

impl EventStruct<OverlordEvent> for OverlordEventStatueAddSet

Source§

impl EventStruct<OverlordEvent> for OverlordEventStatueLockSlot

Source§

impl EventStruct<OverlordEvent> for OverlordEventStatueRenameSet

Source§

impl EventStruct<OverlordEvent> for OverlordEventStatueRoll

Source§

impl EventStruct<OverlordEvent> for OverlordEventStatueRollNewSlot

Source§

impl EventStruct<OverlordEvent> for OverlordEventTalentResearchStarted

Source§

impl EventStruct<OverlordEvent> for OverlordEventTaskAccepted

Source§

impl EventStruct<OverlordEvent> for OverlordEventTaskFinished

Source§

impl EventStruct<OverlordEvent> for OverlordEventTutorialShown

Source§

impl EventStruct<OverlordEvent> for OverlordEventTutorialStepCompleted

Source§

impl EventStruct<OverlordEvent> for OverlordEventUnequipAbility

Source§

impl EventStruct<OverlordEvent> for OverlordEventUnequipPet

Source§

impl EventStruct<OverlordEvent> for OverlordEventUpdateActiveLoopTaskId

Source§

impl EventStruct<OverlordEvent> for OverlordEventUpdateAutoChestBatchSize

Source§

impl EventStruct<OverlordEvent> for OverlordEventUpdateAutoChestFilter

Source§

impl EventStruct<OverlordEvent> for OverlordEventUpgradeAbility

Source§

impl EventStruct<OverlordEvent> for OverlordEventUpgradeAbilityCase

Source§

impl EventStruct<OverlordEvent> for OverlordEventUpgradeAbilitySlot

Source§

impl EventStruct<OverlordEvent> for OverlordEventUpgradeAllAbilities

Source§

impl EventStruct<OverlordEvent> for OverlordEventUpgradeAllPets

Source§

impl EventStruct<OverlordEvent> for OverlordEventUpgradeItemCase

Source§

impl EventStruct<OverlordEvent> for OverlordEventUpgradePet

Source§

impl EventStruct<OverlordEvent> for OverlordEventUpgradePetCase

Source§

impl EventStruct<OverlordEvent> for OverlordEventUpgradePetSlot

Source§

impl EventStruct<OverlordEvent> for OverlordEventUpgradedAbilities

Source§

impl EventStruct<OverlordEvent> for OverlordEventUpgradedPets

Source§

impl EventStruct<OverlordEvent> for OverlordEventUserRating

Source§

impl EventStruct<OverlordEvent> for OverlordEventWatchAd

Source§

impl EventStruct<OverlordEvent> for OverlordEventWaveCleared

Source§

impl From<OverlordEvent> for JsValue

Source§

fn from(value: OverlordEvent) -> Self

Converts to this type from the input type.
Source§

impl FromWasmAbi for OverlordEvent
where Self: DeserializeOwned,

Source§

type Abi = <JsType as FromWasmAbi>::Abi

The Wasm ABI type that this converts from when coming back out from the ABI boundary.
Source§

unsafe fn from_abi(js: Self::Abi) -> Self

Recover a Self from Self::Abi. Read more
Source§

impl IntoWasmAbi for OverlordEvent

Source§

type Abi = <JsType as IntoWasmAbi>::Abi

The Wasm ABI type that this converts into when crossing the ABI boundary.
Source§

fn into_abi(self) -> Self::Abi

Convert self into Self::Abi so that it can be sent across the wasm ABI boundary.
Source§

impl JsonSchema for OverlordEvent

Source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
Source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
Source§

impl OptionFromWasmAbi for OverlordEvent
where Self: DeserializeOwned,

Source§

fn is_none(js: &Self::Abi) -> bool

Tests whether the argument is a “none” instance. If so it will be deserialized as None, and otherwise it will be passed to FromWasmAbi.
Source§

impl OptionIntoWasmAbi for OverlordEvent

Source§

fn none() -> Self::Abi

Returns an ABI instance indicating “none”, which JS will interpret as the None branch of this option. Read more
Source§

impl PartialEq for OverlordEvent

Source§

fn eq(&self, other: &OverlordEvent) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl RefFromWasmAbi for OverlordEvent
where Self: DeserializeOwned,

Source§

type Abi = <JsType as RefFromWasmAbi>::Abi

The Wasm ABI type references to Self are recovered from.
Source§

type Anchor = SelfOwner<OverlordEvent>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don’t persist beyond one function call, and so that they remain anonymous.
Source§

unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor

Recover a Self::Anchor from Self::Abi. Read more
Source§

impl Serialize for OverlordEvent

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl SyncEventHandler<OverlordEvent, OverlordState> for NoopSyncEventHandler

Source§

type Context = ()

Source§

fn handles_event(&self, _event: &OverlordEvent) -> bool

Returns true if this event should be handled by the sync handler (requires DB context).
Source§

async fn create_context_for_batch( &self, _state: &OverlordState, ) -> Result<Self::Context>

Source§

async fn handle_event( &self, _context: &Self::Context, _event: &OverlordEvent, _meta: SyncEventMeta, state: OverlordState, ) -> Result<EventHandleResult<OverlordEvent, OverlordState>>

Source§

async fn handle_side_effect_event( &self, _context: &Self::Context, _event: &OverlordEvent, _output_events: &[OverlordEvent], _new_state: &OverlordState, ) -> Result<()>

Source§

async fn finalize_state( &self, _context: &Self::Context, _state: &mut OverlordState, ) -> Result<()>

Source§

async fn persist_in_memory_state( &self, _context: &Self::Context, _state: &OverlordState, ) -> Result<()>

Persist in-memory state to DB context before commit. Called by flush_state to save changes accumulated without DB context (e.g. fight ticks).
Source§

impl Tsify for OverlordEvent

Source§

const DECL: &'static str = "type __OverlordEventAbilityCaseRollType = AbilityCaseRollType;\ntype __OverlordEventAbilityDrop = AbilityDrop;\ntype __OverlordEventAbilityId = AbilityId;\ntype __OverlordEventAbilityPresetId = AbilityPresetId;\ntype __OverlordEventAbilitySlotId = AbilitySlotId;\ntype __OverlordEventAdPlacement = AdPlacement;\ntype __OverlordEventAdRewardType = AdRewardType;\ntype __OverlordEventAutoChestFilter = AutoChestFilter;\ntype __OverlordEventAutoChestFilterId = AutoChestFilterId;\ntype __OverlordEventBirdVariantId = BirdVariantId;\ntype __OverlordEventBundleId = BundleId;\ntype __OverlordEventCheat = Cheat;\ntype __OverlordEventCoordinates = Coordinates;\ntype __OverlordEventCurrencyConsumer = CurrencyConsumer;\ntype __OverlordEventCurrencySource = CurrencySource;\ntype __OverlordEventCurrencyUnit = CurrencyUnit;\ntype __OverlordEventCustomEventData = CustomEventData;\ntype __OverlordEventDateTime<A> = DateTime<A>;\ntype __OverlordEventDungeonTemplateId = DungeonTemplateId;\ntype __OverlordEventEntityAttributes = EntityAttributes;\ntype __OverlordEventEntityId = EntityId;\ntype __OverlordEventEntityTeam = EntityTeam;\ntype __OverlordEventEntityTemplateId = EntityTemplateId;\ntype __OverlordEventEquippedAbilities = EquippedAbilities;\ntype __OverlordEventEquippedPets = EquippedPets;\ntype __OverlordEventGift = Gift;\ntype __OverlordEventItem = Item;\ntype __OverlordEventItemType = ItemType;\ntype __OverlordEventMail = Mail;\ntype __OverlordEventMailId = MailId;\ntype __OverlordEventOffer = Offer;\ntype __OverlordEventOfferId = OfferId;\ntype __OverlordEventOfferTemplateId = OfferTemplateId;\ntype __OverlordEventOverlordEvent = OverlordEvent;\ntype __OverlordEventPVPState = PVPState;\ntype __OverlordEventPetCaseRollType = PetCaseRollType;\ntype __OverlordEventPetDrop = PetDrop;\ntype __OverlordEventPetId = PetId;\ntype __OverlordEventPetSlotId = PetSlotId;\ntype __OverlordEventPrepareFightType = PrepareFightType;\ntype __OverlordEventQuestGroupType = QuestGroupType;\ntype __OverlordEventSkinId = SkinId;\ntype __OverlordEventSuzerain = Suzerain;\ntype __OverlordEventTalentId = TalentId;\ntype __OverlordEventUpgradedAbilitiesMap = UpgradedAbilitiesMap;\ntype __OverlordEventUpgradedPetsMap = UpgradedPetsMap;\ntype __OverlordEventUtc = Utc;\ntype __OverlordEventUuid = Uuid;\ntype __OverlordEventVassalTask = VassalTask;\ndeclare namespace OverlordEvent {\n export type OpenItemCase = { OpenItemCase: { batch_size: number } };\n export type AutoChestOpenItemCase = { AutoChestOpenItemCase: { batch_size: number } };\n export type PlayerNewItems = { PlayerNewItems: { items: __OverlordEventItem[] } };\n export type PlayerEquipItem = { PlayerEquipItem: { item_id: __OverlordEventUuid } };\n export type SellItem = { SellItem: { item_id: __OverlordEventUuid } };\n export type ItemSold = { ItemSold: { item_id: __OverlordEventUuid } };\n export type UpgradeItemCase = { UpgradeItemCase: {} };\n export type ItemCaseUpgraded = { ItemCaseUpgraded: {} };\n export type SpeedupUpgradeItemCase = { SpeedupUpgradeItemCase: {} };\n export type SkipUpgradeItemCase = { SkipUpgradeItemCase: {} };\n export type ClaimUpgradeItemCase = { ClaimUpgradeItemCase: {} };\n export type EnableAutoSell = { EnableAutoSell: {} };\n export type DisableAutoSell = { DisableAutoSell: {} };\n export type SetGearOverrideEnabled = { SetGearOverrideEnabled: { item_type: __OverlordEventItemType; enabled: boolean } };\n export type EnableAutoChest = { EnableAutoChest: {} };\n export type DisableAutoChest = { DisableAutoChest: {} };\n export type EnableAutoChestFilter = { EnableAutoChestFilter: { filter_id: __OverlordEventAutoChestFilterId } };\n export type DisableAutoChestFilter = { DisableAutoChestFilter: {} };\n export type EnableAutoChestPowerCompare = { EnableAutoChestPowerCompare: {} };\n export type DisableAutoChestPowerCompare = { DisableAutoChestPowerCompare: {} };\n export type UpdateAutoChestBatchSize = { UpdateAutoChestBatchSize: { batch_size: number } };\n export type NewAutoChestFilter = { NewAutoChestFilter: { filter: __OverlordEventAutoChestFilter } };\n export type UpdateAutoChestFilter = { UpdateAutoChestFilter: { updated_filter: __OverlordEventAutoChestFilter } };\n export type RemoveAutoChestFilter = { RemoveAutoChestFilter: { filter_id: __OverlordEventAutoChestFilterId } };\n export type OpenAbilityCase = { OpenAbilityCase: { roll_type: __OverlordEventAbilityCaseRollType } };\n /**\n * \u{41e}\u{431}\u{43d}\u{43e}\u{432}\u{43b}\u{44f}\u{435}\u{442} \u{432}\u{438}\u{448}\u{43b}\u{438}\u{441}\u{442} \u{433}\u{430}\u{447}\u{438} \u{441}\u{43f}\u{43e}\u{441}\u{43e}\u{431}\u{43d}\u{43e}\u{441}\u{442}\u{435}\u{439}.\n * \u{421}\u{43f}\u{438}\u{441}\u{43e}\u{43a} \u{43e}\u{433}\u{440}\u{430}\u{43d}\u{438}\u{447}\u{435}\u{43d} \u{447}\u{438}\u{441}\u{43b}\u{43e}\u{43c} \u{441}\u{43b}\u{43e}\u{442}\u{43e}\u{432} \u{438} \u{440}\u{430}\u{437}\u{440}\u{435}\u{448}\u{435}\u{43d}\u{43d}\u{44b}\u{43c}\u{438} \u{440}\u{435}\u{434}\u{43a}\u{43e}\u{441}\u{442}\u{44f}\u{43c}\u{438} \u{442}\u{435}\u{43a}\u{443}\u{449}\u{435}\u{433}\u{43e} \u{443}\u{440}\u{43e}\u{432}\u{43d}\u{44f} \u{433}\u{430}\u{447}\u{438}.\n */\n export type SetAbilityGachaWishlist = { SetAbilityGachaWishlist: { ability_ids: __OverlordEventAbilityId[] } };\n /**\n * \u{41f}\u{43e}\u{432}\u{44b}\u{448}\u{430}\u{435}\u{442} \u{443}\u{440}\u{43e}\u{432}\u{435}\u{43d}\u{44c} \u{443}\u{43a}\u{430}\u{437}\u{430}\u{43d}\u{43d}\u{43e}\u{433}\u{43e} \u{441}\u{43b}\u{43e}\u{442}\u{430} \u{441}\u{43f}\u{43e}\u{441}\u{43e}\u{431}\u{43d}\u{43e}\u{441}\u{442}\u{435}\u{439} \u{437}\u{430} Stardust.\n */\n export type UpgradeAbilitySlot = { UpgradeAbilitySlot: { slot_id: number } };\n export type AbilityCaseOpened = { AbilityCaseOpened: { batch_size: number } };\n export type NewAbilities = { NewAbilities: { abilities: __OverlordEventAbilityDrop[] } };\n export type FastEquipAbilities = { FastEquipAbilities: {} };\n export type EquipAbility = { EquipAbility: { slot_id: number; ability_id: __OverlordEventAbilityId } };\n export type UnequipAbility = { UnequipAbility: { slot_id: __OverlordEventAbilitySlotId } };\n export type EquipAbilities = { EquipAbilities: { equipped_abilities: __OverlordEventEquippedAbilities } };\n export type UpgradeAbility = { UpgradeAbility: { ability_id: __OverlordEventAbilityId } };\n export type UpgradeAllAbilities = { UpgradeAllAbilities: {} };\n export type UpgradedAbilities = { UpgradedAbilities: { upgraded_abilities: __OverlordEventUpgradedAbilitiesMap } };\n export type UpgradeAbilityCase = { UpgradeAbilityCase: {} };\n export type CurrencyIncrease = { CurrencyIncrease: { currencies: __OverlordEventCurrencyUnit[]; currency_source: __OverlordEventCurrencySource } };\n export type CurrencyDecrease = { CurrencyDecrease: { currencies: __OverlordEventCurrencyUnit[]; currency_consumer: __OverlordEventCurrencyConsumer } };\n export type NewCharacterLevel = { NewCharacterLevel: { level: number } };\n export type StartGame = { StartGame: {} };\n export type PrepareFight = { PrepareFight: { prepare_fight_type: __OverlordEventPrepareFightType } };\n export type StartFight = { StartFight: { fight_id: __OverlordEventUuid } };\n export type FightProgress = { FightProgress: {} };\n export type EndFight = { EndFight: { fight_id: __OverlordEventUuid; is_win: boolean; pvp_state: __OverlordEventPVPState | null } };\n export type StageCleared = { StageCleared: {} };\n export type RaidDungeon = { RaidDungeon: { dungeon_id: __OverlordEventDungeonTemplateId; difficulty: number; amount: number } };\n export type WaveCleared = { WaveCleared: {} };\n export type StartVassalPVPSync = { StartVassalPVPSync: { opponent_id: __OverlordEventUuid; opponent_suzerain_id: __OverlordEventUuid | null } };\n export type StartArenaPVPSync = { StartArenaPVPSync: { opponent_id: __OverlordEventUuid; is_bot: boolean } };\n export type StartArenaRematchSync = { StartArenaRematchSync: { match_id: __OverlordEventUuid } };\n export type RefreshArenaMatchmaking = { RefreshArenaMatchmaking: {} };\n export type BuyArenaTicket = { BuyArenaTicket: {} };\n export type StartMove = { StartMove: { entity_id: __OverlordEventUuid; to: __OverlordEventCoordinates; duration_ticks: number } };\n export type EndMove = { EndMove: { entity_id: __OverlordEventUuid } };\n export type SpawnEntity = { SpawnEntity: { id: __OverlordEventEntityId; entity_template_id: __OverlordEventEntityTemplateId; position: __OverlordEventCoordinates; entity_team: __OverlordEventEntityTeam; has_big_hp_bar: boolean; entity_attributes: __OverlordEventEntityAttributes } };\n export type StartCastAbility = { StartCastAbility: { by_entity_id: __OverlordEventUuid; ability_id: __OverlordEventAbilityId; pet_id: __OverlordEventPetId | null } };\n export type StartedCastAbility = { StartedCastAbility: { by_entity_id: __OverlordEventUuid; ability_id: __OverlordEventAbilityId; duration_ticks: number } };\n export type CastAbility = { CastAbility: { by_entity_id: __OverlordEventUuid; to_entity_id: __OverlordEventUuid; ability_id: __OverlordEventAbilityId } };\n export type StartCastProjectile = { StartCastProjectile: { by_entity_id: __OverlordEventUuid; to_entity_id: __OverlordEventUuid; projectile_id: __OverlordEventUuid; level: number; delay: number } };\n export type StartedCastProjectile = { StartedCastProjectile: { by_entity_id: __OverlordEventUuid; to_entity_id: __OverlordEventUuid; projectile_id: __OverlordEventUuid; duration_ticks: number } };\n export type CastProjectile = { CastProjectile: { by_entity_id: __OverlordEventUuid; to_entity_id: __OverlordEventUuid; projectile_id: __OverlordEventUuid; level: number; projectile_data: __OverlordEventCustomEventData } };\n export type Damage = { Damage: { entity_id: __OverlordEventUuid; damage: number; damage_data: __OverlordEventCustomEventData } };\n export type Heal = { Heal: { entity_id: __OverlordEventUuid; heal: number } };\n export type CounterAttack = { CounterAttack: { by_entity_id: __OverlordEventUuid; to_entity_id: __OverlordEventUuid; duration_ticks: number } };\n export type Multicast = { Multicast: { entity_id: __OverlordEventUuid; amount: number } };\n export type Evasion = { Evasion: { entity_id: __OverlordEventUuid } };\n export type PlayerDeath = { PlayerDeath: {} };\n export type EntityDeath = { EntityDeath: { entity_id: __OverlordEventUuid; reward: __OverlordEventCurrencyUnit[] } };\n export type EntityIncrAttribute = { EntityIncrAttribute: { entity_id: __OverlordEventUuid; attribute: string; delta: number } };\n export type EntityApplyEffect = { EntityApplyEffect: { entity_id: __OverlordEventUuid; effect_id: __OverlordEventUuid } };\n export type CastEffect = { CastEffect: { entity_id: __OverlordEventUuid; effect_id: __OverlordEventUuid } };\n export type CastEffectFromEvent = { CastEffectFromEvent: { entity_id: __OverlordEventUuid; effect_id: __OverlordEventUuid; caller_event: __OverlordEventOverlordEvent } };\n export type FightCustomEvent = { FightCustomEvent: { entity_id: number; value: string } };\n export type FightVisualEvent = { FightVisualEvent: { effect_type: string; effect_data: __OverlordEventCustomEventData } };\n export type SetMaxHp = { SetMaxHp: { entity_id: __OverlordEventEntityId; new_max_hp: number; new_hp: number } };\n export type ClaimVassalReward = { ClaimVassalReward: { character_id: __OverlordEventUuid } };\n export type ClaimSuzerainReward = { ClaimSuzerainReward: {} };\n export type NewSuzerain = { NewSuzerain: { new_suzerain: __OverlordEventSuzerain | null } };\n export type RemoveVassal = { RemoveVassal: { vassal_id: __OverlordEventUuid } };\n export type GiveTask = { GiveTask: { vassal_id: __OverlordEventUuid; template_task_id: __OverlordEventUuid } };\n export type NewTask = { NewTask: { new_task: __OverlordEventVassalTask } };\n export type AcceptTask = { AcceptTask: { task_id: __OverlordEventUuid; is_good: boolean } };\n export type TaskAccepted = { TaskAccepted: { task_id: __OverlordEventUuid; started_good: boolean; started_at: __OverlordEventDateTime<__OverlordEventUtc>; finish_at: __OverlordEventDateTime<__OverlordEventUtc> } };\n export type HitHands = { HitHands: { task_id: __OverlordEventUuid } };\n export type HandsHitted = { HandsHitted: { task_id: __OverlordEventUuid } };\n export type TaskFinished = { TaskFinished: { task_id: __OverlordEventUuid } };\n export type ClaimTaskReward = { ClaimTaskReward: { task_id: __OverlordEventUuid } };\n export type GiveResistTask = { GiveResistTask: { new_resist_task: __OverlordEventVassalTask } };\n export type AcceptResistTask = { AcceptResistTask: {} };\n export type ResistTaskAccepted = { ResistTaskAccepted: { new_resist_task: __OverlordEventVassalTask } };\n export type CatchResistTask = { CatchResistTask: { task_id: __OverlordEventUuid } };\n export type ResistTaskCatched = { ResistTaskCatched: { task_id: __OverlordEventUuid } };\n export type ResistTaskFinished = { ResistTaskFinished: { task_id: __OverlordEventUuid } };\n export type ClaimResistTaskReward = { ClaimResistTaskReward: { task_id: __OverlordEventUuid } };\n export type SetCustomValue = { SetCustomValue: { key: string; value: number } };\n export type SetConnectionStore = { SetConnectionStore: { key: string; value: number } };\n export type ClaimQuest = { ClaimQuest: { quest_id: __OverlordEventUuid } };\n export type ClaimAllQuests = { ClaimAllQuests: { quest_group_type: __OverlordEventQuestGroupType } };\n export type PatronQuestCompleted = { PatronQuestCompleted: { quest_id: __OverlordEventUuid } };\n export type HiddenQuestCompleted = { HiddenQuestCompleted: { quest_id: __OverlordEventUuid } };\n export type QuestCompleted = { QuestCompleted: { quest_id: __OverlordEventUuid } };\n export type NewQuests = { NewQuests: { quest_ids: __OverlordEventUuid[] } };\n export type UpdateActiveLoopTaskId = { UpdateActiveLoopTaskId: { quest_id: __OverlordEventUuid } };\n export type ResetRepeatingQuests = { ResetRepeatingQuests: { quest_ids: __OverlordEventUuid[] } };\n export type ClaimQuestProgressionReward = { ClaimQuestProgressionReward: { quest_group_type: __OverlordEventQuestGroupType } };\n export type ClaimReferralLvlUpReward = { ClaimReferralLvlUpReward: { level: number } };\n export type ClaimReferralDailyReward = { ClaimReferralDailyReward: {} };\n export type ReferralDailyRewardStatusUpdate = { ReferralDailyRewardStatusUpdate: { referral_daily_reward_status: boolean } };\n export type SendGift = { SendGift: { receiver_id: __OverlordEventUuid; config_gift_id: __OverlordEventUuid } };\n export type NewGift = { NewGift: { new_gift: __OverlordEventGift } };\n export type AcceptGift = { AcceptGift: { gift_id: __OverlordEventUuid } };\n export type ClaimAfkReward = { ClaimAfkReward: {} };\n export type AfkRewardClaimed = { AfkRewardClaimed: {} };\n /**\n * Emitted when the player crosses the AFK rewards unlock chapter threshold\n * and the async handler has adjusted `last_afk_reward_claimed_at` so that\n * the elapsed time is not less than `min_required_time_sec`.\n * The side effect handler persists the new value to the database.\n */\n export type AfkRewardsGatingUnlocked = { AfkRewardsGatingUnlocked: {} };\n export type ClaimAfkInstantRewardGems = { ClaimAfkInstantRewardGems: {} };\n export type WatchAd = { WatchAd: { ad_reward_type: __OverlordEventAdRewardType } };\n export type ShowBird = { ShowBird: { variant_id: __OverlordEventBirdVariantId } };\n /**\n * \u{41e}\u{442}\u{43f}\u{440}\u{430}\u{432}\u{43b}\u{44f}\u{435}\u{442}\u{441}\u{44f} \u{43a}\u{43b}\u{438}\u{435}\u{43d}\u{442}\u{43e}\u{43c}, \u{43a}\u{43e}\u{433}\u{434}\u{430} \u{43f}\u{442}\u{438}\u{446}\u{430} \u{431}\u{44b}\u{43b}\u{430} \u{443}\u{441}\u{43f}\u{435}\u{448}\u{43d}\u{43e} \u{43f}\u{43e}\u{43a}\u{430}\u{437}\u{430}\u{43d}\u{430} \u{438}\u{433}\u{440}\u{43e}\u{43a}\u{443}.\n * \u{41f}\u{435}\u{440}\u{435}\u{432}\u{43e}\u{434}\u{438}\u{442} \u{43f}\u{442}\u{438}\u{446}\u{443} \u{432} \u{43f}\u{43e}\u{43b}\u{43d}\u{44b}\u{439} \u{43a}\u{443}\u{43b}\u{434}\u{430}\u{443}\u{43d}.\n */\n export type BirdShown = { BirdShown: {} };\n export type ResetAdUsage = { ResetAdUsage: { placements: __OverlordEventAdPlacement[] } };\n export type ResetInstantRewardGemsPressCount = { ResetInstantRewardGemsPressCount: {} };\n export type ClaimBundleStepGeneric = { ClaimBundleStepGeneric: {} };\n export type AddBundleGroup = { AddBundleGroup: { bundle_ids: __OverlordEventBundleId[] } };\n export type ChangeClass = { ChangeClass: { new_class_id: __OverlordEventUuid } };\n export type LinkGuestAccount = { LinkGuestAccount: { token: string } };\n export type SetUsername = { SetUsername: { username: string } };\n export type SetCharacterBlocked = { SetCharacterBlocked: { character_id: __OverlordEventUuid; blocked: boolean } };\n export type CreateAbilityPreset = { CreateAbilityPreset: { name: string | null; ability_ids: __OverlordEventAbilityId[]; index: number } };\n export type EditAbilityPreset = { EditAbilityPreset: { preset_id: __OverlordEventAbilityPresetId; name: string; ability_ids: __OverlordEventAbilityId[] } };\n export type EnableCaseUpgradePopUp = { EnableCaseUpgradePopUp: {} };\n export type DisableCaseUpgradePopUp = { DisableCaseUpgradePopUp: {} };\n export type BuySkins = { BuySkins: { skin_ids: __OverlordEventSkinId[]; equip: boolean } };\n export type EquipAndUnequipSkins = { EquipAndUnequipSkins: { equip_skin_ids: __OverlordEventSkinId[]; unequip_skin_ids: __OverlordEventSkinId[] } };\n export type RunCheat = { RunCheat: { cheat: __OverlordEventCheat } };\n export type ClaimMail = { ClaimMail: { mail_id: __OverlordEventMailId } };\n export type ClaimAllMails = { ClaimAllMails: {} };\n export type MakeRead = { MakeRead: { mail_id: __OverlordEventMailId } };\n export type MakeAllRead = { MakeAllRead: {} };\n export type DeleteMail = { DeleteMail: { mail_id: __OverlordEventMailId } };\n export type DeleteAllMails = { DeleteAllMails: {} };\n export type NewMail = { NewMail: { new_mail: __OverlordEventMail } };\n export type NewOffer = { NewOffer: { offer_template_id: __OverlordEventOfferTemplateId } };\n export type BuyOffer = { BuyOffer: { purchase_token: string | null; offer_id: __OverlordEventOfferId } };\n export type OfferPurchaseCompleted = { OfferPurchaseCompleted: { purchase_token: string; offer_id: __OverlordEventOfferId } };\n export type OfferPurchaseFailed = { OfferPurchaseFailed: { purchase_token: string; offer_id: __OverlordEventOfferId } };\n export type PurchasesBanned = { PurchasesBanned: {} };\n export type ResetOffers = { ResetOffers: { new_offers: __OverlordEventOffer[] } };\n export type EquipPet = { EquipPet: { slot_id: number; pet_id: __OverlordEventPetId } };\n export type UnequipPet = { UnequipPet: { slot_id: __OverlordEventPetSlotId } };\n export type FastEquipPets = { FastEquipPets: {} };\n export type EquipPets = { EquipPets: { equipped_pets: __OverlordEventEquippedPets } };\n export type UpgradePet = { UpgradePet: { pet_id: __OverlordEventPetId } };\n export type UpgradeAllPets = { UpgradeAllPets: {} };\n export type UpgradedPets = { UpgradedPets: { upgraded_pets: __OverlordEventUpgradedPetsMap } };\n export type UpgradePetSlot = { UpgradePetSlot: { slot_id: number } };\n export type OpenPetCase = { OpenPetCase: { roll_type: __OverlordEventPetCaseRollType } };\n /**\n * \u{41e}\u{431}\u{43d}\u{43e}\u{432}\u{43b}\u{44f}\u{435}\u{442} \u{432}\u{438}\u{448}\u{43b}\u{438}\u{441}\u{442} \u{433}\u{430}\u{447}\u{438} \u{43f}\u{435}\u{442}\u{43e}\u{432}.\n */\n export type SetPetGachaWishlist = { SetPetGachaWishlist: { pet_ids: __OverlordEventPetId[] } };\n export type PetCaseOpened = { PetCaseOpened: { batch_size: number } };\n export type NewPets = { NewPets: { pets: __OverlordEventPetDrop[] } };\n export type UpgradePetCase = { UpgradePetCase: {} };\n export type TutorialShown = { TutorialShown: { step_number: number } };\n export type TutorialStepCompleted = { TutorialStepCompleted: { step_number: number } };\n export type AddCharacterToParty = { AddCharacterToParty: { character_id: __OverlordEventUuid } };\n export type RemoveCharacterFromParty = { RemoveCharacterFromParty: {} };\n export type RefreshPartyPlayers = { RefreshPartyPlayers: {} };\n export type RefreshPartyMemberState = { RefreshPartyMemberState: {} };\n /**\n * \u{41d}\u{430}\u{447}\u{430}\u{442}\u{44c} \u{438}\u{437}\u{443}\u{447}\u{435}\u{43d}\u{438}\u{435} \u{441}\u{43b}\u{435}\u{434}\u{443}\u{44e}\u{449}\u{435}\u{433}\u{43e} \u{443}\u{440}\u{43e}\u{432}\u{43d}\u{44f} \u{442}\u{430}\u{43b}\u{430}\u{43d}\u{442}\u{430} (\u{43a}\u{43b}\u{438}\u{435}\u{43d}\u{442} -> \u{431}\u{44d}\u{43a}\u{435}\u{43d}\u{434}).\n */\n export type StartTalentResearch = { StartTalentResearch: { talent_id: __OverlordEventTalentId } };\n /**\n * \u{411}\u{44d}\u{43a}\u{435}\u{43d}\u{434} \u{43f}\u{43e}\u{434}\u{442}\u{432}\u{435}\u{440}\u{436}\u{434}\u{430}\u{435}\u{442} \u{43d}\u{430}\u{447}\u{430}\u{43b}\u{43e} \u{438}\u{437}\u{443}\u{447}\u{435}\u{43d}\u{438}\u{44f} \u{442}\u{430}\u{43b}\u{430}\u{43d}\u{442}\u{430}.\n */\n export type TalentResearchStarted = { TalentResearchStarted: { talent_id: __OverlordEventTalentId; finish_at: __OverlordEventDateTime<__OverlordEventUtc> } };\n /**\n * \u{423}\u{441}\u{43a}\u{43e}\u{440}\u{438}\u{442}\u{44c} \u{438}\u{437}\u{443}\u{447}\u{435}\u{43d}\u{438}\u{435} \u{442}\u{430}\u{43b}\u{430}\u{43d}\u{442}\u{430} \u{441} \u{43f}\u{43e}\u{43c}\u{43e}\u{449}\u{44c}\u{44e} \u{442}\u{430}\u{439}\u{43c}\u{441}\u{43a}\u{438}\u{43f}-\u{431}\u{438}\u{43b}\u{435}\u{442}\u{438}\u{43a}\u{430}.\n */\n export type SpeedupTalentResearch = { SpeedupTalentResearch: {} };\n /**\n * \u{41f}\u{440}\u{43e}\u{43f}\u{443}\u{441}\u{442}\u{438}\u{442}\u{44c} \u{43e}\u{441}\u{442}\u{430}\u{432}\u{448}\u{435}\u{435}\u{441}\u{44f} \u{432}\u{440}\u{435}\u{43c}\u{44f} \u{438}\u{437}\u{443}\u{447}\u{435}\u{43d}\u{438}\u{44f} \u{437}\u{430} \u{432}\u{430}\u{43b}\u{44e}\u{442}\u{443} (\u{431}\u{440}\u{44e}\u{43b}\u{438}/\u{442}\u{430}\u{439}\u{43c}\u{441}\u{43a}\u{438}\u{43f}\u{44b}).\n */\n export type SkipTalentResearch = { SkipTalentResearch: {} };\n /**\n * \u{417}\u{430}\u{431}\u{440}\u{430}\u{442}\u{44c} \u{437}\u{430}\u{432}\u{435}\u{440}\u{448}\u{451}\u{43d}\u{43d}\u{44b}\u{439} \u{442}\u{430}\u{43b}\u{430}\u{43d}\u{442} (\u{43f}\u{43e}\u{441}\u{43b}\u{435} \u{438}\u{441}\u{442}\u{435}\u{447}\u{435}\u{43d}\u{438}\u{44f} \u{442}\u{430}\u{439}\u{43c}\u{435}\u{440}\u{430}). \u{42d}\u{43c}\u{438}\u{442}\u{438}\u{440}\u{443}\u{435}\u{442}\u{441}\u{44f} \u{431}\u{44d}\u{43a}\u{435}\u{43d}\u{434}\u{43e}\u{43c} \u{430}\u{432}\u{442}\u{43e}\u{43c}\u{430}\u{442}\u{438}\u{447}\u{435}\u{441}\u{43a}\u{438}.\n */\n export type ClaimTalentResearch = { ClaimTalentResearch: {} };\n /**\n * \u{41e}\u{442}\u{43a}\u{430}\u{442}\u{438}\u{442}\u{44c} \u{43d}\u{435}\u{437}\u{430}\u{431}\u{43b}\u{43e}\u{43a}\u{438}\u{440}\u{43e}\u{432}\u{430}\u{43d}\u{43d}\u{44b}\u{435} \u{441}\u{43b}\u{43e}\u{442}\u{44b} \u{441}\u{442}\u{430}\u{442}\u{443}\u{438}. \u{421}\u{43f}\u{438}\u{441}\u{44b}\u{432}\u{430}\u{435}\u{442} \u{432}\u{430}\u{43b}\u{44e}\u{442}\u{443}, \u{43d}\u{430}\u{447}\u{438}\u{441}\u{43b}\u{44f}\u{435}\u{442} \u{43e}\u{43f}\u{44b}\u{442} \u{441}\u{442}\u{430}\u{442}\u{443}\u{435}.\n */\n export type StatueRoll = { StatueRoll: { set_index: number; locked_slot_indices: number[] } };\n /**\n * \u{421}\u{434}\u{435}\u{43b}\u{430}\u{442}\u{44c} \u{443}\u{43a}\u{430}\u{437}\u{430}\u{43d}\u{43d}\u{44b}\u{439} \u{441}\u{435}\u{442} \u{441}\u{442}\u{430}\u{442}\u{443}\u{438} \u{430}\u{43a}\u{442}\u{438}\u{432}\u{43d}\u{44b}\u{43c} (\\\"In Use\\\").\n */\n export type StatueActivateSet = { StatueActivateSet: { set_index: number } };\n /**\n * \u{414}\u{43e}\u{431}\u{430}\u{432}\u{438}\u{442}\u{44c} \u{43d}\u{43e}\u{432}\u{44b}\u{439} \u{441}\u{435}\u{442} \u{441}\u{442}\u{430}\u{442}\u{443}\u{438} (\u{435}\u{441}\u{43b}\u{438} \u{443}\u{440}\u{43e}\u{432}\u{435}\u{43d}\u{44c} \u{441}\u{442}\u{430}\u{442}\u{443}\u{438} \u{43f}\u{43e}\u{437}\u{432}\u{43e}\u{43b}\u{44f}\u{435}\u{442}).\n */\n export type StatueAddSet = { StatueAddSet: {} };\n /**\n * \u{41f}\u{435}\u{440}\u{435}\u{438}\u{43c}\u{435}\u{43d}\u{43e}\u{432}\u{430}\u{442}\u{44c} \u{441}\u{435}\u{442} \u{441}\u{442}\u{430}\u{442}\u{443}\u{438}.\n */\n export type StatueRenameSet = { StatueRenameSet: { set_index: number; name: string } };\n /**\n * \u{417}\u{430}\u{431}\u{43b}\u{43e}\u{43a}\u{438}\u{440}\u{43e}\u{432}\u{430}\u{442}\u{44c} \u{438}\u{43b}\u{438} \u{440}\u{430}\u{437}\u{431}\u{43b}\u{43e}\u{43a}\u{438}\u{440}\u{43e}\u{432}\u{430}\u{442}\u{44c} \u{441}\u{43b}\u{43e}\u{442} \u{441}\u{442}\u{430}\u{442}\u{443}\u{438}.\n */\n export type StatueLockSlot = { StatueLockSlot: { set_index: number; slot_index: number; is_locked: boolean } };\n /**\n * \u{411}\u{435}\u{441}\u{43f}\u{43b}\u{430}\u{442}\u{43d}\u{44b}\u{439} \u{43f}\u{435}\u{440}\u{432}\u{438}\u{447}\u{43d}\u{44b}\u{439} \u{440}\u{43e}\u{43b}\u{43b} \u{434}\u{43b}\u{44f} \u{43d}\u{43e}\u{432}\u{43e}\u{433}\u{43e} \u{441}\u{43b}\u{43e}\u{442}\u{430} \u{43d}\u{430} \u{43b}\u{44e}\u{431}\u{43e}\u{43c} \u{441}\u{435}\u{442}\u{435} (\u{43f}\u{43e}\u{441}\u{43b}\u{435} \u{441}\u{43e}\u{437}\u{434}\u{430}\u{43d}\u{438}\u{44f} \u{441}\u{435}\u{442}\u{430} \u{438}\u{43b}\u{438} \u{43f}\u{43e}\u{432}\u{44b}\u{448}\u{435}\u{43d}\u{438}\u{44f} \u{443}\u{440}\u{43e}\u{432}\u{43d}\u{44f} \u{441}\u{442}\u{430}\u{442}\u{443}\u{438}).\n */\n export type StatueRollNewSlot = { StatueRollNewSlot: { set_index: number; slot_index: number } };\n /**\n * User rated the game (1\u{2013}5) or declined to rate (rating = None).\n */\n export type UserRating = { UserRating: { rating: number | null } };\n export type Error = { Error: { code: string; message: string } };\n export type CustomRhai = { CustomRhai: { event_type: string; data: __OverlordEventCustomEventData } };\n}\n\nexport type OverlordEvent = { OpenItemCase: { batch_size: number } } | { AutoChestOpenItemCase: { batch_size: number } } | { PlayerNewItems: { items: Item[] } } | { PlayerEquipItem: { item_id: Uuid } } | { SellItem: { item_id: Uuid } } | { ItemSold: { item_id: Uuid } } | { UpgradeItemCase: {} } | { ItemCaseUpgraded: {} } | { SpeedupUpgradeItemCase: {} } | { SkipUpgradeItemCase: {} } | { ClaimUpgradeItemCase: {} } | { EnableAutoSell: {} } | { DisableAutoSell: {} } | { SetGearOverrideEnabled: { item_type: ItemType; enabled: boolean } } | { EnableAutoChest: {} } | { DisableAutoChest: {} } | { EnableAutoChestFilter: { filter_id: AutoChestFilterId } } | { DisableAutoChestFilter: {} } | { EnableAutoChestPowerCompare: {} } | { DisableAutoChestPowerCompare: {} } | { UpdateAutoChestBatchSize: { batch_size: number } } | { NewAutoChestFilter: { filter: AutoChestFilter } } | { UpdateAutoChestFilter: { updated_filter: AutoChestFilter } } | { RemoveAutoChestFilter: { filter_id: AutoChestFilterId } } | { OpenAbilityCase: { roll_type: AbilityCaseRollType } } | { SetAbilityGachaWishlist: { ability_ids: AbilityId[] } } | { UpgradeAbilitySlot: { slot_id: number } } | { AbilityCaseOpened: { batch_size: number } } | { NewAbilities: { abilities: AbilityDrop[] } } | { FastEquipAbilities: {} } | { EquipAbility: { slot_id: number; ability_id: AbilityId } } | { UnequipAbility: { slot_id: AbilitySlotId } } | { EquipAbilities: { equipped_abilities: EquippedAbilities } } | { UpgradeAbility: { ability_id: AbilityId } } | { UpgradeAllAbilities: {} } | { UpgradedAbilities: { upgraded_abilities: UpgradedAbilitiesMap } } | { UpgradeAbilityCase: {} } | { CurrencyIncrease: { currencies: CurrencyUnit[]; currency_source: CurrencySource } } | { CurrencyDecrease: { currencies: CurrencyUnit[]; currency_consumer: CurrencyConsumer } } | { NewCharacterLevel: { level: number } } | { StartGame: {} } | { PrepareFight: { prepare_fight_type: PrepareFightType } } | { StartFight: { fight_id: Uuid } } | { FightProgress: {} } | { EndFight: { fight_id: Uuid; is_win: boolean; pvp_state: PVPState | null } } | { StageCleared: {} } | { RaidDungeon: { dungeon_id: DungeonTemplateId; difficulty: number; amount: number } } | { WaveCleared: {} } | { StartVassalPVPSync: { opponent_id: Uuid; opponent_suzerain_id: Uuid | null } } | { StartArenaPVPSync: { opponent_id: Uuid; is_bot: boolean } } | { StartArenaRematchSync: { match_id: Uuid } } | { RefreshArenaMatchmaking: {} } | { BuyArenaTicket: {} } | { StartMove: { entity_id: Uuid; to: Coordinates; duration_ticks: number } } | { EndMove: { entity_id: Uuid } } | { SpawnEntity: { id: EntityId; entity_template_id: EntityTemplateId; position: Coordinates; entity_team: EntityTeam; has_big_hp_bar: boolean; entity_attributes: EntityAttributes } } | { StartCastAbility: { by_entity_id: Uuid; ability_id: AbilityId; pet_id: PetId | null } } | { StartedCastAbility: { by_entity_id: Uuid; ability_id: AbilityId; duration_ticks: number } } | { CastAbility: { by_entity_id: Uuid; to_entity_id: Uuid; ability_id: AbilityId } } | { StartCastProjectile: { by_entity_id: Uuid; to_entity_id: Uuid; projectile_id: Uuid; level: number; delay: number } } | { StartedCastProjectile: { by_entity_id: Uuid; to_entity_id: Uuid; projectile_id: Uuid; duration_ticks: number } } | { CastProjectile: { by_entity_id: Uuid; to_entity_id: Uuid; projectile_id: Uuid; level: number; projectile_data: CustomEventData } } | { Damage: { entity_id: Uuid; damage: number; damage_data: CustomEventData } } | { Heal: { entity_id: Uuid; heal: number } } | { CounterAttack: { by_entity_id: Uuid; to_entity_id: Uuid; duration_ticks: number } } | { Multicast: { entity_id: Uuid; amount: number } } | { Evasion: { entity_id: Uuid } } | { PlayerDeath: {} } | { EntityDeath: { entity_id: Uuid; reward: CurrencyUnit[] } } | { EntityIncrAttribute: { entity_id: Uuid; attribute: string; delta: number } } | { EntityApplyEffect: { entity_id: Uuid; effect_id: Uuid } } | { CastEffect: { entity_id: Uuid; effect_id: Uuid } } | { CastEffectFromEvent: { entity_id: Uuid; effect_id: Uuid; caller_event: OverlordEvent } } | { FightCustomEvent: { entity_id: number; value: string } } | { FightVisualEvent: { effect_type: string; effect_data: CustomEventData } } | { SetMaxHp: { entity_id: EntityId; new_max_hp: number; new_hp: number } } | { ClaimVassalReward: { character_id: Uuid } } | { ClaimSuzerainReward: {} } | { NewSuzerain: { new_suzerain: Suzerain | null } } | { RemoveVassal: { vassal_id: Uuid } } | { GiveTask: { vassal_id: Uuid; template_task_id: Uuid } } | { NewTask: { new_task: VassalTask } } | { AcceptTask: { task_id: Uuid; is_good: boolean } } | { TaskAccepted: { task_id: Uuid; started_good: boolean; started_at: DateTime<Utc>; finish_at: DateTime<Utc> } } | { HitHands: { task_id: Uuid } } | { HandsHitted: { task_id: Uuid } } | { TaskFinished: { task_id: Uuid } } | { ClaimTaskReward: { task_id: Uuid } } | { GiveResistTask: { new_resist_task: VassalTask } } | { AcceptResistTask: {} } | { ResistTaskAccepted: { new_resist_task: VassalTask } } | { CatchResistTask: { task_id: Uuid } } | { ResistTaskCatched: { task_id: Uuid } } | { ResistTaskFinished: { task_id: Uuid } } | { ClaimResistTaskReward: { task_id: Uuid } } | { SetCustomValue: { key: string; value: number } } | { SetConnectionStore: { key: string; value: number } } | { ClaimQuest: { quest_id: Uuid } } | { ClaimAllQuests: { quest_group_type: QuestGroupType } } | { PatronQuestCompleted: { quest_id: Uuid } } | { HiddenQuestCompleted: { quest_id: Uuid } } | { QuestCompleted: { quest_id: Uuid } } | { NewQuests: { quest_ids: Uuid[] } } | { UpdateActiveLoopTaskId: { quest_id: Uuid } } | { ResetRepeatingQuests: { quest_ids: Uuid[] } } | { ClaimQuestProgressionReward: { quest_group_type: QuestGroupType } } | { ClaimReferralLvlUpReward: { level: number } } | { ClaimReferralDailyReward: {} } | { ReferralDailyRewardStatusUpdate: { referral_daily_reward_status: boolean } } | { SendGift: { receiver_id: Uuid; config_gift_id: Uuid } } | { NewGift: { new_gift: Gift } } | { AcceptGift: { gift_id: Uuid } } | { ClaimAfkReward: {} } | { AfkRewardClaimed: {} } | { AfkRewardsGatingUnlocked: {} } | { ClaimAfkInstantRewardGems: {} } | { WatchAd: { ad_reward_type: AdRewardType } } | { ShowBird: { variant_id: BirdVariantId } } | { BirdShown: {} } | { ResetAdUsage: { placements: AdPlacement[] } } | { ResetInstantRewardGemsPressCount: {} } | { ClaimBundleStepGeneric: {} } | { AddBundleGroup: { bundle_ids: BundleId[] } } | { ChangeClass: { new_class_id: Uuid } } | { LinkGuestAccount: { token: string } } | { SetUsername: { username: string } } | { SetCharacterBlocked: { character_id: Uuid; blocked: boolean } } | { CreateAbilityPreset: { name: string | null; ability_ids: AbilityId[]; index: number } } | { EditAbilityPreset: { preset_id: AbilityPresetId; name: string; ability_ids: AbilityId[] } } | { EnableCaseUpgradePopUp: {} } | { DisableCaseUpgradePopUp: {} } | { BuySkins: { skin_ids: SkinId[]; equip: boolean } } | { EquipAndUnequipSkins: { equip_skin_ids: SkinId[]; unequip_skin_ids: SkinId[] } } | { RunCheat: { cheat: Cheat } } | { ClaimMail: { mail_id: MailId } } | { ClaimAllMails: {} } | { MakeRead: { mail_id: MailId } } | { MakeAllRead: {} } | { DeleteMail: { mail_id: MailId } } | { DeleteAllMails: {} } | { NewMail: { new_mail: Mail } } | { NewOffer: { offer_template_id: OfferTemplateId } } | { BuyOffer: { purchase_token: string | null; offer_id: OfferId } } | { OfferPurchaseCompleted: { purchase_token: string; offer_id: OfferId } } | { OfferPurchaseFailed: { purchase_token: string; offer_id: OfferId } } | { PurchasesBanned: {} } | { ResetOffers: { new_offers: Offer[] } } | { EquipPet: { slot_id: number; pet_id: PetId } } | { UnequipPet: { slot_id: PetSlotId } } | { FastEquipPets: {} } | { EquipPets: { equipped_pets: EquippedPets } } | { UpgradePet: { pet_id: PetId } } | { UpgradeAllPets: {} } | { UpgradedPets: { upgraded_pets: UpgradedPetsMap } } | { UpgradePetSlot: { slot_id: number } } | { OpenPetCase: { roll_type: PetCaseRollType } } | { SetPetGachaWishlist: { pet_ids: PetId[] } } | { PetCaseOpened: { batch_size: number } } | { NewPets: { pets: PetDrop[] } } | { UpgradePetCase: {} } | { TutorialShown: { step_number: number } } | { TutorialStepCompleted: { step_number: number } } | { AddCharacterToParty: { character_id: Uuid } } | { RemoveCharacterFromParty: {} } | { RefreshPartyPlayers: {} } | { RefreshPartyMemberState: {} } | { StartTalentResearch: { talent_id: TalentId } } | { TalentResearchStarted: { talent_id: TalentId; finish_at: DateTime<Utc> } } | { SpeedupTalentResearch: {} } | { SkipTalentResearch: {} } | { ClaimTalentResearch: {} } | { StatueRoll: { set_index: number; locked_slot_indices: number[] } } | { StatueActivateSet: { set_index: number } } | { StatueAddSet: {} } | { StatueRenameSet: { set_index: number; name: string } } | { StatueLockSlot: { set_index: number; slot_index: number; is_locked: boolean } } | { StatueRollNewSlot: { set_index: number; slot_index: number } } | { UserRating: { rating: number | null } } | { Error: { code: string; message: string } } | { CustomRhai: { event_type: string; data: CustomEventData } };"

Source§

const SERIALIZATION_CONFIG: SerializationConfig

Source§

type JsType = JsType

§

fn into_js(&self) -> Result<Self::JsType, Error>
where Self: Serialize,

§

fn from_js<T>(js: T) -> Result<Self, Error>
where T: Into<JsValue>, Self: DeserializeOwned,

Source§

impl VariantNames for OverlordEvent

Source§

const VARIANTS: &'static [&'static str]

Names of the variants of this enum
Source§

impl VectorFromWasmAbi for OverlordEvent
where Self: DeserializeOwned,

Source§

type Abi = <JsType as VectorFromWasmAbi>::Abi

Source§

unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>

Source§

impl VectorIntoWasmAbi for OverlordEvent

Source§

type Abi = <JsType as VectorIntoWasmAbi>::Abi

Source§

fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi

Source§

impl WasmDescribe for OverlordEvent

Source§

impl WasmDescribeVector for OverlordEvent

Source§

impl Eq for OverlordEvent

Source§

impl StructuralPartialEq for OverlordEvent

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FutureExt for T

§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
§

impl<T> FutureExt for T

§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> IntoRequest<T> for T

§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
§

impl<L> LayerExt<L> for L

§

fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>
where L: Layer<S>,

Applies the layer to a service and wraps it in [Layered].
§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
Source§

impl<T> ReturnWasmAbi for T
where T: IntoWasmAbi,

Source§

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi
Source§

fn return_abi(self) -> <T as ReturnWasmAbi>::Abi

Same as IntoWasmAbi::into_abi, except that it may throw and never return in the case of Err.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> Serialize for T
where T: Serialize + ?Sized,

Source§

fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>

Source§

fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<T> ToStringFallible for T
where T: Display,

§

fn try_to_string(&self) -> Result<String, TryReserveError>

ToString::to_string, but without panic on OOM.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<S, T> Upcast<T> for S
where T: UpcastFrom<S> + ?Sized, S: ?Sized,

Source§

fn upcast(&self) -> &T
where Self: ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider ref type within the Wasm bindgen generics type system. Read more
Source§

fn upcast_into(self) -> T
where Self: Sized + ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider type within the Wasm bindgen generics type system. Read more
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,