mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
zombie stats code
This commit is contained in:
@ -492,6 +492,57 @@ namespace Data.Migrations.Sqlite
|
||||
b.ToTable("EFClientRatingHistory", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Data.Models.Client.Stats.EFClientStatTag", b =>
|
||||
{
|
||||
b.Property<int>("ZombieStatTagId")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<DateTimeOffset>("CreatedDateTime")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("TagName")
|
||||
.HasMaxLength(128)
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<DateTimeOffset?>("UpdatedDateTime")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.HasKey("ZombieStatTagId");
|
||||
|
||||
b.ToTable("EFClientStatTags", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Data.Models.Client.Stats.EFClientStatTagValue", b =>
|
||||
{
|
||||
b.Property<long>("ZombieClientStatTagValueId")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<int>("ClientId")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<DateTimeOffset>("CreatedDateTime")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<int>("StatTagId")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<int?>("StatValue")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<DateTimeOffset?>("UpdatedDateTime")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.HasKey("ZombieClientStatTagValueId");
|
||||
|
||||
b.HasIndex("ClientId");
|
||||
|
||||
b.HasIndex("StatTagId");
|
||||
|
||||
b.ToTable("EFClientStatTagValues", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Data.Models.Client.Stats.EFClientStatistics", b =>
|
||||
{
|
||||
b.Property<int>("ClientId")
|
||||
@ -1232,7 +1283,7 @@ namespace Data.Migrations.Sqlite
|
||||
|
||||
b.HasIndex("MatchId");
|
||||
|
||||
b.ToTable("EFZombieClientStat", (string)null);
|
||||
b.ToTable("EFZombieClientStats", (string)null);
|
||||
|
||||
b.UseTptMappingStrategy();
|
||||
});
|
||||
@ -1273,7 +1324,7 @@ namespace Data.Migrations.Sqlite
|
||||
|
||||
b.HasIndex("RoundId");
|
||||
|
||||
b.ToTable("EFZombieClientStatRecord", (string)null);
|
||||
b.ToTable("EFZombieClientStatRecords", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Data.Models.Zombie.ZombieEventLog", b =>
|
||||
@ -1350,7 +1401,7 @@ namespace Data.Migrations.Sqlite
|
||||
|
||||
b.HasIndex("ServerId");
|
||||
|
||||
b.ToTable("EFZombieMatch", (string)null);
|
||||
b.ToTable("EFZombieMatches", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Data.Models.Zombie.ZombieAggregateClientStat", b =>
|
||||
@ -1398,14 +1449,14 @@ namespace Data.Migrations.Sqlite
|
||||
|
||||
b.HasIndex("ServerId");
|
||||
|
||||
b.ToTable("EFZombieAggregateClientStat", (string)null);
|
||||
b.ToTable("EFZombieClientStatAggregates", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Data.Models.Zombie.ZombieMatchClientStat", b =>
|
||||
{
|
||||
b.HasBaseType("Data.Models.Zombie.ZombieClientStat");
|
||||
|
||||
b.ToTable("EFZombieMatchClientStat", (string)null);
|
||||
b.ToTable("EFZombieMatchClientStats", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Data.Models.Zombie.ZombieRoundClientStat", b =>
|
||||
@ -1430,7 +1481,7 @@ namespace Data.Migrations.Sqlite
|
||||
b.Property<TimeSpan?>("TimeAlive")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.ToTable("EFZombieRoundClientStat", (string)null);
|
||||
b.ToTable("EFZombieRoundClientStats", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Data.Models.Client.EFACSnapshotVector3", b =>
|
||||
@ -1672,6 +1723,25 @@ namespace Data.Migrations.Sqlite
|
||||
b.Navigation("Client");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Data.Models.Client.Stats.EFClientStatTagValue", b =>
|
||||
{
|
||||
b.HasOne("Data.Models.Client.EFClient", "Client")
|
||||
.WithMany()
|
||||
.HasForeignKey("ClientId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("Data.Models.Client.Stats.EFClientStatTag", "StatTag")
|
||||
.WithMany()
|
||||
.HasForeignKey("StatTagId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Client");
|
||||
|
||||
b.Navigation("StatTag");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Data.Models.Client.Stats.EFClientStatistics", b =>
|
||||
{
|
||||
b.HasOne("Data.Models.Client.EFClient", "Client")
|
||||
|
Reference in New Issue
Block a user