Add getter and setter for module

This commit is contained in:
Pg 2016-11-26 03:12:20 +01:00
parent d5262fcb2c
commit ba5afa8da0
2 changed files with 30 additions and 0 deletions

View 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>();
}
}

View 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; }
}
}