Skip to content

Commit 2e05902

Browse files
committed
snapshot relocation
1 parent 92acca6 commit 2e05902

File tree

2 files changed

+275
-275
lines changed

2 files changed

+275
-275
lines changed

Intersect.Server.Core/Migrations/Sqlite/Game/SqliteGameContextModelSnapshot.cs

Lines changed: 135 additions & 135 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,66 @@ protected override void BuildModel(ModelBuilder modelBuilder)
500500
b.ToTable("Npcs");
501501
});
502502

503+
modelBuilder.Entity("Intersect.Framework.Core.GameObjects.Resources.ResourceDescriptor", b =>
504+
{
505+
b.Property<Guid>("Id")
506+
.HasColumnType("TEXT");
507+
508+
b.Property<Guid>("AnimationId")
509+
.HasColumnType("TEXT")
510+
.HasColumnName("Animation");
511+
512+
b.Property<string>("CannotHarvestMessage")
513+
.HasColumnType("TEXT");
514+
515+
b.Property<Guid>("EventId")
516+
.HasColumnType("TEXT")
517+
.HasColumnName("Event");
518+
519+
b.Property<string>("Folder")
520+
.HasColumnType("TEXT");
521+
522+
b.Property<string>("JsonDrops")
523+
.HasColumnType("TEXT")
524+
.HasColumnName("Drops");
525+
526+
b.Property<string>("JsonHarvestingRequirements")
527+
.HasColumnType("TEXT")
528+
.HasColumnName("HarvestingRequirements");
529+
530+
b.Property<int>("MaxHp")
531+
.HasColumnType("INTEGER");
532+
533+
b.Property<int>("MinHp")
534+
.HasColumnType("INTEGER");
535+
536+
b.Property<string>("Name")
537+
.HasColumnType("TEXT")
538+
.HasColumnOrder(0);
539+
540+
b.Property<int>("SpawnDuration")
541+
.HasColumnType("INTEGER");
542+
543+
b.Property<long>("TimeCreated")
544+
.HasColumnType("INTEGER");
545+
546+
b.Property<int>("Tool")
547+
.HasColumnType("INTEGER");
548+
549+
b.Property<int>("VitalRegen")
550+
.HasColumnType("INTEGER");
551+
552+
b.Property<bool>("WalkableAfter")
553+
.HasColumnType("INTEGER");
554+
555+
b.Property<bool>("WalkableBefore")
556+
.HasColumnType("INTEGER");
557+
558+
b.HasKey("Id");
559+
560+
b.ToTable("Resources");
561+
});
562+
503563
modelBuilder.Entity("Intersect.Framework.Core.GameObjects.Variables.GuildVariableDescriptor", b =>
504564
{
505565
b.Property<Guid>("Id")
@@ -919,66 +979,6 @@ protected override void BuildModel(ModelBuilder modelBuilder)
919979
b.ToTable("Quests");
920980
});
921981

922-
modelBuilder.Entity("Intersect.Framework.Core.GameObjects.Resources.ResourceDescriptor", b =>
923-
{
924-
b.Property<Guid>("Id")
925-
.HasColumnType("TEXT");
926-
927-
b.Property<Guid>("AnimationId")
928-
.HasColumnType("TEXT")
929-
.HasColumnName("Animation");
930-
931-
b.Property<string>("CannotHarvestMessage")
932-
.HasColumnType("TEXT");
933-
934-
b.Property<Guid>("EventId")
935-
.HasColumnType("TEXT")
936-
.HasColumnName("Event");
937-
938-
b.Property<string>("Folder")
939-
.HasColumnType("TEXT");
940-
941-
b.Property<string>("JsonDrops")
942-
.HasColumnType("TEXT")
943-
.HasColumnName("Drops");
944-
945-
b.Property<string>("JsonHarvestingRequirements")
946-
.HasColumnType("TEXT")
947-
.HasColumnName("HarvestingRequirements");
948-
949-
b.Property<int>("MaxHp")
950-
.HasColumnType("INTEGER");
951-
952-
b.Property<int>("MinHp")
953-
.HasColumnType("INTEGER");
954-
955-
b.Property<string>("Name")
956-
.HasColumnType("TEXT")
957-
.HasColumnOrder(0);
958-
959-
b.Property<int>("SpawnDuration")
960-
.HasColumnType("INTEGER");
961-
962-
b.Property<long>("TimeCreated")
963-
.HasColumnType("INTEGER");
964-
965-
b.Property<int>("Tool")
966-
.HasColumnType("INTEGER");
967-
968-
b.Property<int>("VitalRegen")
969-
.HasColumnType("INTEGER");
970-
971-
b.Property<bool>("WalkableAfter")
972-
.HasColumnType("INTEGER");
973-
974-
b.Property<bool>("WalkableBefore")
975-
.HasColumnType("INTEGER");
976-
977-
b.HasKey("Id");
978-
979-
b.ToTable("Resources");
980-
});
981-
982982
modelBuilder.Entity("Intersect.GameObjects.ShopBase", b =>
983983
{
984984
b.Property<Guid>("Id")
@@ -1288,6 +1288,81 @@ protected override void BuildModel(ModelBuilder modelBuilder)
12881288
b.Navigation("Consumable");
12891289
});
12901290

