Photon Plugins API Documentation v5.0RC1

Static Public Attributes | List of all members
Photon.Hive.Plugin.JoinModeConstants Class Reference

Op JoinGame modes. More...

Static Public Attributes

const byte JoinOnly = 0
 Regular join. The room must exist. More...
 
const byte CreateIfNotExists = 1
 Join or create the room if it's not existing. More...
 
const byte RejoinOrJoin = 2
 The room might be removed from server memory and should be loaded (if possible) from a web-service. More...
 
const byte RejoinOnly = 3
 Only re-join will be allowed. If the user is not yet in the room, the Op JoinGame will fail. More...
 
const byte MAX_VALUE = 4
 

Detailed Description

Op JoinGame modes.

Member Data Documentation

◆ CreateIfNotExists

const byte Photon.Hive.Plugin.JoinModeConstants.CreateIfNotExists = 1
static

Join or create the room if it's not existing.

◆ JoinOnly

const byte Photon.Hive.Plugin.JoinModeConstants.JoinOnly = 0
static

Regular join. The room must exist.

◆ MAX_VALUE

const byte Photon.Hive.Plugin.JoinModeConstants.MAX_VALUE = 4
static

◆ RejoinOnly

const byte Photon.Hive.Plugin.JoinModeConstants.RejoinOnly = 3
static

Only re-join will be allowed. If the user is not yet in the room, the Op JoinGame will fail.

◆ RejoinOrJoin

const byte Photon.Hive.Plugin.JoinModeConstants.RejoinOrJoin = 2
static

The room might be removed from server memory and should be loaded (if possible) from a web-service.