Class SessionAttribute
- Namespace
- PlayEveryWare.EpicOnlineServices.Samples
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
AsInt64
public long? AsInt64
Field Value
- long?
AsString
public string AsString
Field Value
Key
public string Key
Field Value
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
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.