MCPcopy Create free account

hub / github.com/MadsWedendahlKruse/nat20 / functions

Functions1,582 in github.com/MadsWedendahlKruse/nat20

↓ 262 callersMethodto_string
(&self)
core/src/components/id.rs:196
↓ 148 callersMethoditer
(&self)
core/src/components/resource.rs:750
↓ 146 callersMethodpush
(&mut self, event: Event)
core/src/engine/event.rs:218
↓ 109 callersMethodinsert
(&mut self, instance: EffectInstance)
core/src/components/effects/effect_manager.rs:38
↓ 101 callersMethodlen
(&self)
core/src/components/spells/spellbook.rs:73
↓ 88 callersMethodspawn
( &mut self, handle: impl Into<String>, template: impl Into<String>, )
core/src/test_utils/scenario.rs:100
↓ 83 callersMethodget
(&self, key: &K)
core/src/components/d20.rs:428
↓ 64 callersMethodinto
(self)
core/src/components/id.rs:146
↓ 61 callersMethodcontains
(&self, spell_id: &SpellId)
core/src/components/spells/spellbook.rs:89
↓ 59 callersMethodrender
(&self, ui: &imgui::Ui)
gui/src/render/ui/components.rs:108
↓ 57 callersMethodend
(&self)
core/src/engine/geometry.rs:281
↓ 57 callersMethodprobe
(&mut self, handle: impl Into<String>)
core/src/test_utils/scenario.rs:75
↓ 56 callersMethodlevel
(&self)
core/src/components/level.rs:126
↓ 48 callersMethodbuild
(self)
core/src/test_utils/scenario.rs:231
↓ 48 callersMethoditer
(&self)
core/src/components/spells/spellbook.rs:85
↓ 46 callersMethodis_empty
(&self)
core/src/systems/movement.rs:67
↓ 44 callersMethodadd
(&mut self, reference: RegistryReference)
core/src/registry/registry_validation.rs:74
↓ 44 callersMethodas_str
(&self)
core/src/components/id.rs:192
↓ 44 callersMethodid
(&self)
core/src/components/actions/action.rs:83
↓ 41 callersMethodid
(&self)
core/src/components/id.rs:224
↓ 39 callersMethodinto
(self)
gui/src/render/common/colors.rs:25
↓ 39 callersMethodvalues
(&self)
core/src/components/effects/effect_manager.rs:52
↓ 36 callersMethodget
Borrow as the requested type, if the variant matches.
gui/src/state/settings.rs:181
↓ 36 callersMethodmax
(&self)
core/src/components/actions/targeting.rs:771
↓ 35 callersMethodremove
(&mut self, source: &ModifierSource)
core/src/components/d20.rs:54
↓ 34 callersMethodget_mut
(&mut self, key: &K)
core/src/components/d20.rs:432
↓ 34 callersMethodid
(&self)
core/src/scripts/script.rs:117
↓ 33 callersMethodrender
(&self, ui: &imgui::Ui)
gui/src/render/ui/text.rs:106
↓ 32 callersMethodcontains_key
(&self, source: &ModifierSource)
core/src/components/modifier.rs:122
↓ 30 callersMethodinto
(self)
core/src/scripts/script_api.rs:71
↓ 30 callersMethodis_empty
(&self)
gui/src/windows/level_up.rs:110
↓ 29 callersMethodid
(&self)
core/src/engine/encounter.rs:79
↓ 26 callersMethodadd_modifier
(&mut self, source: ModifierSource, value: T)
core/src/components/d20.rs:288
↓ 26 callersMethodid
(&self)
gui/src/windows/encounter.rs:49
↓ 23 callersFunctioneffects
This gets used so often that it deserves its own function
core/src/systems/effects.rs:25
↓ 22 callersMethodactor
(&self)
core/src/engine/event.rs:58
↓ 22 callersMethodposition
(mut self, position: impl Into<Point3<f32>>, on_ground: bool)
core/src/test_utils/scenario.rs:200
↓ 21 callersMethodrender
(&self, ui: &imgui::Ui)
gui/src/windows/action_bar/action_bar.rs:851
↓ 21 callersMethodset
()
core/src/components/ability.rs:51
↓ 20 callersMethodact
( &mut self, handle: impl Into<String>, action: impl Into<ActionId>, )
core/src/test_utils/scenario.rs:126
↓ 20 callersMethodassert_effect
(&self, game_state: &GameState, effect_id: impl Into<EffectId>)
core/src/test_utils/creature_probe.rs:180
↓ 20 callersFunctionflat_resource
(current: u8, max: u8)
core/src/components/resource.rs:887
↓ 20 callersFunctiongame_state
()
core/src/test_utils/fixtures.rs:736
↓ 19 callersMethodassert_resource
( &self, game_state: &GameState, resource: impl Into<ResourceId>, operator: Op
core/src/test_utils/creature_probe.rs:132
↓ 19 callersMethodget
(&self, phase_index: usize, target_index: usize)
core/src/components/actions/action.rs:484
↓ 19 callersMethodgl_context
(&self)
gui/src/state/gui_state.rs:111
↓ 19 callersMethodperform
(self)
core/src/test_utils/scenario.rs:348
↓ 19 callersMethodroll
(&self, proficiency_bonus: u8)
core/src/components/d20.rs:169
↓ 18 callersMethodtotal
(&self)
core/src/components/ability.rs:118
↓ 17 callersMethodactor
(&self)
gui/src/windows/action_bar/action_bar.rs:186
↓ 17 callersFunctionget_shape
Get the collision shape for a creature entity and the pose of the shape, i.e the pose is the center of the shape.
core/src/systems/geometry.rs:101
↓ 16 callersMethodadd
(self, other: ResourceAmount)
core/src/components/resource.rs:456
↓ 16 callersFunctionexpect_literal
(expr: &IntExpression, expected: i32)
core/src/registry/serialize/parser.rs:451
↓ 16 callersMethoditer_mut
(&mut self)
core/src/components/resource.rs:754
↓ 16 callersFunctionloadout
(world: &World, entity: Entity)
core/src/systems/loadout.rs:23
↓ 15 callersMethodeffect
(&self)
core/src/components/effects/effect.rs:151
↓ 15 callersMethodequip_in_slot
( &mut self, slot: &EquipmentSlot, equipment: T, )
core/src/components/items/equipment/loadout.rs:178
↓ 15 callersMethodfilter
(&self)
core/src/test_utils/scenario.rs:580
↓ 14 callersMethodability_modifier
(&self)
core/src/components/ability.rs:110
↓ 14 callersMethodadd_modifier
(&mut self, source: ModifierSource, value: T)
core/src/components/items/equipment/armor.rs:69
↓ 14 callersMethodd20_force_outcome
( &mut self, game_state: &mut GameState, kind: D20CheckKind, outcome: D20Check
core/src/test_utils/creature_probe.rs:96
↓ 14 callersMethodis_empty
(&self)
core/src/components/damage.rs:481
↓ 14 callersMethodperform
(&self, game_state: &mut GameState)
core/src/components/actions/action_builder.rs:301
↓ 14 callersMethodupdate
(&mut self, time_step: TimeStep)
core/src/components/time.rs:101
↓ 13 callersMethodconsume_whitespace
(&mut self)
core/src/registry/serialize/parser.rs:196
↓ 13 callersFunctionequip
( game_state: &mut GameState, entity: Entity, equipment: T, )
core/src/systems/loadout.rs:69
↓ 13 callersMethodfor_each
(&self, get_hook: impl Fn(&Effect) -> Option<&H>, mut f: impl FnMut(&H))
core/src/components/effects/effect_manager.rs:69
↓ 13 callersMethodget
(&self, id: &ResourceId)
core/src/components/resource.rs:742
↓ 13 callersFunctionget_action
(action_id: &ActionId)
core/src/systems/actions.rs:34
↓ 13 callersMethodnext_char
(&mut self)
core/src/registry/serialize/parser.rs:187
↓ 13 callersMethodprocess_event
(&mut self, event: Event)
core/src/engine/game_state.rs:391
↓ 13 callersFunctionrust_doc_to_str
(doc: &str)
gui/src/windows/navigation_debug.rs:334
↓ 12 callersMethodall_keys_strings
(&self)
core/src/registry/registry.rs:313
↓ 12 callersMethodcheck
(&self, key: &K, world: &World, entity: Entity)
core/src/components/d20.rs:474
↓ 12 callersMethodclosest
(&self)
core/src/systems/geometry.rs:300
↓ 12 callersMethodevent_filter
(&self)
core/src/test_utils/scenario.rs:179
↓ 12 callersMethodparse_dice_expression
dice_expr := dice_core (('+' | '-') expression)? dice_core := dice_count 'd' dice_size
core/src/registry/serialize/parser.rs:390
↓ 12 callersMethodscope_for_entity
(&self, entity: Entity)
core/src/engine/game_state.rs:208
↓ 12 callersMethodsession_mut
(&mut self, id: InteractionScopeId)
core/src/engine/interaction.rs:146
↓ 12 callersMethodspellcasting_rules
( &self, subclass_id: &Option<SubclassId>, )
core/src/components/class.rs:210
↓ 12 callersMethodtarget
(&mut self, game_state: &mut GameState, target: TargetInstance)
core/src/components/actions/action_builder.rs:156
↓ 12 callersMethodtarget_entity
(mut self, handle: impl Into<String>)
core/src/test_utils/scenario.rs:316
↓ 12 callersFunctiontiered_resource
(tiers: &[(u8, u8, u8)])
core/src/components/resource.rs:891
↓ 12 callersMethodwith_indent
(mut self, indent_level: u8)
gui/src/render/ui/text.rs:137
↓ 11 callersMethodaction
(&mut self, game_state: &GameState, action_id: &ActionId)
core/src/components/actions/action_builder.rs:77
↓ 11 callersFunctionget_foot_position
(world: &World, entity: Entity)
core/src/systems/geometry.rs:61
↓ 11 callersMethodget_function
( &self, script: &Script, function: ScriptFunction, )
core/src/scripts/script_engine.rs:131
↓ 11 callersMethodis_empty
(&self)
core/src/components/actions/action.rs:423
↓ 11 callersMethoditem
(&self)
core/src/components/items/equipment/weapon.rs:272
↓ 11 callersMethodkind_name
(&self)
core/src/components/actions/action_builder.rs:443
↓ 11 callersMethodrender_mut_with_context
(&mut self, ui: &imgui::Ui, game_state: &mut GameState)
gui/src/windows/level_up.rs:400
↓ 10 callersMethodassert_hp
(&self, game_state: &GameState, operator: Operator<u32>)
core/src/test_utils/creature_probe.rs:223
↓ 10 callersMethodbuild
(&self, game_state: &mut GameState)
core/src/components/actions/action_builder.rs:243
↓ 10 callersFunctioncollect_effect_hooks
( definitions: &Vec<HookDefinition>, effect_id: &EffectId, )
core/src/registry/serialize/effect.rs:734
↓ 10 callersMethodcurrent
(&self)
core/src/components/health/hit_points.rs:67
↓ 10 callersMethodcurrent_entity
(&self)
core/src/engine/encounter.rs:87
↓ 10 callersMethodrender_window
( &mut self, ui: &imgui::Ui, label: &str, anchor: &WindowAnchor, size:
gui/src/windows/anchor.rs:195
↓ 10 callersMethodrender_with_context
( &self, ui: &imgui::Ui, gui_state: &mut GuiState, game_state: &mut GameState,
gui/src/windows/action_bar/movement_preview.rs:130
↓ 10 callersMethodtotal
(&self)
core/src/components/items/equipment/armor.rs:88
↓ 9 callersMethodadd
(&mut self, kind: AdvantageType, source: ModifierSource)
core/src/components/d20.rs:50
next →1–100 of 1,582, ranked by callers