| | |
| | | private List<InvestConfig> configlist;
|
| | | private const int Redpoint_key1 = 3501;
|
| | | public Redpoint redPointStre1 = new Redpoint(MainRedDot.RedPoint_VipDot, Redpoint_key1);//Vip 投资红点
|
| | | private const int Redpoint_key1_Week1 = 350101;
|
| | | private const int Redpoint_key1_Week2 = 350102;
|
| | | private const int Redpoint_key1_Week3 = 350103;
|
| | | private const int Redpoint_key1_Week4 = 350104;
|
| | | public Redpoint redPointStre1_v1 = new Redpoint(Redpoint_key1, Redpoint_key1_Week1);
|
| | | public Redpoint redPointStre1_v2 = new Redpoint(Redpoint_key1, Redpoint_key1_Week2);
|
| | | public Redpoint redPointStre1_v3 = new Redpoint(Redpoint_key1, Redpoint_key1_Week3);
|
| | | public Redpoint redPointStre1_v4 = new Redpoint(Redpoint_key1, Redpoint_key1_Week4);
|
| | | public int JumpIndex = 0;
|
| | | private void VipInvestRedPoint()//Vip 投资红点
|
| | | {
|
| | | JumpIndex = 0;
|
| | | redPointStre1_v1.state = RedPointState.None;
|
| | | redPointStre1_v2.state = RedPointState.None;
|
| | | redPointStre1_v3.state = RedPointState.None;
|
| | | redPointStre1_v4.state = RedPointState.None;
|
| | | redPointStre1.state = RedPointState.None;
|
| | | InvestInfo =GetInvestInfoByType((int)InvestType.Vip);
|
| | | cycle = GetInvestCycle(InvestInfo.curDay);
|
| | |
| | | RewardRecordState recordState =GetRecordByIndex((int)InvestType.Vip, config.needDay);
|
| | | if (recordState == RewardRecordState.NoReceive)
|
| | | {
|
| | | redPointStre1.state = RedPointState.Simple;
|
| | | switch (cycle)
|
| | | {
|
| | | case 1:
|
| | | redPointStre1_v1.state = RedPointState.Simple;
|
| | | break;
|
| | | case 2:
|
| | | redPointStre1_v2.state = RedPointState.Simple;
|
| | | break;
|
| | | case 3:
|
| | | redPointStre1_v3.state = RedPointState.Simple;
|
| | | break;
|
| | | case 4:
|
| | | redPointStre1_v4.state = RedPointState.Simple;
|
| | | break;
|
| | | default:
|
| | | break;
|
| | |
|
| | | }
|
| | | // redPointStre1.state = RedPointState.Simple;
|
| | | JumpIndex = i;
|
| | | return;
|
| | | }
|
| | |
| | | }
|
| | | }
|
| | |
|
| | |
|
| | | private void RedPointSate()//Vip投资红点前三天
|
| | | {
|
| | | if (InvestInfo.investGold > 0)
|