2017-07-17 19:42:36 +00:00
|
|
|
|
using System;
|
|
|
|
|
using Discord;
|
2017-06-19 13:42:10 +00:00
|
|
|
|
|
2017-07-17 19:42:36 +00:00
|
|
|
|
namespace NadekoBot.Common.ShardCom
|
2017-06-19 13:42:10 +00:00
|
|
|
|
{
|
|
|
|
|
public class ShardComMessage
|
|
|
|
|
{
|
|
|
|
|
public int ShardId { get; set; }
|
|
|
|
|
public ConnectionState ConnectionState { get; set; }
|
|
|
|
|
public int Guilds { get; set; }
|
2017-07-05 13:16:06 +00:00
|
|
|
|
public DateTime Time { get; set; }
|
2017-10-29 03:46:42 +00:00
|
|
|
|
|
|
|
|
|
public ShardComMessage Clone() =>
|
|
|
|
|
new ShardComMessage
|
|
|
|
|
{
|
|
|
|
|
ShardId = ShardId,
|
|
|
|
|
ConnectionState = ConnectionState,
|
|
|
|
|
Guilds = Guilds,
|
|
|
|
|
Time = Time,
|
|
|
|
|
};
|
2017-06-19 13:42:10 +00:00
|
|
|
|
}
|
|
|
|
|
}
|