Esempio n. 1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 8: {
                    Ret = input.ReadInt32();
                    break;
                }

                case 18: {
                    if (info_ == null)
                    {
                        info_ = new global::Org.OkraAx.V3.MsgPlayerInfo();
                    }
                    input.ReadMessage(info_);
                    break;
                }
                }
            }
        }
Esempio n. 2
0
 public void MergeFrom(ApiCallbackVerifyPlayerInfo other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Ret != 0)
     {
         Ret = other.Ret;
     }
     if (other.info_ != null)
     {
         if (info_ == null)
         {
             info_ = new global::Org.OkraAx.V3.MsgPlayerInfo();
         }
         Info.MergeFrom(other.Info);
     }
 }