/// <inheritdoc />
 public CharacterScreenCharacter_Vanilla([NotNull] CharacterScreenData data, bool isFirstLogin, [NotNull] CharacterScreenPetInfo petInformation, [NotNull] CharacterScreenItem_Vanilla[] visualEquipmentItems)
 {
     Data = data ?? throw new ArgumentNullException(nameof(data));
     this.isFirstLogin     = isFirstLogin;
     PetInformation        = petInformation ?? throw new ArgumentNullException(nameof(petInformation));
     _VisualEquipmentItems = visualEquipmentItems ?? throw new ArgumentNullException(nameof(visualEquipmentItems));
 }
Esempio n. 2
0
 /// <inheritdoc />
 public CharacterScreenCharacter([NotNull] CharacterScreenData data, uint selectionFlags, bool isFirstLogin, [NotNull] CharacterScreenPetInfo petInformation, [NotNull] CharacterScreenItem[] visualEquipmentItems, [NotNull] CharacterScreenBag[] bags)
 {
     Data                  = data ?? throw new ArgumentNullException(nameof(data));
     SelectionFlags        = selectionFlags;
     this.isFirstLogin     = isFirstLogin;
     PetInformation        = petInformation ?? throw new ArgumentNullException(nameof(petInformation));
     _VisualEquipmentItems = visualEquipmentItems ?? throw new ArgumentNullException(nameof(visualEquipmentItems));
     _Bags                 = bags ?? throw new ArgumentNullException(nameof(bags));
 }