pub struct StartCastProjectileCtx<'a> {
pub caster_entity: &'a Entity,
pub target_entity: &'a Entity,
}Expand description
Inputs available to a start_cast_projectile native fn — the subset of the
scope (run_start_cast_projectile via handle_start_cast_projectile) also
binds CasterEntity, Fight, ProjectileLevel, CurrentTick,
FightDurationTicks and the event, but no shipped start_behavior reads
anything beyond the caster/target coordinates; add fields here if a future
script does.
Fields§
§caster_entity: &'a Entity§target_entity: &'a EntityAuto Trait Implementations§
impl<'a> Freeze for StartCastProjectileCtx<'a>
impl<'a> RefUnwindSafe for StartCastProjectileCtx<'a>
impl<'a> Send for StartCastProjectileCtx<'a>
impl<'a> Sync for StartCastProjectileCtx<'a>
impl<'a> Unpin for StartCastProjectileCtx<'a>
impl<'a> UnwindSafe for StartCastProjectileCtx<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more