Add getter and setter for module
This commit is contained in:
parent
d5262fcb2c
commit
ba5afa8da0
15
src/NadekoBot/Modules/Searches/Commands/Models/PokeStats.cs
Normal file
15
src/NadekoBot/Modules/Searches/Commands/Models/PokeStats.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NadekoBot.Modules.Pokemon
|
||||
{
|
||||
class PokeStats
|
||||
{
|
||||
//Health left
|
||||
public int Hp { get; set; } = 500;
|
||||
public int MaxHp { get; } = 500;
|
||||
//Amount of moves made since last time attacked
|
||||
public int MovesMade { get; set; } = 0;
|
||||
//Last people attacked
|
||||
public List<ulong> LastAttacked { get; set; } = new List<ulong>();
|
||||
}
|
||||
}
|
15
src/NadekoBot/Services/Database/Models/PokemonType.cs
Normal file
15
src/NadekoBot/Services/Database/Models/PokemonType.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using Discord;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NadekoBot.Services.Database.Models
|
||||
{
|
||||
class UserPokeTypes : DbEntity
|
||||
{
|
||||
public long UserId { get; set; }
|
||||
public string type { get; set; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user