using System.Collections.Generic; namespace xAPI.Registry { /// /// Provides all extensions of the context seriousGames of type context as public properties. /// public sealed class xAPI_Extensions_Context_SeriousGames : xAPI_Extensions_Context { public xAPI_Extensions_Context_SeriousGames() : base("seriousGames") { } /// /// The identifier for the game in which the event happened. Can be a string or integer. /// URI: https://xapi.elearn.rwth-aachen.de/definitions/seriousGames/extensions/context/game /// public xAPI_Extensions_Context_SeriousGames game(object value) { Add(new xAPI_Extension( context: Context, extensionType: ExtensionType, key: "game", names: new Dictionary { ["en-US"] = "game", ["de-DE"] = "Spiel" }, descriptions: new Dictionary { ["en-US"] = "The identifier for the game in which the event happened. Can be a string or integer.", ["de-DE"] = "Der Identifikator dafür welches Spiel gespielt wird. Kann ein String oder Integer sein." }), value); return this; } /// /// The gamemode in which the game is played. Can be a string or integer. /// URI: https://xapi.elearn.rwth-aachen.de/definitions/seriousGames/extensions/context/gamemode /// public xAPI_Extensions_Context_SeriousGames gamemode(object value) { Add(new xAPI_Extension( context: Context, extensionType: ExtensionType, key: "gamemode", names: new Dictionary { ["en-US"] = "gamemode", ["de-DE"] = "Spielmodus" }, descriptions: new Dictionary { ["en-US"] = "The gamemode in which the game is played. Can be a string or integer.", ["de-DE"] = "Der Spielmodus in welchem das Spiel gespielt wird. Kann ein String oder ein Integer sein." }), value); return this; } /// /// The level in which or for which something happened. Can be an integer or a string. /// URI: https://xapi.elearn.rwth-aachen.de/definitions/seriousGames/extensions/context/level /// public xAPI_Extensions_Context_SeriousGames level(object value) { Add(new xAPI_Extension( context: Context, extensionType: ExtensionType, key: "level", names: new Dictionary { ["en-US"] = "level", ["de-DE"] = "Level" }, descriptions: new Dictionary { ["en-US"] = "The level in which or for which something happened. Can be an integer or a string.", ["de-DE"] = "Das Level in welchem ein Ereignis stattfand. Kann ein String oder Integer sein." }), value); return this; } /// /// The number of players participating at the game. Has to be an integer. /// URI: https://xapi.elearn.rwth-aachen.de/definitions/seriousGames/extensions/context/numberOfPlayers /// public xAPI_Extensions_Context_SeriousGames numberOfPlayers(object value) { Add(new xAPI_Extension( context: Context, extensionType: ExtensionType, key: "numberOfPlayers", names: new Dictionary { ["en-US"] = "number of players", ["de-DE"] = "Spieleranzahl" }, descriptions: new Dictionary { ["en-US"] = "The number of players participating at the game. Has to be an integer.", ["de-DE"] = "Die Anzahl an Spielern welche am Spiel teilnehmen. Muss ein Integer sein." }), value); return this; } } }