pub struct Dlg {Show 17 fields
pub camera_model: ResRef,
pub delay_entry: u32,
pub delay_reply: u32,
pub end_conversation: ResRef,
pub end_conver_abort: ResRef,
pub skippable: bool,
pub conversation_type: i32,
pub computer_type: u8,
pub ambient_track: ResRef,
pub unequip_items: bool,
pub unequip_h_item: bool,
pub animated_cut: bool,
pub old_hit_check: bool,
pub starting_list: Vec<DlgLink>,
pub entries: Vec<DlgNode>,
pub replies: Vec<DlgNode>,
pub stunt_list: Vec<DlgStunt>,
}Expand description
Typed DLG model built from/to Gff data.
Fields§
§camera_model: ResRefCamera model resref (CameraModel).
delay_entry: u32Delay before entry lines in ms (DelayEntry).
delay_reply: u32Delay before reply lines in ms (DelayReply).
end_conversation: ResRefEnd-conversation script (EndConversation).
end_conver_abort: ResRefEnd-conversation-abort script (EndConverAbort).
skippable: boolSkippable flag (Skippable).
conversation_type: i32Conversation type (ConversationType).
computer_type: u8Computer type (ComputerType).
ambient_track: ResRefAmbient music track (AmbientTrack).
unequip_items: boolUnequip-items flag (UnequipItems).
unequip_h_item: boolUnequip-head-item flag (UnequipHItem).
animated_cut: boolAnimated-cutscene flag (AnimatedCut).
old_hit_check: boolOld-hit-check flag (OldHitCheck).
starting_list: Vec<DlgLink>Starting links (point into entries by index).
entries: Vec<DlgNode>Entry nodes (NPC dialogue lines).
replies: Vec<DlgNode>Reply nodes (PC dialogue choices).
stunt_list: Vec<DlgStunt>Cutscene stunt actors.
Implementations§
Trait Implementations§
Source§impl GffSchema for Dlg
impl GffSchema for Dlg
Source§fn schema() -> &'static [FieldSchema]
fn schema() -> &'static [FieldSchema]
Returns the root field schema for this GFF resource type.
impl StructuralPartialEq for Dlg
Auto Trait Implementations§
impl Freeze for Dlg
impl RefUnwindSafe for Dlg
impl Send for Dlg
impl Sync for Dlg
impl Unpin for Dlg
impl UnwindSafe for Dlg
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
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> StrictAs for T
impl<T> StrictAs for T
Source§fn strict_as<Dst>(self) -> Dstwhere
T: StrictCast<Dst>,
fn strict_as<Dst>(self) -> Dstwhere
T: StrictCast<Dst>,
Casts the value.
Source§impl<Src, Dst> StrictCastFrom<Src> for Dstwhere
Src: StrictCast<Dst>,
impl<Src, Dst> StrictCastFrom<Src> for Dstwhere
Src: StrictCast<Dst>,
Source§fn strict_cast_from(src: Src) -> Dst
fn strict_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
Source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
Source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
Source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
Source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.