Class LobbyGroup.Builder
- java.lang.Object
-
- com.rivet.api.resources.cloud.version.matchmaker.lobbygroup.types.LobbyGroup.Builder
-
- All Implemented Interfaces:
LobbyGroup._FinalStage,LobbyGroup.MaxPlayersDirectStage,LobbyGroup.MaxPlayersNormalStage,LobbyGroup.MaxPlayersPartyStage,LobbyGroup.NameIdStage,LobbyGroup.RuntimeStage
- Enclosing class:
- LobbyGroup
public static final class LobbyGroup.Builder extends java.lang.Object implements LobbyGroup.NameIdStage, LobbyGroup.MaxPlayersNormalStage, LobbyGroup.MaxPlayersDirectStage, LobbyGroup.MaxPlayersPartyStage, LobbyGroup.RuntimeStage, LobbyGroup._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LobbyGroup._FinalStageaddAllRegions(java.util.List<LobbyGroupRegion> regions)A list of game mode regions.LobbyGroup._FinalStageaddRegions(LobbyGroupRegion regions)A list of game mode regions.LobbyGroupbuild()LobbyGroup.Builderfrom(LobbyGroup other)LobbyGroup.MaxPlayersPartyStagemaxPlayersDirect(int maxPlayersDirect)Unsigned 32 bit integer.LobbyGroup.MaxPlayersDirectStagemaxPlayersNormal(int maxPlayersNormal)Unsigned 32 bit integer.LobbyGroup.RuntimeStagemaxPlayersParty(int maxPlayersParty)Unsigned 32 bit integer.LobbyGroup.MaxPlayersNormalStagenameId(java.lang.String nameId)Deprecated: use GameMode instead A human readable short identifier used to references resources.LobbyGroup._FinalStageregions(java.util.List<LobbyGroupRegion> regions)LobbyGroup._FinalStageruntime(LobbyGroupRuntime runtime)
-
-
-
Method Detail
-
from
public LobbyGroup.Builder from(LobbyGroup other)
- Specified by:
fromin interfaceLobbyGroup.NameIdStage
-
nameId
public LobbyGroup.MaxPlayersNormalStage nameId(java.lang.String nameId)
Deprecated: use GameMode instead A human readable short identifier used to references resources. Different than a
rivet.common#Uuidbecause this is intended to be human readable. Different thanrivet.common#DisplayNamebecause this should not include special characters and be short.- Specified by:
nameIdin interfaceLobbyGroup.NameIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
maxPlayersNormal
public LobbyGroup.MaxPlayersDirectStage maxPlayersNormal(int maxPlayersNormal)
Unsigned 32 bit integer.
- Specified by:
maxPlayersNormalin interfaceLobbyGroup.MaxPlayersNormalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
maxPlayersDirect
public LobbyGroup.MaxPlayersPartyStage maxPlayersDirect(int maxPlayersDirect)
Unsigned 32 bit integer.
- Specified by:
maxPlayersDirectin interfaceLobbyGroup.MaxPlayersDirectStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
maxPlayersParty
public LobbyGroup.RuntimeStage maxPlayersParty(int maxPlayersParty)
Unsigned 32 bit integer.
- Specified by:
maxPlayersPartyin interfaceLobbyGroup.MaxPlayersPartyStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
runtime
public LobbyGroup._FinalStage runtime(LobbyGroupRuntime runtime)
- Specified by:
runtimein interfaceLobbyGroup.RuntimeStage
-
addAllRegions
public LobbyGroup._FinalStage addAllRegions(java.util.List<LobbyGroupRegion> regions)
A list of game mode regions.
- Specified by:
addAllRegionsin interfaceLobbyGroup._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addRegions
public LobbyGroup._FinalStage addRegions(LobbyGroupRegion regions)
A list of game mode regions.
- Specified by:
addRegionsin interfaceLobbyGroup._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
regions
public LobbyGroup._FinalStage regions(java.util.List<LobbyGroupRegion> regions)
- Specified by:
regionsin interfaceLobbyGroup._FinalStage
-
build
public LobbyGroup build()
- Specified by:
buildin interfaceLobbyGroup._FinalStage
-
-