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

A wrapper to the game's obfuscated PlayerLobbyState class

Inheritance
System.Object
PlayerLobbyState
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 PlayerLobbyState

Constructors

PlayerLobbyState()

Declaration
public PlayerLobbyState()

PlayerLobbyState(JMLEHJLKPAC)

Declaration
public PlayerLobbyState(JMLEHJLKPAC pls)
Parameters
Type Name Description
JMLEHJLKPAC pls

PlayerLobbyState(Player)

Declaration
public PlayerLobbyState(Player player)
Parameters
Type Name Description
Player player

Properties

character

Declaration
public Character character { get; set; }
Property Value
Type Description
Character

playerNr

Declaration
public int playerNr { get; set; }
Property Value
Type Description
System.Int32

ready

Declaration
public bool ready { get; set; }
Property Value
Type Description
System.Boolean

selected

Declaration
public bool selected { get; set; }
Property Value
Type Description
System.Boolean

spectator

Declaration
public bool spectator { get; set; }
Property Value
Type Description
System.Boolean

team

Declaration
public Team team { get; set; }
Property Value
Type Description
Team

variant

Declaration
public CharacterVariant variant { get; set; }
Property Value
Type Description
CharacterVariant

Methods

CopyTo(Player)

Declaration
public void CopyTo(Player p)
Parameters
Type Name Description
Player p

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()

ReadBytes(BinaryReader)

Declaration
public static PlayerLobbyState ReadBytes(BinaryReader reader)
Parameters
Type Name Description
System.IO.BinaryReader reader
Returns
Type Description
PlayerLobbyState

RegisterPayload(PluginInfo, Func<PlayerLobbyState, Byte[]>, Action<PlayerLobbyState, Byte[]>)

Register a custom packing and unpacking methods that will be called each time a PlayerLobbyState is sent and received

Declaration
public static void RegisterPayload(PluginInfo info, Func<PlayerLobbyState, byte[]> onSendPayload, Action<PlayerLobbyState, byte[]> onReceivePayload)
Parameters
Type Name Description
BepInEx.PluginInfo info

The BepInEx.PluginInfo of the requesting plugin

System.Func<PlayerLobbyState, System.Byte[]> onSendPayload

The method to call when packing data to send a PlayerLobbyState

System.Action<PlayerLobbyState, System.Byte[]> onReceivePayload

The method to call when unpacking data from a PlayerLobbyState

ToString()

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

UnregisterPayload(PluginInfo)

Removes the PlayerLobbyState payload associated with a plugin

Declaration
public static void UnregisterPayload(PluginInfo info)
Parameters
Type Name Description
BepInEx.PluginInfo info

The BepInEx.PluginInfo of the requesting plugin

WriteBytes(BinaryWriter)

Declaration
public void WriteBytes(BinaryWriter writer)
Parameters
Type Name Description
System.IO.BinaryWriter writer

Operators

Implicit(JMLEHJLKPAC to PlayerLobbyState)

Declaration
public static implicit operator PlayerLobbyState(JMLEHJLKPAC pls)
Parameters
Type Name Description
JMLEHJLKPAC pls
Returns
Type Description
PlayerLobbyState

Implicit(PlayerLobbyState to JMLEHJLKPAC)

Declaration
public static implicit operator JMLEHJLKPAC(PlayerLobbyState pls)
Parameters
Type Name Description
PlayerLobbyState pls
Returns
Type Description
JMLEHJLKPAC
In This Article
Back to top Generated by DocFX