public function Decode($buf = '')
 {
     $this->buffer = new CodeEngine($buf);
     $this->ResultID = $this->buffer->DecodeInt16();
     $this->SrcUin = $this->buffer->DecodeInt32();
     $this->SrcAccount = $this->buffer->DecodeString();
     $this->DstUin = $this->buffer->DecodeInt32();
     $this->DstAccount = $this->buffer->DecodeString();
     $this->DataCount = $this->buffer->DecodeInt16();
     for ($i = 0; $i < $this->DataCount; $i++) {
         $temp = new PlayerCommonData();
         $this->DeltaData[] = $temp->Decode($this->buffer);
     }
     if ($this->ResultID == CSResultID::result_id_success) {
         $temp = new PlayerCommonData();
         $this->CurrentData[] = $temp->Decode($this->buffer);
     }
     $this->TransparentDataSize = $this->buffer->DecodeInt16();
     if ($this->TransparentDataSize > max_transparent_data_size) {
         return false;
     }
     if ($this->TransparentDataSize > 0) {
         $this->TransparentData = $this->buffer->DecodeMemory($this->TransparentDataSize);
     }
     $this->TransTag = $this->buffer->DecodeString();
 }
 public function Decode($buf = '')
 {
     $this->buffer = new CodeEngine($buf);
     $this->Uin = $this->buffer->DecodeInt32();
     $this->ResultID = $this->buffer->DecodeInt16();
     if ($this->ResultID == CSResultID::result_id_success) {
         $this->DataCount = $this->buffer->DecodeInt16();
         for ($i = 0; $i < $this->DataCount; $i++) {
             $temp = new PlayerCommonData();
             $this->DataCount[] = $temp->Decode($this->buffer);
         }
     }
 }
 public function Decode($buf = '')
 {
     $this->buffer = new CodeEngine($buf);
     $this->Uin = $this->buffer->DecodeInt32();
     $this->Account = $this->buffer->DecodeString();
     $this->DataCount = $this->buffer->DecodeInt16();
     for ($i = 0; $i < $this->DataCount; $i++) {
         $temp = new PlayerCommonData();
         $this->CurrentData[] = $temp->Decode($this->buffer);
     }
     $this->NofifyTransparentDataSize = $this->buffer->DecodeInt16();
     if ($this->NofifyTransparentDataSize > max_sub_message_size) {
         return false;
     }
     if ($this->NofifyTransparentDataSize > 0) {
         $this->NofifyTransparentData = $this->buffer->DecodeMemory($this->NofifyTransparentDataSize);
     }
 }