Photon Server API
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

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.
Photon.Hive.Events.LeaveEvent.LeaveEvent ( int  actorNr,
bool  isInactive 
)
inline

Property Documentation

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

Gets or sets the actors.

The actors.

bool Photon.Hive.Events.LeaveEvent.IsInactive
getset
int Photon.Hive.Events.LeaveEvent.MasterClientId
getset