Photon Server API Documentation v5.0RC1

Public Member Functions | Properties | List of all members
Photon.Hive.Events.LeaveEvent Class Reference

This class implements the Leave event. More...

Inheritance diagram for Photon.Hive.Events.LeaveEvent:
Photon.Hive.Events.HiveEventBase

Public Member Functions

 LeaveEvent (int actorNr, int[] actors)
 Initializes a new instance of the LeaveEvent class. More...
 
 LeaveEvent (int actorNr, bool isInactive)
 

Properties

int[] Actors [get, set]
 Gets or sets the actors. More...
 
bool? IsInactive [get, set]
 
int? MasterClientId [get, set]
 
- Properties inherited from Photon.Hive.Events.HiveEventBase
int ActorNr [get, set]
 Gets or sets the actor number of the sender. More...
 
byte Code [get, set]
 Gets or sets the event code. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Photon.Hive.Events.HiveEventBase
 HiveEventBase (int actorNr)
 Initializes a new instance of the HiveEventBase class. More...
 

Detailed Description

This class implements the Leave event.

Constructor & Destructor Documentation

◆ LeaveEvent() [1/2]

Photon.Hive.Events.LeaveEvent.LeaveEvent ( int  actorNr,
int[]  actors 
)
inline

Initializes a new instance of the LeaveEvent class.

Parameters
actorNrThe sender actor nr.
actorsThe actors in the game.

◆ LeaveEvent() [2/2]

Photon.Hive.Events.LeaveEvent.LeaveEvent ( int  actorNr,
bool  isInactive 
)
inline

Property Documentation

◆ Actors

int [] Photon.Hive.Events.LeaveEvent.Actors
getset

Gets or sets the actors.

The actors.

◆ IsInactive

bool? Photon.Hive.Events.LeaveEvent.IsInactive
getset

◆ MasterClientId

int? Photon.Hive.Events.LeaveEvent.MasterClientId
getset