Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MemberSinceDto" /> class.
 /// </summary>
 /// <param name="PlayerInfo">PlayerInfo.</param>
 /// <param name="Role">Role.</param>
 /// <param name="Since">Since.</param>
 public MemberSinceDto(PlayerInfoDto PlayerInfo = default(PlayerInfoDto), string Role = default(string), long?Since = default(long?))
 {
     this.PlayerInfo = PlayerInfo;
     this.Role       = Role;
     this.Since      = Since;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PlayerMembershipDto" /> class.
 /// </summary>
 /// <param name="ActiveClubs">ActiveClubs.</param>
 /// <param name="ClubsServerConfig">ClubsServerConfig.</param>
 /// <param name="PendingInvites">PendingInvites.</param>
 /// <param name="Player">Player.</param>
 /// <param name="PlayerClubPreferences">PlayerClubPreferences.</param>
 /// <param name="RemovedClubs">RemovedClubs.</param>
 /// <param name="ResourceUri">ResourceUri.</param>
 /// <param name="RevokedInviteClubs">RevokedInviteClubs.</param>
 /// <param name="SecureClubPresenceInfoString">SecureClubPresenceInfoString.</param>
 public PlayerMembershipDto(List <ClubDto> ActiveClubs = default(List <ClubDto>), ClubsServerConfigDto ClubsServerConfig = default(ClubsServerConfigDto), List <MembershipInviteDto> PendingInvites = default(List <MembershipInviteDto>), PlayerInfoDto Player = default(PlayerInfoDto), PlayerMembershipPreferencesDto PlayerClubPreferences = default(PlayerMembershipPreferencesDto), List <ClubReferenceDto> RemovedClubs = default(List <ClubReferenceDto>), string ResourceUri = default(string), List <ClubReferenceDto> RevokedInviteClubs = default(List <ClubReferenceDto>), string SecureClubPresenceInfoString = default(string))
 {
     this.ActiveClubs                  = ActiveClubs;
     this.ClubsServerConfig            = ClubsServerConfig;
     this.PendingInvites               = PendingInvites;
     this.Player                       = Player;
     this.PlayerClubPreferences        = PlayerClubPreferences;
     this.RemovedClubs                 = RemovedClubs;
     this.ResourceUri                  = ResourceUri;
     this.RevokedInviteClubs           = RevokedInviteClubs;
     this.SecureClubPresenceInfoString = SecureClubPresenceInfoString;
 }