mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
- Db related code is now in src/NadekoBot/Db - Finished major part of the db refactor, but many optimizations are left to be made
48 lines
1.2 KiB
C#
48 lines
1.2 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace NadekoBot.Core.Services.Database.Models
|
|
{
|
|
public class CurrencyEvent
|
|
{
|
|
public enum Type
|
|
{
|
|
Reaction,
|
|
GameStatus,
|
|
//NotRaid,
|
|
}
|
|
|
|
public ulong ServerId { get; set; }
|
|
public ulong ChannelId { get; set; }
|
|
public ulong MessageId { get; set; }
|
|
public Type EventType { get; set; }
|
|
|
|
/// <summary>
|
|
/// Amount of currency that the user will be rewarded.
|
|
/// </summary>
|
|
public long Amount { get; set; }
|
|
/// <summary>
|
|
/// Maximum amount of currency that can be handed out.
|
|
/// </summary>
|
|
public long PotSize { get; set; }
|
|
public List<AwardedUser> AwardedUsers { get; set; }
|
|
|
|
/// <summary>
|
|
/// Used as extra data storage for events which need it.
|
|
/// </summary>
|
|
public ulong ExtraId { get; set; }
|
|
/// <summary>
|
|
/// May be used for some future event.
|
|
/// </summary>
|
|
public ulong ExtraId2 { get; set; }
|
|
/// <summary>
|
|
/// May be used for some future event.
|
|
/// </summary>
|
|
public string ExtraString { get; set; }
|
|
}
|
|
|
|
public class AwardedUser
|
|
{
|
|
|
|
}
|
|
}
|