Empeld
Empeld plugin documentation.
pluginbase.Objects.Game.UserControllerBase Class Referenceabstract
Inheritance diagram for pluginbase.Objects.Game.UserControllerBase:
pluginbase.Objects.Game.IUserController essentials.Subsystems.SimpleUserController< T >

Public Member Functions

 UserControllerBase (IEntityManager entityManager, IUserManager userManager)
 
abstract IPlayableEntity CreateEntityFor (IUser user)
 Creates the entity for a user More...
 
virtual void UnloadEntityFor (IUser user, IPlayableEntity entity)
 

Protected Attributes

readonly IEntityManager EntityManager
 
readonly IUserManager UserManager
 

Constructor & Destructor Documentation

◆ UserControllerBase()

pluginbase.Objects.Game.UserControllerBase.UserControllerBase ( IEntityManager  entityManager,
IUserManager  userManager 
)
14  {
15  EntityManager = entityManager;
16  UserManager = userManager;
17  }
readonly IEntityManager EntityManager
Definition: UserControllerBase.cs:9
readonly IUserManager UserManager
Definition: UserControllerBase.cs:11

Member Function Documentation

◆ CreateEntityFor()

abstract IPlayableEntity pluginbase.Objects.Game.UserControllerBase.CreateEntityFor ( IUser  user)
pure virtual

Creates the entity for a user

Returns
The entity for.
Parameters
userUser.

Implements pluginbase.Objects.Game.IUserController.

Implemented in essentials.Subsystems.SimpleUserController< T >.

◆ UnloadEntityFor()

virtual void pluginbase.Objects.Game.UserControllerBase.UnloadEntityFor ( IUser  user,
IPlayableEntity  entity 
)
virtual

Member Data Documentation

◆ EntityManager

readonly IEntityManager pluginbase.Objects.Game.UserControllerBase.EntityManager
protected

◆ UserManager

readonly IUserManager pluginbase.Objects.Game.UserControllerBase.UserManager
protected

The documentation for this class was generated from the following file: