diff --git a/Lib9c.GraphQL/Types/AttachmentActionResults/Buy7BuyerResultType.cs b/Lib9c.GraphQL/Types/AttachmentActionResults/Buy7BuyerResultType.cs new file mode 100644 index 00000000..8622d6a9 --- /dev/null +++ b/Lib9c.GraphQL/Types/AttachmentActionResults/Buy7BuyerResultType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.AttachmentActionResults; + +namespace Lib9c.GraphQL.Types.AttachmentActionResults; + +public class Buy7BuyerResultType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/AttachmentActionResults/Buy7SellerResultType.cs b/Lib9c.GraphQL/Types/AttachmentActionResults/Buy7SellerResultType.cs new file mode 100644 index 00000000..596cab72 --- /dev/null +++ b/Lib9c.GraphQL/Types/AttachmentActionResults/Buy7SellerResultType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.AttachmentActionResults; + +namespace Lib9c.GraphQL.Types.AttachmentActionResults; + +public class Buy7SellerResultType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/AttachmentActionResults/CombinationConsumable5ResultType.cs b/Lib9c.GraphQL/Types/AttachmentActionResults/CombinationConsumable5ResultType.cs index 54dc2fed..766db00f 100644 --- a/Lib9c.GraphQL/Types/AttachmentActionResults/CombinationConsumable5ResultType.cs +++ b/Lib9c.GraphQL/Types/AttachmentActionResults/CombinationConsumable5ResultType.cs @@ -8,9 +8,5 @@ public class CombinationConsumable5ResultType : ObjectType descriptor) { descriptor.Implements(); - descriptor - .Field(f => f.Gold) - .Type() - .Resolve(r => r.Parent().Gold.ToString()); } } diff --git a/Lib9c.GraphQL/Types/AttachmentActionResults/DailyReward2ResultType.cs b/Lib9c.GraphQL/Types/AttachmentActionResults/DailyReward2ResultType.cs new file mode 100644 index 00000000..b0bff4d3 --- /dev/null +++ b/Lib9c.GraphQL/Types/AttachmentActionResults/DailyReward2ResultType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.AttachmentActionResults; + +namespace Lib9c.GraphQL.Types.AttachmentActionResults; + +public class DailyReward2ResultType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement11ResultType.cs b/Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement11ResultType.cs new file mode 100644 index 00000000..ef3e5a90 --- /dev/null +++ b/Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement11ResultType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.AttachmentActionResults; + +namespace Lib9c.GraphQL.Types.AttachmentActionResults; + +public class ItemEnhancement11ResultType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement12ResultType.cs b/Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement12ResultType.cs new file mode 100644 index 00000000..5d5e1670 --- /dev/null +++ b/Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement12ResultType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.AttachmentActionResults; + +namespace Lib9c.GraphQL.Types.AttachmentActionResults; + +public class ItemEnhancement12ResultType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement13ResultType.cs b/Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement13ResultType.cs new file mode 100644 index 00000000..d00bcb10 --- /dev/null +++ b/Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement13ResultType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.AttachmentActionResults; + +namespace Lib9c.GraphQL.Types.AttachmentActionResults; + +public class ItemEnhancement13ResultType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement7ResultType.cs b/Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement7ResultType.cs new file mode 100644 index 00000000..63bfc574 --- /dev/null +++ b/Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement7ResultType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.AttachmentActionResults; + +namespace Lib9c.GraphQL.Types.AttachmentActionResults; + +public class ItemEnhancement7ResultType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement9ResultType.cs b/Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement9ResultType.cs new file mode 100644 index 00000000..f26354a0 --- /dev/null +++ b/Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement9ResultType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.AttachmentActionResults; + +namespace Lib9c.GraphQL.Types.AttachmentActionResults; + +public class ItemEnhancement9ResultType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/AttachmentActionResults/MonsterCollectionResultType.cs b/Lib9c.GraphQL/Types/AttachmentActionResults/MonsterCollectionResultType.cs new file mode 100644 index 00000000..04cb5cd9 --- /dev/null +++ b/Lib9c.GraphQL/Types/AttachmentActionResults/MonsterCollectionResultType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.AttachmentActionResults; + +namespace Lib9c.GraphQL.Types.AttachmentActionResults; + +public class MonsterCollectionResultType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/AttachmentActionResults/RapidCombination0ResultType.cs b/Lib9c.GraphQL/Types/AttachmentActionResults/RapidCombination0ResultType.cs new file mode 100644 index 00000000..058a31bb --- /dev/null +++ b/Lib9c.GraphQL/Types/AttachmentActionResults/RapidCombination0ResultType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.AttachmentActionResults; + +namespace Lib9c.GraphQL.Types.AttachmentActionResults; + +public class RapidCombination0ResultType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/AttachmentActionResults/RapidCombination5ResultType.cs b/Lib9c.GraphQL/Types/AttachmentActionResults/RapidCombination5ResultType.cs new file mode 100644 index 00000000..3d6b53b6 --- /dev/null +++ b/Lib9c.GraphQL/Types/AttachmentActionResults/RapidCombination5ResultType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.AttachmentActionResults; + +namespace Lib9c.GraphQL.Types.AttachmentActionResults; + +public class RapidCombination5ResultType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/AttachmentActionResults/SellCancellationResultType.cs b/Lib9c.GraphQL/Types/AttachmentActionResults/SellCancellationResultType.cs new file mode 100644 index 00000000..d102e340 --- /dev/null +++ b/Lib9c.GraphQL/Types/AttachmentActionResults/SellCancellationResultType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.AttachmentActionResults; + +namespace Lib9c.GraphQL.Types.AttachmentActionResults; + +public class SellCancellationResultType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/Items/ArmorType.cs b/Lib9c.GraphQL/Types/Items/ArmorType.cs new file mode 100644 index 00000000..d72083eb --- /dev/null +++ b/Lib9c.GraphQL/Types/Items/ArmorType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.Items; + +namespace Lib9c.GraphQL.Types.Items; + +public class ArmorType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/Items/AuraType.cs b/Lib9c.GraphQL/Types/Items/AuraType.cs new file mode 100644 index 00000000..967cee98 --- /dev/null +++ b/Lib9c.GraphQL/Types/Items/AuraType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.Items; + +namespace Lib9c.GraphQL.Types.Items; + +public class AuraType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/Items/BeltType.cs b/Lib9c.GraphQL/Types/Items/BeltType.cs new file mode 100644 index 00000000..ad6ad444 --- /dev/null +++ b/Lib9c.GraphQL/Types/Items/BeltType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.Items; + +namespace Lib9c.GraphQL.Types.Items; + +public class BeltType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/Items/ConsumableType.cs b/Lib9c.GraphQL/Types/Items/ConsumableType.cs new file mode 100644 index 00000000..f7425f51 --- /dev/null +++ b/Lib9c.GraphQL/Types/Items/ConsumableType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.Items; + +namespace Lib9c.GraphQL.Types.Items; + +public class ConsumableType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/Items/CostumeType.cs b/Lib9c.GraphQL/Types/Items/CostumeType.cs new file mode 100644 index 00000000..949045fa --- /dev/null +++ b/Lib9c.GraphQL/Types/Items/CostumeType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.Items; + +namespace Lib9c.GraphQL.Types.Items; + +public class CostumeType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/Items/GrimoireType.cs b/Lib9c.GraphQL/Types/Items/GrimoireType.cs new file mode 100644 index 00000000..59d74ac7 --- /dev/null +++ b/Lib9c.GraphQL/Types/Items/GrimoireType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.Items; + +namespace Lib9c.GraphQL.Types.Items; + +public class GrimoireType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/Items/MaterialInterfaceType.cs b/Lib9c.GraphQL/Types/Items/MaterialInterfaceType.cs new file mode 100644 index 00000000..a300c9a0 --- /dev/null +++ b/Lib9c.GraphQL/Types/Items/MaterialInterfaceType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.Items; + +namespace Lib9c.GraphQL.Types.Items; + +public class MaterialInterfaceType : InterfaceType +{ + protected override void Configure(IInterfaceTypeDescriptor descriptor) + { + descriptor.Name("MaterialInterface"); + } +} diff --git a/Lib9c.GraphQL/Types/Items/MaterialType.cs b/Lib9c.GraphQL/Types/Items/MaterialType.cs new file mode 100644 index 00000000..b43d0465 --- /dev/null +++ b/Lib9c.GraphQL/Types/Items/MaterialType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.Items; + +namespace Lib9c.GraphQL.Types.Items; + +public class MaterialType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/Items/NecklaceType.cs b/Lib9c.GraphQL/Types/Items/NecklaceType.cs new file mode 100644 index 00000000..816c6183 --- /dev/null +++ b/Lib9c.GraphQL/Types/Items/NecklaceType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.Items; + +namespace Lib9c.GraphQL.Types.Items; + +public class NecklaceType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +} diff --git a/Lib9c.GraphQL/Types/Items/TradableMaterialType.cs b/Lib9c.GraphQL/Types/Items/TradableMaterialType.cs new file mode 100644 index 00000000..77ab6482 --- /dev/null +++ b/Lib9c.GraphQL/Types/Items/TradableMaterialType.cs @@ -0,0 +1,12 @@ +using HotChocolate.Types; +using Lib9c.Models.Items; + +namespace Lib9c.GraphQL.Types.Items; + +public class TradableMaterialType : ObjectType +{ + protected override void Configure(IObjectTypeDescriptor descriptor) + { + descriptor.Implements(); + } +}