Struct ChangedOrRemovedLobbyValue<T>
Contains whether or not a particular change or removal has occurred. If a change has occurred, also provides the value of the change.
Inherited Members
Namespace: Unity.Services.Lobbies
Assembly: solution.dll
Syntax
public struct ChangedOrRemovedLobbyValue<T>
Type Parameters
Name | Description |
---|---|
T | The type of the value of the change. |
Constructors
Name | Description |
---|---|
ChangedOrRemovedLobbyValue(T, LobbyValueChangeType) | Creates a changed or removed value. |
Fields
Name | Description |
---|---|
RemoveThisValue | A helper for providing a removal of the value without having to call a constructor. |
Properties
Name | Description |
---|---|
Added | True if the value was newly added, false otherwise. Removed and Added properties are mutually exclusive. |
ChangeType | Whether this is a change, a removal, or an addition. |
Changed | True if a change has occurred, false if there has been no change. Removed and Changed properties are mutually exclusive. |
Removed | True if the value has been removed, false if it hasn't been removed. Removed properties are mutually exclusive with Changed and Added properties. |
Value | The new value provided by the change. |