DesiredPlayerSession

public struct DesiredPlayerSession : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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 to associate with the player session.

    Declaration

    Swift

    public let playerId: String?
  • Undocumented

    Declaration

    Swift

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

    Swift

    public func validate(name: String) throws