CreatePlayerSessionInput

public struct CreatePlayerSessionInput : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • A unique identifier for the game session to add a player to.

    Declaration

    Swift

    public let gameSessionId: String
  • Developer-defined information related to a player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game.

    Declaration

    Swift

    public let playerData: String?
  • A unique identifier for a player. Player IDs are developer-defined.

    Declaration

    Swift

    public let playerId: String
  • Undocumented

    Declaration

    Swift

    public init(gameSessionId: String, playerData: String? = nil, playerId: String)
  • Declaration

    Swift

    public func validate(name: String) throws