public MenuListing(MenuItemIdentifier selection, ushort flags, string itemName) : this() { Selection = selection ?? throw new ArgumentNullException(nameof(selection)); Flags = flags; ItemName = itemName ?? throw new ArgumentNullException(nameof(itemName)); }
/// <inheritdoc /> public SharedMenuSelectionRequestPayload([NotNull] MenuItemIdentifier selection) : this() { if (selection == null) { throw new ArgumentNullException(nameof(selection)); } Selection = selection; }
public GameListEntry([NotNull] MenuItemIdentifier listing, DifficultyType difficulty, byte playerCount, [NotNull] string name, EpisodeType episode, byte flags) : this() { Listing = listing ?? throw new ArgumentNullException(nameof(listing)); Difficulty = difficulty; PlayerCount = playerCount; Name = name ?? throw new ArgumentNullException(nameof(name)); Episode = episode; this.flags = flags; }
/// <inheritdoc /> public BlockLobbyChangeRequestPayload([NotNull] MenuItemIdentifier selection) : this() { Selection = selection ?? throw new ArgumentNullException(nameof(selection)); }