备份CatanBuilding瘦身独立工程
This commit is contained in:
17
Assets/Scripts/DataCenter/TimedEventData.cs
Normal file
17
Assets/Scripts/DataCenter/TimedEventData.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
public class TimedEventData : ITimedEventEntranceData
|
||||
{
|
||||
public int TicketCount { get; set; }
|
||||
public DateTime ExpiryTime { get; set; }
|
||||
public TimeSpan RemainingTime { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
}
|
||||
|
||||
public interface ITimedEventEntranceData
|
||||
{
|
||||
public int TicketCount { get; }
|
||||
public DateTime ExpiryTime { get; }
|
||||
public TimeSpan RemainingTime { get; }
|
||||
public bool IsActive { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user