Search Results for

    Show / Hide Table of Contents

    Class SteamSelfMessage

    Allow for caching messages to ourselves.

    Inheritance
    System.Object
    SteamSelfMessage
    Namespace: KaijuSolutions.SteamMultiplayerEngine
    Syntax
    public sealed class SteamSelfMessage

    Constructors

    SteamSelfMessage(Byte[], Int32, Boolean)

    Create a local message instance.

    Declaration
    public SteamSelfMessage(byte[] payload, int size = 0, bool reliable = true)
    Parameters
    Type Name Description
    System.Byte[] payload

    The message payload.

    System.Int32 size

    The size of the data to send. Will send the entire array if negative or zero.

    System.Boolean reliable

    If this was received reliably or not.

    Properties

    Payload

    The message payload.

    Declaration
    public byte[] Payload { get; }
    Property Value
    Type Description
    System.Byte[]

    Reliable

    If this was received reliably or not.

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

    Size

    The size of the data to send.

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

    Methods

    Set(Byte[], Int32, Boolean)

    Set new data into the message.

    Declaration
    public void Set(byte[] payload, int size = 0, bool reliable = true)
    Parameters
    Type Name Description
    System.Byte[] payload

    The message payload.

    System.Int32 size

    The size of the data to send. Will send the entire array if negative or zero.

    System.Boolean reliable

    If this was received reliably or not.

    In This Article
    Back to top © 2025 Kaiju Solutions Inc.