Structs§
- Uuid
- A Universally Unique Identifier (UUID).
Traits§
- Deserialize
- A data structure that can be deserialized from any data format supported by Serde.
- Json
Schema - A type which can be described as a JSON Schema document.
- Serialize
- A data structure that can be serialized into any data format supported by Serde.
- Tsify
Tsifyis a trait that allows you to convert a type to and from JavaScript. Can be implemented manually if you need to customize the serialization or deserialization.
Functions§
- aa_
background_ schema - aa_
entity_ spine_ schema - aa_
image_ schema - aa_
vfx_ cell_ schema - aa_
vfx_ projectile_ schema - aa_
vfx_ unit_ schema - ability_
link_ id_ array_ schema - ability_
link_ id_ schema - ability_
rarity_ link_ id_ array_ schema - ability_
rarity_ link_ id_ schema - additional_
quests_ ref_ schema Option<String>native-script-ref schema for theadditional_questscategory.- array_
of - Wraps any schema in an array, keeping the item’s extensions.
- artifact_
link_ id_ array_ schema - artifact_
link_ id_ schema - asset_
ability_ icon_ schema - asset_
ability_ rarity_ icon_ schema - asset_
ability_ rarity_ square_ icon_ schema - asset_
ability_ stone_ icon_ schema - asset_
artifact_ icon_ schema - asset_
artifact_ stone_ icon_ schema - asset_
attribute_ icon_ schema - asset_
background_ schema - asset_
buff_ icon_ schema - asset_
class_ hero_ background - asset_
class_ hero_ icon - asset_
currency_ icon_ schema - asset_
effect_ stone_ icon_ schema - asset_
from_ group - String naming an asset from
asset_group(resource: <resource_type>+asset_group) — the editor filters its asset browser to that group. - asset_
hero_ skin_ icon_ schema - asset_
hero_ skin_ spine_ schema - asset_
item_ icon_ schema - asset_
item_ rarity_ icon_ schema - asset_
item_ ribbon_ icon_ schema - asset_
law_ icon_ schema - asset_
notification_ bg_ schema - asset_
offer_ icon_ schema - asset_
pet_ icon_ schema - asset_
pet_ rarity_ icon_ schema - asset_
pet_ rarity_ square_ icon_ schema - asset_
portal_ rarity_ icon_ schema - asset_
talent_ icon_ schema - asset_
trigger_ stone_ icon_ schema - asset_
ui_ dungeon_ background_ schema - asset_
ui_ dungeon_ banner_ schema - asset_
ui_ status_ icon_ schema - asset_
unit_ spine_ skin - asset_
vfx_ legacy_ schema - asset_
vfx_ object_ schema - attribute_
link_ id_ array_ schema - attribute_
link_ id_ schema - bird_
variant_ link_ id_ schema - buff_
link_ id_ schema - bundle_
id_ array_ schema - bundle_
id_ schema - cast_
ability_ ref_ schema Option<String>native-script-ref schema for thecast_abilitycategory.- cast_
projectile_ ref_ schema Option<String>native-script-ref schema for thecast_projectilecategory.- class_
id_ schema - color_
schema - String rendered as a color picker (
color). - conditional_
progress_ ref_ schema Option<String>native-script-ref schema for theconditional_progresscategory.- currencies_
ref_ schema Option<String>native-script-ref schema for thecurrenciescategory.- currency_
link_ id_ array_ schema - currency_
link_ id_ schema - description_
values_ ref_ schema Option<String>native-script-ref schema for thedescription_valuescategory.- effect_
stone_ link_ id_ array_ schema - entity_
link_ id_ array_ schema - entity_
link_ id_ schema - event_
ref_ schema Option<String>native-script-ref schema for theeventcategory.- fight_
start_ ref_ schema Option<String>native-script-ref schema for thefight_startcategory.- fight_
template_ link_ id_ array_ schema - fight_
template_ link_ id_ schema - has_
newlines - String rendered as a multi-line text area (
has_newlines). - id_
schema - The entity’s own primary key (
id+format: "uuid"): generated on create, read-only afterwards. - item_
attribute_ ref_ schema Option<String>native-script-ref schema for theitem_attributecategory.- item_
link_ id_ array_ schema - item_
link_ id_ schema - item_
rarity_ link_ id_ schema - link_
id_ schema - Foreign key into
target_class(link): the editor renders a picker over that collection and validation checks the target exists. - mail_
id_ schema - offer_
link_ id_ array_ schema - offer_
link_ id_ schema - option_
ability_ link_ id_ schema - option_
array_ of - Nullable
array_of, for anOption<Vec<T>>field. - option_
bundle_ id_ schema - option_
entity_ link_ id_ schema - option_
link_ id_ schema - Nullable
link_id_schema, for anOption<Id>field. - option_
mail_ id_ schema - option_
offer_ link_ id_ schema - option_
script_ schema - option_
skin_ link_ id_ schema - pet_
rarity_ link_ id_ array_ schema - pet_
rarity_ link_ id_ schema - quest_
link_ id_ array_ schema - quest_
link_ id_ schema - resource_
schema - String holding a reference to an external resource of
resource_type(resource) — the editor renders the matching asset browser. - script_
schema - String holding source code (
script) — the editor renders a code editor. - skin_
link_ id_ array_ schema - skin_
link_ id_ schema - spine_
schema - start_
cast_ ability_ ref_ schema Option<String>native-script-ref schema for thestart_cast_abilitycategory.- start_
cast_ projectile_ ref_ schema Option<String>native-script-ref schema for thestart_cast_projectilecategory.- statue_
bonus_ grade_ id_ schema - talent_
link_ id_ array_ schema - talent_
link_ id_ schema - trigger_
stone_ link_ id_ array_ schema - unique_
schema - String that must be unique across the collection (
unique). - vassal_
task_ id_ schema - webp_
path_ schema - webp_
url_ array_ schema - webp_
url_ schema
Attribute Macros§
- declare
- The
declaremacro, used in#[declare]annotations.
Derive Macros§
- Deserialize
- Json
Schema - Serialize
- Tsify
- The
Tsifyderive macro, used in#[derive(Tsify, ...)]annotations.