Пример #1
0
        public void FillItem(object data)
        {
            _data      = data as PachinkoData;
            _pachinko  = new Pachinko();
            this.index = _data.index;

            if (_data.OwnerUserId == Player.Inst.UserData.UserId)
            {
                this.SetState(PachinkoStateType.Owned);
            }
            else
            {
                this.SetState(_data.StateType);
            }
            this.SetDisplay();
            this.SetBtnEvent();
            Debug.Log("ItemMain index: " + _data.index);
        }
Пример #2
0
 public OccupiedState(Pachinko pachinko)
 {
     _pachinko = pachinko;
 }
Пример #3
0
 public LostConnectionState(Pachinko pachinko)
 {
     _pachinko = pachinko;
 }
Пример #4
0
 public ResetState(Pachinko pachinko)
 {
     _pachinko = pachinko;
 }
Пример #5
0
 public MaintainState(Pachinko pachinko)
 {
     _pachinko = pachinko;
 }
Пример #6
0
 public OwnedState(Pachinko pachinko)
 {
     _pachinko = pachinko;
 }