• Articles
  • Api Documentation
Show / Hide Table of Contents
  • DDSLoader
    • DDSImage
    • DDSImage.DDSHeader
    • DDSImage.DDSPixelFormat
    • DDSImage.HeaderFlags
    • DDSImage.PixelFormatFlags
    • DDSUnityExtensions
    • FourCC
  • LLBML
    • BallApi
    • CharacterApi
    • GraphicUtils
    • InputApi
    • LLBMLPlugin
    • LoadingInfo
    • LoadingScreen
    • PluginInfos
    • ProgressApi
    • ScreenApi
    • StateApi
  • LLBML.Audio
    • AudioAsset
    • AudioCache
    • AudioInfo
    • AudioUtils
  • LLBML.External
    • IntHelpers
    • Murmur3
  • LLBML.GameEvents
    • GameEvents
    • GameStateEvents
    • LobbyEventArgs
    • LobbyEvents
    • LobbyReadyArgs
    • MenuEvents
    • OnLobbyEnteredHandler
    • OnLobbyReadyHandler
    • OnMainMenuEnteredArgs
    • OnMainMenuEnteredHandler
    • OnMainMenuFirstEnteredHandler
    • OnPlayerJoinArgs
    • OnPlayerJoinHandler
    • OnStateChangeArgs
    • OnStateChangeHandler
    • OnUnlinkFromPlayerArgs
    • OnUnlinkFromPlayerHandler
    • OnUserCharacterPickArgs
    • OnUserCharacterPickHandler
    • OnUserSkinClickArgs
    • OnUserSkinClickHandler
  • LLBML.Graphic
    • Draw
    • Draw.Alignment
  • LLBML.Math
    • BinaryUtils
    • Boundsf
    • Floatf
    • Vector2f
    • Vector2i
  • LLBML.Messages
    • CustomMessage
    • MessageActions
    • MessageApi
    • MessageApi.OnReceiveMessageHandler
    • MessageEventArgs
  • LLBML.Networking
    • Channel
    • EnvelopeApi
    • EnvelopeApi.OnReceiveEnvelopeHandler
    • EnvelopeEventArgs
    • EP2PSend
    • EP2PSend.Enum
    • EP2PSend.Enum_Mapping
    • NetworkApi
    • Transaction
    • TransactionCode
    • TransactionState
  • LLBML.Players
    • Player
    • PlayerStatus
    • PlayerStatus.Enum
    • PlayerStatus.Enum_Mappings
    • Team
    • Team.Enum
    • Team.Enum_Mappings
  • LLBML.Settings
    • GameSettings
  • LLBML.States
    • GameState
    • GameState.Enum
    • GameState.Enum_Mapping
    • GameStates
    • GameStatesGameUtils
    • GameStatesLobbyUtils
    • PlayerLobbyState
  • LLBML.Texture
    • TextureUtils
  • LLBML.UI
    • Dialogs
  • LLBML.Utils
    • ArrayExtension
    • BepInRef
    • ControlledRandom
    • DebugUtils
    • EnumWrapper<T>
    • GenericCache<K, T>
    • GenericUtils
    • Hash<T>
    • IByteable
    • ModDependenciesUtils
    • ModdingFolder
    • PatchUtils
    • StringUtils

Class EnumWrapper<T>

A wrapper helper to the game's obfuscated enums

Inheritance
System.Object
EnumWrapper<T>
EP2PSend
PlayerStatus
Team
GameState
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: LLBML.Utils
Assembly: LLBModdingLib.dll
Syntax
public abstract class EnumWrapper<T>
    where T : Enum
Type Parameters
Name Description
T

Constructors

EnumWrapper(Int32)

Declaration
protected EnumWrapper(int id)
Parameters
Type Name Description
System.Int32 id

Fields

id

Declaration
protected readonly int id
Field Value
Type Description
System.Int32

Methods

Equals(EnumWrapper<T>, EnumWrapper<T>)

Declaration
public static bool Equals(EnumWrapper<T> a, EnumWrapper<T> b)
Parameters
Type Name Description
EnumWrapper<T> a
EnumWrapper<T> b
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()

NotEquals(EnumWrapper<T>, EnumWrapper<T>)

Declaration
public static bool NotEquals(EnumWrapper<T> a, EnumWrapper<T> b)
Parameters
Type Name Description
EnumWrapper<T> a
EnumWrapper<T> b
Returns
Type Description
System.Boolean

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Operators

Equality(EnumWrapper<T>, EnumWrapper<T>)

Declaration
public static bool operator ==(EnumWrapper<T> a, EnumWrapper<T> b)
Parameters
Type Name Description
EnumWrapper<T> a
EnumWrapper<T> b
Returns
Type Description
System.Boolean

Explicit(EnumWrapper<T> to Int32)

Declaration
public static explicit operator int (EnumWrapper<T> ew)
Parameters
Type Name Description
EnumWrapper<T> ew
Returns
Type Description
System.Int32

Inequality(EnumWrapper<T>, EnumWrapper<T>)

Declaration
public static bool operator !=(EnumWrapper<T> a, EnumWrapper<T> b)
Parameters
Type Name Description
EnumWrapper<T> a
EnumWrapper<T> b
Returns
Type Description
System.Boolean
In This Article
Back to top Generated by DocFX