/**
  * Encode Background and Symbol as value+1,
  *
  * {@inheritdoc}
  */
 public function __set($name, $value)
 {
     if ($name == 'Background' || $name == 'Symbol') {
         $value++;
     }
     parent::__set($name, $value);
 }
Example #2
0
 /**
  * SPropVisualB
  */
 public function __construct()
 {
     parent::__construct(array('MorphTarget1' => 3, 'MorphTarget2' => 3, 'MorphTarget3' => 3, 'MorphTarget4' => 3, 'MorphTarget5' => 3, 'MorphTarget6' => 3, 'MorphTarget7' => 3, 'MorphTarget8' => 3, 'EyesColor' => 3, 'Tattoo' => 7, 'CharacterHeight' => 4, 'TorsoWidth' => 4, 'ArmsWidth' => 4, 'LegsWidth' => 4, 'BreastSize' => 4));
 }
Example #3
0
 /**
  * SPropVisualA
  */
 public function __construct()
 {
     parent::__construct(array('Sex' => 1, 'JacketModel' => 8, 'JacketColor' => 3, 'TrouserModel' => 8, 'TrouserColor' => 3, 'WeaponRightHand' => 10, 'WeaponLeftHand' => 8, 'ArmModel' => 8, 'ArmColor' => 3, 'HatModel' => 9, 'HatColor' => 3));
 }
Example #4
0
 /**
  * SPropVisualB
  */
 public function __construct()
 {
     parent::__construct(array('Name' => 16, 'HandsModel' => 9, 'HandsColor' => 3, 'FeetModel' => 9, 'FeetColor' => 3, 'RTrail' => 4, 'LTrail' => 3));
 }