#[repr(i32)]pub enum AdvmodeMenu {
Show 47 variants
Default = 0,
Look = 1,
ConversationAddress = 2,
ConversationSelect = 3,
ConversationSpeak = 4,
Inventory = 5,
Drop = 6,
ThrowItem = 7,
Wear = 8,
Remove = 9,
Interact = 10,
Put = 11,
PutContainer = 12,
Eat = 13,
ThrowAim = 14,
Fire = 15,
Get = 16,
Unk17 = 17,
CombatPrefs = 18,
Companions = 19,
MovementPrefs = 20,
SpeedPrefs = 21,
InteractAction = 22,
MoveCarefully = 23,
Announcements = 24,
UseBuilding = 25,
Travel = 26,
Unk27 = 27,
Unk28 = 28,
SleepConfirm = 29,
SelectInteractionTarget = 30,
Unk31 = 31,
Unk32 = 32,
FallAction = 33,
ViewTracks = 34,
Jump = 35,
Unk36 = 36,
AttackConfirm = 37,
AttackType = 38,
AttackBodypart = 39,
AttackStrike = 40,
Unk41 = 41,
Unk42 = 42,
DodgeDirection = 43,
Unk44 = 44,
Unk45 = 45,
Build = 46,
}Variants§
Default = 0
Look = 1
ConversationAddress = 2
ConversationSelect = 3
ConversationSpeak = 4
Inventory = 5
Drop = 6
ThrowItem = 7
Wear = 8
Remove = 9
Interact = 10
Put = 11
PutContainer = 12
Eat = 13
ThrowAim = 14
Fire = 15
Get = 16
Unk17 = 17
CombatPrefs = 18
Companions = 19
MovementPrefs = 20
SpeedPrefs = 21
InteractAction = 22
MoveCarefully = 23
Announcements = 24
UseBuilding = 25
Travel = 26
Unk27 = 27
Unk28 = 28
SleepConfirm = 29
SelectInteractionTarget = 30
Unk31 = 31
Unk32 = 32
FallAction = 33
ViewTracks = 34
Jump = 35
Unk36 = 36
AttackConfirm = 37
AttackType = 38
AttackBodypart = 39
AttackStrike = 40
Unk41 = 41
Unk42 = 42
DodgeDirection = 43
Unk44 = 44
Unk45 = 45
Build = 46
Implementations§
Source§impl AdvmodeMenu
impl AdvmodeMenu
Source§impl AdvmodeMenu
impl AdvmodeMenu
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for AdvmodeMenu
impl Clone for AdvmodeMenu
Source§fn clone(&self) -> AdvmodeMenu
fn clone(&self) -> AdvmodeMenu
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdvmodeMenu
impl Debug for AdvmodeMenu
Source§impl Default for AdvmodeMenu
impl Default for AdvmodeMenu
Source§fn default() -> AdvmodeMenu
fn default() -> AdvmodeMenu
Returns the “default value” for a type. Read more
Source§impl From<AdvmodeMenu> for i32
impl From<AdvmodeMenu> for i32
Source§fn from(value: AdvmodeMenu) -> i32
fn from(value: AdvmodeMenu) -> i32
Converts to this type from the input type.
Source§impl Hash for AdvmodeMenu
impl Hash for AdvmodeMenu
Source§impl Ord for AdvmodeMenu
impl Ord for AdvmodeMenu
Source§fn cmp(&self, other: &AdvmodeMenu) -> Ordering
fn cmp(&self, other: &AdvmodeMenu) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AdvmodeMenu
impl PartialEq for AdvmodeMenu
Source§impl PartialOrd for AdvmodeMenu
impl PartialOrd for AdvmodeMenu
Source§impl Serialize for AdvmodeMenu
impl Serialize for AdvmodeMenu
Source§impl TryFrom<i32> for AdvmodeMenu
impl TryFrom<i32> for AdvmodeMenu
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<AdvmodeMenu, UnknownEnumValue>
fn try_from(value: i32) -> Result<AdvmodeMenu, UnknownEnumValue>
Performs the conversion.
impl Copy for AdvmodeMenu
impl Eq for AdvmodeMenu
impl StructuralPartialEq for AdvmodeMenu
Auto Trait Implementations§
impl Freeze for AdvmodeMenu
impl RefUnwindSafe for AdvmodeMenu
impl Send for AdvmodeMenu
impl Sync for AdvmodeMenu
impl Unpin for AdvmodeMenu
impl UnsafeUnpin for AdvmodeMenu
impl UnwindSafe for AdvmodeMenu
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