Exemplo n.º 1
0
 public override Builder MergeFrom(pb::IMessage other) {
   if (other is S2C) {
     return MergeFrom((S2C) other);
   } else {
     base.MergeFrom(other);
     return this;
   }
 }
Exemplo n.º 2
0
        public static string Pb2String(pb::IMessage retMsg)
        {
            pb::CodedOutputStream cos = new pb::CodedOutputStream(bytesPBBuffer);

            retMsg.WriteTo(cos);
            string ret = Util.Byte2String(bytesPBBuffer, 0, cos.Position);

            return(ret);
        }
Exemplo n.º 3
0
        public static byte[] Pb2Byte(pb::IMessage retMsg)
        {
            pb::CodedOutputStream cos = new pb::CodedOutputStream(bytesPBBuffer);

            retMsg.WriteTo(cos);
            byte[] ret = new byte[cos.Position];
            Array.Copy(bytesPBBuffer, 0, ret, 0, cos.Position);

            return(ret);
        }
Exemplo n.º 4
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is CSharpFileOptions)
     {
         return(MergeFrom((CSharpFileOptions)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 5
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is FriendInvitation)
     {
         return(MergeFrom((FriendInvitation)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 6
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is ContentHandle)
     {
         return(MergeFrom((ContentHandle)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 7
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is AuthenticationCommand)
     {
         return(MergeFrom((AuthenticationCommand)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is ProtoErrorRes)
     {
         return(MergeFrom((ProtoErrorRes)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 9
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is CreateSessionResponse)
     {
         return(MergeFrom((CreateSessionResponse)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 10
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is PartnerToken)
     {
         return(MergeFrom((PartnerToken)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 11
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is SelectionEnvelope)
     {
         return(MergeFrom((SelectionEnvelope)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 12
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is GameAccountSettings)
     {
         return(MergeFrom((GameAccountSettings)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 13
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is A1026GameResult)
     {
         return(MergeFrom((A1026GameResult)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is CombinedFingerprints)
     {
         return(MergeFrom((CombinedFingerprints)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is LogicalFingerprint)
     {
         return(MergeFrom((LogicalFingerprint)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 16
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is IndexAttributeProto)
     {
         return(MergeFrom((IndexAttributeProto)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 17
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is GeneralRequestCommand)
     {
         return(MergeFrom((GeneralRequestCommand)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is TestEmbedOptimizedForSize)
     {
         return(MergeFrom((TestEmbedOptimizedForSize)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 19
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is CompDataPackage)
     {
         return(MergeFrom((CompDataPackage)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 20
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is PbNewsPrompt)
     {
         return(MergeFrom((PbNewsPrompt)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 21
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is RegularData)
     {
         return(MergeFrom((RegularData)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is AuthSessionTokenReq)
     {
         return(MergeFrom((AuthSessionTokenReq)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is ProtoHeartbeatEvent)
     {
         return(MergeFrom((ProtoHeartbeatEvent)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 24
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is LaidianCommandModel)
     {
         return(MergeFrom((LaidianCommandModel)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 25
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is GetChunkResponse)
     {
         return(MergeFrom((GetChunkResponse)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 26
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is CrafterSavedData)
     {
         return(MergeFrom((CrafterSavedData)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 27
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is SocketModelPB)
     {
         return(MergeFrom((SocketModelPB)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 28
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is CreateCollectionCommand)
     {
         return(MergeFrom((CreateCollectionCommand)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 29
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is Any)
     {
         return(MergeFrom((Any)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }
Exemplo n.º 30
0
 public override Builder MergeFrom(pb::IMessage other)
 {
     if (other is DriverNotCard)
     {
         return(MergeFrom((DriverNotCard)other));
     }
     else
     {
         base.MergeFrom(other);
         return(this);
     }
 }