public PointsExchangeElement(PointsExchangePhase phase, GameObject uiItem, PointsExchangeWgt owner, int index)
 {
     this.phase  = phase;
     this.uiItem = uiItem;
     this.owner  = owner;
     this.index  = index;
     this.Validate();
 }
 public PointsExchangeActivity(ActivitySys mgr, ResWealPointExchange config) : base(mgr, config.stCommon)
 {
     this.PointsConfig = config;
     for (uint num = 0u; num < (uint)config.bExchangeCnt; num += 1u)
     {
         PointsExchangePhase ap = new PointsExchangePhase(this, num, config.astExchangeInfo[(int)((UIntPtr)num)]);
         base.AddPhase(ap);
     }
 }
Exemplo n.º 3
0
 public PointsExchangeActivity(ActivitySys mgr, ResWealPointExchange config) : base(mgr, config.stCommon)
 {
     this._exchangeCount = new Dictionary <int, uint>();
     this._delTempList   = new List <int>();
     this.PointsConfig   = config;
     for (uint i = 0; i < config.bExchangeCnt; i++)
     {
         PointsExchangePhase ap = new PointsExchangePhase(this, i, config.astExchangeInfo[i]);
         base.AddPhase(ap);
     }
 }