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; } } } }
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); } }
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); } }