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));
 }
Exemple #2
0
 public CharacterOptionsResponsePayload(CharacterOptionsConfiguration config)
     : this()
 {
     Config = config ?? throw new ArgumentNullException(nameof(config));
 }