Class GameData
Entity client wrapper for the BigScreen that provides functions to access game data.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: STREAMSIX.BigScreen
Assembly: cs.temp.dll.dll
Syntax
public class GameData
Constructors
GameData(S6Environment, String, UserManager)
Declaration
public GameData(S6Environment env, string license, UserManager userManager)
Parameters
| Type | Name | Description |
|---|---|---|
| S6Environment | env | |
| System.String | license | |
| UserManager | userManager |
Properties
Client
Declaration
public EntityClient Client { get; }
Property Value
| Type | Description |
|---|---|
| EntityClient |
Methods
GetGameEntities()
Get all entities for a game.
Declaration
public async Task<List<EntityDef>> GetGameEntities()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<List<EntityDef>> |
Exceptions
| Type | Condition |
|---|---|
| GetGameEntityException | Fail to get game entities. |
GetGameEntity(String)
Get a single game entity.
Declaration
public async Task<EntityDef> GetGameEntity(string enityName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | enityName |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<EntityDef> |
Exceptions
| Type | Condition |
|---|---|
| GetGameEntityException | Fail to get game entity. |