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: DialogBehaviorTypeconversation_distance: f32goodbye_choice_active: boolgoodbye_dialog: &'a strin_use: boolinitial_prompt: &'a strpurpose: DialogPurposetone: DialogTonetrigger_distance: f32trigger_offset: Vector3archivable: boolInherited from Instance
class_name: &'a strInherited from Instance
name: &'a strInherited from Instance
parent: Option<InstanceRef>Inherited from Instance
roblox_locked: boolInherited from Instance
source_asset_id: i64Inherited 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