Photon Server API Documentation v5.0RC1

Namespaces | Classes | Typedefs | Enumerations
Photon.Hive Namespace Reference

Namespaces

namespace  Caching
 
namespace  Collections
 
namespace  Common
 
namespace  Configuration
 
namespace  Diagnostics
 
namespace  Events
 
namespace  Messages
 
namespace  Operations
 
namespace  Plugin
 
namespace  Serialization
 
namespace  WebRpc
 

Classes

class  Actor
 An actor is the glue between HivePeer and Room. In addition to the peer it has a number and Properties. More...
 
class  ActorExtension
 
class  ActorGroup
 
struct  GameCreateOptions
 
class  GameState
 
class  HiveApplication
 Main photon application. This application is started from the photon server. This class creates HivePeers for new clients. Operation dispatch logic is handled by the HivePeer. More...
 
class  HiveGame
 A Room that supports the following requests:

  • JoinGameRequest
  • RaiseEventRequest
  • SetPropertiesRequest
  • GetPropertiesRequest
  • LeaveRequest
More...
 
class  HiveHostGame
 
class  HivePeer
 Inheritance class of PeerBase.
The LitePeer dispatches incoming OperationRequests at OnOperationRequest. When joining a Room a Caching.RoomReference is stored in the RoomReference property. An IFiber guarantees that all outgoing messages (events/operations) are sent one after the other. More...
 
interface  IGameStateFactory
 
class  Room
 A room has Actors, can have properties, and provides an ExecutionFiber with a few wrapper methods to solve otherwise complicated threading issues: All actions enqueued to the ExecutionFiber are executed in a serial order. Operations of all Actors in a room are handled via ExecutionFiber. More...
 

Typedefs

using SendParameters = Photon.SocketServer.SendParameters
 
using DeliveryMode = Photon.SocketServer.DeliveryMode
 

Enumerations

enum  HiveHostGameState {
  HiveHostGameState.ActorCounter, HiveHostGameState.ActorList, HiveHostGameState.Binary, HiveHostGameState.CheckUserOnJoin,
  HiveHostGameState.CustomProperties, HiveHostGameState.DeleteCacheOnLeave, HiveHostGameState.EmptyRoomTTL, HiveHostGameState.IsOpen,
  HiveHostGameState.IsVisible, HiveHostGameState.LobbyId, HiveHostGameState.LobbyType, HiveHostGameState.LobbyProperties,
  HiveHostGameState.MaxPlayers, HiveHostGameState.PlayerTTL, HiveHostGameState.SuppressRoomEvents, HiveHostGameState.Slice,
  HiveHostGameState.ExcludedActors, HiveHostGameState.ExpectedUsers, HiveHostGameState.PublishUserId
}
 
enum  HiveHostActorState { HiveHostActorState.ActorNr, HiveHostActorState.Binary, HiveHostActorState.UserId, HiveHostActorState.Nickname }
 

Typedef Documentation

◆ DeliveryMode

◆ SendParameters

typedef Photon SocketServer SendParameters Photon.Hive.SendParameters

Enumeration Type Documentation

◆ HiveHostActorState

Enumerator
ActorNr 
Binary 
UserId 
Nickname 

◆ HiveHostGameState

Enumerator
ActorCounter 
ActorList 
Binary 
CheckUserOnJoin 
CustomProperties 
DeleteCacheOnLeave 
EmptyRoomTTL 
IsOpen 
IsVisible 
LobbyId 
LobbyType 
LobbyProperties 
MaxPlayers 
PlayerTTL 
SuppressRoomEvents 
Slice 
ExcludedActors 
ExpectedUsers 
PublishUserId