Table of Contents

WithCreatedAt

Methods
public LobbyFilter WithCreatedAt(FilterOperator op, DateTimeOffset at, DateTimeOffset? until = null)

Filters lobbies by their creation time.

Parameters
Type Name Description
FilterOperator op

One of LessThan, LessOrEqualThan, GreaterThan, GreaterOrEqualThan or Between. Exact-match operators aren't supported: createdAt is stored with sub-second precision server-side while CreatedAt only reports whole seconds, so an exact match can never reliably name the lobby it came from.

DateTimeOffset at

The point in time to compare against, or the (inclusive) start of the range when op is Between.

DateTimeOffset? until

The (inclusive) end of the range, when op is Between. Must be left null for every other operator.

Returns
Type Description
LobbyFilter