37 lines
810 B
C#
37 lines
810 B
C#
using System;
|
|||
|
|
using System.Collections.Generic;
|
||
|
|
|
||
|
|
namespace Assets.MyGame.Scripts.Net.API.GameConfig_SubClass
|
||
|
|
{
|
||
|
|
[Serializable]
|
||
|
|
public class LotteryActivityConfig
|
||
|
|
{
|
||
|
|
public string activityName;
|
||
|
|
public bool isOpen;
|
||
|
|
public long startTime;
|
||
|
|
public long endTime;
|
||
|
|
public List<LotteryPoolLevel> pools;
|
||
|
|
public List<long> costs;
|
||
|
|
public int userMaxDraw;
|
||
|
|
}
|
||
|
|
|
||
|
|
[Serializable]
|
||
|
|
public class LotteryPoolLevel
|
||
|
|
{
|
||
|
|
public string level;
|
||
|
|
public int count;
|
||
|
|
public int weight;
|
||
|
|
public List<LotteryPrize> prizeList;
|
||
|
|
}
|
||
|
|
|
||
|
|
[Serializable]
|
||
|
|
public class LotteryPrize
|
||
|
|
{
|
||
|
|
public string type;
|
||
|
|
public long count;
|
||
|
|
public string name;
|
||
|
|
public string icon;
|
||
|
|
public int weight;
|
||
|
|
}
|
||
|
|
}
|