Builder
A Builder represents a mutable builder instance for the chained creation of TicketTemplate instances. An instance of this builder can be obtained using the TicketTemplate.newBuilder method, and it can optionally be initialized with default values using the overloaded function. The builder can then be used to create any number of TicketTemplate instances, and even after creating a TicketTemplate, further modifications can be made that will only affect new TicketTemplate instances.
Functions
Sets a specific key for the double arguments in the searchFields of the builder to a specific value. Those fields are indexed and can be used for filtering within Open Match. The already set double fields can be overwritten by specifying an existing key. The key is case-sensitive, which allows for multiple keys with the same name, but different casing.
Sets a specific key for the extensions of the builder to a specific value. Those fields are not indexed and cannot be used for filtering within Open Match. However, they are available for the matchmaking process and can be used for assembling matches. The already set extensions can be overwritten by specifying an existing key. The key is case-sensitive, which allows for multiple keys with the same name, but different casing.
Sets a specific key for the string arguments in the searchFields of the builder to a specific value. Those fields are indexed and can be used for filtering within Open Match. The already set string fields can be overwritten by specifying an existing key. The key is case-sensitive, which allows for multiple keys with the same name, but different casing.
Creates a new immutable TicketTemplate with the properties configured in this builder. Later changes to this builder will no longer affect the returned instance. Multiple independent instances can be constructed using this method without invalidating this builder.