Class GameData

Entity client wrapper for the BigScreen that provides functions to access game data.

Inheritance

System.Object
GameData

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

TypeNameDescription
S6Environmentenv
System.Stringlicense
UserManageruserManager

Properties

Client

Declaration

public EntityClient Client { get; }

Property Value

TypeDescription
EntityClient

Methods

GetGameEntities()

Get all entities for a game.

Declaration

public async Task<List<EntityDef>> GetGameEntities()

Returns

TypeDescription
System.Threading.Tasks.Task<List<EntityDef>>

Exceptions

TypeCondition
GetGameEntityException

Fail to get game entities.

GetGameEntity(String)

Get a single game entity.

Declaration

public async Task<EntityDef> GetGameEntity(string enityName)

Parameters

TypeNameDescription
System.StringenityName

Returns

TypeDescription
System.Threading.Tasks.Task<EntityDef>

Exceptions

TypeCondition
GetGameEntityException

Fail to get game entity.