Class GameProperty
(experimental) A set of custom properties for a game session, formatted as key-value pairs.
Inheritance
System.Object
GameProperty
Implements
Namespace: Amazon.CDK.AWS.GameLift.Alpha
Assembly: Amazon.CDK.AWS.GameLift.Alpha.dll
Syntax (csharp)
public class GameProperty : Object, IGameProperty
Syntax (vb)
Public Class GameProperty
Inherits Object
Implements IGameProperty
Remarks
These properties are passed to a game server process with a request to start a new game session.
This parameter is not used for Standalone FlexMatch mode.
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift.Alpha;
var gameProperty = new GameProperty {
Key = "key",
Value = "value"
};
Synopsis
Constructors
GameProperty() |
Properties
Key | (experimental) The game property identifier. |
Value | (experimental) The game property value. |
Constructors
GameProperty()
public GameProperty()
Properties
Key
(experimental) The game property identifier.
public string Key { get; set; }
Property Value
System.String
Remarks
Stability: Experimental
Value
(experimental) The game property value.
public string Value { get; set; }
Property Value
System.String
Remarks
Stability: Experimental