• 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 GameStates

A wrapper to the game's obfuscated Player class

Inheritance
System.Object
GameStates
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: LLBML.States
Assembly: LLBModdingLib.dll
Syntax
public class GameStates

Constructors

GameStates(DNPFJHMAIBP)

Declaration
public GameStates(DNPFJHMAIBP gs)
Parameters
Type Name Description
DNPFJHMAIBP gs

Properties

Instance

Declaration
public static GameStates Instance { get; }
Property Value
Type Description
GameStates

Messages

Declaration
public static List<Message> Messages { get; }
Property Value
Type Description
System.Collections.Generic.List<Message>

Methods

ClearMessages()

Declaration
public static void ClearMessages()

DirectProcess(Message)

Declaration
public static void DirectProcess(Message message)
Parameters
Type Name Description
Message message

DirectProcess(Msg, Int32, Int32)

Declaration
public static void DirectProcess(Msg msg, int playerNr, int index)
Parameters
Type Name Description
Msg msg
System.Int32 playerNr
System.Int32 index

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)

GetCurrent()

Declaration
public static GameState GetCurrent()
Returns
Type Description
GameState

GetCurrentGameStateObject()

Declaration
public static FHPLAFJAAIP GetCurrentGameStateObject()
Returns
Type Description
FHPLAFJAAIP

GetHashCode()

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

IsInGame()

Is the current state any state of game.

Declaration
public static bool IsInGame()
Returns
Type Description
System.Boolean

true, if curently in game, false otherwise.

IsInIntro()

Declaration
public static bool IsInIntro()
Returns
Type Description
System.Boolean

IsInLobby()

Is the current state a lobby.

Declaration
public static bool IsInLobby()
Returns
Type Description
System.Boolean

true, if curently in any type of lobby, false otherwise.

IsInLocalLobby()

Is the current state a local lobby.

Declaration
public static bool IsInLocalLobby()
Returns
Type Description
System.Boolean

true, if curently in a local lobby, false otherwise.

IsInMatch()

Is the current state an ongoing game.

Declaration
public static bool IsInMatch()
Returns
Type Description
System.Boolean

true, if curently in a match, false otherwise.

IsInOnlineLobby()

Is the current state an online lobby.

Declaration
public static bool IsInOnlineLobby()
Returns
Type Description
System.Boolean

true, if curently in an online lobby, false otherwise.

IsInSingleLobby()

Is the current state a single-player lobby.

Declaration
public static bool IsInSingleLobby()
Returns
Type Description
System.Boolean

true, if curently in a single-player lobby, false otherwise.

IsMenuState(GameState, Boolean)

Declaration
public static bool IsMenuState(GameState s, bool alsoOptions = false)
Parameters
Type Name Description
GameState s
System.Boolean alsoOptions
Returns
Type Description
System.Boolean

IsSwitching()

Declaration
public static bool IsSwitching()
Returns
Type Description
System.Boolean

Send(Message)

Declaration
public static void Send(Message message)
Parameters
Type Name Description
Message message

Send(Msg, Int32, Int32)

Declaration
public static void Send(Msg msgType, int playerNr, int index)
Parameters
Type Name Description
Msg msgType
System.Int32 playerNr
System.Int32 index

SendAfter(Single, Message)

Declaration
public static void SendAfter(float delay, Message message)
Parameters
Type Name Description
System.Single delay
Message message

Set(GameState, Boolean)

Declaration
public static void Set(GameState newState, bool noLink = false)
Parameters
Type Name Description
GameState newState
System.Boolean noLink

ShouldIgnoreInputs()

Declaration
public static bool ShouldIgnoreInputs()
Returns
Type Description
System.Boolean

ToString()

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

UpdateToConfigAll()

Declaration
public static void UpdateToConfigAll()

Operators

Implicit(DNPFJHMAIBP to GameStates)

Declaration
public static implicit operator GameStates(DNPFJHMAIBP gs)
Parameters
Type Name Description
DNPFJHMAIBP gs
Returns
Type Description
GameStates

Implicit(GameStates to DNPFJHMAIBP)

Declaration
public static implicit operator DNPFJHMAIBP(GameStates gs)
Parameters
Type Name Description
GameStates gs
Returns
Type Description
DNPFJHMAIBP
In This Article
Back to top Generated by DocFX