| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?php
- namespace App\Module\GameItems\Casts;
- use Illuminate\Database\Eloquent\Model;
- use UCore\Model\CastsAttributes;
- class NumericAttributesCast extends CastsAttributes
- {
- /**
- * 宝箱最小数量
- *
- * @var int $min_drop_count
- */
- public int $min_drop_count = 0;
- /**
- * 宝箱最大数量
- *
- * @var int $max_drop_count
- */
- public int $max_drop_count = 0;
- /**
- * 测试属性浮点类型
- *
- * @var float $fint
- */
- public float $fint = 0.1;
- /**
- * 减少作物生长时间
- *
- * @var int $intd
- */
- public int $crop_growth_time = 0;
- /**
- * 增加宠物体力
- * @var int $pet_power
- */
- public int $pet_power = 0;
- /**
- * 使用后随即奖励物品组
- * @var int $reward_group_id
- */
- public int $reward_group_id = 0;
- /**
- * 增加宠物经验
- * @var int $pet_exp
- */
- public int $pet_exp = 0;
- /**
- * 测试属性字符串类型
- * @var string $stval
- */
- public string $stval = ' ';
- }
|