Struct paradox_typed_db::TypedDatabase
source · pub struct TypedDatabase<'db> {Show 46 fields
pub activities: ActivitiesTable<'db>,
pub activity_text: ActivityTextTable<'db>,
pub activity_rewards: Option<ActivityRewardsTable<'db>>,
pub behavior_parameters: BehaviorParameterTable<'db>,
pub behavior_templates: BehaviorTemplateTable<'db>,
pub collectible_component: CollectibleComponentTable<'db>,
pub comp_reg: ComponentsRegistryTable<'db>,
pub currency_denominations: CurrencyDenominationsTable<'db>,
pub deletion_restrictions: DeletionRestrictionsTable<'db>,
pub destructible_component: DestructibleComponentTable<'db>,
pub emotes: EmotesTable<'db>,
pub icons: IconsTable<'db>,
pub inventory_component: InventoryComponentTable<'db>,
pub item_component: ItemComponentTable<'db>,
pub item_sets: ItemSetsTable<'db>,
pub item_set_skills: ItemSetSkillsTable<'db>,
pub jet_pack_pad_component: Option<JetPackPadComponentTable<'db>>,
pub loot_table: LootTableTable<'db>,
pub loot_matrix: LootMatrixTable<'db>,
pub mission_email: Option<MissionEmailTable<'db>>,
pub mission_npc_component: Option<MissionNpcComponentTable<'db>>,
pub mission_tasks: MissionTasksTable<'db>,
pub mission_text: MissionTextTable<'db>,
pub missions: MissionsTable<'db>,
pub npc_icons: NpcIconsTable<'db>,
pub objects: ObjectsTable<'db>,
pub object_skills: ObjectSkillsTable<'db>,
pub package_component: Option<PackageComponentTable<'db>>,
pub player_statistics: Option<PlayerStatisticsTable<'db>>,
pub preconditions: PreconditionsTable<'db>,
pub property_template: PropertyTemplateTable<'db>,
pub rebuild_component: RebuildComponentTable<'db>,
pub rebuild_sections: Option<RebuildSectionsTable<'db>>,
pub rewards: Option<RewardsTable<'db>>,
pub reward_codes: Option<RewardCodesTable<'db>>,
pub render_comp: RenderComponentTable<'db>,
pub skills: SkillBehaviorTable<'db>,
pub smashable_component: Option<SmashableComponentTable<'db>>,
pub speedchat_menu: SpeedchatMenuTable<'db>,
pub taming_build_puzzles: TamingBuildPuzzlesTable<'db>,
pub ug_behavior_sounds: Option<UgBehaviorSoundsTable<'db>>,
pub vendor_component: Option<VendorComponentTable<'db>>,
pub whats_cool_item_spotlight: Option<WhatsCoolItemSpotlightTable<'db>>,
pub whats_cool_news_and_tips: Option<WhatsCoolNewsAndTipsTable<'db>>,
pub zone_loading_tips: Option<ZoneLoadingTipsTable<'db>>,
pub zone_table: ZoneTableTable<'db>,
}Expand description
A selection of relevant database tables
Fields§
§activities: ActivitiesTable<'db>Activities
activity_text: ActivityTextTable<'db>ActivityText
activity_rewards: Option<ActivityRewardsTable<'db>>ActivityRewards
behavior_parameters: BehaviorParameterTable<'db>BehaviorParameter
behavior_templates: BehaviorTemplateTable<'db>BehaviorTemplate
collectible_component: CollectibleComponentTable<'db>CollectibleComponent
comp_reg: ComponentsRegistryTable<'db>ComponentRegistry
currency_denominations: CurrencyDenominationsTable<'db>CurrencyDenominations
deletion_restrictions: DeletionRestrictionsTable<'db>DeletionRestrictions
destructible_component: DestructibleComponentTable<'db>DestructibleComponent
emotes: EmotesTable<'db>Emotes
icons: IconsTable<'db>Icons
inventory_component: InventoryComponentTable<'db>InventoryComponent
item_component: ItemComponentTable<'db>ItemComponent
item_sets: ItemSetsTable<'db>ItemSets
item_set_skills: ItemSetSkillsTable<'db>ItemSetSkills
jet_pack_pad_component: Option<JetPackPadComponentTable<'db>>JetPackPadComponent
loot_table: LootTableTable<'db>LootTable
loot_matrix: LootMatrixTable<'db>LootMatrix
mission_email: Option<MissionEmailTable<'db>>MissionEmail
mission_npc_component: Option<MissionNpcComponentTable<'db>>MissionNPCComponent
mission_tasks: MissionTasksTable<'db>MissionTasks
mission_text: MissionTextTable<'db>MissionText
missions: MissionsTable<'db>Missions
npc_icons: NpcIconsTable<'db>NpcIcons
objects: ObjectsTable<'db>Objects
object_skills: ObjectSkillsTable<'db>Objects
package_component: Option<PackageComponentTable<'db>>PackageComponent
player_statistics: Option<PlayerStatisticsTable<'db>>PlayerStatistics
preconditions: PreconditionsTable<'db>Preconditions
property_template: PropertyTemplateTable<'db>PropertyTemplate
rebuild_component: RebuildComponentTable<'db>RebuildComponent
rebuild_sections: Option<RebuildSectionsTable<'db>>RebuildSections
rewards: Option<RewardsTable<'db>>Rewards
reward_codes: Option<RewardCodesTable<'db>>RewardCodes
render_comp: RenderComponentTable<'db>RenderComponent
skills: SkillBehaviorTable<'db>SkillBehavior
smashable_component: Option<SmashableComponentTable<'db>>SmashableComponent
SpeedchatMenu
taming_build_puzzles: TamingBuildPuzzlesTable<'db>TamingBuildPuzzles
ug_behavior_sounds: Option<UgBehaviorSoundsTable<'db>>UGBehaviorSounds
vendor_component: Option<VendorComponentTable<'db>>VendorComponent
whats_cool_item_spotlight: Option<WhatsCoolItemSpotlightTable<'db>>WhatsCoolItemSpotlight
whats_cool_news_and_tips: Option<WhatsCoolNewsAndTipsTable<'db>>WhatsCoolNewsAndTips
zone_loading_tips: Option<ZoneLoadingTipsTable<'db>>ZoneLoadingTips
zone_table: ZoneTableTable<'db>ZoneTable
Implementations§
source§impl<'a> TypedDatabase<'a>
impl<'a> TypedDatabase<'a>
sourcepub fn get_icon_path(&self, id: i32) -> Option<&Latin1Str>
pub fn get_icon_path(&self, id: i32) -> Option<&Latin1Str>
Get the path of an icon ID
sourcepub fn get_mission_data(&self, id: i32) -> Option<Mission>
pub fn get_mission_data(&self, id: i32) -> Option<Mission>
Get data for the specified mission ID
sourcepub fn get_mission_tasks(&self, id: i32) -> Vec<MissionTask>
pub fn get_mission_tasks(&self, id: i32) -> Vec<MissionTask>
Get a list of mission tasks for the specified mission ID
sourcepub fn get_object_name_desc(&self, id: i32) -> Option<(String, String)>
pub fn get_object_name_desc(&self, id: i32) -> Option<(String, String)>
Get the name and description for the specified LOT
sourcepub fn get_render_image(&self, id: i32) -> Option<&Latin1Str>
pub fn get_render_image(&self, id: i32) -> Option<&Latin1Str>
Get the path of the icon asset of the specified render component
sourcepub fn get_components(&self, id: i32) -> Components
pub fn get_components(&self, id: i32) -> Components
Get all components for the specified LOT
Trait Implementations§
source§impl<'db> Clone for TypedDatabase<'db>
impl<'db> Clone for TypedDatabase<'db>
source§fn clone(&self) -> TypedDatabase<'db>
fn clone(&self) -> TypedDatabase<'db>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more