Struct roblox::instance::AvatarEditorService [−][src]
pub struct AvatarEditorService<'a> {}Show 23 fields
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 open_allow_inventory_read_access: RBXScriptSignal<()>, pub open_prompt_create_oufit: RBXScriptSignal<(Option<InstanceRef>, HumanoidRigType)>, pub open_prompt_delete_outfit: RBXScriptSignal<i64>, pub open_prompt_save_avatar: RBXScriptSignal<(Option<InstanceRef>, HumanoidRigType)>, pub open_prompt_set_favorite: RBXScriptSignal<(i64, AvatarItemType, bool)>, pub prompt_allow_inventory_read_access_completed: RBXScriptSignal<AvatarPromptResult>, pub prompt_create_outfit_completed: RBXScriptSignal<(AvatarPromptResult, Variant<'a, ()>)>, pub prompt_delete_outfit_completed: RBXScriptSignal<AvatarPromptResult>, pub prompt_save_avatar_completed: RBXScriptSignal<(AvatarPromptResult, Option<InstanceRef>)>, pub prompt_set_favorite_completed: RBXScriptSignal<AvatarPromptResult>, 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 AvatarEditorService Instance Class
Fields
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
open_allow_inventory_read_access: RBXScriptSignal<()>
open_prompt_create_oufit: RBXScriptSignal<(Option<InstanceRef>, HumanoidRigType)>
open_prompt_delete_outfit: RBXScriptSignal<i64>
open_prompt_save_avatar: RBXScriptSignal<(Option<InstanceRef>, HumanoidRigType)>
open_prompt_set_favorite: RBXScriptSignal<(i64, AvatarItemType, bool)>
prompt_allow_inventory_read_access_completed: RBXScriptSignal<AvatarPromptResult>
prompt_create_outfit_completed: RBXScriptSignal<(AvatarPromptResult, Variant<'a, ()>)>
prompt_delete_outfit_completed: RBXScriptSignal<AvatarPromptResult>
prompt_save_avatar_completed: RBXScriptSignal<(AvatarPromptResult, Option<InstanceRef>)>
prompt_set_favorite_completed: RBXScriptSignal<AvatarPromptResult>
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 no_prompt_create_outfit(
&self,
humanoid_description: Option<InstanceRef>,
rig_type: HumanoidRigType,
name: &'a str
) -> bool
pub fn no_prompt_save_avatar(
&self,
humanoid_description: Option<InstanceRef>,
rig_type: HumanoidRigType,
save_dict: Dictionary,
gear_asset_id: i64
) -> bool
pub fn no_prompt_set_favorite(
&self,
item_id: i64,
item_type: AvatarItemType,
should_favorite: bool
) -> bool
pub fn perform_create_outfit_with_description(
&self,
humanoid_description: Option<InstanceRef>,
name: &'a str
)
pub fn perform_save_avatar_new(
&self,
added_assets: Array<Variant<'a, ()>>,
removed_assets: Array<Variant<'a, ()>>
)
pub fn perform_save_avatar_with_description(
&self,
humanoid_description: Option<InstanceRef>,
added_assets: Array<Variant<'a, ()>>,
removed_assets: Array<Variant<'a, ()>>
)
pub fn prompt_save_avatar(
&self,
humanoid_description: Option<InstanceRef>,
rig_type: HumanoidRigType
)
pub fn prompt_set_favorite(
&self,
item_id: i64,
item_type: AvatarItemType,
should_favorite: bool
)
pub fn check_apply_default_clothing(
&self,
humanoid_description: Option<InstanceRef>
) -> Option<InstanceRef>
pub fn conform_to_avatar_rules(
&self,
humanoid_description: Option<InstanceRef>
) -> Option<InstanceRef>
pub fn get_batch_item_details(
&self,
item_ids: Array<Variant<'a, ()>>,
item_type: AvatarItemType
) -> Array<Variant<'a, ()>>
pub fn get_recommended_assets(
&self,
asset_type: AvatarAssetType,
context_asset_id: i64
) -> Array<Variant<'a, ()>>
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for AvatarEditorService<'a>
impl<'a> Send for AvatarEditorService<'a>
impl<'a> Sync for AvatarEditorService<'a>
impl<'a> Unpin for AvatarEditorService<'a>
impl<'a> UnwindSafe for AvatarEditorService<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more