add texture property to charactercloth entity

This commit is contained in:
hydrant
2019-06-24 18:32:57 +02:00
parent 852410d11a
commit 0dfc3c8602
4 changed files with 1144 additions and 0 deletions

View File

@@ -24,5 +24,6 @@ namespace ReallifeGamemode.Server.Entities
public byte SlotType { get; set; }
public int SlotId { get; set; }
public int ClothId { get; set; }
public int Texture { get; set; }
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,23 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace ReallifeGamemode.Migrations
{
public partial class ClothesTexture : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "Texture",
table: "CharacterClothes",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Texture",
table: "CharacterClothes");
}
}
}

View File

@@ -217,6 +217,8 @@ namespace ReallifeGamemode.Migrations
b.Property<byte>("SlotType");
b.Property<int>("Texture");
b.Property<int>("UserId");
b.HasKey("Id");