pub enum DynamicText {
NpcOriginName,
NpcTargetName,
PlayerOriginNameEn,
PlayerTargetNameEn,
PlayerOriginNameJp,
PlayerTargetNameJp,
}
Expand description
Abstraction of text with value depending on contextual player data. Should only appear as the then portion of an if-else or otherwise as text.
Variants
NpcOriginName
the name of the origin of the message when not a player ObjectParameter(2)
NpcTargetName
the name of the target of the message when not a player ObjectParameter(3)
PlayerOriginNameEn
the EN name of the origin of the message <SheetEn(ObjStr,2,PlayerParameter(7),1,1)/>
PlayerTargetNameEn
the EN name of the target of the message <SheetEn(ObjStr,2,PlayerParameter(8),1,1)/>
PlayerOriginNameJp
the JP name of the origin of the message <Sheet(ObjStr,PlayerParameter(7),0)/>
PlayerTargetNameJp
the JP name of the target of the message <Sheet(ObjStr,PlayerParameter(8),0)/>
Trait Implementations
sourceimpl Clone for DynamicText
impl Clone for DynamicText
sourcefn clone(&self) -> DynamicText
fn clone(&self) -> DynamicText
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DynamicText
impl Debug for DynamicText
impl Copy for DynamicText
Auto Trait Implementations
impl RefUnwindSafe for DynamicText
impl Send for DynamicText
impl Sync for DynamicText
impl Unpin for DynamicText
impl UnwindSafe for DynamicText
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more