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); }
public OccupiedState(Pachinko pachinko) { _pachinko = pachinko; }
public LostConnectionState(Pachinko pachinko) { _pachinko = pachinko; }
public ResetState(Pachinko pachinko) { _pachinko = pachinko; }
public MaintainState(Pachinko pachinko) { _pachinko = pachinko; }
public OwnedState(Pachinko pachinko) { _pachinko = pachinko; }