Struct roblox::instance::Dialog [−][src]
pub struct Dialog<'a> {}Show 24 fields
pub behavior_type: DialogBehaviorType, pub conversation_distance: f32, pub goodbye_choice_active: bool, pub goodbye_dialog: &'a str, pub in_use: bool, pub initial_prompt: &'a str, pub purpose: DialogPurpose, pub tone: DialogTone, pub trigger_distance: f32, pub trigger_offset: Vector3, pub archivable: bool, pub class_name: &'a str, pub name: &'a str, pub parent: Option<InstanceRef>, pub roblox_locked: bool, pub source_asset_id: i64, pub dialog_choice_selected: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>, pub ancestry_changed: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>, pub attribute_changed: RBXScriptSignal<&'a str>, pub changed: RBXScriptSignal<&'a str>, pub child_added: RBXScriptSignal<Option<InstanceRef>>, pub child_removed: RBXScriptSignal<Option<InstanceRef>>, pub descendant_added: RBXScriptSignal<Option<InstanceRef>>, pub descendant_removing: RBXScriptSignal<Option<InstanceRef>>,
Expand description
The Dialog Instance Class
Fields
behavior_type: DialogBehaviorType
conversation_distance: f32
goodbye_choice_active: bool
goodbye_dialog: &'a str
in_use: bool
initial_prompt: &'a str
purpose: DialogPurpose
tone: DialogTone
trigger_distance: f32
trigger_offset: Vector3
archivable: bool
Inherited from Instance
class_name: &'a str
Inherited from Instance
name: &'a str
Inherited from Instance
parent: Option<InstanceRef>
Inherited from Instance
roblox_locked: bool
Inherited from Instance
source_asset_id: i64
Inherited from Instance
dialog_choice_selected: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>
ancestry_changed: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>
Inherited from Instance
attribute_changed: RBXScriptSignal<&'a str>
Inherited from Instance
changed: RBXScriptSignal<&'a str>
Inherited from Instance
child_added: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
child_removed: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
descendant_added: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
descendant_removing: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
Implementations
pub fn signal_dialog_choice_selected(
&self,
player: Option<InstanceRef>,
dialog_choice: Option<InstanceRef>
)
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
pub fn find_first_child_which_is_a(
&self,
class_name: &'a str,
recursive: bool
) -> Option<InstanceRef>
pub fn find_first_child_which_is_a(
&self,
class_name: &'a str,
recursive: bool
) -> Option<InstanceRef>
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Dialog<'a>
impl<'a> UnwindSafe for Dialog<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more