mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 16:28:50 -07:00
- Add Placeholder For GetActiveParties - Add Proper Placeholder For GetActiveParties - Attempt Party Implementation - Return Null When Party Time Is Not One Hour - Do Not Buy Party If It Already Exists - Remove Coins From User After Buying Party - Fix Parties Not Getting Removed After One Hour - db model fixes - Make Party ID key an integer - Add ``GetPartiesByUserId`` - Fixes Parties Not Having Decorations - Add All Other Party Durations And Types - Fix Mistake In ``GetActiveParties``
34 lines
798 B
C#
34 lines
798 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace sodoff.Schema
|
|
{
|
|
[XmlRoot(ElementName = "Party", Namespace = "")]
|
|
[Serializable]
|
|
public class UserParty
|
|
{
|
|
[XmlElement(ElementName = "UID")]
|
|
public Guid UserID;
|
|
|
|
[XmlElement(ElementName = "UserName")]
|
|
public string UserName;
|
|
|
|
[XmlElement(ElementName = "Name")]
|
|
public string DisplayName;
|
|
|
|
[XmlElement(ElementName = "Icon")]
|
|
public string Icon;
|
|
|
|
[XmlElement(ElementName = "Loc")]
|
|
public string Location;
|
|
|
|
[XmlElement(ElementName = "LocIcon")]
|
|
public string LocationIcon;
|
|
|
|
[XmlElement(ElementName = "ExpDate")]
|
|
public DateTime ExpirationDate;
|
|
|
|
[XmlElement(ElementName = "Pvt")]
|
|
public bool PrivateParty;
|
|
}
|
|
}
|