Table of Contents

Class SessionAttribute

Class represents a single Session attribute.

TODO: When used for Search, this structure only supports Equality options. This should be changed to use all comparisons available in https://dev.epicgames.com/docs/game-services/lobbies-and-sessions/sessions#configuring-for-attribute-data

public class SessionAttribute
Inheritance
SessionAttribute
Inherited Members

Fields

Advertisement

public SessionAttributeAdvertisementType Advertisement

Field Value

SessionAttributeAdvertisementType

AsBool

public bool? AsBool

Field Value

bool?

AsDouble

public double? AsDouble

Field Value

double?

AsInt64

public long? AsInt64

Field Value

long?

AsString

public string AsString

Field Value

string

Key

public string Key

Field Value

string

ValueType

public AttributeType ValueType

Field Value

AttributeType

Properties

AsAttribute

public AttributeData AsAttribute { get; }

Property Value

AttributeData

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.