コード例 #1
0
 public CharacterJoinData([NotNull] PlayerInformationHeader playerHeader, [NotNull] CharacterInventoryData inventory, [NotNull] LobbyCharacterData data)
     : this()
 {
     PlayerHeader = playerHeader ?? throw new ArgumentNullException(nameof(playerHeader));
     Inventory    = inventory ?? throw new ArgumentNullException(nameof(inventory));
     Data         = data ?? throw new ArgumentNullException(nameof(data));
 }
コード例 #2
0
 public InitializeCharacterDataEventPayload(CharacterInventoryData inventory, LobbyCharacterData characterData, uint options, CharacterBankData bankData, GuildCardEntry guildCard, ushort unk2, CharacterOptionsConfiguration optionsConfig)
     : this()
 {
     Inventory     = inventory ?? throw new ArgumentNullException(nameof(inventory));
     CharacterData = characterData ?? throw new ArgumentNullException(nameof(characterData));
     Options       = options;
     BankData      = bankData ?? throw new ArgumentNullException(nameof(bankData));
     GuildCard     = guildCard ?? throw new ArgumentNullException(nameof(guildCard));
     this.unk2     = unk2;
     OptionsConfig = optionsConfig ?? throw new ArgumentNullException(nameof(optionsConfig));
 }