申请过的公会记录 */ public $appliedguildRecord; // /** * @var string 公会名称 */ public $guildName = ""; /** * 角色类型 * @var type */ public $position = ""; /** * @var int 创建公会冷却时间 */ public $create_coding = 0; /** * 清理 * @return Data_UserGuild */ public function Clear() { $this->ts = now(); $this->joints = now(); // 玩家公会的创建时间 $this->guildId = 0; $this->appliedguildlist = array(); $this->appliedguildRecord = ObjectInit(); $this->position = ""; //职位 return $this; } /** * 初始化个人公会信息 */ public function __construct($args = null) { if (isset($args)) { parent::__construct($args); } else { $this->ts = now(); $this->joints = now(); // 玩家公会的创建时间 $this->guildId = 0; $this->appliedguildlist = array(); $this->appliedguildRecord = ObjectInit(); } } }