fixed build, fixed dockerfile not building properly
This commit is contained in:
parent
d9c27021aa
commit
4f1cdde9b2
3 changed files with 52 additions and 53 deletions
src/EllieBot/Modules/Games/Fish
|
@ -1,6 +1,6 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace EllieBot.Modules.Games;
|
||||
namespace NadekoBot.Modules.Games;
|
||||
|
||||
public sealed class UserFishStats
|
||||
{
|
||||
|
@ -14,16 +14,15 @@ public sealed class UserFishStats
|
|||
public int? Bait { get; set; }
|
||||
}
|
||||
|
||||
public sealed class FishingPole
|
||||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
// public sealed class FishingPole
|
||||
// {
|
||||
// [Key]
|
||||
// public int Id { get; set; }
|
||||
|
||||
// public string Name { get; set; } = string.Empty;
|
||||
|
||||
// public long Price { get; set; }
|
||||
|
||||
public string Name { get; set; } = string.Empty;
|
||||
// public string Emoji { get; set; } = string.Empty;
|
||||
|
||||
public long Price { get; set; }
|
||||
|
||||
public string Emoji { get; set; } = string.Empty;
|
||||
|
||||
|
||||
}
|
||||
// }
|
|
@ -13,44 +13,43 @@ public sealed partial class FishConfig : ICloneable<FishConfig>
|
|||
public List<string> StarEmojis { get; set; } = new();
|
||||
public List<string> SpotEmojis { get; set; } = new();
|
||||
public FishChance Chance { get; set; } = new FishChance();
|
||||
|
||||
public List<FishBait> Baits { get; set; } = new();
|
||||
public List<FishingPole> Poles { get; set; } = new();
|
||||
// public List<FishBait> Baits { get; set; } = new();
|
||||
// public List<FishingPole> Poles { get; set; } = new();
|
||||
public List<FishData> Fish { get; set; } = new();
|
||||
public List<FishData> Trash { get; set; } = new();
|
||||
}
|
||||
|
||||
public sealed class FishBait : ICloneable<FishBait>
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public long Price { get; set; }
|
||||
public string Emoji { get; set; } = string.Empty;
|
||||
public int StackSize { get; set; } = 100;
|
||||
|
||||
public string? OnlyWeather { get; set; }
|
||||
public string? OnlySpot { get; set; }
|
||||
public string? OnlyTime { get; set; }
|
||||
|
||||
public double FishMulti { get; set; } = 1;
|
||||
public double TrashMulti { get; set; } = 1;
|
||||
public double NothingMulti { get; set; } = 1;
|
||||
|
||||
public double RareFishMulti { get; set; } = 1;
|
||||
public double RareTrashMulti { get; set; } = 1;
|
||||
|
||||
public double MaxStarMulti { get; set; } = 1;
|
||||
}
|
||||
|
||||
public sealed class FishingPole : ICloneable<FishingPole>
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public long Price { get; set; }
|
||||
public string Emoji { get; set; } = string.Empty;
|
||||
public string Img { get; set; } = string.Empty;
|
||||
|
||||
public double FishMulti { get; set; } = 1;
|
||||
public double TrashMulti { get; set; } = 1;
|
||||
public double NothingMulti { get; set; } = 1;
|
||||
}
|
||||
// public sealed class FishBait : ICloneable<FishBait>
|
||||
// {
|
||||
// public int Id { get; set; }
|
||||
// public string Name { get; set; } = string.Empty;
|
||||
// public long Price { get; set; }
|
||||
// public string Emoji { get; set; } = string.Empty;
|
||||
// public int StackSize { get; set; } = 100;
|
||||
//
|
||||
// public string? OnlyWeather { get; set; }
|
||||
// public string? OnlySpot { get; set; }
|
||||
// public string? OnlyTime { get; set; }
|
||||
//
|
||||
// public double FishMulti { get; set; } = 1;
|
||||
// public double TrashMulti { get; set; } = 1;
|
||||
// public double NothingMulti { get; set; } = 1;
|
||||
//
|
||||
// public double RareFishMulti { get; set; } = 1;
|
||||
// public double RareTrashMulti { get; set; } = 1;
|
||||
//
|
||||
// public double MaxStarMulti { get; set; } = 1;
|
||||
// }
|
||||
//
|
||||
// public sealed class FishingPole : ICloneable<FishingPole>
|
||||
// {
|
||||
// public int Id { get; set; }
|
||||
// public string Name { get; set; } = string.Empty;
|
||||
// public long Price { get; set; }
|
||||
// public string Emoji { get; set; } = string.Empty;
|
||||
// public string Img { get; set; } = string.Empty;
|
||||
//
|
||||
// public double FishMulti { get; set; } = 1;
|
||||
// public double TrashMulti { get; set; } = 1;
|
||||
// public double NothingMulti { get; set; } = 1;
|
||||
// }
|
Loading…
Add table
Add a link
Reference in a new issue