Вынесение модели в отдельный проект
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum ActionCategory
|
||||
{
|
||||
Unknown,
|
||||
|
||||
[PgName("offensive")]
|
||||
Offensive,
|
||||
|
||||
[PgName("defensive")]
|
||||
Defensive,
|
||||
|
||||
[PgName("interaction")]
|
||||
Interaction,
|
||||
|
||||
[PgName("familiar")]
|
||||
Familiar,
|
||||
|
||||
[PgName("army_tactic")]
|
||||
ArmyTactic,
|
||||
|
||||
[PgName("army_war_action")]
|
||||
ArmyWarAction,
|
||||
|
||||
[PgName("kingdom_activity")]
|
||||
KingdomActivity,
|
||||
|
||||
[PgName("kingdom_feat")]
|
||||
KingdomFeat,
|
||||
|
||||
[PgName("kingdom_feature")]
|
||||
KingdomFeature,
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum ActionType
|
||||
{
|
||||
[PgName("none")]
|
||||
None,
|
||||
|
||||
[PgName("1_action")]
|
||||
SingleAction,
|
||||
|
||||
[PgName("2_actions")]
|
||||
TwoActions,
|
||||
|
||||
[PgName("3_actions")]
|
||||
ThreeActions,
|
||||
|
||||
[PgName("1-3_actions")]
|
||||
SingleToThreeActions,
|
||||
|
||||
[PgName("1-2_actions")]
|
||||
SingleToTwoActions,
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum AliasType
|
||||
{
|
||||
[PgName("legacy")]
|
||||
Legacy,
|
||||
|
||||
[PgName("english")]
|
||||
English,
|
||||
|
||||
[PgName("legacy_english")]
|
||||
LegacyEnglish,
|
||||
|
||||
[PgName("hobby")]
|
||||
Hobby,
|
||||
|
||||
[PgName("other")]
|
||||
Other,
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum AncestryVision
|
||||
{
|
||||
[PgName("normal")]
|
||||
normal,
|
||||
|
||||
[PgName("low-light-vision")]
|
||||
LowLightVision,
|
||||
|
||||
[PgName("darkvision")]
|
||||
darkvision,
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum AttributeValues
|
||||
{
|
||||
[PgName("any")]
|
||||
Any,
|
||||
|
||||
[PgName("str")]
|
||||
Strength,
|
||||
|
||||
[PgName("dex")]
|
||||
Dexterity,
|
||||
|
||||
[PgName("con")]
|
||||
Constitution,
|
||||
|
||||
[PgName("int")]
|
||||
Intelligence,
|
||||
|
||||
[PgName("wis")]
|
||||
Wisdom,
|
||||
|
||||
[PgName("cha")]
|
||||
Charisma
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum ClassProgressionType
|
||||
{
|
||||
[PgName("entity")]
|
||||
Entity,
|
||||
|
||||
[PgName("ancestry_feat")]
|
||||
AncestryFeat,
|
||||
|
||||
[PgName("class_feat")]
|
||||
ClassFeat,
|
||||
|
||||
[PgName("general_feat")]
|
||||
GeneralFeat,
|
||||
|
||||
[PgName("skill_feat")]
|
||||
SkillFeat,
|
||||
|
||||
[PgName("skill_increase")]
|
||||
SkillIncrease,
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
|
||||
public enum ConditionGroup
|
||||
{
|
||||
[PgName("unknown")]
|
||||
Unknown,
|
||||
|
||||
[PgName("senses")]
|
||||
Senses,
|
||||
|
||||
[PgName("abilities")]
|
||||
Abilities,
|
||||
|
||||
[PgName("death")]
|
||||
Death,
|
||||
|
||||
[PgName("attitudes")]
|
||||
Attitudes,
|
||||
|
||||
[PgName("detection")]
|
||||
Detection
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum DeityCategory
|
||||
{
|
||||
[PgName("deity")]
|
||||
Deity,
|
||||
|
||||
[PgName("pantheon")]
|
||||
Pantheon,
|
||||
|
||||
[PgName("covenant")]
|
||||
Covenant,
|
||||
|
||||
[PgName("philosophy")]
|
||||
Philosophy,
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum DeityFonts
|
||||
{
|
||||
[PgName("none")]
|
||||
None,
|
||||
|
||||
[PgName("heal")]
|
||||
Heal,
|
||||
|
||||
[PgName("harm")]
|
||||
Harm,
|
||||
|
||||
[PgName("any")]
|
||||
Any,
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum DeitySanctification
|
||||
{
|
||||
[PgName("holy")]
|
||||
Holy,
|
||||
|
||||
[PgName("unholy")]
|
||||
Unholy,
|
||||
|
||||
[PgName("any")]
|
||||
Any,
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum EntityRarity
|
||||
{
|
||||
[PgName("common")]
|
||||
Common,
|
||||
|
||||
[PgName("uncommon")]
|
||||
Uncommon,
|
||||
|
||||
[PgName("rare")]
|
||||
Rare,
|
||||
|
||||
[PgName("unique")]
|
||||
Unique
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum EntityType
|
||||
{
|
||||
[PgName("unknown")]
|
||||
Unknown,
|
||||
|
||||
[PgName("trait")]
|
||||
Trait,
|
||||
|
||||
[PgName("action")]
|
||||
Action,
|
||||
|
||||
[PgName("ancestry")]
|
||||
Ancestry,
|
||||
|
||||
[PgName("background")]
|
||||
Background,
|
||||
|
||||
[PgName("backpack")]
|
||||
Backpack,
|
||||
|
||||
[PgName("campaign_feature")]
|
||||
CampaignFeature,
|
||||
|
||||
[PgName("class")]
|
||||
Class,
|
||||
|
||||
[PgName("condition")]
|
||||
Condition,
|
||||
|
||||
[PgName("deity")]
|
||||
Deity,
|
||||
|
||||
[PgName("feat")]
|
||||
Feat,
|
||||
|
||||
[PgName("heritage")]
|
||||
Heritage,
|
||||
|
||||
[PgName("spell")]
|
||||
Spell
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum FeatActionType
|
||||
{
|
||||
[PgName("passive")]
|
||||
Passive,
|
||||
|
||||
[PgName("action")]
|
||||
Action,
|
||||
|
||||
[PgName("reaction")]
|
||||
Reaction,
|
||||
|
||||
[PgName("free")]
|
||||
Free,
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum FeatCategory
|
||||
{
|
||||
[PgName("ancestryfeature")]
|
||||
Ancestryfeature,
|
||||
|
||||
[PgName("classfeature")]
|
||||
Classfeature,
|
||||
|
||||
[PgName("calling")]
|
||||
Calling,
|
||||
|
||||
[PgName("class")]
|
||||
Class,
|
||||
|
||||
[PgName("skill")]
|
||||
Skill,
|
||||
|
||||
[PgName("general")]
|
||||
General,
|
||||
|
||||
[PgName("ancestry")]
|
||||
Ancestry,
|
||||
|
||||
[PgName("bonus")]
|
||||
Bonus,
|
||||
|
||||
[PgName("deityboon")]
|
||||
Deityboon,
|
||||
|
||||
[PgName("curse")]
|
||||
Curse,
|
||||
|
||||
[PgName("pfsboon")]
|
||||
Pfsboon,
|
||||
|
||||
[PgName("campaign_feature")]
|
||||
CampaignFeature,
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum Size
|
||||
{
|
||||
[PgName("med")]
|
||||
med,
|
||||
|
||||
[PgName("tiny")]
|
||||
tiny,
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
public enum SourceCategory
|
||||
{
|
||||
[PgName("rulebook")]
|
||||
Rulebooks,
|
||||
|
||||
[PgName("adventure-path")]
|
||||
AdventurePaths,
|
||||
|
||||
[PgName("lost-omens")]
|
||||
LostOmens,
|
||||
|
||||
[PgName("adventures")]
|
||||
Adventures,
|
||||
|
||||
[PgName("comics")]
|
||||
Comics,
|
||||
|
||||
[PgName("blog-posts")]
|
||||
BlogPosts,
|
||||
|
||||
[PgName("society")]
|
||||
Society,
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum SpellAreaType
|
||||
{
|
||||
[PgName("burst")]
|
||||
Burst,
|
||||
|
||||
[PgName("emanation")]
|
||||
Emanation,
|
||||
|
||||
[PgName("cone")]
|
||||
Cone,
|
||||
|
||||
[PgName("line")]
|
||||
Line,
|
||||
|
||||
[PgName("square")]
|
||||
Square,
|
||||
|
||||
[PgName("cube")]
|
||||
Cube,
|
||||
|
||||
[PgName("cylinder")]
|
||||
Cylinder,
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum SpellDamageCategory
|
||||
{
|
||||
[PgName("persistent")]
|
||||
Persistent,
|
||||
|
||||
[PgName("splash")]
|
||||
Splash,
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum SpellDamageKinds
|
||||
{
|
||||
[PgName("damage")]
|
||||
Damage,
|
||||
|
||||
[PgName("healing")]
|
||||
Healing,
|
||||
|
||||
[PgName("any")]
|
||||
Any,
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
public enum TrainingStage
|
||||
{
|
||||
Untrained = 0,
|
||||
|
||||
Trained = 1,
|
||||
|
||||
Expert = 2,
|
||||
|
||||
Master = 3,
|
||||
|
||||
Legendary = 4,
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using NpgsqlTypes;
|
||||
|
||||
namespace Pf2eModel.Model.Enum;
|
||||
|
||||
public enum TraitType
|
||||
{
|
||||
[PgName("regular")]
|
||||
Regular,
|
||||
|
||||
[PgName("tradition")]
|
||||
Tradition
|
||||
}
|
||||
Reference in New Issue
Block a user