| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: AvatarShape.proto |
| | 4 | | // </auto-generated> |
| | 5 | | #pragma warning disable 1591, 0612, 3021 |
| | 6 | | #region Designer generated code |
| | 7 | |
|
| | 8 | | using pb = global::Google.Protobuf; |
| | 9 | | using pbc = global::Google.Protobuf.Collections; |
| | 10 | | using pbr = global::Google.Protobuf.Reflection; |
| | 11 | | using scg = global::System.Collections.Generic; |
| | 12 | | namespace DCL.ECSComponents { |
| | 13 | |
|
| | 14 | | /// <summary>Holder for reflection information generated from AvatarShape.proto</summary> |
| | 15 | | public static partial class AvatarShapeReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for AvatarShape.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static AvatarShapeReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "ChFBdmF0YXJTaGFwZS5wcm90bxIQZGVjZW50cmFsYW5kLmVjcxoTY29tbW9u", |
| | 28 | | "L0NvbG9yMy5wcm90byK7AgoNUEJBdmF0YXJTaGFwZRIKCgJpZBgBIAEoCRIM", |
| | 29 | | "CgRuYW1lGAIgASgJEhIKCmJvZHlfc2hhcGUYAyABKAkSGwoKc2tpbl9jb2xv", |
| | 30 | | "chgEIAEoCzIHLkNvbG9yMxIbCgpoYWlyX2NvbG9yGAUgASgLMgcuQ29sb3Iz", |
| | 31 | | "EhoKCWV5ZV9jb2xvchgGIAEoCzIHLkNvbG9yMxIRCgl3ZWFyYWJsZXMYByAD", |
| | 32 | | "KAkSHQoVZXhwcmVzc2lvbl90cmlnZ2VyX2lkGAggASgJEiQKHGV4cHJlc3Np", |
| | 33 | | "b25fdHJpZ2dlcl90aW1lc3RhbXAYCSABKAMSGgoSc3RpY2tlcl90cmlnZ2Vy", |
| | 34 | | "X2lkGAogASgJEiEKGXN0aWNrZXJfdHJpZ2dlcl90aW1lc3RhbXAYCyABKAMS", |
| | 35 | | "DwoHdGFsa2luZxgMIAEoCEIUqgIRRENMLkVDU0NvbXBvbmVudHNiBnByb3Rv", |
| | 36 | | "Mw==")); |
| | 37 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 38 | | new pbr::FileDescriptor[] { global::Color3Reflection.Descriptor, }, |
| | 39 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 40 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBAvatarShape), global::DCL.ECSComponents.PBA |
| | 41 | | })); |
| | 42 | | } |
| | 43 | | #endregion |
| | 44 | |
|
| | 45 | | } |
| | 46 | | #region Messages |
| | 47 | | public sealed partial class PBAvatarShape : pb::IMessage<PBAvatarShape> { |
| 0 | 48 | | private static readonly pb::MessageParser<PBAvatarShape> _parser = new pb::MessageParser<PBAvatarShape>(() => new PB |
| | 49 | | private pb::UnknownFieldSet _unknownFields; |
| | 50 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 0 | 51 | | public static pb::MessageParser<PBAvatarShape> Parser { get { return _parser; } } |
| | 52 | |
|
| | 53 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 54 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 55 | | get { return global::DCL.ECSComponents.AvatarShapeReflection.Descriptor.MessageTypes[0]; } |
| | 56 | | } |
| | 57 | |
|
| | 58 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 59 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 60 | | get { return Descriptor; } |
| | 61 | | } |
| | 62 | |
|
| | 63 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 0 | 64 | | public PBAvatarShape() { |
| | 65 | | OnConstruction(); |
| 0 | 66 | | } |
| | 67 | |
|
| | 68 | | partial void OnConstruction(); |
| | 69 | |
|
| | 70 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 0 | 71 | | public PBAvatarShape(PBAvatarShape other) : this() { |
| 0 | 72 | | id_ = other.id_; |
| 0 | 73 | | name_ = other.name_; |
| 0 | 74 | | bodyShape_ = other.bodyShape_; |
| 0 | 75 | | skinColor_ = other.skinColor_ != null ? other.skinColor_.Clone() : null; |
| 0 | 76 | | hairColor_ = other.hairColor_ != null ? other.hairColor_.Clone() : null; |
| 0 | 77 | | eyeColor_ = other.eyeColor_ != null ? other.eyeColor_.Clone() : null; |
| 0 | 78 | | wearables_ = other.wearables_.Clone(); |
| 0 | 79 | | expressionTriggerId_ = other.expressionTriggerId_; |
| 0 | 80 | | expressionTriggerTimestamp_ = other.expressionTriggerTimestamp_; |
| 0 | 81 | | stickerTriggerId_ = other.stickerTriggerId_; |
| 0 | 82 | | stickerTriggerTimestamp_ = other.stickerTriggerTimestamp_; |
| 0 | 83 | | talking_ = other.talking_; |
| 0 | 84 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 85 | | } |
| | 86 | |
|
| | 87 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 88 | | public PBAvatarShape Clone() { |
| 0 | 89 | | return new PBAvatarShape(this); |
| | 90 | | } |
| | 91 | |
|
| | 92 | | /// <summary>Field number for the "id" field.</summary> |
| | 93 | | public const int IdFieldNumber = 1; |
| 0 | 94 | | private string id_ = ""; |
| | 95 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 96 | | public string Id { |
| 0 | 97 | | get { return id_; } |
| | 98 | | set { |
| 0 | 99 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 0 | 100 | | } |
| | 101 | | } |
| | 102 | |
|
| | 103 | | /// <summary>Field number for the "name" field.</summary> |
| | 104 | | public const int NameFieldNumber = 2; |
| 0 | 105 | | private string name_ = ""; |
| | 106 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 107 | | public string Name { |
| 0 | 108 | | get { return name_; } |
| | 109 | | set { |
| 0 | 110 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 0 | 111 | | } |
| | 112 | | } |
| | 113 | |
|
| | 114 | | /// <summary>Field number for the "body_shape" field.</summary> |
| | 115 | | public const int BodyShapeFieldNumber = 3; |
| 0 | 116 | | private string bodyShape_ = ""; |
| | 117 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 118 | | public string BodyShape { |
| 0 | 119 | | get { return bodyShape_; } |
| | 120 | | set { |
| 0 | 121 | | bodyShape_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 0 | 122 | | } |
| | 123 | | } |
| | 124 | |
|
| | 125 | | /// <summary>Field number for the "skin_color" field.</summary> |
| | 126 | | public const int SkinColorFieldNumber = 4; |
| | 127 | | private global::Color3 skinColor_; |
| | 128 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 129 | | public global::Color3 SkinColor { |
| 0 | 130 | | get { return skinColor_; } |
| | 131 | | set { |
| 0 | 132 | | skinColor_ = value; |
| 0 | 133 | | } |
| | 134 | | } |
| | 135 | |
|
| | 136 | | /// <summary>Field number for the "hair_color" field.</summary> |
| | 137 | | public const int HairColorFieldNumber = 5; |
| | 138 | | private global::Color3 hairColor_; |
| | 139 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 140 | | public global::Color3 HairColor { |
| 0 | 141 | | get { return hairColor_; } |
| | 142 | | set { |
| 0 | 143 | | hairColor_ = value; |
| 0 | 144 | | } |
| | 145 | | } |
| | 146 | |
|
| | 147 | | /// <summary>Field number for the "eye_color" field.</summary> |
| | 148 | | public const int EyeColorFieldNumber = 6; |
| | 149 | | private global::Color3 eyeColor_; |
| | 150 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 151 | | public global::Color3 EyeColor { |
| 0 | 152 | | get { return eyeColor_; } |
| | 153 | | set { |
| 0 | 154 | | eyeColor_ = value; |
| 0 | 155 | | } |
| | 156 | | } |
| | 157 | |
|
| | 158 | | /// <summary>Field number for the "wearables" field.</summary> |
| | 159 | | public const int WearablesFieldNumber = 7; |
| 0 | 160 | | private static readonly pb::FieldCodec<string> _repeated_wearables_codec |
| | 161 | | = pb::FieldCodec.ForString(58); |
| 0 | 162 | | private readonly pbc::RepeatedField<string> wearables_ = new pbc::RepeatedField<string>(); |
| | 163 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 164 | | public pbc::RepeatedField<string> Wearables { |
| 0 | 165 | | get { return wearables_; } |
| | 166 | | } |
| | 167 | |
|
| | 168 | | /// <summary>Field number for the "expression_trigger_id" field.</summary> |
| | 169 | | public const int ExpressionTriggerIdFieldNumber = 8; |
| 0 | 170 | | private string expressionTriggerId_ = ""; |
| | 171 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 172 | | public string ExpressionTriggerId { |
| 0 | 173 | | get { return expressionTriggerId_; } |
| | 174 | | set { |
| 0 | 175 | | expressionTriggerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 0 | 176 | | } |
| | 177 | | } |
| | 178 | |
|
| | 179 | | /// <summary>Field number for the "expression_trigger_timestamp" field.</summary> |
| | 180 | | public const int ExpressionTriggerTimestampFieldNumber = 9; |
| | 181 | | private long expressionTriggerTimestamp_; |
| | 182 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 183 | | public long ExpressionTriggerTimestamp { |
| 0 | 184 | | get { return expressionTriggerTimestamp_; } |
| | 185 | | set { |
| 0 | 186 | | expressionTriggerTimestamp_ = value; |
| 0 | 187 | | } |
| | 188 | | } |
| | 189 | |
|
| | 190 | | /// <summary>Field number for the "sticker_trigger_id" field.</summary> |
| | 191 | | public const int StickerTriggerIdFieldNumber = 10; |
| 0 | 192 | | private string stickerTriggerId_ = ""; |
| | 193 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 194 | | public string StickerTriggerId { |
| 0 | 195 | | get { return stickerTriggerId_; } |
| | 196 | | set { |
| 0 | 197 | | stickerTriggerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 0 | 198 | | } |
| | 199 | | } |
| | 200 | |
|
| | 201 | | /// <summary>Field number for the "sticker_trigger_timestamp" field.</summary> |
| | 202 | | public const int StickerTriggerTimestampFieldNumber = 11; |
| | 203 | | private long stickerTriggerTimestamp_; |
| | 204 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 205 | | public long StickerTriggerTimestamp { |
| 0 | 206 | | get { return stickerTriggerTimestamp_; } |
| | 207 | | set { |
| 0 | 208 | | stickerTriggerTimestamp_ = value; |
| 0 | 209 | | } |
| | 210 | | } |
| | 211 | |
|
| | 212 | | /// <summary>Field number for the "talking" field.</summary> |
| | 213 | | public const int TalkingFieldNumber = 12; |
| | 214 | | private bool talking_; |
| | 215 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 216 | | public bool Talking { |
| 0 | 217 | | get { return talking_; } |
| | 218 | | set { |
| 0 | 219 | | talking_ = value; |
| 0 | 220 | | } |
| | 221 | | } |
| | 222 | |
|
| | 223 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 224 | | public override bool Equals(object other) { |
| 0 | 225 | | return Equals(other as PBAvatarShape); |
| | 226 | | } |
| | 227 | |
|
| | 228 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 229 | | public bool Equals(PBAvatarShape other) { |
| 0 | 230 | | if (ReferenceEquals(other, null)) { |
| 0 | 231 | | return false; |
| | 232 | | } |
| 0 | 233 | | if (ReferenceEquals(other, this)) { |
| 0 | 234 | | return true; |
| | 235 | | } |
| 0 | 236 | | if (Id != other.Id) return false; |
| 0 | 237 | | if (Name != other.Name) return false; |
| 0 | 238 | | if (BodyShape != other.BodyShape) return false; |
| 0 | 239 | | if (!object.Equals(SkinColor, other.SkinColor)) return false; |
| 0 | 240 | | if (!object.Equals(HairColor, other.HairColor)) return false; |
| 0 | 241 | | if (!object.Equals(EyeColor, other.EyeColor)) return false; |
| 0 | 242 | | if(!wearables_.Equals(other.wearables_)) return false; |
| 0 | 243 | | if (ExpressionTriggerId != other.ExpressionTriggerId) return false; |
| 0 | 244 | | if (ExpressionTriggerTimestamp != other.ExpressionTriggerTimestamp) return false; |
| 0 | 245 | | if (StickerTriggerId != other.StickerTriggerId) return false; |
| 0 | 246 | | if (StickerTriggerTimestamp != other.StickerTriggerTimestamp) return false; |
| 0 | 247 | | if (Talking != other.Talking) return false; |
| 0 | 248 | | return Equals(_unknownFields, other._unknownFields); |
| | 249 | | } |
| | 250 | |
|
| | 251 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 252 | | public override int GetHashCode() { |
| 0 | 253 | | int hash = 1; |
| 0 | 254 | | if (Id.Length != 0) hash ^= Id.GetHashCode(); |
| 0 | 255 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| 0 | 256 | | if (BodyShape.Length != 0) hash ^= BodyShape.GetHashCode(); |
| 0 | 257 | | if (skinColor_ != null) hash ^= SkinColor.GetHashCode(); |
| 0 | 258 | | if (hairColor_ != null) hash ^= HairColor.GetHashCode(); |
| 0 | 259 | | if (eyeColor_ != null) hash ^= EyeColor.GetHashCode(); |
| 0 | 260 | | hash ^= wearables_.GetHashCode(); |
| 0 | 261 | | if (ExpressionTriggerId.Length != 0) hash ^= ExpressionTriggerId.GetHashCode(); |
| 0 | 262 | | if (ExpressionTriggerTimestamp != 0L) hash ^= ExpressionTriggerTimestamp.GetHashCode(); |
| 0 | 263 | | if (StickerTriggerId.Length != 0) hash ^= StickerTriggerId.GetHashCode(); |
| 0 | 264 | | if (StickerTriggerTimestamp != 0L) hash ^= StickerTriggerTimestamp.GetHashCode(); |
| 0 | 265 | | if (Talking != false) hash ^= Talking.GetHashCode(); |
| 0 | 266 | | if (_unknownFields != null) { |
| 0 | 267 | | hash ^= _unknownFields.GetHashCode(); |
| | 268 | | } |
| 0 | 269 | | return hash; |
| | 270 | | } |
| | 271 | |
|
| | 272 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 273 | | public override string ToString() { |
| 0 | 274 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 275 | | } |
| | 276 | |
|
| | 277 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 278 | | public void WriteTo(pb::CodedOutputStream output) { |
| 0 | 279 | | if (Id.Length != 0) { |
| 0 | 280 | | output.WriteRawTag(10); |
| 0 | 281 | | output.WriteString(Id); |
| | 282 | | } |
| 0 | 283 | | if (Name.Length != 0) { |
| 0 | 284 | | output.WriteRawTag(18); |
| 0 | 285 | | output.WriteString(Name); |
| | 286 | | } |
| 0 | 287 | | if (BodyShape.Length != 0) { |
| 0 | 288 | | output.WriteRawTag(26); |
| 0 | 289 | | output.WriteString(BodyShape); |
| | 290 | | } |
| 0 | 291 | | if (skinColor_ != null) { |
| 0 | 292 | | output.WriteRawTag(34); |
| 0 | 293 | | output.WriteMessage(SkinColor); |
| | 294 | | } |
| 0 | 295 | | if (hairColor_ != null) { |
| 0 | 296 | | output.WriteRawTag(42); |
| 0 | 297 | | output.WriteMessage(HairColor); |
| | 298 | | } |
| 0 | 299 | | if (eyeColor_ != null) { |
| 0 | 300 | | output.WriteRawTag(50); |
| 0 | 301 | | output.WriteMessage(EyeColor); |
| | 302 | | } |
| 0 | 303 | | wearables_.WriteTo(output, _repeated_wearables_codec); |
| 0 | 304 | | if (ExpressionTriggerId.Length != 0) { |
| 0 | 305 | | output.WriteRawTag(66); |
| 0 | 306 | | output.WriteString(ExpressionTriggerId); |
| | 307 | | } |
| 0 | 308 | | if (ExpressionTriggerTimestamp != 0L) { |
| 0 | 309 | | output.WriteRawTag(72); |
| 0 | 310 | | output.WriteInt64(ExpressionTriggerTimestamp); |
| | 311 | | } |
| 0 | 312 | | if (StickerTriggerId.Length != 0) { |
| 0 | 313 | | output.WriteRawTag(82); |
| 0 | 314 | | output.WriteString(StickerTriggerId); |
| | 315 | | } |
| 0 | 316 | | if (StickerTriggerTimestamp != 0L) { |
| 0 | 317 | | output.WriteRawTag(88); |
| 0 | 318 | | output.WriteInt64(StickerTriggerTimestamp); |
| | 319 | | } |
| 0 | 320 | | if (Talking != false) { |
| 0 | 321 | | output.WriteRawTag(96); |
| 0 | 322 | | output.WriteBool(Talking); |
| | 323 | | } |
| 0 | 324 | | if (_unknownFields != null) { |
| 0 | 325 | | _unknownFields.WriteTo(output); |
| | 326 | | } |
| 0 | 327 | | } |
| | 328 | |
|
| | 329 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 330 | | public int CalculateSize() { |
| 0 | 331 | | int size = 0; |
| 0 | 332 | | if (Id.Length != 0) { |
| 0 | 333 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 334 | | } |
| 0 | 335 | | if (Name.Length != 0) { |
| 0 | 336 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 337 | | } |
| 0 | 338 | | if (BodyShape.Length != 0) { |
| 0 | 339 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(BodyShape); |
| | 340 | | } |
| 0 | 341 | | if (skinColor_ != null) { |
| 0 | 342 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(SkinColor); |
| | 343 | | } |
| 0 | 344 | | if (hairColor_ != null) { |
| 0 | 345 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(HairColor); |
| | 346 | | } |
| 0 | 347 | | if (eyeColor_ != null) { |
| 0 | 348 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(EyeColor); |
| | 349 | | } |
| 0 | 350 | | size += wearables_.CalculateSize(_repeated_wearables_codec); |
| 0 | 351 | | if (ExpressionTriggerId.Length != 0) { |
| 0 | 352 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(ExpressionTriggerId); |
| | 353 | | } |
| 0 | 354 | | if (ExpressionTriggerTimestamp != 0L) { |
| 0 | 355 | | size += 1 + pb::CodedOutputStream.ComputeInt64Size(ExpressionTriggerTimestamp); |
| | 356 | | } |
| 0 | 357 | | if (StickerTriggerId.Length != 0) { |
| 0 | 358 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(StickerTriggerId); |
| | 359 | | } |
| 0 | 360 | | if (StickerTriggerTimestamp != 0L) { |
| 0 | 361 | | size += 1 + pb::CodedOutputStream.ComputeInt64Size(StickerTriggerTimestamp); |
| | 362 | | } |
| 0 | 363 | | if (Talking != false) { |
| 0 | 364 | | size += 1 + 1; |
| | 365 | | } |
| 0 | 366 | | if (_unknownFields != null) { |
| 0 | 367 | | size += _unknownFields.CalculateSize(); |
| | 368 | | } |
| 0 | 369 | | return size; |
| | 370 | | } |
| | 371 | |
|
| | 372 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 373 | | public void MergeFrom(PBAvatarShape other) { |
| 0 | 374 | | if (other == null) { |
| 0 | 375 | | return; |
| | 376 | | } |
| 0 | 377 | | if (other.Id.Length != 0) { |
| 0 | 378 | | Id = other.Id; |
| | 379 | | } |
| 0 | 380 | | if (other.Name.Length != 0) { |
| 0 | 381 | | Name = other.Name; |
| | 382 | | } |
| 0 | 383 | | if (other.BodyShape.Length != 0) { |
| 0 | 384 | | BodyShape = other.BodyShape; |
| | 385 | | } |
| 0 | 386 | | if (other.skinColor_ != null) { |
| 0 | 387 | | if (skinColor_ == null) { |
| 0 | 388 | | SkinColor = new global::Color3(); |
| | 389 | | } |
| 0 | 390 | | SkinColor.MergeFrom(other.SkinColor); |
| | 391 | | } |
| 0 | 392 | | if (other.hairColor_ != null) { |
| 0 | 393 | | if (hairColor_ == null) { |
| 0 | 394 | | HairColor = new global::Color3(); |
| | 395 | | } |
| 0 | 396 | | HairColor.MergeFrom(other.HairColor); |
| | 397 | | } |
| 0 | 398 | | if (other.eyeColor_ != null) { |
| 0 | 399 | | if (eyeColor_ == null) { |
| 0 | 400 | | EyeColor = new global::Color3(); |
| | 401 | | } |
| 0 | 402 | | EyeColor.MergeFrom(other.EyeColor); |
| | 403 | | } |
| 0 | 404 | | wearables_.Add(other.wearables_); |
| 0 | 405 | | if (other.ExpressionTriggerId.Length != 0) { |
| 0 | 406 | | ExpressionTriggerId = other.ExpressionTriggerId; |
| | 407 | | } |
| 0 | 408 | | if (other.ExpressionTriggerTimestamp != 0L) { |
| 0 | 409 | | ExpressionTriggerTimestamp = other.ExpressionTriggerTimestamp; |
| | 410 | | } |
| 0 | 411 | | if (other.StickerTriggerId.Length != 0) { |
| 0 | 412 | | StickerTriggerId = other.StickerTriggerId; |
| | 413 | | } |
| 0 | 414 | | if (other.StickerTriggerTimestamp != 0L) { |
| 0 | 415 | | StickerTriggerTimestamp = other.StickerTriggerTimestamp; |
| | 416 | | } |
| 0 | 417 | | if (other.Talking != false) { |
| 0 | 418 | | Talking = other.Talking; |
| | 419 | | } |
| 0 | 420 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 421 | | } |
| | 422 | |
|
| | 423 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 424 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 425 | | uint tag; |
| 0 | 426 | | while ((tag = input.ReadTag()) != 0) { |
| | 427 | | switch(tag) { |
| | 428 | | default: |
| 0 | 429 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 430 | | break; |
| | 431 | | case 10: { |
| 0 | 432 | | Id = input.ReadString(); |
| 0 | 433 | | break; |
| | 434 | | } |
| | 435 | | case 18: { |
| 0 | 436 | | Name = input.ReadString(); |
| 0 | 437 | | break; |
| | 438 | | } |
| | 439 | | case 26: { |
| 0 | 440 | | BodyShape = input.ReadString(); |
| 0 | 441 | | break; |
| | 442 | | } |
| | 443 | | case 34: { |
| 0 | 444 | | if (skinColor_ == null) { |
| 0 | 445 | | SkinColor = new global::Color3(); |
| | 446 | | } |
| 0 | 447 | | input.ReadMessage(SkinColor); |
| 0 | 448 | | break; |
| | 449 | | } |
| | 450 | | case 42: { |
| 0 | 451 | | if (hairColor_ == null) { |
| 0 | 452 | | HairColor = new global::Color3(); |
| | 453 | | } |
| 0 | 454 | | input.ReadMessage(HairColor); |
| 0 | 455 | | break; |
| | 456 | | } |
| | 457 | | case 50: { |
| 0 | 458 | | if (eyeColor_ == null) { |
| 0 | 459 | | EyeColor = new global::Color3(); |
| | 460 | | } |
| 0 | 461 | | input.ReadMessage(EyeColor); |
| 0 | 462 | | break; |
| | 463 | | } |
| | 464 | | case 58: { |
| 0 | 465 | | wearables_.AddEntriesFrom(input, _repeated_wearables_codec); |
| 0 | 466 | | break; |
| | 467 | | } |
| | 468 | | case 66: { |
| 0 | 469 | | ExpressionTriggerId = input.ReadString(); |
| 0 | 470 | | break; |
| | 471 | | } |
| | 472 | | case 72: { |
| 0 | 473 | | ExpressionTriggerTimestamp = input.ReadInt64(); |
| 0 | 474 | | break; |
| | 475 | | } |
| | 476 | | case 82: { |
| 0 | 477 | | StickerTriggerId = input.ReadString(); |
| 0 | 478 | | break; |
| | 479 | | } |
| | 480 | | case 88: { |
| 0 | 481 | | StickerTriggerTimestamp = input.ReadInt64(); |
| 0 | 482 | | break; |
| | 483 | | } |
| | 484 | | case 96: { |
| 0 | 485 | | Talking = input.ReadBool(); |
| | 486 | | break; |
| | 487 | | } |
| | 488 | | } |
| | 489 | | } |
| 0 | 490 | | } |
| | 491 | |
|
| | 492 | | } |
| | 493 | |
|
| | 494 | | #endregion |
| | 495 | |
|
| | 496 | | } |
| | 497 | |
|
| | 498 | | #endregion Designer generated code |