1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <?php
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- namespace loyalsoft;
- /**
- * Description of Ins_Achieve
- *
- * @author c'y'zhao
- */
- class Ins_Achieve {
-
- public $typeId = 0;
-
- /**
- * 当前进度条的最大值
- * @var type
- */
- public $max = 0;
- /**
- * 累计值
- * @var type
- */
- public $val = 0;
- /**
- * 领取奖励记录
- * @var type
- */
- public $received = 0;
-
- /**
- * 类型
- * @var type
- */
- public $cmd = 0;
-
- public function __construct($args) {
- if ($args != null) {
- parent::__construct($args);
- }
- }
-
- public function getAchieveMo() {
- return GameConfig::achieve_getItem($this->typeId);
- }
- }
|