forked from lmanik/MessagePlugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Message.cs
33 lines (31 loc) · 855 Bytes
/
Message.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Drawing;
using TerrariaApi;
using MySql.Data.MySqlClient;
using TShockAPI;
using TShockAPI.Hooks;
using TShockAPI.DB;
using System.ComponentModel;
namespace MessagePlugin
{
public class Message
{
public int ID { get; set; }
public string MailFrom { get; set; }
public string MailTo { get; set; }
public string MailText { get; set; }
public string Date { get; set; }
public bool Seen { get; set; }
public Message(int id, string mailFrom, string mailTo, string mailText, string date, bool seen)
{
ID = id;
MailFrom = mailFrom;
MailTo = mailTo;
MailText = mailText;
Date = date;
Seen = seen;
}
}
}