You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
675 B
28 lines
675 B
3 years ago
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace ET
|
||
|
{
|
||
|
public struct WatherInfo
|
||
|
{
|
||
|
public int ConfigId;
|
||
|
public int Cd;
|
||
|
public int StartTime; //game day
|
||
|
}
|
||
|
public class Weather:Entity,IAwake,ISerializeToEntity
|
||
|
{
|
||
|
public int ConfigId;
|
||
|
public int Times; //当前季节触发次数
|
||
|
public int Cd;
|
||
|
public List<int> SpringList; //春天列表
|
||
|
public List<int> SummerList;
|
||
|
public List<int> AutumnList;
|
||
|
public List<int> WinterList;
|
||
|
public int StartTime;//开始时间,游戏时间
|
||
|
public int RealStartTime; //实际时间
|
||
|
public int Duration; //持续
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|