Photon Server API

Public Member Functions | List of all members
Photon.Hive.Tests.TestActor Class Reference
Inheritance diagram for Photon.Hive.Tests.TestActor:
Photon.Hive.Actor

Public Member Functions

 TestActor (int actorNr, string UserId)
 
- Public Member Functions inherited from Photon.Hive.Actor
 Actor (HivePeer peer)
 Initializes a new instance of the Actor class. More...
 
 Actor (int actorNr, string userId)
 
void Deactivate ()
 
void Reactivate (HivePeer peer)
 
void AddGroup (ActorGroup group)
 
void RemoveGroups (byte[] groupIds)
 
override string ToString ()
 
SerializableActor Serialize (bool withDebugInfo)
 

Additional Inherited Members

- Static Public Member Functions inherited from Photon.Hive.Actor
static Actor Deserialize (SerializableActor a)
 
- Static Public Attributes inherited from Photon.Hive.Actor
const byte BinrayPropertiesId = 1
 
static readonly string ActorNrKey = HiveHostActorState.ActorNr.ToString()
 
static readonly string UserIdKey = HiveHostActorState.UserId.ToString()
 
static readonly string BinaryKey = HiveHostActorState.Binary.ToString()
 
static readonly string NicknameKey = HiveHostActorState.Nickname.ToString()
 
- Protected Member Functions inherited from Photon.Hive.Actor
 Actor (int actorNr, string userId, IDictionary properties, DateTime? deactivationTime)
 
- Properties inherited from Photon.Hive.Actor
int ActorNr [get, set]
 Gets or sets the actor nr. More...
 
IDisposable CleanUpTimer [get, set]
 Reference to timer which will clean Actor after disconnect More...
 
DateTime? DeactivationTime [get, set]
 Time stamp when actor was deactivated More...
 
HivePeer Peer [get, set]
 Gets or sets the peer. More...
 
bool IsInactive [get]
 
bool IsActive [get]
 
PropertyBag< object > Properties [get]
 Gets the actors custom properties. More...
 
string UserId [get]
 
string Nickname [get]
 
object Secure [get]
 
object this[object key] [get, set]
 

Constructor & Destructor Documentation

◆ TestActor()

Photon.Hive.Tests.TestActor.TestActor ( int  actorNr,
string  UserId 
)
inline