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

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

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

                case 16: {
                    InstanceId = input.ReadInt32();
                    break;
                }

                case 26: {
                    if (mapPlayerData_ == null)
                    {
                        mapPlayerData_ = new global::BigHead.protocol.PBMapPlayerData();
                    }
                    input.ReadMessage(mapPlayerData_);
                    break;
                }
                }
            }
        }
Exemplo n.º 2
0
 public void MergeFrom(GCUpdateMapPlayerData other)
 {
     if (other == null)
     {
         return;
     }
     if (other.PlayerId != 0UL)
     {
         PlayerId = other.PlayerId;
     }
     if (other.mapPlayerData_ != null)
     {
         if (mapPlayerData_ == null)
         {
             mapPlayerData_ = new global::BigHead.protocol.PBMapPlayerData();
         }
         MapPlayerData.MergeFrom(other.MapPlayerData);
     }
 }
Exemplo n.º 3
0
 public void MergeFrom(GCEnterInstance other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.InstanceId != 0)
     {
         InstanceId = other.InstanceId;
     }
     if (other.mapPlayerData_ != null)
     {
         if (mapPlayerData_ == null)
         {
             mapPlayerData_ = new global::BigHead.protocol.PBMapPlayerData();
         }
         MapPlayerData.MergeFrom(other.MapPlayerData);
     }
 }