Search Results for

    Show / Hide Table of Contents

    Class SteamNearData

    Store a search data entry for number data that should be near to a target value.

    Inheritance
    System.Object
    SteamData<System.Int32>
    SteamNearData
    Inherited Members
    SteamData<Int32>.Key
    SteamData<Int32>.Value
    SteamData<Int32>.sortingOrder
    SteamData<Int32>.Search()
    SteamData<Int32>.Ordering(UInt64)
    SteamData<Int32>.OrderingCheck()
    Namespace: KaijuSolutions.SteamMultiplayerEngine
    Syntax
    public sealed class SteamNearData : SteamData<int>

    Constructors

    SteamNearData(String, Int32, Int32)

    Create the data.

    Declaration
    public SteamNearData(string key = "", int value = 0, int order = 0)
    Parameters
    Type Name Description
    System.String key

    The key.

    System.Int32 value

    The value.

    System.Int32 order

    The sorting order.

    Methods

    OrderingInternal(String)

    Implement the actual ordering method.

    Declaration
    protected override int OrderingInternal(string current)
    Parameters
    Type Name Description
    System.String current

    The value in the lobby's metadata.

    Returns
    Type Description
    System.Int32
    Overrides
    KaijuSolutions.SteamMultiplayerEngine.SteamData<System.Int32>.OrderingInternal(System.String)

    SearchInternal()

    Implement the actual search method.

    Declaration
    protected override void SearchInternal()
    Overrides
    KaijuSolutions.SteamMultiplayerEngine.SteamData<System.Int32>.SearchInternal()

    Set()

    Add lobby data if we are the owner.

    Declaration
    public override bool Set()
    Returns
    Type Description
    System.Boolean

    If the data was successfully set.

    Overrides
    KaijuSolutions.SteamMultiplayerEngine.SteamData<System.Int32>.Set()
    In This Article
    Back to top © 2025 Kaiju Solutions Inc.