1291+
modelBuilder.Entity("Intersect.Framework.Core.GameObjects.Resources.ResourceDescriptor", b =>
1292+
{
1293+
b.OwnsOne("Intersect.Framework.Core.GameObjects.Resources.ResourceStateDescriptor", "Exhausted", b1 =>
1294+
{
1295+
b1.Property<Guid>("ResourceDescriptorId")
1296+
.HasColumnType("TEXT");
1297+
1298+
b1.Property<string>("Graphic")
1299+
.HasColumnType("TEXT");
1300+
1301+
b1.Property<bool>("GraphicFromTileset")
1302+
.HasColumnType("INTEGER");
1303+
1304+
b1.Property<int>("Height")
1305+
.HasColumnType("INTEGER");
1306+
1307+
b1.Property<bool>("RenderBelowEntities")
1308+
.HasColumnType("INTEGER");
1309+
1310+
b1.Property<int>("Width")
1311+
.HasColumnType("INTEGER");
1312+
1313+
b1.Property<int>("X")
1314+
.HasColumnType("INTEGER");
1315+
1316+
b1.Property<int>("Y")
1317+
.HasColumnType("INTEGER");
1318+
1319+
b1.HasKey("ResourceDescriptorId");
1320+
1321+
b1.ToTable("Resources");
1322+
1323+
b1.WithOwner()
1324+
.HasForeignKey("ResourceDescriptorId");
1325+
});
1326+
1327+
b.OwnsOne("Intersect.Framework.Core.GameObjects.Resources.ResourceStateDescriptor", "Initial", b1 =>
1328+
{
1329+
b1.Property<Guid>("ResourceDescriptorId")
1330+
.HasColumnType("TEXT");
1331+
1332+
b1.Property<string>("Graphic")
1333+
.HasColumnType("TEXT");
1334+
1335+
b1.Property<bool>("GraphicFromTileset")
1336+
.HasColumnType("INTEGER");
1337+
1338+
b1.Property<int>("Height")
1339+
.HasColumnType("INTEGER");
1340+
1341+
b1.Property<bool>("RenderBelowEntities")
1342+
.HasColumnType("INTEGER");
1343+
1344+
b1.Property<int>("Width")
1345+
.HasColumnType("INTEGER");
1346+
1347+
b1.Property<int>("X")
1348+
.HasColumnType("INTEGER");
1349+
1350+
b1.Property<int>("Y")
1351+
.HasColumnType("INTEGER");
1352+
1353+
b1.HasKey("ResourceDescriptorId");
1354+
1355+
b1.ToTable("Resources");
1356+
1357+
b1.WithOwner()
1358+
.HasForeignKey("ResourceDescriptorId");
1359+
});
1360+
1361+
b.Navigation("Exhausted");
1362+
1363+
b.Navigation("Initial");
1364+
});
1365+
12911366
modelBuilder.Entity("Intersect.GameObjects.AnimationDescriptor", b =>
12921367
{
12931368
b.OwnsOne("Intersect.Framework.Core.GameObjects.Animations.AnimationLayer", "Lower", b1 =>
@@ -1491,81 +1566,6 @@ protected override void BuildModel(ModelBuilder modelBuilder)
14911566
b.Navigation("StatRange_Speed");
14921567
});
14931568

1494-
modelBuilder.Entity("Intersect.Framework.Core.GameObjects.Resources.ResourceDescriptor", b =>
1495-
{
1496-
b.OwnsOne("Intersect.Framework.Core.GameObjects.Resources.ResourceStateDescriptor", "Exhausted", b1 =>
1497-
{
1498-
b1.Property<Guid>("ResourceDescriptorId")
1499-
.HasColumnType("TEXT");
1500-
1501-
b1.Property<string>("Graphic")
1502-
.HasColumnType("TEXT");
1503-
1504-
b1.Property<bool>("GraphicFromTileset")
1505-
.HasColumnType("INTEGER");
1506-
1507-
b1.Property<int>("Height")
1508-
.HasColumnType("INTEGER");
1509-
1510-
b1.Property<bool>("RenderBelowEntities")
1511-
.HasColumnType("INTEGER");
1512-
1513-
b1.Property<int>("Width")
1514-
.HasColumnType("INTEGER");
1515-
1516-
b1.Property<int>("X")
1517-
.HasColumnType("INTEGER");
1518-
1519-
b1.Property<int>("Y")
1520-
.HasColumnType("INTEGER");
1521-
1522-
b1.HasKey("ResourceDescriptorId");
1523-
1524-
b1.ToTable("Resources");
1525-
1526-
b1.WithOwner()
1527-
.HasForeignKey("ResourceDescriptorId");
1528-
});
1529-
1530-
b.OwnsOne("Intersect.Framework.Core.GameObjects.Resources.ResourceStateDescriptor", "Initial", b1 =>
1531-
{
1532-
b1.Property<Guid>("ResourceDescriptorId")
1533-
.HasColumnType("TEXT");
1534-
1535-
b1.Property<string>("Graphic")
1536-
.HasColumnType("TEXT");
1537-
1538-
b1.Property<bool>("GraphicFromTileset")
1539-
.HasColumnType("INTEGER");
1540-
1541-
b1.Property<int>("Height")
1542-
.HasColumnType("INTEGER");
1543-
1544-
b1.Property<bool>("RenderBelowEntities")
1545-
.HasColumnType("INTEGER");
1546-
1547-
b1.Property<int>("Width")
1548-
.HasColumnType("INTEGER");
1549-
1550-
b1.Property<int>("X")
1551-
.HasColumnType("INTEGER");
1552-
1553-
b1.Property<int>("Y")
1554-
.HasColumnType("INTEGER");
1555-
1556-
b1.HasKey("ResourceDescriptorId");
1557-
1558-
b1.ToTable("Resources");
1559-
1560-
b1.WithOwner()
1561-
.HasForeignKey("ResourceDescriptorId");
1562-
});
1563-
1564-
b.Navigation("Exhausted");
1565-
1566-
b.Navigation("Initial");
1567-
});
1568-
15691569
modelBuilder.Entity("Intersect.GameObjects.SpellBase", b =>
15701570
{
15711571
b.OwnsOne("Intersect.GameObjects.SpellCombatData", "Combat", b1 =>

0 commit comments

Comments
 (0)