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

Inheritance
System.Object
Transaction
Implements
System.Collections.IEnumerable
IByteable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LLBML.Networking
Assembly: LLBModdingLib.dll
Syntax
public class Transaction : IEnumerable, IByteable

Constructors

Transaction(UInt16, CSteamID, CSteamID, Byte[], Int32, UInt32, TransactionState)

Declaration
public Transaction(ushort index, CSteamID sender, CSteamID receiver, byte[] data, int channel = 0, uint fragmentSize = 1048569U, TransactionState state = TransactionState.Sending)
Parameters
Type Name Description
System.UInt16 index
Steamworks.CSteamID sender
Steamworks.CSteamID receiver
System.Byte[] data
System.Int32 channel
System.UInt32 fragmentSize
TransactionState state

Transaction(UInt16, CSteamID, CSteamID, UInt32, Int32, UInt32)

Declaration
public Transaction(ushort index, CSteamID sender, CSteamID receiver, uint nbFragments, int channel, uint fragmentSize)
Parameters
Type Name Description
System.UInt16 index
Steamworks.CSteamID sender
Steamworks.CSteamID receiver
System.UInt32 nbFragments
System.Int32 channel
System.UInt32 fragmentSize

Properties

id

Declaration
public string id { get; }
Property Value
Type Description
System.String

Methods

AddFragment(UInt32, Byte[])

Declaration
public void AddFragment(uint fragmentId, byte[] fragment)
Parameters
Type Name Description
System.UInt32 fragmentId
System.Byte[] fragment

Create(Envelope)

Declaration
public static Transaction Create(Envelope envelope)
Parameters
Type Name Description
Multiplayer.Envelope envelope
Returns
Type Description
Transaction

Create(CSteamID, Byte[], Int32)

Declaration
public static Transaction Create(CSteamID destination, byte[] data, int channel = 0)
Parameters
Type Name Description
Steamworks.CSteamID destination
System.Byte[] data
System.Int32 channel
Returns
Type Description
Transaction

FromBytes(Byte[])

Declaration
public static Transaction FromBytes(byte[] data)
Parameters
Type Name Description
System.Byte[] data
Returns
Type Description
Transaction

GetEnumerator()

Declaration
public IEnumerator GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

GetFragment(UInt32)

Declaration
public byte[] GetFragment(uint fragmentId)
Parameters
Type Name Description
System.UInt32 fragmentId
Returns
Type Description
System.Byte[]

GetID(CSteamID, CSteamID, Int32)

Declaration
public static string GetID(CSteamID sender, CSteamID receiver, int index)
Parameters
Type Name Description
Steamworks.CSteamID sender
Steamworks.CSteamID receiver
System.Int32 index
Returns
Type Description
System.String

GetMissingFragments()

Declaration
public List<int> GetMissingFragments()
Returns
Type Description
System.Collections.Generic.List<System.Int32>

ToBytes()

Declaration
public byte[] ToBytes()
Returns
Type Description
System.Byte[]

Implements

System.Collections.IEnumerable
IByteable
In This Article
Back to top Generated by DocFX