public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { itemId_ = (global::POGOProtos.Inventory.Item.ItemId)input.ReadEnum(); break; } case 16: { upgradeType_ = (global::POGOProtos.Inventory.InventoryUpgradeType)input.ReadEnum(); break; } case 24: { AdditionalStorage = input.ReadInt32(); break; } } } }
public void MergeFrom(InventoryUpgradeAttributes other) { if (other == null) { return; } if (other.AdditionalStorage != 0) { AdditionalStorage = other.AdditionalStorage; } if (other.UpgradeType != 0) { UpgradeType = other.UpgradeType; } }
public void MergeFrom(InventoryUpgradeAttributes other) { if (other == null) { return; } if (other.AdditionalStorage != 0) { AdditionalStorage = other.AdditionalStorage; } if (other.UpgradeType != 0) { UpgradeType = other.UpgradeType; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { AdditionalStorage = input.ReadInt32(); break; } case 16: { upgradeType_ = (global::POGOProtos.Inventory.InventoryUpgradeType)input.ReadEnum(); break; } } } }