Package org.vrspace.server.api
Class Worlds.CreateWorldOptions
java.lang.Object
org.vrspace.server.api.Worlds.CreateWorldOptions
- Enclosing class:
- Worlds
World options
-
Constructor Summary
ConstructorsConstructorDescriptionCreateWorldOptions
(@NonNull String worldName, String templateName, String token, boolean publicWorld, boolean temporaryWorld) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Optional world template to usegetToken()
Optional UUID used as world token, required to enter private worlds, defaults to a random UUID@NonNull String
World name of created world, must be unique, requiredint
hashCode()
boolean
Optional flag to create public or private world, default falseboolean
optional flag to create a temporary world, default truevoid
setPublicWorld
(boolean publicWorld) Optional flag to create public or private world, default falsevoid
setTemplateName
(String templateName) Optional world template to usevoid
setTemporaryWorld
(boolean temporaryWorld) optional flag to create a temporary world, default truevoid
Optional UUID used as world token, required to enter private worlds, defaults to a random UUIDvoid
setWorldName
(@NonNull String worldName) World name of created world, must be unique, requiredtoString()
-
Constructor Details
-
CreateWorldOptions
public CreateWorldOptions() -
CreateWorldOptions
-
-
Method Details
-
getWorldName
World name of created world, must be unique, required -
getTemplateName
Optional world template to use -
getToken
Optional UUID used as world token, required to enter private worlds, defaults to a random UUID -
isPublicWorld
public boolean isPublicWorld()Optional flag to create public or private world, default false -
isTemporaryWorld
public boolean isTemporaryWorld()optional flag to create a temporary world, default true -
setWorldName
World name of created world, must be unique, required -
setTemplateName
Optional world template to use -
setToken
Optional UUID used as world token, required to enter private worlds, defaults to a random UUID -
setPublicWorld
public void setPublicWorld(boolean publicWorld) Optional flag to create public or private world, default false -
setTemporaryWorld
public void setTemporaryWorld(boolean temporaryWorld) optional flag to create a temporary world, default true -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-