removeListValue

open suspend override fun removeListValue(name: String, value: String)(source)

Removes the supplied value from the list with the supplied name. If no list with this name exists or the specified entry does not exist, an appropriate exception will be thrown.

The Counts and Lists API will eventually supersede the specific player tracking APIs of the AgonesSdk, as these cover a broader use-case and offer similar interfaces for tracking. Therefore, this method should be preferred.

Parameters

name

The unique identifier of this instance's list for which the existing entry should be removed.

value

The existing value that should be removed from the specified list.

See also

Throws

If null is supplied as the list identifier and therefore no list can be derived from it or if the value is null.