mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-05 06:00:29 -04:00
Removed NioTSO client and server
- NioTSO client isn't needed because we're using RayLib - Added FreeSO's API server to handle most backend operations
This commit is contained in:
parent
f12ba1502b
commit
22191ce648
591 changed files with 53264 additions and 3362 deletions
41
server/FSO.Server.Database/DA/DbEvents/DbEvent.cs
Executable file
41
server/FSO.Server.Database/DA/DbEvents/DbEvent.cs
Executable file
|
@ -0,0 +1,41 @@
|
|||
using System;
|
||||
|
||||
namespace FSO.Server.Database.DA.DbEvents
|
||||
{
|
||||
public class DbEvent
|
||||
{
|
||||
public int event_id { get; set; }
|
||||
public string title { get; set; }
|
||||
public string description { get; set; }
|
||||
public DateTime start_day { get; set; }
|
||||
public DateTime end_day { get; set; }
|
||||
public DbEventType type { get; set; }
|
||||
public int value { get; set; }
|
||||
public int value2 { get; set; }
|
||||
public string mail_subject { get; set; }
|
||||
public string mail_message { get; set; }
|
||||
public int? mail_sender { get; set; }
|
||||
public string mail_sender_name { get; set; }
|
||||
|
||||
public string type_str {
|
||||
get {
|
||||
return type.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class DbEventParticipation
|
||||
{
|
||||
public int event_id { get; set; }
|
||||
public uint user_id { get; set; }
|
||||
}
|
||||
|
||||
public enum DbEventType
|
||||
{
|
||||
mail_only,
|
||||
free_object,
|
||||
free_money,
|
||||
free_green,
|
||||
obj_tuning
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue