Skip to main content

MapClass

Enum MapClass 

Source
#[repr(u32)]
pub enum MapClass {
Show 15 variants CGameCtnChallenge = 50_606_080, CGameCtnCollectorList = 50_442_240, CGameCtnChallengeParameters = 50_704_384, CGameCtnBlockSkin = 50_696_192, CGameWaypointSpecialProperty = 51_621_888, CGameCtnReplayRecord = 50_933_760, CGameGhost = 50_589_701, CGameCtnGhost = 50_929_664, CGameCtnCollector = 50_438_144, CGameCtnObjectInfo = 50_446_336, CGameCtnDecoration = 50_561_024, CGameCtnCollection = 50_540_544, CGameSkin = 50_532_352, CGamePlayerProfile = 50_905_088, CMwNod = 16_781_312,
}
Expand description

IDs and names taken from wiki.xaseco.org.

Variants§

§

CGameCtnChallenge = 50_606_080

§

CGameCtnCollectorList = 50_442_240

§

CGameCtnChallengeParameters = 50_704_384

§

CGameCtnBlockSkin = 50_696_192

§

CGameWaypointSpecialProperty = 51_621_888

§

CGameCtnReplayRecord = 50_933_760

§

CGameGhost = 50_589_701

§

CGameCtnGhost = 50_929_664

§

CGameCtnCollector = 50_438_144

§

CGameCtnObjectInfo = 50_446_336

§

CGameCtnDecoration = 50_561_024

§

CGameCtnCollection = 50_540_544

§

CGameSkin = 50_532_352

§

CGamePlayerProfile = 50_905_088

§

CMwNod = 16_781_312

Implementations§

Source§

impl MapClass

Source

pub fn repr(&self) -> u32

Source

pub fn from_repr(x: u32) -> Option<MapClass>

Trait Implementations§

Source§

impl Debug for MapClass

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for MapClass

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Eq for MapClass

Source§

impl PartialEq for MapClass

Source§

fn eq(&self, other: &MapClass) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for MapClass

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for MapClass

Source§

impl TryFrom<u32> for MapClass

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: u32) -> Result<Self, Self::Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.