diff --git a/.vs/ZwiftPacketMonitor/DesignTimeBuild/.dtbcache.v2 b/.vs/ZwiftPacketMonitor/DesignTimeBuild/.dtbcache.v2 index d0fba26..342b5cc 100644 Binary files a/.vs/ZwiftPacketMonitor/DesignTimeBuild/.dtbcache.v2 and b/.vs/ZwiftPacketMonitor/DesignTimeBuild/.dtbcache.v2 differ diff --git a/README.md b/README.md index 2119e52..424c81d 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,11 @@ See the included ZwiftPacketMonitor.Demo project for a complete working example. monitor.OutgoingPlayerEvent += (s, e) => { logger.LogInformation($"OUTGOING: {e.PlayerState}"); }; - monitor.IncomingChatMessageEvent += (s, e) => { - logger.LogInformation($"CHAT: {e.Message}"); + monitor.IncomingSocialPlayerActionEvent += (s, e) => { + logger.LogInformation($"SPA: {e.SocialPlayerAction}"); }; - monitor.IncomingPlayerEnteredWorldEvent += (s, e) => { - logger.LogInformation($"WORLD: {e.PlayerUpdate}"); + monitor.IncomingSegmentResultWorldEvent += (s, e) => { + logger.LogInformation($"SegmentResult: {e.SegmentResult}"); }; monitor.IncomingRideOnGivenEvent += (s, e) => { logger.LogInformation($"RIDEON: {e.RideOn}"); diff --git a/demo/Program.cs b/demo/Program.cs index 83c4b1b..f80e8b9 100644 --- a/demo/Program.cs +++ b/demo/Program.cs @@ -24,26 +24,74 @@ static void Main(string[] args) var logger = serviceProvider.GetService>(); var monitor = serviceProvider.GetService(); - monitor.IncomingPlayerEvent += (s, e) => + /*monitor.IncomingPlayerEvent += (s, e) => { logger.LogInformation($"INCOMING: {e.PlayerState}"); }; monitor.OutgoingPlayerEvent += (s, e) => { logger.LogInformation($"OUTGOING: {e.PlayerState}"); + };*/ + monitor.IncomingSocialPlayerActionEvent += (s, e) => + { + logger.LogInformation($"SPA: {e.SocialPlayerAction}"); }; - monitor.IncomingChatMessageEvent += (s, e) => + /*monitor.IncomingSegmentResultEvent += (s, e) => + { + logger.LogInformation($"SegmentResult: {e.SegmentResult}"); + };*/ + monitor.IncomingRideOnGivenEvent += (s, e) => { - logger.LogInformation($"CHAT: {e.Message}"); + logger.LogInformation($"RIDEON: {e.RideOn}, wa: {e.WorldAttribute}"); }; - monitor.IncomingPlayerEnteredWorldEvent += (s, e) => + monitor.IncomingEventProtobufEvent += (s, e) => { - logger.LogInformation($"WORLD: {e.PlayerUpdate}"); + logger.LogInformation($"EventProtobuf: {e.EventProtobuf}, wa: {e.WorldAttribute}"); }; - monitor.IncomingRideOnGivenEvent += (s, e) => + monitor.IncomingPlayerJoinedEvent += (s, e) => + { + logger.LogInformation($"PlayerJoinedEvent: {e.PlayerJoinedEvent}, wa: {e.WorldAttribute}"); + }; + monitor.IncomingPlayerLeftEvent += (s, e) => + { + logger.LogInformation($"PlayerLeftEvent: {e.PlayerLeftEvent}, wa: {e.WorldAttribute}"); + }; + /*monitor.IncomingPlayerLeftWorldEvent += (s, e) => + { + logger.LogInformation($"PlayerLeftWorld: {e.WaType}: {e.PlayerLeftWorld}"); + };*/ + monitor.IncomingEventInviteEvent += (s, e) => + { + logger.LogInformation($"EventInvite: {e.EventProtobuf}, wa: {e.WorldAttribute}"); + }; + /*monitor.IncomingNotableEvent += (s, e) => + { + logger.LogInformation($"Notable: PlayerId: {e.PlayerId} Hex: {e.NotableHexStr}"); + };*/ + /*monitor.IncomingGroupEvent += (s, e) => + { + logger.LogInformation($"GroupEvent {e.GeKindStr}: PlayerId: {e.PlayerId} Hex: {e.GeHexStr}"); + };*/ + monitor.IncomingBikeActionEvent += (s, e) => + { + logger.LogInformation($"BikeActionEvent {e.BikeAction}: PlayerId: {e.PlayerId} Hex: {e.BaHexStr}"); + }; + monitor.IncomingNoPayloadWaEvent += (s, e) => { - logger.LogInformation($"RIDEON: {e.RideOn}"); + logger.LogInformation($"NoPayloadWa: {e.WaType}"); }; + monitor.IncomingMessageWaEvent += (s, e) => + { + logger.LogInformation($"Message: {e.WaType}: {e.Message}"); + }; + monitor.IncomingFloatTimeWaEvent += (s, e) => + { + logger.LogInformation($"FloatTimeWa: {e.WaType}: {e.FloatTime}"); + }; + /*monitor.IncomingFlagWaEvent += (s, e) => + { + logger.LogInformation($"FlagWa: {e.FlagWaInfo}"); + };*/ // Print SharpPcap version var ver = Pcap.SharpPcapVersion; diff --git a/src/EventArgs.cs b/src/EventArgs.cs index 65791cb..627f5a8 100644 --- a/src/EventArgs.cs +++ b/src/EventArgs.cs @@ -1,31 +1,84 @@ using System; -namespace ZwiftPacketMonitor -{ public class PlayerStateEventArgs : EventArgs { +namespace ZwiftPacketMonitor { + public class PlayerStateEventArgs : EventArgs { public PlayerState PlayerState {get; set;} } - public class PlayerEnteredWorldEventArgs : EventArgs { - public Payload105 PlayerUpdate {get; set;} + public class WaEventArgs : EventArgs { + public WorldAttribute WorldAttribute { get; set; } } - - public class RideOnGivenEventArgs : EventArgs { + public class SegmentResultEventArgs : WaEventArgs { + public SegmentResult SegmentResult { get; set;} + } + public class RideOnGivenEventArgs : WaEventArgs { public RideOn RideOn {get; set;} } - - public class ChatMessageEventArgs : EventArgs { - public Chat Message {get; set;} + public class SocialPlayerActionEventArgs : WaEventArgs { + public SocialPlayerAction SocialPlayerAction { get; set;} } - - public class PlayerTimeSyncEventArgs : EventArgs { - public TimeSync TimeSync {get; set;} + public class PlayerLeftWorldEventArgs : WaEventArgs { + public PlayerLeftWorld PlayerLeftWorld { get; set;} + public WA_TYPE WaType { get; set; } } - - public class MeetupEventArgs : EventArgs { - public Meetup Meetup {get; set;} + public class EventProtobufEventArgs : WaEventArgs { + public EventProtobuf EventProtobuf { get; set;} } - - public class EventPositionsEventArgs : EventArgs { - public EventPositions EventPositions {get; set;} + public class PlayerJoinedEventArgs : WaEventArgs { + public PlayerJoinedEvent PlayerJoinedEvent {get; set;} + } + public class PlayerLeftEventArgs : WaEventArgs { + public PlayerLeftEvent PlayerLeftEvent {get; set;} + } + public class NotableEventArgs : WaEventArgs { + public string NotableHexStr { get; set;} + public Int64 PlayerId { get; set; } + } + public class GroupEventArgs : WaEventArgs { + public string GeHexStr { get; set;} + public string GeKindStr { get; set;} + public Int64 PlayerId { get; set; } + } + public enum BikeAction + { + BA_ELBOW = 0, BA_WAVE, BA_2, BA_RIDEON, + BA_HAMMER, BA_NICE, BA_BRING_IT, BA_TOAST, BA_BELL, BA_HOLIDAY_WAVE + } + public class BikeActionEventArgs : WaEventArgs { + public string BaHexStr { get; set;} + public BikeAction BikeAction { get; set;} + public Int64 PlayerId { get; set; } + } + public class NoPayloadWaEventArgs : WaEventArgs { + public WA_TYPE WaType { get; set;} + } + public class EventSubgroupPlacementsEventArgs : WaEventArgs { + public EventSubgroupPlacements EvSubgroupPs { get; set;} + } + public class MessageWaEventArgs : WaEventArgs { + public WA_TYPE WaType { get; set; } + public string Message { get; set; } + } + public class FloatTimeWaEventArgs : WaEventArgs { + public WA_TYPE WaType { get; set; } + public float FloatTime { get; set; } + } + public class FlagWaInfo { + public Int64 networkId, playerId; + public double doubleVal; + public int flag; + public FlagWaInfo(byte[] src) { + networkId = BitConverter.ToInt64(src, 0); + playerId = BitConverter.ToInt64(src, 8); + doubleVal = BitConverter.ToDouble(src, 16); + flag = BitConverter.ToInt32(src, 24); + } + public override string ToString() { + //networkId must be == 1 (also seen 4296802305), flag: 4 -> Sandbagger, otherwise: Cheater. Double looks like world_time/1000. + return $"networkId: {networkId}, playerId: {playerId}, doubleVal: {doubleVal}, flag: {flag}"; + } + } + public class FlagWaEventArgs : WaEventArgs { + public FlagWaInfo FlagWaInfo { get; set; } } } \ No newline at end of file diff --git a/src/Monitor.cs b/src/Monitor.cs index 173ca6c..b210d2a 100644 --- a/src/Monitor.cs +++ b/src/Monitor.cs @@ -52,7 +52,7 @@ public class Monitor /// /// This event gets invoked when a remote player enteres the world /// - public event EventHandler IncomingPlayerEnteredWorldEvent; + public event EventHandler IncomingSegmentResultEvent; /// /// This event gets invoked when a remote player gives a ride on to another player @@ -62,22 +62,72 @@ public class Monitor /// /// This event gets invoked when a remote player sends a chat message /// - public event EventHandler IncomingChatMessageEvent; + public event EventHandler IncomingSocialPlayerActionEvent; /// /// This event gets invoked when a remote player's world time needs to be synced /// - public event EventHandler IncomingPlayerTimeSyncEvent; + public event EventHandler IncomingPlayerLeftWorldEvent; /// /// This event gets invoked when a meetup gets scheduled or updated /// - public event EventHandler IncomingMeetupEvent; + public event EventHandler IncomingEventProtobufEvent; + + /// + /// This event gets invoked when the player joined event + /// + public event EventHandler IncomingPlayerJoinedEvent; + + /// + /// This event gets invoked when the player left event + /// + public event EventHandler IncomingPlayerLeftEvent; + + /// + /// This event gets invoked when the player invited to event + /// + public event EventHandler IncomingEventInviteEvent; + + /// + /// This event gets invoked when notable moment occurred + /// + public event EventHandler IncomingNotableEvent; + + /// + /// This event gets invoked when group event occurred + /// + public event EventHandler IncomingGroupEvent; + + /// + /// This event gets invoked when bike action occurred + /// + public event EventHandler IncomingBikeActionEvent; + + /// + /// This event gets invoked when no-payload WorldAttribute received + /// + public event EventHandler IncomingNoPayloadWaEvent; + + /// + /// This event gets invoked when string message WorldAttribute received + /// + public event EventHandler IncomingMessageWaEvent; + + /// + /// This event gets invoked when time-sync WorldAttribute received + /// + public event EventHandler IncomingFloatTimeWaEvent; + + /// + /// This event gets invoked when 'flag' WorldAttribute received + /// + public event EventHandler IncomingFlagWaEvent; /// /// This event gets invoked during events and reports rider positions /// - public event EventHandler IncomingEventPositionsEvent; + public event EventHandler IncomingEventSubgroupPlacementsEvent; /// /// A flag that indicates whether packet capture is currently running or not @@ -105,9 +155,9 @@ public Monitor(ILogger logger, PacketAssembler packetAssembler) }; } - private void OnIncomingEventPositionsEvent(EventPositionsEventArgs e) + private void OnIncomingEventSubgroupPlacementsEvent(EventSubgroupPlacementsEventArgs e) { - var handler = IncomingEventPositionsEvent; + var handler = IncomingEventSubgroupPlacementsEvent; if (handler != null) { try { @@ -119,9 +169,9 @@ private void OnIncomingEventPositionsEvent(EventPositionsEventArgs e) } } - private void OnIncomingMeetupEvent(MeetupEventArgs e) + private void OnIncomingMeetupEvent(EventProtobufEventArgs e) { - var handler = IncomingMeetupEvent; + var handler = IncomingEventProtobufEvent; if (handler != null) { try { @@ -133,9 +183,149 @@ private void OnIncomingMeetupEvent(MeetupEventArgs e) } } - private void OnIncomingChatMessageEvent(ChatMessageEventArgs e) + private void OnIncomingPlayerLeftEvent(PlayerLeftEventArgs e) { - var handler = IncomingChatMessageEvent; + var handler = IncomingPlayerLeftEvent; + if (handler != null) + { + try { + handler(this, e); + } + catch { + // Don't let downstream exceptions bubble up + } + } + } + + private void OnIncomingPlayerJoinedEvent(PlayerJoinedEventArgs e) + { + var handler = IncomingPlayerJoinedEvent; + if (handler != null) + { + try { + handler(this, e); + } + catch { + // Don't let downstream exceptions bubble up + } + } + } + + private void OnIncomingEventInviteEvent(EventProtobufEventArgs e) + { + var handler = IncomingEventInviteEvent; + if (handler != null) + { + try { + handler(this, e); + } + catch { + // Don't let downstream exceptions bubble up + } + } + } + + private void OnIncomingNotableEvent(NotableEventArgs e) + { + var handler = IncomingNotableEvent; + if (handler != null) + { + try { + handler(this, e); + } + catch { + // Don't let downstream exceptions bubble up + } + } + } + + private void OnIncomingGroupEvent(GroupEventArgs e) + { + var handler = IncomingGroupEvent; + if (handler != null) + { + try { + handler(this, e); + } + catch { + // Don't let downstream exceptions bubble up + } + } + } + + private void OnIncomingBikeActionEvent(BikeActionEventArgs e) + { + var handler = IncomingBikeActionEvent; + if (handler != null) + { + try { + handler(this, e); + } + catch { + // Don't let downstream exceptions bubble up + } + } + } + + private void OnIncomingNoPayloadWaEvent(NoPayloadWaEventArgs e) + { + var handler = IncomingNoPayloadWaEvent; + if (handler != null) + { + try { + handler(this, e); + } + catch { + // Don't let downstream exceptions bubble up + } + } + } + + private void OnIncomingMessageWaEvent(MessageWaEventArgs e) + { + var handler = IncomingMessageWaEvent; + if (handler != null) + { + try { + handler(this, e); + } + catch { + // Don't let downstream exceptions bubble up + } + } + } + + private void OnIncomingFloatTimeWaEvent(FloatTimeWaEventArgs e) + { + var handler = IncomingFloatTimeWaEvent; + if (handler != null) + { + try { + handler(this, e); + } + catch { + // Don't let downstream exceptions bubble up + } + } + } + + private void OnIncomingFlagWaEvent(FlagWaEventArgs e) + { + var handler = IncomingFlagWaEvent; + if (handler != null) + { + try { + handler(this, e); + } + catch { + // Don't let downstream exceptions bubble up + } + } + } + + private void OnIncomingSocialPlayerActionEvent(SocialPlayerActionEventArgs e) + { + var handler = IncomingSocialPlayerActionEvent; if (handler != null) { try { @@ -161,9 +351,9 @@ private void OnIncomingRideOnGivenEvent(RideOnGivenEventArgs e) } } - private void OnIncomingPlayerEnteredWorldEvent(PlayerEnteredWorldEventArgs e) + private void OnIncomingSegmentResultEvent(SegmentResultEventArgs e) { - var handler = IncomingPlayerEnteredWorldEvent; + var handler = IncomingSegmentResultEvent; if (handler != null) { try { @@ -203,9 +393,9 @@ private void OnOutgoingPlayerEvent(PlayerStateEventArgs e) } } - private void OnIncomingPlayerTimeSyncEvent(PlayerTimeSyncEventArgs e) + private void OnIncomingPlayerLeftWorldEvent(PlayerLeftWorldEventArgs e) { - var handler = IncomingPlayerTimeSyncEvent; + var handler = IncomingPlayerLeftWorldEvent; if (handler != null) { try { @@ -349,26 +539,22 @@ private void device_OnPacketArrival(object sender, PacketCapture e) else if (dstPort == ZWIFT_UDP_PORT) { // Outgoing packets *may* have some a metadata header that's not part of the protobuf. - // This is sort of a magic number at the moment -- not sure if the first byte is coincidentally 0x06, - // or if the header (if there is one) is always 5 bytes long - int skip = 5; - - if (packetBytes[skip] == 0x08) { - // NOOP, as the protobuf payload looks like it starts after the initial skip estimate - } - else if (packetBytes[0] == 0x08) { - // protobuf payload starts at the beginning - skip = 0; - } - else { + int skip = 0; //regular frame format with no header + if (packetBytes[0] == 0xDF) + { + skip = 1; // case 1. 0xDF (header is 'don't forward byte') + } else if (packetBytes[0] == 0x06) { + skip = 5; // case 2. 0x06 & = 5 bytes to ignore (header 'voronoiOrDieByte') + } else { // Use the first byte as an indicator of how far into the payload we need to look // in order to find the beginning of the protobuf + // ??? ursoft: did not see this case in decompiled code skip = packetBytes[0] - 1; } // Pluck the protobuf data from the packet payload protoBytes = packetBytes.Skip(skip).ToArray(); - protoBytes = protoBytes.Take(protoBytes.Length - 4).ToArray(); + protoBytes = protoBytes.Take(protoBytes.Length - 4).ToArray(); // payload hash: 4 bytes, ignored direction = Direction.Outgoing; } @@ -418,12 +604,12 @@ private void DeserializeAndDispatch(byte[] buffer, Direction direction) } } - if (packetData.EventPositions != null) + if (packetData.EvSubgroupPs != null) { // Dispatch the event - OnIncomingEventPositionsEvent(new EventPositionsEventArgs() + OnIncomingEventSubgroupPlacementsEvent(new EventSubgroupPlacementsEventArgs() { - EventPositions = packetData.EventPositions, + EvSubgroupPs = packetData.EvSubgroupPs, }); } @@ -432,50 +618,162 @@ private void DeserializeAndDispatch(byte[] buffer, Direction direction) { try { - switch (pu.Tag3) - { - case 4: - OnIncomingRideOnGivenEvent(new RideOnGivenEventArgs() + switch (pu.WaType) + { + case WA_TYPE.WatRideOn: + OnIncomingRideOnGivenEvent(new RideOnGivenEventArgs() { RideOn = RideOn.Parser.ParseFrom(pu.Payload.ToByteArray()), + WorldAttribute = pu, }); break; - case 5: - OnIncomingChatMessageEvent(new ChatMessageEventArgs() + case WA_TYPE.WatSpa: + OnIncomingSocialPlayerActionEvent(new SocialPlayerActionEventArgs() { - Message = Chat.Parser.ParseFrom(pu.Payload.ToByteArray()), + SocialPlayerAction = SocialPlayerAction.Parser.ParseFrom(pu.Payload.ToByteArray()), + WorldAttribute = pu, }); break; - case 105: - OnIncomingPlayerEnteredWorldEvent(new PlayerEnteredWorldEventArgs() + case WA_TYPE.WatSr: + OnIncomingSegmentResultEvent(new SegmentResultEventArgs() { - PlayerUpdate = Payload105.Parser.ParseFrom(pu.Payload.ToByteArray()), + SegmentResult = SegmentResult.Parser.ParseFrom(pu.Payload.ToByteArray()), + WorldAttribute = pu, }); break; - case 3: - OnIncomingPlayerTimeSyncEvent(new PlayerTimeSyncEventArgs() + case WA_TYPE.WatRelogin: + case WA_TYPE.WatLeave: + OnIncomingPlayerLeftWorldEvent(new PlayerLeftWorldEventArgs() { - TimeSync = TimeSync.Parser.ParseFrom(pu.Payload.ToByteArray()), + PlayerLeftWorld = PlayerLeftWorld.Parser.ParseFrom(pu.Payload.ToByteArray()), + WaType = pu.WaType, + WorldAttribute = pu, }); break; - case 6: - // meetup create/update? 6 has the same payload as 10 - case 10: - // join meetup? - OnIncomingMeetupEvent(new MeetupEventArgs() + case WA_TYPE.WatEvent: + OnIncomingMeetupEvent(new EventProtobufEventArgs() { - Meetup = Meetup.Parser.ParseFrom(pu.Payload.ToByteArray()), + EventProtobuf = EventProtobuf.Parser.ParseFrom(pu.Payload.ToByteArray()), + WorldAttribute = pu, }); break; - case 102: - case 109: - case 110: - // Haven't been able to decode these yet + case WA_TYPE.WatJoinE: + OnIncomingPlayerJoinedEvent(new PlayerJoinedEventArgs() + { + PlayerJoinedEvent = PlayerJoinedEvent.Parser.ParseFrom(pu.Payload.ToByteArray()), + WorldAttribute = pu, + }); break; + case WA_TYPE.WatLeftE: + OnIncomingPlayerLeftEvent(new PlayerLeftEventArgs() + { + PlayerLeftEvent = PlayerLeftEvent.Parser.ParseFrom(pu.Payload.ToByteArray()), + WorldAttribute = pu, + }); + break; + case WA_TYPE.WatInvW: + OnIncomingEventInviteEvent(new EventProtobufEventArgs() + { + EventProtobuf = EventProtobuf.Parser.ParseFrom(pu.Payload.ToByteArray()), + WorldAttribute = pu, + }); + break; + case WA_TYPE.WatGrpM: + case WA_TYPE.WatPriM: + OnIncomingMessageWaEvent(new MessageWaEventArgs() + { + //Message = StringProto.Parser.ParseFrom(pu.Payload.ToByteArray()), + WaType = pu.WaType, + WorldAttribute = pu, + }); //did not checked yet + break; + case WA_TYPE.WatWtime: //check: 4-byte world time, int or float? + case WA_TYPE.WatRtime: //check: float road time + OnIncomingFloatTimeWaEvent(new FloatTimeWaEventArgs() + { + FloatTime = BitConverter.ToSingle(pu.Payload.ToByteArray()), //did not checked yet + WaType = pu.WaType, + WorldAttribute = pu, + }); + break; + case WA_TYPE.WatFlag: + OnIncomingFlagWaEvent(new FlagWaEventArgs() + { + FlagWaInfo = new FlagWaInfo(pu.Payload.ToByteArray()), + WorldAttribute = pu, + }); + break; +/*todo: + case WA_TYPE.WatRla: + case WA_TYPE.WatLate: + case WA_TYPE.WatRh: + case WA_TYPE.WatStats: + case WA_TYPE.WatFence: + case WA_TYPE.WatBnGe: + case WA_TYPE.WatPpi:*/ + case WA_TYPE.WatBAct: + if (pu.Payload.Length == 16) + { + var bytes = pu.Payload.ToByteArray(); + OnIncomingBikeActionEvent(new BikeActionEventArgs() + { + BaHexStr = BitConverter.ToString(bytes), + PlayerId = BitConverter.ToInt64(bytes, 0), //did not checked yet + BikeAction = (BikeAction)BitConverter.ToInt32(bytes, 8), //did not checked yet + }); + return; + } + _logger.LogWarning($"Unknown WatBAct contents: {pu}, {BitConverter.ToString(pu.Payload.ToByteArray()).Replace("-", "")}"); + break; + case WA_TYPE.WatGe: + if (pu.Payload.Length == 40) + { + var bytes = pu.Payload.ToByteArray(); + if (bytes[0] == 1 && bytes[1] == 0 && /* version */ + bytes[2] == 36 && bytes[3] == 0 /* length */ ) + { + OnIncomingGroupEvent(new GroupEventArgs() + { + GeHexStr = BitConverter.ToString(bytes), + PlayerId = BitConverter.ToInt64(bytes, 8), //did not checked yet + GeKindStr = (bytes[25] != 0) ? "UserSignedup" : "UserRegistered", //did not checked yet + }); + return; + } + } + _logger.LogWarning($"Unknown WatGe contents: {pu}, {BitConverter.ToString(pu.Payload.ToByteArray()).Replace("-", "")}"); + break; + case WA_TYPE.WatRqProf: + case WA_TYPE.WatKicked: + case WA_TYPE.WatNone: + OnIncomingNoPayloadWaEvent(new NoPayloadWaEventArgs() + { + WaType = pu.WaType, + }); //did not checked yet + break; + case WA_TYPE.WatNm: + if (pu.Payload.Length == 48) + { + var bytes = pu.Payload.ToByteArray(); + if (bytes[0] == 1 && bytes[1] == 0 && /* version */ + bytes[2] == 0x2c && bytes[3] == 0 /* length */ ) + { + OnIncomingNotableEvent(new NotableEventArgs() + { + NotableHexStr = BitConverter.ToString(bytes), + PlayerId = BitConverter.ToInt64(bytes, 8), //did not checked yet + }); + return; + } + } + _logger.LogWarning($"Unknown WatNm contents: {pu}, {BitConverter.ToString(pu.Payload.ToByteArray()).Replace("-", "")}"); + break; + case WA_TYPE.WatUnk0: + case WA_TYPE.WatUnk1: default: - _logger.LogWarning($"Unknown tag {pu.Tag3}: {pu}, {BitConverter.ToString(pu.Payload.ToByteArray()).Replace("-", "")}"); + _logger.LogWarning($"Unknown tag {pu.WaType}: {pu}, {BitConverter.ToString(pu.Payload.ToByteArray()).Replace("-", "")}"); break; - } + } } catch (Exception e) { @@ -487,16 +785,16 @@ private void DeserializeAndDispatch(byte[] buffer, Direction direction) catch (Exception ex) { _logger.LogError(ex, $"ERROR: Actual: {buffer?.Length}, PayloadData: {BitConverter.ToString(buffer).Replace("-", "")}\n\r"); - } + } } } - } + } /// /// This enumeration defines whether a given packet of data /// is incoming from the remote server, or outgoing from the local client /// - public enum Direction + public enum Direction { // Default value Unknown, diff --git a/src/ZwiftMessages.cs b/src/ZwiftMessages.cs index 62f4d94..c8470e9 100644 --- a/src/ZwiftMessages.cs +++ b/src/ZwiftMessages.cs @@ -24,492 +24,655 @@ public static partial class ZwiftMessagesReflection { static ZwiftMessagesReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChN6d2lmdE1lc3NhZ2VzLnByb3RvEhJad2lmdFBhY2tldE1vbml0b3IikAYK", - "Bk1lZXR1cBIKCgJpZBgBIAEoBRIMCgR0YWcyGAIgASgFEgwKBG5hbWUYAyAB", - "KAkSEwoLZGVzY3JpcHRpb24YBCABKAkSEgoKc3RhcnRfdGltZRgFIAEoAxIQ", - "CghkaXN0YW5jZRgHIAEoBxIMCgR0YWc4GAggASgFEjwKDG1lZXR1cF9pbm5l", - "chgKIAEoCzImLlp3aWZ0UGFja2V0TW9uaXRvci5NZWV0dXAuTWVldHVwSW5u", - "ZXISEQoJdGh1bWJuYWlsGAwgASgJEhAKCGR1cmF0aW9uGA0gASgFEgsKA2Yx", - "NBgOIAEoAxILCgNmMTcYESABKAUSCwoDZjE4GBIgASgFEgsKA2YyMhgWIAEo", - "BRILCgNmMjMYFyABKAUSGAoQbWVldHVwX29ubHlfdmlldxgYIAEoBRILCgNm", - "MjUYGSABKAUSCwoDZjI3GBsgASgFEgsKA2YyOBgcIAEoBRILCgNmMjkYHSAB", - "KAUSCwoDZjM0GCIgASgFEgsKA2YzNRgjIAEoBRqIAwoLTWVldHVwSW5uZXIS", - "CgoCaWQYASABKAUSDAoEbmFtZRgCIAEoCRITCgtkZXNjcmlwdGlvbhgDIAEo", - "CRIKCgJmNxgHIAEoCRIKCgJmOBgIIAEoAxIKCgJmORgJIAEoAxILCgNmMTAY", - "CiABKAMSCwoDZjExGAsgASgDEgsKA2YxMhgMIAEoAxILCgNmMTMYDSABKAMS", - "CwoDZjE0GA4gASgDEgsKA2YxNRgPIAEoAxILCgNmMTYYECABKAMSCwoDZjE3", - "GBEgASgDEgsKA2YxOBgSIAEoAxILCgNmMjIYFiABKAMSEAoIZGlzdGFuY2UY", - "GCABKAcSCwoDZjI1GBkgASgDEgsKA2YyORgdIAEoBRILCgNmMzAYHiABKAUS", - "CwoDZjMxGB8gASgFEgsKA2YzMhggIAEoBxILCgNmMzMYISABKAcSEAoIZHVy", - "YXRpb24YIiABKAUSCwoDZjQyGCogASgDEgsKA2Y0NBgsIAEoAxILCgNmNDYY", - "LiABKAUSCwoDZjQ3GC8gASgFItMDCgtQbGF5ZXJTdGF0ZRIKCgJpZBgBIAEo", - "BRIRCgl3b3JsZFRpbWUYAiABKAMSEAoIZGlzdGFuY2UYAyABKAUSEAoIcm9h", - "ZFRpbWUYBCABKAUSDAoEbGFwcxgFIAEoBRINCgVzcGVlZBgGIAEoBRIUCgxy", - "b2FkUG9zaXRpb24YCCABKAUSEgoKY2FkZW5jZVVIehgJIAEoBRIRCgloZWFy", - "dHJhdGUYCyABKAUSDQoFcG93ZXIYDCABKAUSDwoHaGVhZGluZxgNIAEoAxIM", - "CgRsZWFuGA4gASgFEhAKCGNsaW1iaW5nGA8gASgFEgwKBHRpbWUYECABKAUS", - "CwoDZjE5GBMgASgFEgsKA2YyMBgUIAEoBRIQCghwcm9ncmVzcxgVIAEoBRIX", - "Cg9jdXN0b21pc2F0aW9uSWQYFiABKAMSFAoManVzdFdhdGNoaW5nGBcgASgF", - "EhAKCGNhbG9yaWVzGBggASgFEgkKAXgYGSABKAISEAoIYWx0aXR1ZGUYGiAB", - "KAISCQoBeRgbIAEoAhIXCg93YXRjaGluZ1JpZGVySWQYHCABKAUSDwoHZ3Jv", - "dXBJZBgdIAEoBRINCgVzcG9ydBgfIAEoAxILCgNmMzQYIiABKAIi5AEKDkNs", - "aWVudFRvU2VydmVyEhEKCWNvbm5lY3RlZBgBIAEoBRIQCghyaWRlcl9pZBgC", - "IAEoBRISCgp3b3JsZF90aW1lGAMgASgDEg0KBXNlcW5vGAQgASgFEi4KBXN0", - "YXRlGAcgASgLMh8uWndpZnRQYWNrZXRNb25pdG9yLlBsYXllclN0YXRlEgwK", - "BHRhZzgYCCABKAMSDAoEdGFnORgJIAEoAxITCgtsYXN0X3VwZGF0ZRgKIAEo", - "AxINCgV0YWcxMRgLIAEoAxIaChJsYXN0X3BsYXllcl91cGRhdGUYDCABKAMi", - "EQoPVW5rbm93bk1lc3NhZ2UxIhAKDlVua25vd25NZXNzYWdlIssBCgxQbGF5", - "ZXJVcGRhdGUSDAoEdGFnMRgBIAEoAxIMCgR0YWcyGAIgASgFEgwKBHRhZzMY", - "AyABKAUSDwoHcGF5bG9hZBgEIAEoDBIMCgR0YWc1GAUgASgDEgwKBHRhZzYY", - "BiABKAMSDAoEdGFnNxgHIAEoAxIMCgR0YWc4GAggASgDEgwKBHRhZzkYCSAB", - "KAMSDQoFdGFnMTEYCyABKAMSDQoFdGFnMTIYDCABKAMSDQoFdGFnMTQYDiAB", - "KAMSDQoFdGFnMTUYDyABKAMi9gEKClBheWxvYWQxMDUSCgoCZjEYASABKAMS", - "EAoIcmlkZXJfaWQYAiABKAUSCgoCZjMYAyABKAUSCgoCZjQYBCABKAMSCgoC", - "ZjUYBSABKAMSCgoCZjYYBiABKAMSEQoJZmlyc3ROYW1lGAcgASgJEhAKCGxh", - "c3ROYW1lGAggASgJEgoKAmY5GAkgASgDEgsKA2YxMRgLIAEoAxILCgNmMTIY", - "DCABKAUSCwoDZjEzGA0gASgFEgsKA2YxNBgOIAEoBRILCgNmMTUYDyABKAUS", - "CwoDZjE2GBAgASgFEg4KBmY3ZGF0ZRgRIAEoCRILCgNmMTkYEyABKAUiqwEK", - "BENoYXQSEAoIcmlkZXJfaWQYASABKAUSEwoLdG9fcmlkZXJfaWQYAiABKAUS", - "CgoCZjMYAyABKAUSEQoJZmlyc3ROYW1lGAQgASgJEhAKCGxhc3ROYW1lGAUg", - "ASgJEg8KB21lc3NhZ2UYBiABKAkSDgoGYXZhdGFyGAcgASgJEhMKC2NvdW50", - "cnlDb2RlGAggASgFEhUKDWV2ZW50U3ViZ3JvdXAYCyABKAUiaQoGUmlkZU9u", - "EhAKCHJpZGVyX2lkGAEgASgFEhMKC3RvX3JpZGVyX2lkGAIgASgFEhEKCWZp", - "cnN0TmFtZRgDIAEoCRIQCghsYXN0TmFtZRgEIAEoCRITCgtjb3VudHJ5Q29k", - "ZRgFIAEoBSIiCghQYXlsb2FkMhIKCgJmMRgBIAEoBRIKCgJmMhgCIAEoAyI8", - "CghUaW1lU3luYxIQCghyaWRlcl9pZBgBIAEoBRISCgp3b3JsZF90aW1lGAIg", - "ASgDEgoKAmYzGAMgASgFIgwKClBheWxvYWQxMTAiDAoKUGF5bG9hZDEwOSKx", - "AQoORXZlbnRQb3NpdGlvbnMSEAoIcG9zaXRpb24YASABKAUSUQoSZXZlbnRS", - "aWRlclBvc2l0aW9uGAQgAygLMjUuWndpZnRQYWNrZXRNb25pdG9yLkV2ZW50", - "UG9zaXRpb25zLkV2ZW50UmlkZXJQb3NpdGlvbhISCgpudW1fcmlkZXJzGHQg", - "ASgFGiYKEkV2ZW50UmlkZXJQb3NpdGlvbhIQCghyaWRlcl9pZBgBIAEoBSLB", - "AwoOU2VydmVyVG9DbGllbnQSDAoEdGFnMRgBIAEoBRIQCghyaWRlcl9pZBgC", - "IAEoBRISCgp3b3JsZF90aW1lGAMgASgDEg0KBXNlcW5vGAQgASgFEjYKDXBs", - "YXllcl9zdGF0ZXMYCCADKAsyHy5ad2lmdFBhY2tldE1vbml0b3IuUGxheWVy", - "U3RhdGUSOAoOcGxheWVyX3VwZGF0ZXMYCSADKAsyIC5ad2lmdFBhY2tldE1v", - "bml0b3IuUGxheWVyVXBkYXRlEg0KBXRhZzExGAsgASgDEhAKCGxvY2FsX2lw", - "GAwgASgJEg0KBXRhZzE1GA8gASgFEg0KBXRhZzE3GBEgASgDEhAKCG51bV9t", - "c2dzGBIgASgFEg4KBm1zZ251bRgTIAEoBRI7Cg9ldmVudF9wb3NpdGlvbnMY", - "FyABKAsyIi5ad2lmdFBhY2tldE1vbml0b3IuRXZlbnRQb3NpdGlvbnMSLQoI", - "c2VydmVyczEYGCABKAsyGy5ad2lmdFBhY2tldE1vbml0b3IuU2VydmVyMRIt", - "CghzZXJ2ZXJzMhgZIAEoCzIbLlp3aWZ0UGFja2V0TW9uaXRvci5TZXJ2ZXIy", - "IlcKDVNlcnZlckFkZHJlc3MSCgoCZjEYASABKAUSCgoCZjIYAiABKAUSCgoC", - "aXAYAyABKAkSCgoCZjQYBCABKAUSCgoCZjUYBSABKAcSCgoCZjYYBiABKAci", - "ZgoKU2VydmVyUG9vbBIKCgJmMRgBIAEoBRIKCgJmMhgCIAEoBRI0CglhZGRy", - "ZXNzZXMYAyADKAsyIS5ad2lmdFBhY2tldE1vbml0b3IuU2VydmVyQWRkcmVz", - "cxIKCgJmNBgEIAEoBSJDCgdTZXJ2ZXIyEiwKBHBvb2wYASADKAsyHi5ad2lm", - "dFBhY2tldE1vbml0b3IuU2VydmVyUG9vbBIKCgJmMhgCIAEoBSJjCgdTZXJ2", - "ZXIxEjQKCWFkZHJlc3NlcxgBIAMoCzIhLlp3aWZ0UGFja2V0TW9uaXRvci5T", - "ZXJ2ZXJBZGRyZXNzEgoKAmYyGAIgASgFEgoKAmYzGAMgASgFEgoKAmY0GAQg", - "ASgFInUKD1dvcmxkQXR0cmlidXRlcxIQCgh3b3JsZF9pZBgBIAEoBRIMCgRu", - "YW1lGAIgASgJEgwKBHRhZzMYAyABKAMSDAoEdGFnNRgEIAEoAxISCgp3b3Js", - "ZF90aW1lGAYgASgDEhIKCmNsb2NrX3RpbWUYByABKAMiJAoOV29ybGRBdHRy", - "aWJ1dGUSEgoKd29ybGRfdGltZRgCIAEoAyKpAQoVRXZlbnRTdWJncm91cFBy", - "b3RvYnVmEgoKAmlkGAEgASgFEgwKBG5hbWUYAiABKAkSDQoFcnVsZXMYCCAB", - "KAUSDQoFcm91dGUYFiABKAUSDAoEbGFwcxgZIAEoBRIVCg1zdGFydExvY2F0", - "aW9uGB0gASgFEg0KBWxhYmVsGB4gASgFEhAKCHBhY2VUeXBlGB8gASgFEhIK", - "CmplcnNleUhhc2gYJCABKAUihAIKD1JpZGVyQXR0cmlidXRlcxIKCgJmMhgC", - "IAEoBRIKCgJmMxgDIAEoBRJOChBhdHRyaWJ1dGVNZXNzYWdlGAQgASgLMjQu", - "WndpZnRQYWNrZXRNb25pdG9yLlJpZGVyQXR0cmlidXRlcy5BdHRyaWJ1dGVN", - "ZXNzYWdlEg8KB3RoZWlySWQYCiABKAUSCwoDZjEzGA0gASgFGmsKEEF0dHJp", - "YnV0ZU1lc3NhZ2USDAoEbXlJZBgBIAEoBRIPCgd0aGVpcklkGAIgASgFEhEK", - "CWZpcnN0TmFtZRgDIAEoCRIQCghsYXN0TmFtZRgEIAEoCRITCgtjb3VudHJ5", - "Q29kZRgFIAEoBWIGcHJvdG8z")); + "ChN6d2lmdE1lc3NhZ2VzLnByb3RvEhJad2lmdFBhY2tldE1vbml0b3IitgEK", + "DU5vdGFibGVNb21lbnQSEwoLYWN0aXZpdHlfaWQYASABKAQSNQoEdHlwZRgC", + "IAEoDjInLlp3aWZ0UGFja2V0TW9uaXRvci5Ob3RhYmxlTW9tZW50VHlwZVpH", + "EhAKCHByaW9yaXR5GAMgASgNEhQKDGluY2lkZW50VGltZRgEIAEoBBIMCgRh", + "dXgxGAUgASgJEgwKBGF1eDIYBiABKAkSFQoNbGFyZ2VJbWFnZVVybBgHIAEo", + "CSJ6ChVNaWNyb3NlcnZpY2VFdmVudERhdGESDAoEbmFtZRgBIAEoCRIaChJl", + "eHRlcm5hbFJlc291cmNlSWQYAiABKAwSNwoKdmlzaWJpbGl0eRgDIAEoDjIj", + "Llp3aWZ0UGFja2V0TW9uaXRvci5FdmVudFZpc2liaWxpdHkiRAoTRXZlbnRT", + "ZXJpZXNQcm90b2J1ZhIKCgJpZBgBIAEoBBIMCgRuYW1lGAIgASgJEhMKC2Rl", + "c2NyaXB0aW9uGAMgASgJIn8KFUV2ZW50VGltZVRyaWFsT3B0aW9ucxIcChR0", + "aW1lR2FwQmV0d2VlblJvd3NNcxgBIAEoDRIPCgdtYXhSb3dzGAIgASgNEhcK", + "D21heFJpZGVyc1BlclJvdxgDIAEoDRIOCgZldnRfZjQYBCABKA0SDgoGZXZ0", + "X2Y1GAUgASgEIssHCg1FdmVudFByb3RvYnVmEgoKAmlkGAEgASgDEhQKDHNl", + "cnZlcl9yZWFsbRgCIAEoAxIMCgRuYW1lGAMgASgJEhMKC2Rlc2NyaXB0aW9u", + "GAQgASgJEhMKC2V2ZW50X3N0YXJ0GAUgASgDEgwKBGVfZjYYBiABKAkSGAoQ", + "ZGlzdGFuY2VJbk1ldGVycxgHIAEoAhIMCgRsYXBzGAggASgFEgwKBGVfZjkY", + "CSABKAUSOwoIY2F0ZWdvcnkYCiABKAsyKS5ad2lmdFBhY2tldE1vbml0b3Iu", + "RXZlbnRTdWJncm91cFByb3RvYnVmEg0KBWVfZjExGAsgASgJEhEKCXRodW1i", + "bmFpbBgMIAEoCRIZChFkdXJhdGlvbkluU2Vjb25kcxgNIAEoBRIQCghyb3V0", + "ZV9pZBgOIAEoAxIQCghydWxlc19pZBgPIAEoAxINCgVlX2YxNhgQIAEoBRIP", + "Cgd2aXNpYmxlGBEgASgIEhIKCmplcnNleUhhc2gYEiABKAMSDQoFZV9mMTkY", + "EyABKAkSDQoFZV9mMjAYFCABKAkSDQoFZV9mMjEYFSABKAkSKAoFc3BvcnQY", + "FiABKA4yGS5ad2lmdFBhY2tldE1vbml0b3IuU3BvcnQSDQoFZV9mMjMYFyAB", + "KAMSMAoJZXZlbnRUeXBlGBggASgOMh0uWndpZnRQYWNrZXRNb25pdG9yLkV2", + "ZW50VHlwZRINCgVlX2YyNRgZIAEoBBINCgVlX2YyNhgaIAEoCRINCgVlX2Yy", + "NxgbIAEoBBIeChZvdmVycmlkZU1hcFByZWZlcmVuY2VzGBwgASgIEiIKGmlu", + "dmlzaWJsZVRvTm9uUGFydGljaXBhbnRzGB0gASgIEjkKCGV2U2VyaWVzGB4g", + "ASgLMicuWndpZnRQYWNrZXRNb25pdG9yLkV2ZW50U2VyaWVzUHJvdG9idWYS", + "DAoEdGFncxgfIAEoCRINCgVlX2YzMhggIAEoBBIOCgZlX3d0cmwYISABKAgS", + "GQoRbGF0ZUpvaW5Jbk1pbnV0ZXMYIiABKA0SEQoJY291cnNlX2lkGCMgASgE", + "EjYKA3R0bxgkIAEoCzIpLlp3aWZ0UGFja2V0TW9uaXRvci5FdmVudFRpbWVU", + "cmlhbE9wdGlvbnMSDQoFZV9mMzcYJSABKAkSDQoFZV9mMzgYJiABKAkSDQoF", + "ZV9mMzkYJyABKA0SNwoEbXNlZBgoIAEoCzIpLlp3aWZ0UGFja2V0TW9uaXRv", + "ci5NaWNyb3NlcnZpY2VFdmVudERhdGESDQoFZV9mNDEYKSADKA0inQUKC1Bs", + "YXllclN0YXRlEgoKAmlkGAEgASgFEhEKCXdvcmxkVGltZRgCIAEoAxIQCghk", + "aXN0YW5jZRgDIAEoBRIQCghyb2FkVGltZRgEIAEoBRIMCgRsYXBzGAUgASgF", + "Eg0KBXNwZWVkGAYgASgFEg0KBXBzX2Y3GAcgASgNEhQKDHJvYWRQb3NpdGlv", + "bhgIIAEoBRISCgpjYWRlbmNlVUh6GAkgASgFEg4KBnBzX2YxMBgKIAEoBRIR", + "CgloZWFydHJhdGUYCyABKAUSDQoFcG93ZXIYDCABKAUSDwoHaGVhZGluZxgN", + "IAEoAxIMCgRsZWFuGA4gASgFEhAKCGNsaW1iaW5nGA8gASgFEgwKBHRpbWUY", + "ECABKAUSDgoGcHNfZjE3GBEgASgFEhAKCGZyYW1lSHVlGBIgASgNEgsKA2Yx", + "ORgTIAEoBRILCgNmMjAYFCABKAUSEAoIcHJvZ3Jlc3MYFSABKAUSFwoPY3Vz", + "dG9taXNhdGlvbklkGBYgASgDEhQKDGp1c3RXYXRjaGluZxgXIAEoBRIQCghj", + "YWxvcmllcxgYIAEoBRIJCgF4GBkgASgCEgkKAXkYGiABKAISCQoBehgbIAEo", + "AhIXCg93YXRjaGluZ1JpZGVySWQYHCABKAMSDwoHZ3JvdXBJZBgdIAEoAxIo", + "CgVzcG9ydBgfIAEoDjIZLlp3aWZ0UGFja2V0TW9uaXRvci5TcG9ydBIOCgZw", + "c19mMzIYICABKAISDgoGcHNfZjMzGCEgASgNEhAKCGRpc3RfbGF0GCIgASgC", + "Eg0KBXdvcmxkGCMgASgFEg4KBnBzX2YzNhgkIAEoDRIOCgZwc19mMzcYJSAB", + "KA0SEAoIY2FuU3RlZXIYJiABKAgSDQoFcm91dGUYJyABKAUi4AIKDkNsaWVu", + "dFRvU2VydmVyEhQKDHNlcnZlcl9yZWFsbRgBIAEoBRIRCglwbGF5ZXJfaWQY", + "AiABKAUSEgoKd29ybGRfdGltZRgDIAEoAxINCgVzZXFubxgEIAEoBRIOCgZj", + "dHNfZjUYBSABKAUSDgoGY3RzX2Y2GAYgASgDEi4KBXN0YXRlGAcgASgLMh8u", + "WndpZnRQYWNrZXRNb25pdG9yLlBsYXllclN0YXRlEg4KBmN0c19mOBgIIAEo", + "CBIOCgZjdHNfZjkYCSABKAgSEwoLbGFzdF91cGRhdGUYCiABKAMSDwoHY3Rz", + "X2YxMRgLIAEoCBIaChJsYXN0X3BsYXllcl91cGRhdGUYDCABKAMSFAoMbGFy", + "Z193YV90aW1lGA0gASgDEg8KB2N0c19mMTQYDiABKAgSFAoMc3Vic1NlZ21l", + "bnRzGA8gAygDEhMKC3Vuc1NlZ21lbnRzGBAgAygDIkgKEVBsYXllckpvaW5l", + "ZEV2ZW50EhAKCGV2X3NnX2lkGAEgASgEEhEKCXBsYXllcl9pZBgCIAEoBBIO", + "CgZwamVfZjMYAyABKAQiRgoPUGxheWVyTGVmdEV2ZW50EhAKCGV2ZW50X2lk", + "GAEgASgEEhEKCXBsYXllcl9pZBgCIAEoBBIOCgZwbGVfZjMYAyABKAQiwAEK", + "E0ludml0ZWRQcm9maWxlUHJvdG8SEQoJcGxheWVyX2lkGAEgASgEEhEKCWZp", + "cnN0TmFtZRgCIAEoCRIQCghsYXN0TmFtZRgDIAEoCRIQCghpbWFnZVNyYxgE", + "IAEoCRIcChRlbnJvbGxlZFp3aWZ0QWNhZGVteRgFIAEoCBIMCgRtYWxlGAYg", + "ASgIEjMKC3BsYXllcl90eXBlGAcgASgOMh4uWndpZnRQYWNrZXRNb25pdG9y", + "LlBsYXllclR5cGUigwEKEEV2ZW50SW52aXRlUHJvdG8SOAoHcHJvZmlsZRgB", + "IAEoCzInLlp3aWZ0UGFja2V0TW9uaXRvci5JbnZpdGVkUHJvZmlsZVByb3Rv", + "EjUKBnN0YXR1cxgCIAEoDjIlLlp3aWZ0UGFja2V0TW9uaXRvci5FdmVudElu", + "dml0ZVN0YXR1cyLAAgoOV29ybGRBdHRyaWJ1dGUSDQoFd2FfZjEYASABKAMS", + "FAoMc2VydmVyX3JlYWxtGAIgASgDEiwKB3dhX3R5cGUYAyABKA4yGy5ad2lm", + "dFBhY2tldE1vbml0b3IuV0FfVFlQRRIPCgdwYXlsb2FkGAQgASgMEhcKD3dv", + "cmxkX3RpbWVfYm9ybhgFIAEoAxIJCgF4GAYgASgDEgkKAXkYByABKAMSCQoB", + "ehgIIAEoAxIZChF3b3JsZF90aW1lX2V4cGlyZRgJIAEoAxIOCgZyZWxfaWQY", + "CiABKAMSEgoKaW1wb3J0YW5jZRgLIAEoBRIOCgZ3YV9mMTIYDCABKAMSDgoG", + "d2FfZjEzGA0gASgFEhEKCXRpbWVzdGFtcBgOIAEoAxIOCgZ3YV9mMTUYDyAB", + "KAUSDgoGd2FfZjE2GBAgASgDIr4ECg1TZWdtZW50UmVzdWx0EgoKAmlkGAEg", + "ASgDEhEKCXBsYXllcl9pZBgCIAEoBRIUCgxzZXJ2ZXJfcmVhbG0YAyABKAMS", + "EQoJY291cnNlX2lkGAQgASgDEhIKCnNlZ21lbnRfaWQYBSABKAMSGQoRZXZl", + "bnRfc3ViZ3JvdXBfaWQYBiABKAMSEwoLZmlyc3ROYW1lTDEYByABKAkSEAoI", + "bGFzdE5hbWUYCCABKAkSEgoKd29ybGRfdGltZRgJIAEoBBIXCg9maW5pc2hf", + "dGltZV9zdHIYCiABKAkSEgoKZWxhcHNlZF9tcxgLIAEoBBIxCgpwb3dlcl90", + "eXBlGAwgASgOMh0uWndpZnRQYWNrZXRNb25pdG9yLlBvd2VyVHlwZRIXCg93", + "ZWlnaHRfaW5fZ3JhbXMYDSABKA0SDgoGc3JfZjE0GA4gASgNEhEKCWF2Z19w", + "b3dlchgPIAEoDRIPCgdpc19tYWxlGBAgASgIEiAKGG1hZ2ljTGVhZGVyYm9h", + "cmRCaXJ0aGRheRgRIAEoCRIzCgtwbGF5ZXJfdHlwZRgSIAEoDjIeLlp3aWZ0", + "UGFja2V0TW9uaXRvci5QbGF5ZXJUeXBlEg4KBmF2Z19ochgTIAEoDRIoCgVz", + "cG9ydBgUIAEoDjIZLlp3aWZ0UGFja2V0TW9uaXRvci5TcG9ydBITCgthY3Rp", + "dml0eV9pZBgVIAEoBBIOCgZzcl9mMjIYFiABKAgSGAoQZmlyc3ROYW1lTDFf", + "Y29weRgXIAEoCSLTAgoSU29jaWFsUGxheWVyQWN0aW9uEhEKCXBsYXllcl9p", + "ZBgBIAEoBRIUCgx0b19wbGF5ZXJfaWQYAiABKAUSPAoIc3BhX3R5cGUYAyAB", + "KA4yKi5ad2lmdFBhY2tldE1vbml0b3IuU29jaWFsUGxheWVyQWN0aW9uVHlw", + "ZRIRCglmaXJzdE5hbWUYBCABKAkSEAoIbGFzdE5hbWUYBSABKAkSDwoHbWVz", + "c2FnZRgGIAEoCRIOCgZhdmF0YXIYByABKAkSEwoLY291bnRyeUNvZGUYCCAB", + "KAUSLgoIZmxhZ1R5cGUYCSABKA4yHC5ad2lmdFBhY2tldE1vbml0b3IuRmxh", + "Z1R5cGUSNAoGbWdUeXBlGAogASgOMiQuWndpZnRQYWNrZXRNb25pdG9yLk1l", + "c3NhZ2VHcm91cFR5cGUSFQoNZXZlbnRTdWJncm91cBgLIAEoAyJrCgZSaWRl", + "T24SEQoJcGxheWVyX2lkGAEgASgFEhQKDHRvX3BsYXllcl9pZBgCIAEoBRIR", + "CglmaXJzdE5hbWUYAyABKAkSEAoIbGFzdE5hbWUYBCABKAkSEwoLY291bnRy", + "eUNvZGUYBSABKAUibgoPUGxheWVyTGVmdFdvcmxkEhEKCXBsYXllcl9pZBgB", + "IAEoAxISCgp3b3JsZF90aW1lGAIgASgDEhQKDGFub3RoZXJMb2dpbhgDIAEo", + "CBIOCgZwbHdfZjQYBCABKAgSDgoGcGx3X2Y1GAUgAygSIlIKE1BsYXllclJv", + "dXRlRGlzdGFuY2USEQoJcGxheWVyX2lkGAEgASgFEhgKEGRpc3RhbmNlX2Nv", + "dmVyZWQYAiABKAISDgoGcHJkX2YzGAMgASgFIvgCChdFdmVudFN1Ymdyb3Vw", + "UGxhY2VtZW50cxIQCghwb3NpdGlvbhgBIAEoBRI7CgpwbGF5ZXJfcmQxGAIg", + "AygLMicuWndpZnRQYWNrZXRNb25pdG9yLlBsYXllclJvdXRlRGlzdGFuY2US", + "OwoKcGxheWVyX3JkMhgDIAMoCzInLlp3aWZ0UGFja2V0TW9uaXRvci5QbGF5", + "ZXJSb3V0ZURpc3RhbmNlEkMKEmV2ZW50UmlkZXJQb3NpdGlvbhgEIAMoCzIn", + "Llp3aWZ0UGFja2V0TW9uaXRvci5QbGF5ZXJSb3V0ZURpc3RhbmNlEjsKCnBs", + "YXllcl9yZDQYBSADKAsyJy5ad2lmdFBhY2tldE1vbml0b3IuUGxheWVyUm91", + "dGVEaXN0YW5jZRIYChBldmVudFRvdGFsUmlkZXJzGAYgASgFEhUKDWJpa2VO", + "ZXR3b3JrSWQYByABKAUSDgoGZXNwX2Y4GAggASgFEg4KBmVzcF9mORgJIAEo", + "AiJTCg1QbGF5ZXJTdW1tYXJ5Eg8KB3Bsc3VfZjEYASABKAUSDwoHcGxzdV9m", + "MhgCIAEoBRIPCgdwbHN1X2YzGAMgASgFEg8KB3Bsc3VfZjQYBCABKAUizAEK", + "D1BsYXllclN1bW1hcmllcxIQCghwbHN1c19mMRgBIAEoEhIQCghwbHN1c19m", + "MhgCIAEoEhIQCghwbHN1c19mMxgDIAEoERIQCghwbHN1c19mNBgEIAEoERIQ", + "CghwbHN1c19mNRgFIAEoBRIQCghwbHN1c19mNhgGIAEoBRIQCghwbHN1c19m", + "NxgHIAEoBRI7ChBwbGF5ZXJfc3VtbWFyaWVzGAggAygLMiEuWndpZnRQYWNr", + "ZXRNb25pdG9yLlBsYXllclN1bW1hcnkiigcKDlNlcnZlclRvQ2xpZW50EhQK", + "DHNlcnZlcl9yZWFsbRgBIAEoAxIRCglwbGF5ZXJfaWQYAiABKAMSEgoKd29y", + "bGRfdGltZRgDIAEoAxINCgVzZXFubxgEIAEoBRIOCgZzdGNfZjUYBSABKAUS", + "LwoGc3RhdGVzGAggAygLMh8uWndpZnRQYWNrZXRNb25pdG9yLlBsYXllclN0", + "YXRlEjoKDnBsYXllcl91cGRhdGVzGAkgAygLMiIuWndpZnRQYWNrZXRNb25p", + "dG9yLldvcmxkQXR0cmlidXRlEg8KB3N0Y19mMTAYCiADKAMSDwoHc3RjX2Yx", + "MRgLIAEoAxITCgt6Y19sb2NhbF9pcBgMIAEoCRIPCgdzdGNfZjEzGA0gASgD", + "EhAKCHp3aWZ0ZXJzGA4gASgFEhUKDXpjX2xvY2FsX3BvcnQYDyABKAUSMwoL", + "emNfcHJvdG9jb2wYECABKA4yHi5ad2lmdFBhY2tldE1vbml0b3IuSVBQcm90", + "b2NvbBIPCgdzdGNfZjE3GBEgASgDEhAKCG51bV9tc2dzGBIgASgFEg4KBm1z", + "Z251bRgTIAEoBRIWCg5oYXNTaW11bHRMb2dpbhgUIAEoCBI9ChBwbGF5ZXJf", + "c3VtbWFyaWVzGBUgASgLMiMuWndpZnRQYWNrZXRNb25pdG9yLlBsYXllclN1", + "bW1hcmllcxJDCg5ldl9zdWJncm91cF9wcxgXIAEoCzIrLlp3aWZ0UGFja2V0", + "TW9uaXRvci5FdmVudFN1Ymdyb3VwUGxhY2VtZW50cxIxCgp1ZHBfY29uZmln", + "GBggASgLMh0uWndpZnRQYWNrZXRNb25pdG9yLlVkcENvbmZpZxI6ChB1ZHBf", + "Y29uZmlnX3ZvZF8xGBkgASgLMiAuWndpZnRQYWNrZXRNb25pdG9yLlVkcENv", + "bmZpZ1ZPRBIPCgdzdGNfZjI2GBogASgFEjoKEHVkcF9jb25maWdfdm9kXzIY", + "GyABKAsyIC5ad2lmdFBhY2tldE1vbml0b3IuVWRwQ29uZmlnVk9EEjYKDXBs", + "YXllcl9zdGF0ZXMYHCADKAsyHy5ad2lmdFBhY2tldE1vbml0b3IuUGxheWVy", + "U3RhdGUSMQoKdGNwX2NvbmZpZxgdIAEoCzIdLlp3aWZ0UGFja2V0TW9uaXRv", + "ci5UY3BDb25maWcSEwoLYWNrU3Vic1NlZ20YHiADKAMiawoMUmVsYXlBZGRy", + "ZXNzEhAKCGxiX3JlYWxtGAEgASgFEhEKCWxiX2NvdXJzZRgCIAEoBRIKCgJp", + "cBgDIAEoCRIMCgRwb3J0GAQgASgFEg0KBXJhX2Y1GAUgASgCEg0KBXJhX2Y2", + "GAYgASgCIoMBChFSZWxheUFkZHJlc3Nlc1ZPRBIQCghsYl9yZWFsbRgBIAEo", + "BRIRCglsYl9jb3Vyc2UYAiABKAUSOQoPcmVsYXlfYWRkcmVzc2VzGAMgAygL", + "MiAuWndpZnRQYWNrZXRNb25pdG9yLlJlbGF5QWRkcmVzcxIOCgZyYXZfZjQY", + "BCABKAUioAEKDFVkcENvbmZpZ1ZPRBJCChNyZWxheV9hZGRyZXNzZXNfdm9k", + "GAEgAygLMiUuWndpZnRQYWNrZXRNb25pdG9yLlJlbGF5QWRkcmVzc2VzVk9E", + "EgwKBHBvcnQYAiABKAUSDgoGdWN2X2YzGAMgASgDEg4KBnVjdl9mNBgEIAEo", + "AxIOCgZ1Y3ZfZjUYBSABKAISDgoGdWN2X2Y2GAYgASgCInMKCVVkcENvbmZp", + "ZxI5Cg9yZWxheV9hZGRyZXNzZXMYASADKAsyIC5ad2lmdFBhY2tldE1vbml0", + "b3IuUmVsYXlBZGRyZXNzEg0KBXVjX2YyGAIgASgFEg0KBXVjX2YzGAMgASgF", + "Eg0KBXVjX2Y0GAQgASgFIksKClRjcEFkZHJlc3MSCgoCaXAYASABKAkSDAoE", + "cG9ydBgCIAEoBRIQCghsYl9yZWFsbRgDIAEoBRIRCglsYl9jb3Vyc2UYBCAB", + "KAUiOgoJVGNwQ29uZmlnEi0KBW5vZGVzGAEgAygLMh4uWndpZnRQYWNrZXRN", + "b25pdG9yLlRjcEFkZHJlc3Mi0wcKFUV2ZW50U3ViZ3JvdXBQcm90b2J1ZhIK", + "CgJpZBgBIAEoAxIMCgRuYW1lGAIgASgJEhMKC2Rlc2NyaXB0aW9uGAMgASgJ", + "Eg4KBmV2c19mNBgEIAEoDRIOCgZldnNfZjUYBSABKA0SDgoGZXZzX2Y2GAYg", + "ASgNEg0KBXNjb2RlGAcgASgJEhAKCHJ1bGVzX2lkGAggASgFEhkKEXJlZ2lz", + "dHJhdGlvblN0YXJ0GAkgASgEEhsKE3JlZ2lzdHJhdGlvblN0YXJ0V1QYCiAB", + "KAQSFwoPcmVnaXN0cmF0aW9uRW5kGAsgASgEEhkKEXJlZ2lzdHJhdGlvbkVu", + "ZFdUGAwgASgEEhMKC2xpbmVVcFN0YXJ0GA0gASgEEhUKDWxpbmVVcFN0YXJ0", + "V1QYDiABKAQSEQoJbGluZVVwRW5kGA8gASgEEhMKC2xpbmVVcEVuZFdUGBAg", + "ASgEEhoKEmV2ZW50U3ViZ3JvdXBTdGFydBgRIAEoBBIcChRldmVudFN1Ymdy", + "b3VwU3RhcnRXVBgSIAEoBBIPCgdldnNfZjE5GBMgASgEEg8KB2V2c19mMjAY", + "FCABKAQSDwoHZXZzX2YyMRgVIAEoCBIQCghyb3V0ZV9pZBgWIAEoAxIWCg5p", + "bnZpdGVkTGVhZGVycxgXIAMoBBIYChBkaXN0YW5jZUluTWV0ZXJzGBggASgC", + "EgwKBGxhcHMYGSABKAUSFQoNc3RhcnRMb2NhdGlvbhgdIAEoBRINCgVsYWJl", + "bBgeIAEoBRIQCghwYWNlVHlwZRgfIAEoBRIVCg1mcm9tUGFjZVZhbHVlGCAg", + "ASgCEhMKC3RvUGFjZVZhbHVlGCEgASgCEhkKEWR1cmF0aW9uSW5TZWNvbmRz", + "GCIgASgNEg8KB2V2c19mMzUYIyABKA0SEgoKamVyc2V5SGFzaBgkIAEoAxIP", + "CgdldnNfZjM3GCUgASgIEg8KB2V2c19mMzgYJiABKA0SFAoMYXV4aWxpYXJ5", + "VXJsGCcgASgJEhAKCGJpa2VIYXNoGCggASgEEhcKD2ludml0ZWRTd2VlcGVy", + "cxgpIAMoBBIPCgdldnNfZjQyGCogASgEEhEKCWN1c3RvbVVybBgrIAEoCRIP", + "CgdldnNfZjQ0GCwgASgIEgwKBHRhZ3MYLSABKAkSGQoRbGF0ZUpvaW5Jbk1p", + "bnV0ZXMYLiABKA0SEQoJY291cnNlX2lkGC8gASgEEg8KB2V2c19mNDgYMCAB", + "KAQSEAoIcm91dGVVcmwYMSABKAkSDwoHZXZzX2Y1MBgyIAMoBRIPCgdldnNf", + "ZjUxGDMgASgIKsUEChNOb3RhYmxlTW9tZW50VHlwZVpHEg4KCk5NVF9ORVdf", + "UFIQABIUChBOTVRfR0FJTkVEX0xFVkVMEAUSHgoaTk1UX1RSQUlOSU5HX1BM", + "QU5fQ09NUExFVEUQExIVChFOTVRfVU5MT0NLRURfSVRFTRAEEhwKGE5NVF9B", + "Q0hJRVZFTUVOVF9VTkxPQ0tFRBACEhkKFU5NVF9NSVNTSU9OX0NPTVBMRVRF", + "RBADEhYKEk5NVF9DT01QTEVURURfR09BTBAKEhgKFE5NVF9NRVRfREFJTFlf", + "VEFSR0VUEAESGAoUTk1UX1RPT0tfQVJDSF9KRVJTRVkQCBIaChZOTVRfRklO", + "SVNIRURfQ0hBTExFTkdFEBESFgoSTk1UX0ZJTklTSEVEX0VWRU5UEA0SGAoU", + "Tk1UX0ZJTklTSEVEX1dPUktPVVQQDxIWChJOTVRfQUNUSVZJVFlfQkVTVFMQ", + "FBIOCgpOTVRfUklERU9OEBISEgoOTk1UX1JJREVPTl9JTlQQFhISCg5OTVRf", + "UVVJVF9FVkVOVBAMEhQKEE5NVF9VU0VEX1BPV0VSVVAQBhIaChZOTVRfUEFT", + "U0VEX1RJTUlOR19BUkNIEAcSFAoQTk1UX0NSRUFURURfR09BTBAJEhQKEE5N", + "VF9KT0lORURfRVZFTlQQCxIXChNOTVRfU1RBUlRFRF9XT1JLT1VUEA4SFwoT", + "Tk1UX1NUQVJURURfTUlTU0lPThAQEh4KGk5NVF9IT0xJREFZX0VWRU5UX0NP", + "TVBMRVRFEBUqZAoJRXZlbnRUeXBlEg4KCkVUX1VOS05PV04QABIKCgZFRk9O", + "RE8QARIICgRSQUNFEAISDgoKR1JPVVBfUklERRADEhEKDUdST1VQX1dPUktP", + "VVQQBBIOCgpUSU1FX1RSSUFMEAUqVgoPRXZlbnRWaXNpYmlsaXR5EgsKB0VW", + "X05VTEwQABIQCgxFVl9QVUJfU0hBUkUQARISCg5FVl9CWV9SRVNPVVJDRRAC", + "EhAKDEVWX1NIQVJFQUJMRRADKq4DCgdXQV9UWVBFEgwKCFdBVF9VTkswEAAS", + "DAoIV0FUX1VOSzEQARINCglXQVRfTEVBVkUQAhIPCgtXQVRfUkVMT0dJThAD", + "Eg8KC1dBVF9SSURFX09OEAQSCwoHV0FUX1NQQRAFEg0KCVdBVF9FVkVOVBAG", + "Eg4KCldBVF9KT0lOX0UQBxIOCgpXQVRfTEVGVF9FEAgSDwoLV0FUX1JRX1BS", + "T0YQCRINCglXQVRfSU5WX1cQChIOCgpXQVRfS0lDS0VEEAsSDQoJV0FUX1dU", + "SU1FEGQSDQoJV0FUX1JUSU1FEGUSDQoJV0FUX0JfQUNUEGYSDQoJV0FUX0dS", + "UF9NEGcSDQoJV0FUX1BSSV9NEGgSCgoGV0FUX1NSEGkSDAoIV0FUX0ZMQUcQ", + "ahIMCghXQVRfTk9ORRBrEgsKB1dBVF9STEEQbBIKCgZXQVRfR0UQbRIKCgZX", + "QVRfTk0QbhIMCghXQVRfTEFURRBvEgoKBldBVF9SSBBwEg0KCVdBVF9TVEFU", + "UxBxEg0KCVdBVF9GRU5DRRByEg0KCVdBVF9CTl9HRRBzEgsKB1dBVF9QUEkQ", + "dCotCgVTcG9ydBILCgdDWUNMSU5HEAASCwoHUlVOTklORxABEgoKBlJPV0lO", + "RxACKjwKEUV2ZW50SW52aXRlU3RhdHVzEgsKB1BFTkRJTkcQABIMCghBQ0NF", + "UFRFRBABEgwKCFJFSkVDVEVEEAIqnwEKClBsYXllclR5cGUSDwoLUExBWUVS", + "VFlQRTAQABIKCgZOT1JNQUwQARIPCgtQUk9fQ1lDTElTVBACEg8KC1pXSUZU", + "X1NUQUZGEAMSDgoKQU1CQVNTQURPUhAEEgwKCFZFUklGSUVEEAUSBwoDWkVE", + "EAYSBwoDWkFDEAcSEgoOUFJPX1RSSUFUSExFVEUQCBIOCgpQUk9fUlVOTkVS", + "EAkqPgoJUG93ZXJUeXBlEg4KClBUX1ZJUlRVQUwQABIMCghQVF9NRVRFUhAB", + "EhMKBlBUX1VOSxD///////////8BKnYKFlNvY2lhbFBsYXllckFjdGlvblR5", + "cGUSHgoaU09DSUFMX0FDVElPTl9VTktOT1dOX1RZUEUQABIXChNTT0NJQUxf", + "VEVYVF9NRVNTQUdFEAESEgoOU09DSUFMX1JJREVfT04QAhIPCgtTT0NJQUxf", + "RkxBRxADKmwKCEZsYWdUeXBlEhUKEUZMQUdfVFlQRV9VTktOT1dOEAASGAoU", + "RkxBR19UWVBFX0hBUkFTU01FTlQQARITCg9GTEFHX1RZUEVfRkxJRVIQAhIa", + "ChZGTEFHX1RZUEVfQkFEX0xBTkdVQUdFEAMqYAoQTWVzc2FnZUdyb3VwVHlw", + "ZRIPCgtNR1RfVU5LTk9XThAAEg4KCk1HVF9HTE9CQUwQARIOCgpNR1RfRElS", + "RUNUEAISDQoJTUdUX0VWRU5UEAMSDAoITUdUX0NMVUIQBCorCgpJUFByb3Rv", + "Y29sEgsKB0lQUF9VTksQABIHCgNVRFAQARIHCgNUQ1AQAmIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.Meetup), global::ZwiftPacketMonitor.Meetup.Parser, new[]{ "Id", "Tag2", "Name", "Description", "StartTime", "Distance", "Tag8", "MeetupInner", "Thumbnail", "Duration", "F14", "F17", "F18", "F22", "F23", "MeetupOnlyView", "F25", "F27", "F28", "F29", "F34", "F35" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.Meetup.Types.MeetupInner), global::ZwiftPacketMonitor.Meetup.Types.MeetupInner.Parser, new[]{ "Id", "Name", "Description", "F7", "F8", "F9", "F10", "F11", "F12", "F13", "F14", "F15", "F16", "F17", "F18", "F22", "Distance", "F25", "F29", "F30", "F31", "F32", "F33", "Duration", "F42", "F44", "F46", "F47" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.PlayerState), global::ZwiftPacketMonitor.PlayerState.Parser, new[]{ "Id", "WorldTime", "Distance", "RoadTime", "Laps", "Speed", "RoadPosition", "CadenceUHz", "Heartrate", "Power", "Heading", "Lean", "Climbing", "Time", "F19", "F20", "Progress", "CustomisationId", "JustWatching", "Calories", "X", "Altitude", "Y", "WatchingRiderId", "GroupId", "Sport", "F34" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.ClientToServer), global::ZwiftPacketMonitor.ClientToServer.Parser, new[]{ "Connected", "RiderId", "WorldTime", "Seqno", "State", "Tag8", "Tag9", "LastUpdate", "Tag11", "LastPlayerUpdate" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.UnknownMessage1), global::ZwiftPacketMonitor.UnknownMessage1.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.UnknownMessage), global::ZwiftPacketMonitor.UnknownMessage.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.PlayerUpdate), global::ZwiftPacketMonitor.PlayerUpdate.Parser, new[]{ "Tag1", "Tag2", "Tag3", "Payload", "Tag5", "Tag6", "Tag7", "Tag8", "Tag9", "Tag11", "Tag12", "Tag14", "Tag15" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.Payload105), global::ZwiftPacketMonitor.Payload105.Parser, new[]{ "F1", "RiderId", "F3", "F4", "F5", "F6", "FirstName", "LastName", "F9", "F11", "F12", "F13", "F14", "F15", "F16", "F7Date", "F19" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.Chat), global::ZwiftPacketMonitor.Chat.Parser, new[]{ "RiderId", "ToRiderId", "F3", "FirstName", "LastName", "Message", "Avatar", "CountryCode", "EventSubgroup" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.RideOn), global::ZwiftPacketMonitor.RideOn.Parser, new[]{ "RiderId", "ToRiderId", "FirstName", "LastName", "CountryCode" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.Payload2), global::ZwiftPacketMonitor.Payload2.Parser, new[]{ "F1", "F2" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.TimeSync), global::ZwiftPacketMonitor.TimeSync.Parser, new[]{ "RiderId", "WorldTime", "F3" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.Payload110), global::ZwiftPacketMonitor.Payload110.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.Payload109), global::ZwiftPacketMonitor.Payload109.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.EventPositions), global::ZwiftPacketMonitor.EventPositions.Parser, new[]{ "Position", "EventRiderPosition", "NumRiders" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.EventPositions.Types.EventRiderPosition), global::ZwiftPacketMonitor.EventPositions.Types.EventRiderPosition.Parser, new[]{ "RiderId" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.ServerToClient), global::ZwiftPacketMonitor.ServerToClient.Parser, new[]{ "Tag1", "RiderId", "WorldTime", "Seqno", "PlayerStates", "PlayerUpdates", "Tag11", "LocalIp", "Tag15", "Tag17", "NumMsgs", "Msgnum", "EventPositions", "Servers1", "Servers2" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.ServerAddress), global::ZwiftPacketMonitor.ServerAddress.Parser, new[]{ "F1", "F2", "Ip", "F4", "F5", "F6" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.ServerPool), global::ZwiftPacketMonitor.ServerPool.Parser, new[]{ "F1", "F2", "Addresses", "F4" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.Server2), global::ZwiftPacketMonitor.Server2.Parser, new[]{ "Pool", "F2" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.Server1), global::ZwiftPacketMonitor.Server1.Parser, new[]{ "Addresses", "F2", "F3", "F4" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.WorldAttributes), global::ZwiftPacketMonitor.WorldAttributes.Parser, new[]{ "WorldId", "Name", "Tag3", "Tag5", "WorldTime", "ClockTime" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.WorldAttribute), global::ZwiftPacketMonitor.WorldAttribute.Parser, new[]{ "WorldTime" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.EventSubgroupProtobuf), global::ZwiftPacketMonitor.EventSubgroupProtobuf.Parser, new[]{ "Id", "Name", "Rules", "Route", "Laps", "StartLocation", "Label", "PaceType", "JerseyHash" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.RiderAttributes), global::ZwiftPacketMonitor.RiderAttributes.Parser, new[]{ "F2", "F3", "AttributeMessage", "TheirId", "F13" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.RiderAttributes.Types.AttributeMessage), global::ZwiftPacketMonitor.RiderAttributes.Types.AttributeMessage.Parser, new[]{ "MyId", "TheirId", "FirstName", "LastName", "CountryCode" }, null, null, null, null)}) + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ZwiftPacketMonitor.NotableMomentTypeZG), typeof(global::ZwiftPacketMonitor.EventType), typeof(global::ZwiftPacketMonitor.EventVisibility), typeof(global::ZwiftPacketMonitor.WA_TYPE), typeof(global::ZwiftPacketMonitor.Sport), typeof(global::ZwiftPacketMonitor.EventInviteStatus), typeof(global::ZwiftPacketMonitor.PlayerType), typeof(global::ZwiftPacketMonitor.PowerType), typeof(global::ZwiftPacketMonitor.SocialPlayerActionType), typeof(global::ZwiftPacketMonitor.FlagType), typeof(global::ZwiftPacketMonitor.MessageGroupType), typeof(global::ZwiftPacketMonitor.IPProtocol), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.NotableMoment), global::ZwiftPacketMonitor.NotableMoment.Parser, new[]{ "ActivityId", "Type", "Priority", "IncidentTime", "Aux1", "Aux2", "LargeImageUrl" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.MicroserviceEventData), global::ZwiftPacketMonitor.MicroserviceEventData.Parser, new[]{ "Name", "ExternalResourceId", "Visibility" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.EventSeriesProtobuf), global::ZwiftPacketMonitor.EventSeriesProtobuf.Parser, new[]{ "Id", "Name", "Description" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.EventTimeTrialOptions), global::ZwiftPacketMonitor.EventTimeTrialOptions.Parser, new[]{ "TimeGapBetweenRowsMs", "MaxRows", "MaxRidersPerRow", "EvtF4", "EvtF5" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.EventProtobuf), global::ZwiftPacketMonitor.EventProtobuf.Parser, new[]{ "Id", "ServerRealm", "Name", "Description", "EventStart", "EF6", "DistanceInMeters", "Laps", "EF9", "Category", "EF11", "Thumbnail", "DurationInSeconds", "RouteId", "RulesId", "EF16", "Visible", "JerseyHash", "EF19", "EF20", "EF21", "Sport", "EF23", "EventType", "EF25", "EF26", "EF27", "OverrideMapPreferences", "InvisibleToNonParticipants", "EvSeries", "Tags", "EF32", "EWtrl", "LateJoinInMinutes", "CourseId", "Tto", "EF37", "EF38", "EF39", "Msed", "EF41" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.PlayerState), global::ZwiftPacketMonitor.PlayerState.Parser, new[]{ "Id", "WorldTime", "Distance", "RoadTime", "Laps", "Speed", "PsF7", "RoadPosition", "CadenceUHz", "PsF10", "Heartrate", "Power", "Heading", "Lean", "Climbing", "Time", "PsF17", "FrameHue", "F19", "F20", "Progress", "CustomisationId", "JustWatching", "Calories", "X", "Y", "Z", "WatchingRiderId", "GroupId", "Sport", "PsF32", "PsF33", "DistLat", "World", "PsF36", "PsF37", "CanSteer", "Route" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.ClientToServer), global::ZwiftPacketMonitor.ClientToServer.Parser, new[]{ "ServerRealm", "PlayerId", "WorldTime", "Seqno", "CtsF5", "CtsF6", "State", "CtsF8", "CtsF9", "LastUpdate", "CtsF11", "LastPlayerUpdate", "LargWaTime", "CtsF14", "SubsSegments", "UnsSegments" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.PlayerJoinedEvent), global::ZwiftPacketMonitor.PlayerJoinedEvent.Parser, new[]{ "EvSgId", "PlayerId", "PjeF3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.PlayerLeftEvent), global::ZwiftPacketMonitor.PlayerLeftEvent.Parser, new[]{ "EventId", "PlayerId", "PleF3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.InvitedProfileProto), global::ZwiftPacketMonitor.InvitedProfileProto.Parser, new[]{ "PlayerId", "FirstName", "LastName", "ImageSrc", "EnrolledZwiftAcademy", "Male", "PlayerType" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.EventInviteProto), global::ZwiftPacketMonitor.EventInviteProto.Parser, new[]{ "Profile", "Status" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.WorldAttribute), global::ZwiftPacketMonitor.WorldAttribute.Parser, new[]{ "WaF1", "ServerRealm", "WaType", "Payload", "WorldTimeBorn", "X", "Y", "Z", "WorldTimeExpire", "RelId", "Importance", "WaF12", "WaF13", "Timestamp", "WaF15", "WaF16" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.SegmentResult), global::ZwiftPacketMonitor.SegmentResult.Parser, new[]{ "Id", "PlayerId", "ServerRealm", "CourseId", "SegmentId", "EventSubgroupId", "FirstNameL1", "LastName", "WorldTime", "FinishTimeStr", "ElapsedMs", "PowerType", "WeightInGrams", "SrF14", "AvgPower", "IsMale", "MagicLeaderboardBirthday", "PlayerType", "AvgHr", "Sport", "ActivityId", "SrF22", "FirstNameL1Copy" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.SocialPlayerAction), global::ZwiftPacketMonitor.SocialPlayerAction.Parser, new[]{ "PlayerId", "ToPlayerId", "SpaType", "FirstName", "LastName", "Message", "Avatar", "CountryCode", "FlagType", "MgType", "EventSubgroup" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.RideOn), global::ZwiftPacketMonitor.RideOn.Parser, new[]{ "PlayerId", "ToPlayerId", "FirstName", "LastName", "CountryCode" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.PlayerLeftWorld), global::ZwiftPacketMonitor.PlayerLeftWorld.Parser, new[]{ "PlayerId", "WorldTime", "AnotherLogin", "PlwF4", "PlwF5" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.PlayerRouteDistance), global::ZwiftPacketMonitor.PlayerRouteDistance.Parser, new[]{ "PlayerId", "DistanceCovered", "PrdF3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.EventSubgroupPlacements), global::ZwiftPacketMonitor.EventSubgroupPlacements.Parser, new[]{ "Position", "PlayerRd1", "PlayerRd2", "EventRiderPosition", "PlayerRd4", "EventTotalRiders", "BikeNetworkId", "EspF8", "EspF9" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.PlayerSummary), global::ZwiftPacketMonitor.PlayerSummary.Parser, new[]{ "PlsuF1", "PlsuF2", "PlsuF3", "PlsuF4" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.PlayerSummaries), global::ZwiftPacketMonitor.PlayerSummaries.Parser, new[]{ "PlsusF1", "PlsusF2", "PlsusF3", "PlsusF4", "PlsusF5", "PlsusF6", "PlsusF7", "PlayerSummaries_" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.ServerToClient), global::ZwiftPacketMonitor.ServerToClient.Parser, new[]{ "ServerRealm", "PlayerId", "WorldTime", "Seqno", "StcF5", "States", "PlayerUpdates", "StcF10", "StcF11", "ZcLocalIp", "StcF13", "Zwifters", "ZcLocalPort", "ZcProtocol", "StcF17", "NumMsgs", "Msgnum", "HasSimultLogin", "PlayerSummaries", "EvSubgroupPs", "UdpConfig", "UdpConfigVod1", "StcF26", "UdpConfigVod2", "PlayerStates", "TcpConfig", "AckSubsSegm" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.RelayAddress), global::ZwiftPacketMonitor.RelayAddress.Parser, new[]{ "LbRealm", "LbCourse", "Ip", "Port", "RaF5", "RaF6" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.RelayAddressesVOD), global::ZwiftPacketMonitor.RelayAddressesVOD.Parser, new[]{ "LbRealm", "LbCourse", "RelayAddresses", "RavF4" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.UdpConfigVOD), global::ZwiftPacketMonitor.UdpConfigVOD.Parser, new[]{ "RelayAddressesVod", "Port", "UcvF3", "UcvF4", "UcvF5", "UcvF6" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.UdpConfig), global::ZwiftPacketMonitor.UdpConfig.Parser, new[]{ "RelayAddresses", "UcF2", "UcF3", "UcF4" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.TcpAddress), global::ZwiftPacketMonitor.TcpAddress.Parser, new[]{ "Ip", "Port", "LbRealm", "LbCourse" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.TcpConfig), global::ZwiftPacketMonitor.TcpConfig.Parser, new[]{ "Nodes" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ZwiftPacketMonitor.EventSubgroupProtobuf), global::ZwiftPacketMonitor.EventSubgroupProtobuf.Parser, new[]{ "Id", "Name", "Description", "EvsF4", "EvsF5", "EvsF6", "Scode", "RulesId", "RegistrationStart", "RegistrationStartWT", "RegistrationEnd", "RegistrationEndWT", "LineUpStart", "LineUpStartWT", "LineUpEnd", "LineUpEndWT", "EventSubgroupStart", "EventSubgroupStartWT", "EvsF19", "EvsF20", "EvsF21", "RouteId", "InvitedLeaders", "DistanceInMeters", "Laps", "StartLocation", "Label", "PaceType", "FromPaceValue", "ToPaceValue", "DurationInSeconds", "EvsF35", "JerseyHash", "EvsF37", "EvsF38", "AuxiliaryUrl", "BikeHash", "InvitedSweepers", "EvsF42", "CustomUrl", "EvsF44", "Tags", "LateJoinInMinutes", "CourseId", "EvsF48", "RouteUrl", "EvsF50", "EvsF51" }, null, null, null, null) })); } #endregion } - #region Messages - public sealed partial class Meetup : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Meetup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } + #region Enums + public enum NotableMomentTypeZG { + [pbr::OriginalName("NMT_NEW_PR")] NmtNewPr = 0, + [pbr::OriginalName("NMT_GAINED_LEVEL")] NmtGainedLevel = 5, + [pbr::OriginalName("NMT_TRAINING_PLAN_COMPLETE")] NmtTrainingPlanComplete = 19, + [pbr::OriginalName("NMT_UNLOCKED_ITEM")] NmtUnlockedItem = 4, + [pbr::OriginalName("NMT_ACHIEVEMENT_UNLOCKED")] NmtAchievementUnlocked = 2, + [pbr::OriginalName("NMT_MISSION_COMPLETED")] NmtMissionCompleted = 3, + [pbr::OriginalName("NMT_COMPLETED_GOAL")] NmtCompletedGoal = 10, + [pbr::OriginalName("NMT_MET_DAILY_TARGET")] NmtMetDailyTarget = 1, + [pbr::OriginalName("NMT_TOOK_ARCH_JERSEY")] NmtTookArchJersey = 8, + [pbr::OriginalName("NMT_FINISHED_CHALLENGE")] NmtFinishedChallenge = 17, + [pbr::OriginalName("NMT_FINISHED_EVENT")] NmtFinishedEvent = 13, + [pbr::OriginalName("NMT_FINISHED_WORKOUT")] NmtFinishedWorkout = 15, + [pbr::OriginalName("NMT_ACTIVITY_BESTS")] NmtActivityBests = 20, + [pbr::OriginalName("NMT_RIDEON")] NmtRideon = 18, + /// + ///international + /// + [pbr::OriginalName("NMT_RIDEON_INT")] NmtRideonInt = 22, + [pbr::OriginalName("NMT_QUIT_EVENT")] NmtQuitEvent = 12, + [pbr::OriginalName("NMT_USED_POWERUP")] NmtUsedPowerup = 6, + [pbr::OriginalName("NMT_PASSED_TIMING_ARCH")] NmtPassedTimingArch = 7, + [pbr::OriginalName("NMT_CREATED_GOAL")] NmtCreatedGoal = 9, + [pbr::OriginalName("NMT_JOINED_EVENT")] NmtJoinedEvent = 11, + [pbr::OriginalName("NMT_STARTED_WORKOUT")] NmtStartedWorkout = 14, + [pbr::OriginalName("NMT_STARTED_MISSION")] NmtStartedMission = 16, + [pbr::OriginalName("NMT_HOLIDAY_EVENT_COMPLETE")] NmtHolidayEventComplete = 21, + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Meetup() { - OnConstruction(); - } + public enum EventType { + [pbr::OriginalName("ET_UNKNOWN")] EtUnknown = 0, + [pbr::OriginalName("EFONDO")] Efondo = 1, + [pbr::OriginalName("RACE")] Race = 2, + [pbr::OriginalName("GROUP_RIDE")] GroupRide = 3, + [pbr::OriginalName("GROUP_WORKOUT")] GroupWorkout = 4, + [pbr::OriginalName("TIME_TRIAL")] TimeTrial = 5, + } - partial void OnConstruction(); + public enum EventVisibility { + [pbr::OriginalName("EV_NULL")] EvNull = 0, + /// + /// event public shareable + /// + [pbr::OriginalName("EV_PUB_SHARE")] EvPubShare = 1, + /// + /// event defined by resource + /// + [pbr::OriginalName("EV_BY_RESOURCE")] EvByResource = 2, + [pbr::OriginalName("EV_SHAREABLE")] EvShareable = 3, + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Meetup(Meetup other) : this() { - id_ = other.id_; - tag2_ = other.tag2_; - name_ = other.name_; - description_ = other.description_; - startTime_ = other.startTime_; - distance_ = other.distance_; - tag8_ = other.tag8_; - meetupInner_ = other.meetupInner_ != null ? other.meetupInner_.Clone() : null; - thumbnail_ = other.thumbnail_; - duration_ = other.duration_; - f14_ = other.f14_; - f17_ = other.f17_; - f18_ = other.f18_; - f22_ = other.f22_; - f23_ = other.f23_; - meetupOnlyView_ = other.meetupOnlyView_; - f25_ = other.f25_; - f27_ = other.f27_; - f28_ = other.f28_; - f29_ = other.f29_; - f34_ = other.f34_; - f35_ = other.f35_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + public enum WA_TYPE { + [pbr::OriginalName("WAT_UNK0")] WatUnk0 = 0, + [pbr::OriginalName("WAT_UNK1")] WatUnk1 = 1, + /// + ///proto::PlayerLeftWorld + /// + [pbr::OriginalName("WAT_LEAVE")] WatLeave = 2, + /// + ///proto::PlayerLeftWorld + /// + [pbr::OriginalName("WAT_RELOGIN")] WatRelogin = 3, + /// + ///proto::RideOn + /// + [pbr::OriginalName("WAT_RIDE_ON")] WatRideOn = 4, + /// + ///proto::SocialPlayerAction (chat message) + /// + [pbr::OriginalName("WAT_SPA")] WatSpa = 5, + /// + ///proto::Event + /// + [pbr::OriginalName("WAT_EVENT")] WatEvent = 6, + /// + ///proto::PlayerJoinedEvent + /// + [pbr::OriginalName("WAT_JOIN_E")] WatJoinE = 7, + /// + ///proto::PlayerLeftEvent + /// + [pbr::OriginalName("WAT_LEFT_E")] WatLeftE = 8, + /// + ///proto::RequestProfileFromServer + /// + [pbr::OriginalName("WAT_RQ_PROF")] WatRqProf = 9, + /// + ///proto::ReceiveInvitationWorldAttribute + /// + [pbr::OriginalName("WAT_INV_W")] WatInvW = 10, + /// + ///no payload + /// + [pbr::OriginalName("WAT_KICKED")] WatKicked = 11, + /// + ///g_WorldTime := payload (GOD message, may be ignored if ZWIFT\CONFIG\IGNOREGODMESSAGES=1) + /// + [pbr::OriginalName("WAT_WTIME")] WatWtime = 100, + /// + ///BlimpEntity::SetRoadTime(payload), also GOD message + /// + [pbr::OriginalName("WAT_RTIME")] WatRtime = 101, + /// + ///BikeEntity::PerformAction(payload) + /// + [pbr::OriginalName("WAT_B_ACT")] WatBAct = 102, + /// + ///GroupMessage (may be ignored if ZWIFT\CONFIG\SHOWGROUPMSGS=1) + /// + [pbr::OriginalName("WAT_GRP_M")] WatGrpM = 103, + /// + ///PrivateMessage + /// + [pbr::OriginalName("WAT_PRI_M")] WatPriM = 104, + /// + ///proto::SegmentResult + /// + [pbr::OriginalName("WAT_SR")] WatSr = 105, + /// + ///Leaderboards::FlagSandbagger / Leaderboards::FlagCheater + /// + [pbr::OriginalName("WAT_FLAG")] WatFlag = 106, + /// + ///does nothing + /// + [pbr::OriginalName("WAT_NONE")] WatNone = 107, + /// + ///ZNETWORK_BroadcastRideLeaderAction + /// + [pbr::OriginalName("WAT_RLA")] WatRla = 108, + /// + ///GroupEvents::UserSignedup / GroupEvents::UserRegistered + /// + [pbr::OriginalName("WAT_GE")] WatGe = 109, + /// + ///notable moment + Play_Magic_Whoosh_Deep_Sparkle + /// + [pbr::OriginalName("WAT_NM")] WatNm = 110, + /// + ///ZNETWORK_INTERNAL_HandleLateJoinRequest + /// + [pbr::OriginalName("WAT_LATE")] WatLate = 111, + /// + ///ZNETWORK_INTERNAL_HandleRouteHashRequest + /// + [pbr::OriginalName("WAT_RH")] WatRh = 112, + /// + ///GLOBAL_MESSAGE_TYPE_RIDER_FENCE_STATS + /// + [pbr::OriginalName("WAT_STATS")] WatStats = 113, + /// + ///GLOBAL_MESSAGE_TYPE_GRFENCE_CONFIG + /// + [pbr::OriginalName("WAT_FENCE")] WatFence = 114, + /// + ///ZNETWORK_BroadcastBibNumberForGroupEvent + /// + [pbr::OriginalName("WAT_BN_GE")] WatBnGe = 115, + /// + ///ZNETWORK_INTERNAL_HandlePacePartnerInfo + /// + [pbr::OriginalName("WAT_PPI")] WatPpi = 116, + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Meetup Clone() { - return new Meetup(this); - } + public enum Sport { + [pbr::OriginalName("CYCLING")] Cycling = 0, + [pbr::OriginalName("RUNNING")] Running = 1, + [pbr::OriginalName("ROWING")] Rowing = 2, + } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Id { - get { return id_; } - set { - id_ = value; - } - } + public enum EventInviteStatus { + [pbr::OriginalName("PENDING")] Pending = 0, + [pbr::OriginalName("ACCEPTED")] Accepted = 1, + [pbr::OriginalName("REJECTED")] Rejected = 2, + } - /// Field number for the "tag2" field. - public const int Tag2FieldNumber = 2; - private int tag2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Tag2 { - get { return tag2_; } - set { - tag2_ = value; - } - } + public enum PlayerType { + [pbr::OriginalName("PLAYERTYPE0")] _0 = 0, + [pbr::OriginalName("NORMAL")] Normal = 1, + [pbr::OriginalName("PRO_CYCLIST")] ProCyclist = 2, + [pbr::OriginalName("ZWIFT_STAFF")] ZwiftStaff = 3, + [pbr::OriginalName("AMBASSADOR")] Ambassador = 4, + [pbr::OriginalName("VERIFIED")] Verified = 5, + [pbr::OriginalName("ZED")] Zed = 6, + [pbr::OriginalName("ZAC")] Zac = 7, + [pbr::OriginalName("PRO_TRIATHLETE")] ProTriathlete = 8, + [pbr::OriginalName("PRO_RUNNER")] ProRunner = 9, + } - /// Field number for the "name" field. - public const int NameFieldNumber = 3; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + public enum PowerType { + [pbr::OriginalName("PT_VIRTUAL")] PtVirtual = 0, + [pbr::OriginalName("PT_METER")] PtMeter = 1, + [pbr::OriginalName("PT_UNK")] PtUnk = -1, + } - /// Field number for the "description" field. - public const int DescriptionFieldNumber = 4; - private string description_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Description { - get { return description_; } - set { - description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + public enum SocialPlayerActionType { + [pbr::OriginalName("SOCIAL_ACTION_UNKNOWN_TYPE")] SocialActionUnknownType = 0, + [pbr::OriginalName("SOCIAL_TEXT_MESSAGE")] SocialTextMessage = 1, + [pbr::OriginalName("SOCIAL_RIDE_ON")] SocialRideOn = 2, + [pbr::OriginalName("SOCIAL_FLAG")] SocialFlag = 3, + } - /// Field number for the "start_time" field. - public const int StartTimeFieldNumber = 5; - private long startTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long StartTime { - get { return startTime_; } - set { - startTime_ = value; - } - } + public enum FlagType { + [pbr::OriginalName("FLAG_TYPE_UNKNOWN")] Unknown = 0, + [pbr::OriginalName("FLAG_TYPE_HARASSMENT")] Harassment = 1, + [pbr::OriginalName("FLAG_TYPE_FLIER")] Flier = 2, + [pbr::OriginalName("FLAG_TYPE_BAD_LANGUAGE")] BadLanguage = 3, + } - /// Field number for the "distance" field. - public const int DistanceFieldNumber = 7; - private uint distance_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint Distance { - get { return distance_; } - set { - distance_ = value; - } - } + public enum MessageGroupType { + [pbr::OriginalName("MGT_UNKNOWN")] MgtUnknown = 0, + [pbr::OriginalName("MGT_GLOBAL")] MgtGlobal = 1, + [pbr::OriginalName("MGT_DIRECT")] MgtDirect = 2, + [pbr::OriginalName("MGT_EVENT")] MgtEvent = 3, + [pbr::OriginalName("MGT_CLUB")] MgtClub = 4, + } - /// Field number for the "tag8" field. - public const int Tag8FieldNumber = 8; - private int tag8_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Tag8 { - get { return tag8_; } - set { - tag8_ = value; - } - } + public enum IPProtocol { + [pbr::OriginalName("IPP_UNK")] IppUnk = 0, + [pbr::OriginalName("UDP")] Udp = 1, + [pbr::OriginalName("TCP")] Tcp = 2, + } - /// Field number for the "meetup_inner" field. - public const int MeetupInnerFieldNumber = 10; - private global::ZwiftPacketMonitor.Meetup.Types.MeetupInner meetupInner_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::ZwiftPacketMonitor.Meetup.Types.MeetupInner MeetupInner { - get { return meetupInner_; } - set { - meetupInner_ = value; - } - } + #endregion - /// Field number for the "thumbnail" field. - public const int ThumbnailFieldNumber = 12; - private string thumbnail_ = ""; + #region Messages + public sealed partial class NotableMoment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotableMoment()); + private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Thumbnail { - get { return thumbnail_; } - set { - thumbnail_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } - /// Field number for the "duration" field. - public const int DurationFieldNumber = 13; - private int duration_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Duration { - get { return duration_; } - set { - duration_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[0]; } } - /// Field number for the "f14" field. - public const int F14FieldNumber = 14; - private long f14_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F14 { - get { return f14_; } - set { - f14_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } } - /// Field number for the "f17" field. - public const int F17FieldNumber = 17; - private int f17_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F17 { - get { return f17_; } - set { - f17_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotableMoment() { + OnConstruction(); } - /// Field number for the "f18" field. - public const int F18FieldNumber = 18; - private int f18_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F18 { - get { return f18_; } - set { - f18_ = value; - } - } + partial void OnConstruction(); - /// Field number for the "f22" field. - public const int F22FieldNumber = 22; - private int f22_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F22 { - get { return f22_; } - set { - f22_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotableMoment(NotableMoment other) : this() { + activityId_ = other.activityId_; + type_ = other.type_; + priority_ = other.priority_; + incidentTime_ = other.incidentTime_; + aux1_ = other.aux1_; + aux2_ = other.aux2_; + largeImageUrl_ = other.largeImageUrl_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } - /// Field number for the "f23" field. - public const int F23FieldNumber = 23; - private int f23_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F23 { - get { return f23_; } - set { - f23_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotableMoment Clone() { + return new NotableMoment(this); } - /// Field number for the "meetup_only_view" field. - public const int MeetupOnlyViewFieldNumber = 24; - private int meetupOnlyView_; + /// Field number for the "activity_id" field. + public const int ActivityIdFieldNumber = 1; + private ulong activityId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int MeetupOnlyView { - get { return meetupOnlyView_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ActivityId { + get { return activityId_; } set { - meetupOnlyView_ = value; + activityId_ = value; } } - /// Field number for the "f25" field. - public const int F25FieldNumber = 25; - private int f25_; + /// Field number for the "type" field. + public const int TypeFieldNumber = 2; + private global::ZwiftPacketMonitor.NotableMomentTypeZG type_ = global::ZwiftPacketMonitor.NotableMomentTypeZG.NmtNewPr; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F25 { - get { return f25_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.NotableMomentTypeZG Type { + get { return type_; } set { - f25_ = value; + type_ = value; } } - /// Field number for the "f27" field. - public const int F27FieldNumber = 27; - private int f27_; + /// Field number for the "priority" field. + public const int PriorityFieldNumber = 3; + private uint priority_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F27 { - get { return f27_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Priority { + get { return priority_; } set { - f27_ = value; + priority_ = value; } } - /// Field number for the "f28" field. - public const int F28FieldNumber = 28; - private int f28_; + /// Field number for the "incidentTime" field. + public const int IncidentTimeFieldNumber = 4; + private ulong incidentTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F28 { - get { return f28_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong IncidentTime { + get { return incidentTime_; } set { - f28_ = value; + incidentTime_ = value; } } - /// Field number for the "f29" field. - public const int F29FieldNumber = 29; - private int f29_; + /// Field number for the "aux1" field. + public const int Aux1FieldNumber = 5; + private string aux1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F29 { - get { return f29_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Aux1 { + get { return aux1_; } set { - f29_ = value; + aux1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "f34" field. - public const int F34FieldNumber = 34; - private int f34_; + /// Field number for the "aux2" field. + public const int Aux2FieldNumber = 6; + private string aux2_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F34 { - get { return f34_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Aux2 { + get { return aux2_; } set { - f34_ = value; + aux2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "f35" field. - public const int F35FieldNumber = 35; - private int f35_; + /// Field number for the "largeImageUrl" field. + public const int LargeImageUrlFieldNumber = 7; + private string largeImageUrl_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F35 { - get { return f35_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LargeImageUrl { + get { return largeImageUrl_; } set { - f35_ = value; + largeImageUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as Meetup); + return Equals(other as NotableMoment); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(Meetup other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotableMoment other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (Tag2 != other.Tag2) return false; - if (Name != other.Name) return false; - if (Description != other.Description) return false; - if (StartTime != other.StartTime) return false; - if (Distance != other.Distance) return false; - if (Tag8 != other.Tag8) return false; - if (!object.Equals(MeetupInner, other.MeetupInner)) return false; - if (Thumbnail != other.Thumbnail) return false; - if (Duration != other.Duration) return false; - if (F14 != other.F14) return false; - if (F17 != other.F17) return false; - if (F18 != other.F18) return false; - if (F22 != other.F22) return false; - if (F23 != other.F23) return false; - if (MeetupOnlyView != other.MeetupOnlyView) return false; - if (F25 != other.F25) return false; - if (F27 != other.F27) return false; - if (F28 != other.F28) return false; - if (F29 != other.F29) return false; - if (F34 != other.F34) return false; - if (F35 != other.F35) return false; + if (ActivityId != other.ActivityId) return false; + if (Type != other.Type) return false; + if (Priority != other.Priority) return false; + if (IncidentTime != other.IncidentTime) return false; + if (Aux1 != other.Aux1) return false; + if (Aux2 != other.Aux2) return false; + if (LargeImageUrl != other.LargeImageUrl) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (Tag2 != 0) hash ^= Tag2.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Description.Length != 0) hash ^= Description.GetHashCode(); - if (StartTime != 0L) hash ^= StartTime.GetHashCode(); - if (Distance != 0) hash ^= Distance.GetHashCode(); - if (Tag8 != 0) hash ^= Tag8.GetHashCode(); - if (meetupInner_ != null) hash ^= MeetupInner.GetHashCode(); - if (Thumbnail.Length != 0) hash ^= Thumbnail.GetHashCode(); - if (Duration != 0) hash ^= Duration.GetHashCode(); - if (F14 != 0L) hash ^= F14.GetHashCode(); - if (F17 != 0) hash ^= F17.GetHashCode(); - if (F18 != 0) hash ^= F18.GetHashCode(); - if (F22 != 0) hash ^= F22.GetHashCode(); - if (F23 != 0) hash ^= F23.GetHashCode(); - if (MeetupOnlyView != 0) hash ^= MeetupOnlyView.GetHashCode(); - if (F25 != 0) hash ^= F25.GetHashCode(); - if (F27 != 0) hash ^= F27.GetHashCode(); - if (F28 != 0) hash ^= F28.GetHashCode(); - if (F29 != 0) hash ^= F29.GetHashCode(); - if (F34 != 0) hash ^= F34.GetHashCode(); - if (F35 != 0) hash ^= F35.GetHashCode(); + if (ActivityId != 0UL) hash ^= ActivityId.GetHashCode(); + if (Type != global::ZwiftPacketMonitor.NotableMomentTypeZG.NmtNewPr) hash ^= Type.GetHashCode(); + if (Priority != 0) hash ^= Priority.GetHashCode(); + if (IncidentTime != 0UL) hash ^= IncidentTime.GetHashCode(); + if (Aux1.Length != 0) hash ^= Aux1.GetHashCode(); + if (Aux2.Length != 0) hash ^= Aux2.GetHashCode(); + if (LargeImageUrl.Length != 0) hash ^= LargeImageUrl.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -517,102 +680,44 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { + if (ActivityId != 0UL) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt64(ActivityId); } - if (Tag2 != 0) { + if (Type != global::ZwiftPacketMonitor.NotableMomentTypeZG.NmtNewPr) { output.WriteRawTag(16); - output.WriteInt32(Tag2); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (Description.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Description); - } - if (StartTime != 0L) { - output.WriteRawTag(40); - output.WriteInt64(StartTime); - } - if (Distance != 0) { - output.WriteRawTag(61); - output.WriteFixed32(Distance); - } - if (Tag8 != 0) { - output.WriteRawTag(64); - output.WriteInt32(Tag8); - } - if (meetupInner_ != null) { - output.WriteRawTag(82); - output.WriteMessage(MeetupInner); - } - if (Thumbnail.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Thumbnail); - } - if (Duration != 0) { - output.WriteRawTag(104); - output.WriteInt32(Duration); - } - if (F14 != 0L) { - output.WriteRawTag(112); - output.WriteInt64(F14); - } - if (F17 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(F17); - } - if (F18 != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(F18); - } - if (F22 != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(F22); - } - if (F23 != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(F23); - } - if (MeetupOnlyView != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(MeetupOnlyView); + output.WriteEnum((int) Type); } - if (F25 != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(F25); - } - if (F27 != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(F27); + if (Priority != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Priority); } - if (F28 != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(F28); + if (IncidentTime != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(IncidentTime); } - if (F29 != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(F29); + if (Aux1.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Aux1); } - if (F34 != 0) { - output.WriteRawTag(144, 2); - output.WriteInt32(F34); + if (Aux2.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Aux2); } - if (F35 != 0) { - output.WriteRawTag(152, 2); - output.WriteInt32(F35); + if (LargeImageUrl.Length != 0) { + output.WriteRawTag(58); + output.WriteString(LargeImageUrl); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -622,94 +727,35 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (ActivityId != 0UL) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt64(ActivityId); } - if (Tag2 != 0) { + if (Type != global::ZwiftPacketMonitor.NotableMomentTypeZG.NmtNewPr) { output.WriteRawTag(16); - output.WriteInt32(Tag2); + output.WriteEnum((int) Type); } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (Description.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Description); - } - if (StartTime != 0L) { - output.WriteRawTag(40); - output.WriteInt64(StartTime); - } - if (Distance != 0) { - output.WriteRawTag(61); - output.WriteFixed32(Distance); - } - if (Tag8 != 0) { - output.WriteRawTag(64); - output.WriteInt32(Tag8); - } - if (meetupInner_ != null) { - output.WriteRawTag(82); - output.WriteMessage(MeetupInner); - } - if (Thumbnail.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Thumbnail); - } - if (Duration != 0) { - output.WriteRawTag(104); - output.WriteInt32(Duration); - } - if (F14 != 0L) { - output.WriteRawTag(112); - output.WriteInt64(F14); - } - if (F17 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(F17); - } - if (F18 != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(F18); - } - if (F22 != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(F22); - } - if (F23 != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(F23); - } - if (MeetupOnlyView != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(MeetupOnlyView); - } - if (F25 != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(F25); - } - if (F27 != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(F27); + if (Priority != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Priority); } - if (F28 != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(F28); + if (IncidentTime != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(IncidentTime); } - if (F29 != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(F29); + if (Aux1.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Aux1); } - if (F34 != 0) { - output.WriteRawTag(144, 2); - output.WriteInt32(F34); + if (Aux2.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Aux2); } - if (F35 != 0) { - output.WriteRawTag(152, 2); - output.WriteInt32(F35); + if (LargeImageUrl.Length != 0) { + output.WriteRawTag(58); + output.WriteString(LargeImageUrl); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -718,73 +764,29 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); - } - if (Tag2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tag2); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Description.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); - } - if (StartTime != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(StartTime); - } - if (Distance != 0) { - size += 1 + 4; - } - if (Tag8 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tag8); - } - if (meetupInner_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(MeetupInner); - } - if (Thumbnail.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Thumbnail); - } - if (Duration != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Duration); + if (ActivityId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ActivityId); } - if (F14 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(F14); + if (Type != global::ZwiftPacketMonitor.NotableMomentTypeZG.NmtNewPr) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); } - if (F17 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F17); + if (Priority != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Priority); } - if (F18 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F18); + if (IncidentTime != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(IncidentTime); } - if (F22 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F22); + if (Aux1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Aux1); } - if (F23 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F23); + if (Aux2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Aux2); } - if (MeetupOnlyView != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(MeetupOnlyView); - } - if (F25 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F25); - } - if (F27 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F27); - } - if (F28 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F28); - } - if (F29 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F29); - } - if (F34 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F34); - } - if (F35 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F35); + if (LargeImageUrl.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LargeImageUrl); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -793,83 +795,37 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(Meetup other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotableMoment other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Tag2 != 0) { - Tag2 = other.Tag2; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Description.Length != 0) { - Description = other.Description; - } - if (other.StartTime != 0L) { - StartTime = other.StartTime; - } - if (other.Distance != 0) { - Distance = other.Distance; - } - if (other.Tag8 != 0) { - Tag8 = other.Tag8; - } - if (other.meetupInner_ != null) { - if (meetupInner_ == null) { - MeetupInner = new global::ZwiftPacketMonitor.Meetup.Types.MeetupInner(); - } - MeetupInner.MergeFrom(other.MeetupInner); - } - if (other.Thumbnail.Length != 0) { - Thumbnail = other.Thumbnail; - } - if (other.Duration != 0) { - Duration = other.Duration; - } - if (other.F14 != 0L) { - F14 = other.F14; - } - if (other.F17 != 0) { - F17 = other.F17; - } - if (other.F18 != 0) { - F18 = other.F18; - } - if (other.F22 != 0) { - F22 = other.F22; - } - if (other.F23 != 0) { - F23 = other.F23; - } - if (other.MeetupOnlyView != 0) { - MeetupOnlyView = other.MeetupOnlyView; + if (other.ActivityId != 0UL) { + ActivityId = other.ActivityId; } - if (other.F25 != 0) { - F25 = other.F25; + if (other.Type != global::ZwiftPacketMonitor.NotableMomentTypeZG.NmtNewPr) { + Type = other.Type; } - if (other.F27 != 0) { - F27 = other.F27; + if (other.Priority != 0) { + Priority = other.Priority; } - if (other.F28 != 0) { - F28 = other.F28; + if (other.IncidentTime != 0UL) { + IncidentTime = other.IncidentTime; } - if (other.F29 != 0) { - F29 = other.F29; + if (other.Aux1.Length != 0) { + Aux1 = other.Aux1; } - if (other.F34 != 0) { - F34 = other.F34; + if (other.Aux2.Length != 0) { + Aux2 = other.Aux2; } - if (other.F35 != 0) { - F35 = other.F35; + if (other.LargeImageUrl.Length != 0) { + LargeImageUrl = other.LargeImageUrl; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -881,94 +837,31 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + ActivityId = input.ReadUInt64(); break; } case 16: { - Tag2 = input.ReadInt32(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 34: { - Description = input.ReadString(); - break; - } - case 40: { - StartTime = input.ReadInt64(); - break; - } - case 61: { - Distance = input.ReadFixed32(); - break; - } - case 64: { - Tag8 = input.ReadInt32(); - break; - } - case 82: { - if (meetupInner_ == null) { - MeetupInner = new global::ZwiftPacketMonitor.Meetup.Types.MeetupInner(); - } - input.ReadMessage(MeetupInner); - break; - } - case 98: { - Thumbnail = input.ReadString(); - break; - } - case 104: { - Duration = input.ReadInt32(); - break; - } - case 112: { - F14 = input.ReadInt64(); + Type = (global::ZwiftPacketMonitor.NotableMomentTypeZG) input.ReadEnum(); break; } - case 136: { - F17 = input.ReadInt32(); - break; - } - case 144: { - F18 = input.ReadInt32(); - break; - } - case 176: { - F22 = input.ReadInt32(); - break; - } - case 184: { - F23 = input.ReadInt32(); - break; - } - case 192: { - MeetupOnlyView = input.ReadInt32(); - break; - } - case 200: { - F25 = input.ReadInt32(); - break; - } - case 216: { - F27 = input.ReadInt32(); + case 24: { + Priority = input.ReadUInt32(); break; } - case 224: { - F28 = input.ReadInt32(); + case 32: { + IncidentTime = input.ReadUInt64(); break; } - case 232: { - F29 = input.ReadInt32(); + case 42: { + Aux1 = input.ReadString(); break; } - case 272: { - F34 = input.ReadInt32(); + case 50: { + Aux2 = input.ReadString(); break; } - case 280: { - F35 = input.ReadInt32(); + case 58: { + LargeImageUrl = input.ReadString(); break; } } @@ -978,6 +871,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -986,94 +880,31 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + ActivityId = input.ReadUInt64(); break; } case 16: { - Tag2 = input.ReadInt32(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 34: { - Description = input.ReadString(); - break; - } - case 40: { - StartTime = input.ReadInt64(); - break; - } - case 61: { - Distance = input.ReadFixed32(); - break; - } - case 64: { - Tag8 = input.ReadInt32(); - break; - } - case 82: { - if (meetupInner_ == null) { - MeetupInner = new global::ZwiftPacketMonitor.Meetup.Types.MeetupInner(); - } - input.ReadMessage(MeetupInner); - break; - } - case 98: { - Thumbnail = input.ReadString(); - break; - } - case 104: { - Duration = input.ReadInt32(); - break; - } - case 112: { - F14 = input.ReadInt64(); - break; - } - case 136: { - F17 = input.ReadInt32(); - break; - } - case 144: { - F18 = input.ReadInt32(); - break; - } - case 176: { - F22 = input.ReadInt32(); - break; - } - case 184: { - F23 = input.ReadInt32(); + Type = (global::ZwiftPacketMonitor.NotableMomentTypeZG) input.ReadEnum(); break; } - case 192: { - MeetupOnlyView = input.ReadInt32(); - break; - } - case 200: { - F25 = input.ReadInt32(); - break; - } - case 216: { - F27 = input.ReadInt32(); + case 24: { + Priority = input.ReadUInt32(); break; } - case 224: { - F28 = input.ReadInt32(); + case 32: { + IncidentTime = input.ReadUInt64(); break; } - case 232: { - F29 = input.ReadInt32(); + case 42: { + Aux1 = input.ReadString(); break; } - case 272: { - F34 = input.ReadInt32(); + case 50: { + Aux2 = input.ReadString(); break; } - case 280: { - F35 = input.ReadInt32(); + case 58: { + LargeImageUrl = input.ReadString(); break; } } @@ -1081,1596 +912,6379 @@ public void MergeFrom(pb::CodedInputStream input) { } #endif - #region Nested types - /// Container for nested types declared in the Meetup message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static partial class Types { - public sealed partial class MeetupInner : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MeetupInner()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.Meetup.Descriptor.NestedTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public MeetupInner() { - OnConstruction(); - } + public sealed partial class MicroserviceEventData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MicroserviceEventData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public MeetupInner(MeetupInner other) : this() { - id_ = other.id_; - name_ = other.name_; - description_ = other.description_; - f7_ = other.f7_; - f8_ = other.f8_; - f9_ = other.f9_; - f10_ = other.f10_; - f11_ = other.f11_; - f12_ = other.f12_; - f13_ = other.f13_; - f14_ = other.f14_; - f15_ = other.f15_; - f16_ = other.f16_; - f17_ = other.f17_; - f18_ = other.f18_; - f22_ = other.f22_; - distance_ = other.distance_; - f25_ = other.f25_; - f29_ = other.f29_; - f30_ = other.f30_; - f31_ = other.f31_; - f32_ = other.f32_; - f33_ = other.f33_; - duration_ = other.duration_; - f42_ = other.f42_; - f44_ = other.f44_; - f46_ = other.f46_; - f47_ = other.f47_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[1]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public MeetupInner Clone() { - return new MeetupInner(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Id { - get { return id_; } - set { - id_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MicroserviceEventData() { + OnConstruction(); + } - /// Field number for the "name" field. - public const int NameFieldNumber = 2; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + partial void OnConstruction(); - /// Field number for the "description" field. - public const int DescriptionFieldNumber = 3; - private string description_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Description { - get { return description_; } - set { - description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MicroserviceEventData(MicroserviceEventData other) : this() { + name_ = other.name_; + externalResourceId_ = other.externalResourceId_; + visibility_ = other.visibility_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "f7" field. - public const int F7FieldNumber = 7; - private string f7_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string F7 { - get { return f7_; } - set { - f7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MicroserviceEventData Clone() { + return new MicroserviceEventData(this); + } - /// Field number for the "f8" field. - public const int F8FieldNumber = 8; - private long f8_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F8 { - get { return f8_; } - set { - f8_ = value; - } - } + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// "clubs" everywhere (json: microserviceName) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } - /// Field number for the "f9" field. - public const int F9FieldNumber = 9; - private long f9_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F9 { - get { return f9_; } - set { - f9_ = value; - } - } + /// Field number for the "externalResourceId" field. + public const int ExternalResourceIdFieldNumber = 2; + private pb::ByteString externalResourceId_ = pb::ByteString.Empty; + /// + /// different 16-byte bb4538bfd13346c99a4df2b3cc3b5d95 (json: microserviceExternalResourceId) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString ExternalResourceId { + get { return externalResourceId_; } + set { + externalResourceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } - /// Field number for the "f10" field. - public const int F10FieldNumber = 10; - private long f10_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F10 { - get { return f10_; } - set { - f10_ = value; - } - } + /// Field number for the "visibility" field. + public const int VisibilityFieldNumber = 3; + private global::ZwiftPacketMonitor.EventVisibility visibility_ = global::ZwiftPacketMonitor.EventVisibility.EvNull; + /// + /// enum 1 (json: microserviceEventVisibility) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.EventVisibility Visibility { + get { return visibility_; } + set { + visibility_ = value; + } + } - /// Field number for the "f11" field. - public const int F11FieldNumber = 11; - private long f11_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F11 { - get { return f11_; } - set { - f11_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MicroserviceEventData); + } - /// Field number for the "f12" field. - public const int F12FieldNumber = 12; - private long f12_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F12 { - get { return f12_; } - set { - f12_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MicroserviceEventData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (ExternalResourceId != other.ExternalResourceId) return false; + if (Visibility != other.Visibility) return false; + return Equals(_unknownFields, other._unknownFields); + } - /// Field number for the "f13" field. - public const int F13FieldNumber = 13; - private long f13_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F13 { - get { return f13_; } - set { - f13_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (ExternalResourceId.Length != 0) hash ^= ExternalResourceId.GetHashCode(); + if (Visibility != global::ZwiftPacketMonitor.EventVisibility.EvNull) hash ^= Visibility.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - /// Field number for the "f14" field. - public const int F14FieldNumber = 14; - private long f14_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F14 { - get { return f14_; } - set { - f14_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } - /// Field number for the "f15" field. - public const int F15FieldNumber = 15; - private long f15_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F15 { - get { return f15_; } - set { - f15_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (ExternalResourceId.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(ExternalResourceId); + } + if (Visibility != global::ZwiftPacketMonitor.EventVisibility.EvNull) { + output.WriteRawTag(24); + output.WriteEnum((int) Visibility); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } - /// Field number for the "f16" field. - public const int F16FieldNumber = 16; - private long f16_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F16 { - get { return f16_; } - set { - f16_ = value; - } - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (ExternalResourceId.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(ExternalResourceId); + } + if (Visibility != global::ZwiftPacketMonitor.EventVisibility.EvNull) { + output.WriteRawTag(24); + output.WriteEnum((int) Visibility); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif - /// Field number for the "f17" field. - public const int F17FieldNumber = 17; - private long f17_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F17 { - get { return f17_; } - set { - f17_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (ExternalResourceId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(ExternalResourceId); + } + if (Visibility != global::ZwiftPacketMonitor.EventVisibility.EvNull) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Visibility); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } - /// Field number for the "f18" field. - public const int F18FieldNumber = 18; - private long f18_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F18 { - get { return f18_; } - set { - f18_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MicroserviceEventData other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.ExternalResourceId.Length != 0) { + ExternalResourceId = other.ExternalResourceId; + } + if (other.Visibility != global::ZwiftPacketMonitor.EventVisibility.EvNull) { + Visibility = other.Visibility; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - /// Field number for the "f22" field. - public const int F22FieldNumber = 22; - private long f22_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F22 { - get { return f22_; } - set { - f22_ = value; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; } - } - - /// Field number for the "distance" field. - public const int DistanceFieldNumber = 24; - private uint distance_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint Distance { - get { return distance_; } - set { - distance_ = value; + case 18: { + ExternalResourceId = input.ReadBytes(); + break; } - } - - /// Field number for the "f25" field. - public const int F25FieldNumber = 25; - private long f25_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F25 { - get { return f25_; } - set { - f25_ = value; + case 24: { + Visibility = (global::ZwiftPacketMonitor.EventVisibility) input.ReadEnum(); + break; } } + } + #endif + } - /// Field number for the "f29" field. - public const int F29FieldNumber = 29; - private int f29_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F29 { - get { return f29_; } - set { - f29_ = value; + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; } - } - - /// Field number for the "f30" field. - public const int F30FieldNumber = 30; - private int f30_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F30 { - get { return f30_; } - set { - f30_ = value; + case 18: { + ExternalResourceId = input.ReadBytes(); + break; } - } - - /// Field number for the "f31" field. - public const int F31FieldNumber = 31; - private int f31_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F31 { - get { return f31_; } - set { - f31_ = value; + case 24: { + Visibility = (global::ZwiftPacketMonitor.EventVisibility) input.ReadEnum(); + break; } } + } + } + #endif - /// Field number for the "f32" field. - public const int F32FieldNumber = 32; - private uint f32_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint F32 { - get { return f32_; } - set { - f32_ = value; - } - } + } - /// Field number for the "f33" field. - public const int F33FieldNumber = 33; - private uint f33_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint F33 { - get { return f33_; } - set { - f33_ = value; - } - } + public sealed partial class EventSeriesProtobuf : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EventSeriesProtobuf()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } - /// Field number for the "duration" field. - public const int DurationFieldNumber = 34; - private int duration_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Duration { - get { return duration_; } - set { - duration_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[2]; } + } - /// Field number for the "f42" field. - public const int F42FieldNumber = 42; - private long f42_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F42 { - get { return f42_; } - set { - f42_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } - /// Field number for the "f44" field. - public const int F44FieldNumber = 44; - private long f44_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F44 { - get { return f44_; } - set { - f44_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventSeriesProtobuf() { + OnConstruction(); + } - /// Field number for the "f46" field. - public const int F46FieldNumber = 46; - private int f46_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F46 { - get { return f46_; } - set { - f46_ = value; - } - } + partial void OnConstruction(); - /// Field number for the "f47" field. - public const int F47FieldNumber = 47; - private int f47_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F47 { - get { return f47_; } - set { - f47_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventSeriesProtobuf(EventSeriesProtobuf other) : this() { + id_ = other.id_; + name_ = other.name_; + description_ = other.description_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as MeetupInner); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventSeriesProtobuf Clone() { + return new EventSeriesProtobuf(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(MeetupInner other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Name != other.Name) return false; - if (Description != other.Description) return false; - if (F7 != other.F7) return false; - if (F8 != other.F8) return false; - if (F9 != other.F9) return false; - if (F10 != other.F10) return false; - if (F11 != other.F11) return false; - if (F12 != other.F12) return false; - if (F13 != other.F13) return false; - if (F14 != other.F14) return false; - if (F15 != other.F15) return false; - if (F16 != other.F16) return false; - if (F17 != other.F17) return false; - if (F18 != other.F18) return false; - if (F22 != other.F22) return false; - if (Distance != other.Distance) return false; - if (F25 != other.F25) return false; - if (F29 != other.F29) return false; - if (F30 != other.F30) return false; - if (F31 != other.F31) return false; - if (F32 != other.F32) return false; - if (F33 != other.F33) return false; - if (Duration != other.Duration) return false; - if (F42 != other.F42) return false; - if (F44 != other.F44) return false; - if (F46 != other.F46) return false; - if (F47 != other.F47) return false; - return Equals(_unknownFields, other._unknownFields); - } + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private ulong id_; + /// + ///5445 or 1485 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Description.Length != 0) hash ^= Description.GetHashCode(); - if (F7.Length != 0) hash ^= F7.GetHashCode(); - if (F8 != 0L) hash ^= F8.GetHashCode(); - if (F9 != 0L) hash ^= F9.GetHashCode(); - if (F10 != 0L) hash ^= F10.GetHashCode(); - if (F11 != 0L) hash ^= F11.GetHashCode(); - if (F12 != 0L) hash ^= F12.GetHashCode(); - if (F13 != 0L) hash ^= F13.GetHashCode(); - if (F14 != 0L) hash ^= F14.GetHashCode(); - if (F15 != 0L) hash ^= F15.GetHashCode(); - if (F16 != 0L) hash ^= F16.GetHashCode(); - if (F17 != 0L) hash ^= F17.GetHashCode(); - if (F18 != 0L) hash ^= F18.GetHashCode(); - if (F22 != 0L) hash ^= F22.GetHashCode(); - if (Distance != 0) hash ^= Distance.GetHashCode(); - if (F25 != 0L) hash ^= F25.GetHashCode(); - if (F29 != 0) hash ^= F29.GetHashCode(); - if (F30 != 0) hash ^= F30.GetHashCode(); - if (F31 != 0) hash ^= F31.GetHashCode(); - if (F32 != 0) hash ^= F32.GetHashCode(); - if (F33 != 0) hash ^= F33.GetHashCode(); - if (Duration != 0) hash ^= Duration.GetHashCode(); - if (F42 != 0L) hash ^= F42.GetHashCode(); - if (F44 != 0L) hash ^= F44.GetHashCode(); - if (F46 != 0) hash ^= F46.GetHashCode(); - if (F47 != 0) hash ^= F47.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + /// Field number for the "name" field. + public const int NameFieldNumber = 2; + private string name_ = ""; + /// + ///INEOSVTC or "Fast Friday" + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + /// Field number for the "description" field. + public const int DescriptionFieldNumber = 3; + private string description_ = ""; + /// + ///"" or "Congratulations, you crushed another week of workouts! ..." + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Description { + get { return description_; } + set { + description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (Description.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Description); - } - if (F7.Length != 0) { - output.WriteRawTag(58); - output.WriteString(F7); - } - if (F8 != 0L) { - output.WriteRawTag(64); - output.WriteInt64(F8); - } - if (F9 != 0L) { - output.WriteRawTag(72); - output.WriteInt64(F9); - } - if (F10 != 0L) { - output.WriteRawTag(80); - output.WriteInt64(F10); - } - if (F11 != 0L) { - output.WriteRawTag(88); - output.WriteInt64(F11); - } - if (F12 != 0L) { - output.WriteRawTag(96); - output.WriteInt64(F12); - } - if (F13 != 0L) { - output.WriteRawTag(104); - output.WriteInt64(F13); - } - if (F14 != 0L) { - output.WriteRawTag(112); - output.WriteInt64(F14); - } - if (F15 != 0L) { - output.WriteRawTag(120); - output.WriteInt64(F15); - } - if (F16 != 0L) { - output.WriteRawTag(128, 1); - output.WriteInt64(F16); - } - if (F17 != 0L) { - output.WriteRawTag(136, 1); - output.WriteInt64(F17); - } - if (F18 != 0L) { - output.WriteRawTag(144, 1); - output.WriteInt64(F18); - } - if (F22 != 0L) { - output.WriteRawTag(176, 1); - output.WriteInt64(F22); - } - if (Distance != 0) { - output.WriteRawTag(197, 1); - output.WriteFixed32(Distance); - } - if (F25 != 0L) { - output.WriteRawTag(200, 1); - output.WriteInt64(F25); - } - if (F29 != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(F29); - } - if (F30 != 0) { - output.WriteRawTag(240, 1); - output.WriteInt32(F30); - } - if (F31 != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(F31); - } - if (F32 != 0) { - output.WriteRawTag(133, 2); - output.WriteFixed32(F32); - } - if (F33 != 0) { - output.WriteRawTag(141, 2); - output.WriteFixed32(F33); - } - if (Duration != 0) { - output.WriteRawTag(144, 2); - output.WriteInt32(Duration); - } - if (F42 != 0L) { - output.WriteRawTag(208, 2); - output.WriteInt64(F42); - } - if (F44 != 0L) { - output.WriteRawTag(224, 2); - output.WriteInt64(F44); - } - if (F46 != 0) { - output.WriteRawTag(240, 2); - output.WriteInt32(F46); - } - if (F47 != 0) { - output.WriteRawTag(248, 2); - output.WriteInt32(F47); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EventSeriesProtobuf); + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (Description.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Description); - } - if (F7.Length != 0) { - output.WriteRawTag(58); - output.WriteString(F7); - } - if (F8 != 0L) { - output.WriteRawTag(64); - output.WriteInt64(F8); - } - if (F9 != 0L) { - output.WriteRawTag(72); - output.WriteInt64(F9); - } - if (F10 != 0L) { - output.WriteRawTag(80); - output.WriteInt64(F10); - } - if (F11 != 0L) { - output.WriteRawTag(88); - output.WriteInt64(F11); - } - if (F12 != 0L) { - output.WriteRawTag(96); - output.WriteInt64(F12); - } - if (F13 != 0L) { - output.WriteRawTag(104); - output.WriteInt64(F13); - } - if (F14 != 0L) { - output.WriteRawTag(112); - output.WriteInt64(F14); - } - if (F15 != 0L) { - output.WriteRawTag(120); - output.WriteInt64(F15); - } - if (F16 != 0L) { - output.WriteRawTag(128, 1); - output.WriteInt64(F16); - } - if (F17 != 0L) { - output.WriteRawTag(136, 1); - output.WriteInt64(F17); - } - if (F18 != 0L) { - output.WriteRawTag(144, 1); - output.WriteInt64(F18); - } - if (F22 != 0L) { - output.WriteRawTag(176, 1); - output.WriteInt64(F22); - } - if (Distance != 0) { - output.WriteRawTag(197, 1); - output.WriteFixed32(Distance); - } - if (F25 != 0L) { - output.WriteRawTag(200, 1); - output.WriteInt64(F25); - } - if (F29 != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(F29); - } - if (F30 != 0) { - output.WriteRawTag(240, 1); - output.WriteInt32(F30); - } - if (F31 != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(F31); - } - if (F32 != 0) { - output.WriteRawTag(133, 2); - output.WriteFixed32(F32); - } - if (F33 != 0) { - output.WriteRawTag(141, 2); - output.WriteFixed32(F33); - } - if (Duration != 0) { - output.WriteRawTag(144, 2); - output.WriteInt32(Duration); - } - if (F42 != 0L) { - output.WriteRawTag(208, 2); - output.WriteInt64(F42); - } - if (F44 != 0L) { - output.WriteRawTag(224, 2); - output.WriteInt64(F44); - } - if (F46 != 0) { - output.WriteRawTag(240, 2); - output.WriteInt32(F46); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EventSeriesProtobuf other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Name != other.Name) return false; + if (Description != other.Description) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Id != 0UL) hash ^= Id.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Description.Length != 0) hash ^= Description.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Id != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (Description.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Description); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Id != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (Description.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Description); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Id != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Description.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EventSeriesProtobuf other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Description.Length != 0) { + Description = other.Description; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Id = input.ReadUInt64(); + break; } - if (F47 != 0) { - output.WriteRawTag(248, 2); - output.WriteInt32(F47); + case 18: { + Name = input.ReadString(); + break; } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); + case 26: { + Description = input.ReadString(); + break; } } - #endif + } + #endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Description.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); - } - if (F7.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(F7); - } - if (F8 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(F8); - } - if (F9 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(F9); - } - if (F10 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(F10); - } - if (F11 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(F11); - } - if (F12 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(F12); - } - if (F13 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(F13); - } - if (F14 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(F14); - } - if (F15 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(F15); - } - if (F16 != 0L) { - size += 2 + pb::CodedOutputStream.ComputeInt64Size(F16); - } - if (F17 != 0L) { - size += 2 + pb::CodedOutputStream.ComputeInt64Size(F17); - } - if (F18 != 0L) { - size += 2 + pb::CodedOutputStream.ComputeInt64Size(F18); - } - if (F22 != 0L) { - size += 2 + pb::CodedOutputStream.ComputeInt64Size(F22); - } - if (Distance != 0) { - size += 2 + 4; - } - if (F25 != 0L) { - size += 2 + pb::CodedOutputStream.ComputeInt64Size(F25); - } - if (F29 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F29); - } - if (F30 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F30); - } - if (F31 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F31); - } - if (F32 != 0) { - size += 2 + 4; - } - if (F33 != 0) { - size += 2 + 4; - } - if (Duration != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Duration); - } - if (F42 != 0L) { - size += 2 + pb::CodedOutputStream.ComputeInt64Size(F42); - } - if (F44 != 0L) { - size += 2 + pb::CodedOutputStream.ComputeInt64Size(F44); - } - if (F46 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F46); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Id = input.ReadUInt64(); + break; } - if (F47 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F47); + case 18: { + Name = input.ReadString(); + break; } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); + case 26: { + Description = input.ReadString(); + break; } - return size; } + } + } + #endif - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(MeetupInner other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Description.Length != 0) { - Description = other.Description; - } - if (other.F7.Length != 0) { - F7 = other.F7; - } - if (other.F8 != 0L) { - F8 = other.F8; - } - if (other.F9 != 0L) { - F9 = other.F9; - } - if (other.F10 != 0L) { - F10 = other.F10; - } - if (other.F11 != 0L) { - F11 = other.F11; - } - if (other.F12 != 0L) { - F12 = other.F12; - } - if (other.F13 != 0L) { - F13 = other.F13; - } - if (other.F14 != 0L) { - F14 = other.F14; - } - if (other.F15 != 0L) { - F15 = other.F15; - } - if (other.F16 != 0L) { - F16 = other.F16; - } - if (other.F17 != 0L) { - F17 = other.F17; - } - if (other.F18 != 0L) { - F18 = other.F18; - } - if (other.F22 != 0L) { - F22 = other.F22; - } - if (other.Distance != 0) { - Distance = other.Distance; + } + + public sealed partial class EventTimeTrialOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EventTimeTrialOptions()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventTimeTrialOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventTimeTrialOptions(EventTimeTrialOptions other) : this() { + timeGapBetweenRowsMs_ = other.timeGapBetweenRowsMs_; + maxRows_ = other.maxRows_; + maxRidersPerRow_ = other.maxRidersPerRow_; + evtF4_ = other.evtF4_; + evtF5_ = other.evtF5_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventTimeTrialOptions Clone() { + return new EventTimeTrialOptions(this); + } + + /// Field number for the "timeGapBetweenRowsMs" field. + public const int TimeGapBetweenRowsMsFieldNumber = 1; + private uint timeGapBetweenRowsMs_; + /// + ///15000 everywhere + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TimeGapBetweenRowsMs { + get { return timeGapBetweenRowsMs_; } + set { + timeGapBetweenRowsMs_ = value; + } + } + + /// Field number for the "maxRows" field. + public const int MaxRowsFieldNumber = 2; + private uint maxRows_; + /// + ///50 or 25 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MaxRows { + get { return maxRows_; } + set { + maxRows_ = value; + } + } + + /// Field number for the "maxRidersPerRow" field. + public const int MaxRidersPerRowFieldNumber = 3; + private uint maxRidersPerRow_; + /// + ///10 everywhere + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MaxRidersPerRow { + get { return maxRidersPerRow_; } + set { + maxRidersPerRow_ = value; + } + } + + /// Field number for the "evt_f4" field. + public const int EvtF4FieldNumber = 4; + private uint evtF4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EvtF4 { + get { return evtF4_; } + set { + evtF4_ = value; + } + } + + /// Field number for the "evt_f5" field. + public const int EvtF5FieldNumber = 5; + private ulong evtF5_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EvtF5 { + get { return evtF5_; } + set { + evtF5_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EventTimeTrialOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EventTimeTrialOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TimeGapBetweenRowsMs != other.TimeGapBetweenRowsMs) return false; + if (MaxRows != other.MaxRows) return false; + if (MaxRidersPerRow != other.MaxRidersPerRow) return false; + if (EvtF4 != other.EvtF4) return false; + if (EvtF5 != other.EvtF5) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (TimeGapBetweenRowsMs != 0) hash ^= TimeGapBetweenRowsMs.GetHashCode(); + if (MaxRows != 0) hash ^= MaxRows.GetHashCode(); + if (MaxRidersPerRow != 0) hash ^= MaxRidersPerRow.GetHashCode(); + if (EvtF4 != 0) hash ^= EvtF4.GetHashCode(); + if (EvtF5 != 0UL) hash ^= EvtF5.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (TimeGapBetweenRowsMs != 0) { + output.WriteRawTag(8); + output.WriteUInt32(TimeGapBetweenRowsMs); + } + if (MaxRows != 0) { + output.WriteRawTag(16); + output.WriteUInt32(MaxRows); + } + if (MaxRidersPerRow != 0) { + output.WriteRawTag(24); + output.WriteUInt32(MaxRidersPerRow); + } + if (EvtF4 != 0) { + output.WriteRawTag(32); + output.WriteUInt32(EvtF4); + } + if (EvtF5 != 0UL) { + output.WriteRawTag(40); + output.WriteUInt64(EvtF5); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (TimeGapBetweenRowsMs != 0) { + output.WriteRawTag(8); + output.WriteUInt32(TimeGapBetweenRowsMs); + } + if (MaxRows != 0) { + output.WriteRawTag(16); + output.WriteUInt32(MaxRows); + } + if (MaxRidersPerRow != 0) { + output.WriteRawTag(24); + output.WriteUInt32(MaxRidersPerRow); + } + if (EvtF4 != 0) { + output.WriteRawTag(32); + output.WriteUInt32(EvtF4); + } + if (EvtF5 != 0UL) { + output.WriteRawTag(40); + output.WriteUInt64(EvtF5); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (TimeGapBetweenRowsMs != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TimeGapBetweenRowsMs); + } + if (MaxRows != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxRows); + } + if (MaxRidersPerRow != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxRidersPerRow); + } + if (EvtF4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EvtF4); + } + if (EvtF5 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(EvtF5); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EventTimeTrialOptions other) { + if (other == null) { + return; + } + if (other.TimeGapBetweenRowsMs != 0) { + TimeGapBetweenRowsMs = other.TimeGapBetweenRowsMs; + } + if (other.MaxRows != 0) { + MaxRows = other.MaxRows; + } + if (other.MaxRidersPerRow != 0) { + MaxRidersPerRow = other.MaxRidersPerRow; + } + if (other.EvtF4 != 0) { + EvtF4 = other.EvtF4; + } + if (other.EvtF5 != 0UL) { + EvtF5 = other.EvtF5; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + TimeGapBetweenRowsMs = input.ReadUInt32(); + break; + } + case 16: { + MaxRows = input.ReadUInt32(); + break; + } + case 24: { + MaxRidersPerRow = input.ReadUInt32(); + break; + } + case 32: { + EvtF4 = input.ReadUInt32(); + break; + } + case 40: { + EvtF5 = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + TimeGapBetweenRowsMs = input.ReadUInt32(); + break; + } + case 16: { + MaxRows = input.ReadUInt32(); + break; + } + case 24: { + MaxRidersPerRow = input.ReadUInt32(); + break; + } + case 32: { + EvtF4 = input.ReadUInt32(); + break; + } + case 40: { + EvtF5 = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + public sealed partial class EventProtobuf : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EventProtobuf()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventProtobuf() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventProtobuf(EventProtobuf other) : this() { + id_ = other.id_; + serverRealm_ = other.serverRealm_; + name_ = other.name_; + description_ = other.description_; + eventStart_ = other.eventStart_; + eF6_ = other.eF6_; + distanceInMeters_ = other.distanceInMeters_; + laps_ = other.laps_; + eF9_ = other.eF9_; + category_ = other.category_ != null ? other.category_.Clone() : null; + eF11_ = other.eF11_; + thumbnail_ = other.thumbnail_; + durationInSeconds_ = other.durationInSeconds_; + routeId_ = other.routeId_; + rulesId_ = other.rulesId_; + eF16_ = other.eF16_; + visible_ = other.visible_; + jerseyHash_ = other.jerseyHash_; + eF19_ = other.eF19_; + eF20_ = other.eF20_; + eF21_ = other.eF21_; + sport_ = other.sport_; + eF23_ = other.eF23_; + eventType_ = other.eventType_; + eF25_ = other.eF25_; + eF26_ = other.eF26_; + eF27_ = other.eF27_; + overrideMapPreferences_ = other.overrideMapPreferences_; + invisibleToNonParticipants_ = other.invisibleToNonParticipants_; + evSeries_ = other.evSeries_ != null ? other.evSeries_.Clone() : null; + tags_ = other.tags_; + eF32_ = other.eF32_; + eWtrl_ = other.eWtrl_; + lateJoinInMinutes_ = other.lateJoinInMinutes_; + courseId_ = other.courseId_; + tto_ = other.tto_ != null ? other.tto_.Clone() : null; + eF37_ = other.eF37_; + eF38_ = other.eF38_; + eF39_ = other.eF39_; + msed_ = other.msed_ != null ? other.msed_.Clone() : null; + eF41_ = other.eF41_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventProtobuf Clone() { + return new EventProtobuf(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private long id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "server_realm" field. + public const int ServerRealmFieldNumber = 2; + private long serverRealm_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ServerRealm { + get { return serverRealm_; } + set { + serverRealm_ = value; + } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 3; + private string name_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "description" field. + public const int DescriptionFieldNumber = 4; + private string description_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Description { + get { return description_; } + set { + description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "event_start" field. + public const int EventStartFieldNumber = 5; + private long eventStart_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long EventStart { + get { return eventStart_; } + set { + eventStart_ = value; + } + } + + /// Field number for the "e_f6" field. + public const int EF6FieldNumber = 6; + private string eF6_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EF6 { + get { return eF6_; } + set { + eF6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "distanceInMeters" field. + public const int DistanceInMetersFieldNumber = 7; + private float distanceInMeters_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float DistanceInMeters { + get { return distanceInMeters_; } + set { + distanceInMeters_ = value; + } + } + + /// Field number for the "laps" field. + public const int LapsFieldNumber = 8; + private int laps_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Laps { + get { return laps_; } + set { + laps_ = value; + } + } + + /// Field number for the "e_f9" field. + public const int EF9FieldNumber = 9; + private int eF9_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EF9 { + get { return eF9_; } + set { + eF9_ = value; + } + } + + /// Field number for the "category" field. + public const int CategoryFieldNumber = 10; + private global::ZwiftPacketMonitor.EventSubgroupProtobuf category_; + /// + ///event_subgroup_size() <= MAX_SUBGROUPS(6) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.EventSubgroupProtobuf Category { + get { return category_; } + set { + category_ = value; + } + } + + /// Field number for the "e_f11" field. + public const int EF11FieldNumber = 11; + private string eF11_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EF11 { + get { return eF11_; } + set { + eF11_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "thumbnail" field. + public const int ThumbnailFieldNumber = 12; + private string thumbnail_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Thumbnail { + get { return thumbnail_; } + set { + thumbnail_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "durationInSeconds" field. + public const int DurationInSecondsFieldNumber = 13; + private int durationInSeconds_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DurationInSeconds { + get { return durationInSeconds_; } + set { + durationInSeconds_ = value; + } + } + + /// Field number for the "route_id" field. + public const int RouteIdFieldNumber = 14; + private long routeId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long RouteId { + get { return routeId_; } + set { + routeId_ = value; + } + } + + /// Field number for the "rules_id" field. + public const int RulesIdFieldNumber = 15; + private long rulesId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long RulesId { + get { return rulesId_; } + set { + rulesId_ = value; + } + } + + /// Field number for the "e_f16" field. + public const int EF16FieldNumber = 16; + private int eF16_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EF16 { + get { return eF16_; } + set { + eF16_ = value; + } + } + + /// Field number for the "visible" field. + public const int VisibleFieldNumber = 17; + private bool visible_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Visible { + get { return visible_; } + set { + visible_ = value; + } + } + + /// Field number for the "jerseyHash" field. + public const int JerseyHashFieldNumber = 18; + private long jerseyHash_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long JerseyHash { + get { return jerseyHash_; } + set { + jerseyHash_ = value; + } + } + + /// Field number for the "e_f19" field. + public const int EF19FieldNumber = 19; + private string eF19_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EF19 { + get { return eF19_; } + set { + eF19_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "e_f20" field. + public const int EF20FieldNumber = 20; + private string eF20_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EF20 { + get { return eF20_; } + set { + eF20_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "e_f21" field. + public const int EF21FieldNumber = 21; + private string eF21_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EF21 { + get { return eF21_; } + set { + eF21_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "sport" field. + public const int SportFieldNumber = 22; + private global::ZwiftPacketMonitor.Sport sport_ = global::ZwiftPacketMonitor.Sport.Cycling; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.Sport Sport { + get { return sport_; } + set { + sport_ = value; + } + } + + /// Field number for the "e_f23" field. + public const int EF23FieldNumber = 23; + private long eF23_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long EF23 { + get { return eF23_; } + set { + eF23_ = value; + } + } + + /// Field number for the "eventType" field. + public const int EventTypeFieldNumber = 24; + private global::ZwiftPacketMonitor.EventType eventType_ = global::ZwiftPacketMonitor.EventType.EtUnknown; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.EventType EventType { + get { return eventType_; } + set { + eventType_ = value; + } + } + + /// Field number for the "e_f25" field. + public const int EF25FieldNumber = 25; + private ulong eF25_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EF25 { + get { return eF25_; } + set { + eF25_ = value; + } + } + + /// Field number for the "e_f26" field. + public const int EF26FieldNumber = 26; + private string eF26_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EF26 { + get { return eF26_; } + set { + eF26_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "e_f27" field. + public const int EF27FieldNumber = 27; + private ulong eF27_; + /// + ///<=4, ENUM? + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EF27 { + get { return eF27_; } + set { + eF27_ = value; + } + } + + /// Field number for the "overrideMapPreferences" field. + public const int OverrideMapPreferencesFieldNumber = 28; + private bool overrideMapPreferences_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool OverrideMapPreferences { + get { return overrideMapPreferences_; } + set { + overrideMapPreferences_ = value; + } + } + + /// Field number for the "invisibleToNonParticipants" field. + public const int InvisibleToNonParticipantsFieldNumber = 29; + private bool invisibleToNonParticipants_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool InvisibleToNonParticipants { + get { return invisibleToNonParticipants_; } + set { + invisibleToNonParticipants_ = value; + } + } + + /// Field number for the "evSeries" field. + public const int EvSeriesFieldNumber = 30; + private global::ZwiftPacketMonitor.EventSeriesProtobuf evSeries_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.EventSeriesProtobuf EvSeries { + get { return evSeries_; } + set { + evSeries_ = value; + } + } + + /// Field number for the "tags" field. + public const int TagsFieldNumber = 31; + private string tags_ = ""; + /// + /// semi-colon delimited tags + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tags { + get { return tags_; } + set { + tags_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "e_f32" field. + public const int EF32FieldNumber = 32; + private ulong eF32_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EF32 { + get { return eF32_; } + set { + eF32_ = value; + } + } + + /// Field number for the "e_wtrl" field. + public const int EWtrlFieldNumber = 33; + private bool eWtrl_; + /// + ///WTRL (World Tactical Racing Leagues) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EWtrl { + get { return eWtrl_; } + set { + eWtrl_ = value; + } + } + + /// Field number for the "lateJoinInMinutes" field. + public const int LateJoinInMinutesFieldNumber = 34; + private uint lateJoinInMinutes_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint LateJoinInMinutes { + get { return lateJoinInMinutes_; } + set { + lateJoinInMinutes_ = value; + } + } + + /// Field number for the "course_id" field. + public const int CourseIdFieldNumber = 35; + private ulong courseId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong CourseId { + get { return courseId_; } + set { + courseId_ = value; + } + } + + /// Field number for the "tto" field. + public const int TtoFieldNumber = 36; + private global::ZwiftPacketMonitor.EventTimeTrialOptions tto_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.EventTimeTrialOptions Tto { + get { return tto_; } + set { + tto_ = value; + } + } + + /// Field number for the "e_f37" field. + public const int EF37FieldNumber = 37; + private string eF37_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EF37 { + get { return eF37_; } + set { + eF37_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "e_f38" field. + public const int EF38FieldNumber = 38; + private string eF38_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EF38 { + get { return eF38_; } + set { + eF38_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "e_f39" field. + public const int EF39FieldNumber = 39; + private uint eF39_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EF39 { + get { return eF39_; } + set { + eF39_ = value; + } + } + + /// Field number for the "msed" field. + public const int MsedFieldNumber = 40; + private global::ZwiftPacketMonitor.MicroserviceEventData msed_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.MicroserviceEventData Msed { + get { return msed_; } + set { + msed_ = value; + } + } + + /// Field number for the "e_f41" field. + public const int EF41FieldNumber = 41; + private static readonly pb::FieldCodec _repeated_eF41_codec + = pb::FieldCodec.ForUInt32(330); + private readonly pbc::RepeatedField eF41_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField EF41 { + get { return eF41_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EventProtobuf); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EventProtobuf other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ServerRealm != other.ServerRealm) return false; + if (Name != other.Name) return false; + if (Description != other.Description) return false; + if (EventStart != other.EventStart) return false; + if (EF6 != other.EF6) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DistanceInMeters, other.DistanceInMeters)) return false; + if (Laps != other.Laps) return false; + if (EF9 != other.EF9) return false; + if (!object.Equals(Category, other.Category)) return false; + if (EF11 != other.EF11) return false; + if (Thumbnail != other.Thumbnail) return false; + if (DurationInSeconds != other.DurationInSeconds) return false; + if (RouteId != other.RouteId) return false; + if (RulesId != other.RulesId) return false; + if (EF16 != other.EF16) return false; + if (Visible != other.Visible) return false; + if (JerseyHash != other.JerseyHash) return false; + if (EF19 != other.EF19) return false; + if (EF20 != other.EF20) return false; + if (EF21 != other.EF21) return false; + if (Sport != other.Sport) return false; + if (EF23 != other.EF23) return false; + if (EventType != other.EventType) return false; + if (EF25 != other.EF25) return false; + if (EF26 != other.EF26) return false; + if (EF27 != other.EF27) return false; + if (OverrideMapPreferences != other.OverrideMapPreferences) return false; + if (InvisibleToNonParticipants != other.InvisibleToNonParticipants) return false; + if (!object.Equals(EvSeries, other.EvSeries)) return false; + if (Tags != other.Tags) return false; + if (EF32 != other.EF32) return false; + if (EWtrl != other.EWtrl) return false; + if (LateJoinInMinutes != other.LateJoinInMinutes) return false; + if (CourseId != other.CourseId) return false; + if (!object.Equals(Tto, other.Tto)) return false; + if (EF37 != other.EF37) return false; + if (EF38 != other.EF38) return false; + if (EF39 != other.EF39) return false; + if (!object.Equals(Msed, other.Msed)) return false; + if(!eF41_.Equals(other.eF41_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Id != 0L) hash ^= Id.GetHashCode(); + if (ServerRealm != 0L) hash ^= ServerRealm.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Description.Length != 0) hash ^= Description.GetHashCode(); + if (EventStart != 0L) hash ^= EventStart.GetHashCode(); + if (EF6.Length != 0) hash ^= EF6.GetHashCode(); + if (DistanceInMeters != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DistanceInMeters); + if (Laps != 0) hash ^= Laps.GetHashCode(); + if (EF9 != 0) hash ^= EF9.GetHashCode(); + if (category_ != null) hash ^= Category.GetHashCode(); + if (EF11.Length != 0) hash ^= EF11.GetHashCode(); + if (Thumbnail.Length != 0) hash ^= Thumbnail.GetHashCode(); + if (DurationInSeconds != 0) hash ^= DurationInSeconds.GetHashCode(); + if (RouteId != 0L) hash ^= RouteId.GetHashCode(); + if (RulesId != 0L) hash ^= RulesId.GetHashCode(); + if (EF16 != 0) hash ^= EF16.GetHashCode(); + if (Visible != false) hash ^= Visible.GetHashCode(); + if (JerseyHash != 0L) hash ^= JerseyHash.GetHashCode(); + if (EF19.Length != 0) hash ^= EF19.GetHashCode(); + if (EF20.Length != 0) hash ^= EF20.GetHashCode(); + if (EF21.Length != 0) hash ^= EF21.GetHashCode(); + if (Sport != global::ZwiftPacketMonitor.Sport.Cycling) hash ^= Sport.GetHashCode(); + if (EF23 != 0L) hash ^= EF23.GetHashCode(); + if (EventType != global::ZwiftPacketMonitor.EventType.EtUnknown) hash ^= EventType.GetHashCode(); + if (EF25 != 0UL) hash ^= EF25.GetHashCode(); + if (EF26.Length != 0) hash ^= EF26.GetHashCode(); + if (EF27 != 0UL) hash ^= EF27.GetHashCode(); + if (OverrideMapPreferences != false) hash ^= OverrideMapPreferences.GetHashCode(); + if (InvisibleToNonParticipants != false) hash ^= InvisibleToNonParticipants.GetHashCode(); + if (evSeries_ != null) hash ^= EvSeries.GetHashCode(); + if (Tags.Length != 0) hash ^= Tags.GetHashCode(); + if (EF32 != 0UL) hash ^= EF32.GetHashCode(); + if (EWtrl != false) hash ^= EWtrl.GetHashCode(); + if (LateJoinInMinutes != 0) hash ^= LateJoinInMinutes.GetHashCode(); + if (CourseId != 0UL) hash ^= CourseId.GetHashCode(); + if (tto_ != null) hash ^= Tto.GetHashCode(); + if (EF37.Length != 0) hash ^= EF37.GetHashCode(); + if (EF38.Length != 0) hash ^= EF38.GetHashCode(); + if (EF39 != 0) hash ^= EF39.GetHashCode(); + if (msed_ != null) hash ^= Msed.GetHashCode(); + hash ^= eF41_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Id != 0L) { + output.WriteRawTag(8); + output.WriteInt64(Id); + } + if (ServerRealm != 0L) { + output.WriteRawTag(16); + output.WriteInt64(ServerRealm); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (Description.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Description); + } + if (EventStart != 0L) { + output.WriteRawTag(40); + output.WriteInt64(EventStart); + } + if (EF6.Length != 0) { + output.WriteRawTag(50); + output.WriteString(EF6); + } + if (DistanceInMeters != 0F) { + output.WriteRawTag(61); + output.WriteFloat(DistanceInMeters); + } + if (Laps != 0) { + output.WriteRawTag(64); + output.WriteInt32(Laps); + } + if (EF9 != 0) { + output.WriteRawTag(72); + output.WriteInt32(EF9); + } + if (category_ != null) { + output.WriteRawTag(82); + output.WriteMessage(Category); + } + if (EF11.Length != 0) { + output.WriteRawTag(90); + output.WriteString(EF11); + } + if (Thumbnail.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Thumbnail); + } + if (DurationInSeconds != 0) { + output.WriteRawTag(104); + output.WriteInt32(DurationInSeconds); + } + if (RouteId != 0L) { + output.WriteRawTag(112); + output.WriteInt64(RouteId); + } + if (RulesId != 0L) { + output.WriteRawTag(120); + output.WriteInt64(RulesId); + } + if (EF16 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(EF16); + } + if (Visible != false) { + output.WriteRawTag(136, 1); + output.WriteBool(Visible); + } + if (JerseyHash != 0L) { + output.WriteRawTag(144, 1); + output.WriteInt64(JerseyHash); + } + if (EF19.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(EF19); + } + if (EF20.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(EF20); + } + if (EF21.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(EF21); + } + if (Sport != global::ZwiftPacketMonitor.Sport.Cycling) { + output.WriteRawTag(176, 1); + output.WriteEnum((int) Sport); + } + if (EF23 != 0L) { + output.WriteRawTag(184, 1); + output.WriteInt64(EF23); + } + if (EventType != global::ZwiftPacketMonitor.EventType.EtUnknown) { + output.WriteRawTag(192, 1); + output.WriteEnum((int) EventType); + } + if (EF25 != 0UL) { + output.WriteRawTag(200, 1); + output.WriteUInt64(EF25); + } + if (EF26.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(EF26); + } + if (EF27 != 0UL) { + output.WriteRawTag(216, 1); + output.WriteUInt64(EF27); + } + if (OverrideMapPreferences != false) { + output.WriteRawTag(224, 1); + output.WriteBool(OverrideMapPreferences); + } + if (InvisibleToNonParticipants != false) { + output.WriteRawTag(232, 1); + output.WriteBool(InvisibleToNonParticipants); + } + if (evSeries_ != null) { + output.WriteRawTag(242, 1); + output.WriteMessage(EvSeries); + } + if (Tags.Length != 0) { + output.WriteRawTag(250, 1); + output.WriteString(Tags); + } + if (EF32 != 0UL) { + output.WriteRawTag(128, 2); + output.WriteUInt64(EF32); + } + if (EWtrl != false) { + output.WriteRawTag(136, 2); + output.WriteBool(EWtrl); + } + if (LateJoinInMinutes != 0) { + output.WriteRawTag(144, 2); + output.WriteUInt32(LateJoinInMinutes); + } + if (CourseId != 0UL) { + output.WriteRawTag(152, 2); + output.WriteUInt64(CourseId); + } + if (tto_ != null) { + output.WriteRawTag(162, 2); + output.WriteMessage(Tto); + } + if (EF37.Length != 0) { + output.WriteRawTag(170, 2); + output.WriteString(EF37); + } + if (EF38.Length != 0) { + output.WriteRawTag(178, 2); + output.WriteString(EF38); + } + if (EF39 != 0) { + output.WriteRawTag(184, 2); + output.WriteUInt32(EF39); + } + if (msed_ != null) { + output.WriteRawTag(194, 2); + output.WriteMessage(Msed); + } + eF41_.WriteTo(output, _repeated_eF41_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Id != 0L) { + output.WriteRawTag(8); + output.WriteInt64(Id); + } + if (ServerRealm != 0L) { + output.WriteRawTag(16); + output.WriteInt64(ServerRealm); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (Description.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Description); + } + if (EventStart != 0L) { + output.WriteRawTag(40); + output.WriteInt64(EventStart); + } + if (EF6.Length != 0) { + output.WriteRawTag(50); + output.WriteString(EF6); + } + if (DistanceInMeters != 0F) { + output.WriteRawTag(61); + output.WriteFloat(DistanceInMeters); + } + if (Laps != 0) { + output.WriteRawTag(64); + output.WriteInt32(Laps); + } + if (EF9 != 0) { + output.WriteRawTag(72); + output.WriteInt32(EF9); + } + if (category_ != null) { + output.WriteRawTag(82); + output.WriteMessage(Category); + } + if (EF11.Length != 0) { + output.WriteRawTag(90); + output.WriteString(EF11); + } + if (Thumbnail.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Thumbnail); + } + if (DurationInSeconds != 0) { + output.WriteRawTag(104); + output.WriteInt32(DurationInSeconds); + } + if (RouteId != 0L) { + output.WriteRawTag(112); + output.WriteInt64(RouteId); + } + if (RulesId != 0L) { + output.WriteRawTag(120); + output.WriteInt64(RulesId); + } + if (EF16 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(EF16); + } + if (Visible != false) { + output.WriteRawTag(136, 1); + output.WriteBool(Visible); + } + if (JerseyHash != 0L) { + output.WriteRawTag(144, 1); + output.WriteInt64(JerseyHash); + } + if (EF19.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(EF19); + } + if (EF20.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(EF20); + } + if (EF21.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(EF21); + } + if (Sport != global::ZwiftPacketMonitor.Sport.Cycling) { + output.WriteRawTag(176, 1); + output.WriteEnum((int) Sport); + } + if (EF23 != 0L) { + output.WriteRawTag(184, 1); + output.WriteInt64(EF23); + } + if (EventType != global::ZwiftPacketMonitor.EventType.EtUnknown) { + output.WriteRawTag(192, 1); + output.WriteEnum((int) EventType); + } + if (EF25 != 0UL) { + output.WriteRawTag(200, 1); + output.WriteUInt64(EF25); + } + if (EF26.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(EF26); + } + if (EF27 != 0UL) { + output.WriteRawTag(216, 1); + output.WriteUInt64(EF27); + } + if (OverrideMapPreferences != false) { + output.WriteRawTag(224, 1); + output.WriteBool(OverrideMapPreferences); + } + if (InvisibleToNonParticipants != false) { + output.WriteRawTag(232, 1); + output.WriteBool(InvisibleToNonParticipants); + } + if (evSeries_ != null) { + output.WriteRawTag(242, 1); + output.WriteMessage(EvSeries); + } + if (Tags.Length != 0) { + output.WriteRawTag(250, 1); + output.WriteString(Tags); + } + if (EF32 != 0UL) { + output.WriteRawTag(128, 2); + output.WriteUInt64(EF32); + } + if (EWtrl != false) { + output.WriteRawTag(136, 2); + output.WriteBool(EWtrl); + } + if (LateJoinInMinutes != 0) { + output.WriteRawTag(144, 2); + output.WriteUInt32(LateJoinInMinutes); + } + if (CourseId != 0UL) { + output.WriteRawTag(152, 2); + output.WriteUInt64(CourseId); + } + if (tto_ != null) { + output.WriteRawTag(162, 2); + output.WriteMessage(Tto); + } + if (EF37.Length != 0) { + output.WriteRawTag(170, 2); + output.WriteString(EF37); + } + if (EF38.Length != 0) { + output.WriteRawTag(178, 2); + output.WriteString(EF38); + } + if (EF39 != 0) { + output.WriteRawTag(184, 2); + output.WriteUInt32(EF39); + } + if (msed_ != null) { + output.WriteRawTag(194, 2); + output.WriteMessage(Msed); + } + eF41_.WriteTo(ref output, _repeated_eF41_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Id != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id); + } + if (ServerRealm != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ServerRealm); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Description.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); + } + if (EventStart != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(EventStart); + } + if (EF6.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EF6); + } + if (DistanceInMeters != 0F) { + size += 1 + 4; + } + if (Laps != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Laps); + } + if (EF9 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EF9); + } + if (category_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Category); + } + if (EF11.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EF11); + } + if (Thumbnail.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Thumbnail); + } + if (DurationInSeconds != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DurationInSeconds); + } + if (RouteId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(RouteId); + } + if (RulesId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(RulesId); + } + if (EF16 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EF16); + } + if (Visible != false) { + size += 2 + 1; + } + if (JerseyHash != 0L) { + size += 2 + pb::CodedOutputStream.ComputeInt64Size(JerseyHash); + } + if (EF19.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(EF19); + } + if (EF20.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(EF20); + } + if (EF21.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(EF21); + } + if (Sport != global::ZwiftPacketMonitor.Sport.Cycling) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) Sport); + } + if (EF23 != 0L) { + size += 2 + pb::CodedOutputStream.ComputeInt64Size(EF23); + } + if (EventType != global::ZwiftPacketMonitor.EventType.EtUnknown) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) EventType); + } + if (EF25 != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(EF25); + } + if (EF26.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(EF26); + } + if (EF27 != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(EF27); + } + if (OverrideMapPreferences != false) { + size += 2 + 1; + } + if (InvisibleToNonParticipants != false) { + size += 2 + 1; + } + if (evSeries_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(EvSeries); + } + if (Tags.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Tags); + } + if (EF32 != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(EF32); + } + if (EWtrl != false) { + size += 2 + 1; + } + if (LateJoinInMinutes != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(LateJoinInMinutes); + } + if (CourseId != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(CourseId); + } + if (tto_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Tto); + } + if (EF37.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(EF37); + } + if (EF38.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(EF38); + } + if (EF39 != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(EF39); + } + if (msed_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Msed); + } + size += eF41_.CalculateSize(_repeated_eF41_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EventProtobuf other) { + if (other == null) { + return; + } + if (other.Id != 0L) { + Id = other.Id; + } + if (other.ServerRealm != 0L) { + ServerRealm = other.ServerRealm; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Description.Length != 0) { + Description = other.Description; + } + if (other.EventStart != 0L) { + EventStart = other.EventStart; + } + if (other.EF6.Length != 0) { + EF6 = other.EF6; + } + if (other.DistanceInMeters != 0F) { + DistanceInMeters = other.DistanceInMeters; + } + if (other.Laps != 0) { + Laps = other.Laps; + } + if (other.EF9 != 0) { + EF9 = other.EF9; + } + if (other.category_ != null) { + if (category_ == null) { + Category = new global::ZwiftPacketMonitor.EventSubgroupProtobuf(); + } + Category.MergeFrom(other.Category); + } + if (other.EF11.Length != 0) { + EF11 = other.EF11; + } + if (other.Thumbnail.Length != 0) { + Thumbnail = other.Thumbnail; + } + if (other.DurationInSeconds != 0) { + DurationInSeconds = other.DurationInSeconds; + } + if (other.RouteId != 0L) { + RouteId = other.RouteId; + } + if (other.RulesId != 0L) { + RulesId = other.RulesId; + } + if (other.EF16 != 0) { + EF16 = other.EF16; + } + if (other.Visible != false) { + Visible = other.Visible; + } + if (other.JerseyHash != 0L) { + JerseyHash = other.JerseyHash; + } + if (other.EF19.Length != 0) { + EF19 = other.EF19; + } + if (other.EF20.Length != 0) { + EF20 = other.EF20; + } + if (other.EF21.Length != 0) { + EF21 = other.EF21; + } + if (other.Sport != global::ZwiftPacketMonitor.Sport.Cycling) { + Sport = other.Sport; + } + if (other.EF23 != 0L) { + EF23 = other.EF23; + } + if (other.EventType != global::ZwiftPacketMonitor.EventType.EtUnknown) { + EventType = other.EventType; + } + if (other.EF25 != 0UL) { + EF25 = other.EF25; + } + if (other.EF26.Length != 0) { + EF26 = other.EF26; + } + if (other.EF27 != 0UL) { + EF27 = other.EF27; + } + if (other.OverrideMapPreferences != false) { + OverrideMapPreferences = other.OverrideMapPreferences; + } + if (other.InvisibleToNonParticipants != false) { + InvisibleToNonParticipants = other.InvisibleToNonParticipants; + } + if (other.evSeries_ != null) { + if (evSeries_ == null) { + EvSeries = new global::ZwiftPacketMonitor.EventSeriesProtobuf(); + } + EvSeries.MergeFrom(other.EvSeries); + } + if (other.Tags.Length != 0) { + Tags = other.Tags; + } + if (other.EF32 != 0UL) { + EF32 = other.EF32; + } + if (other.EWtrl != false) { + EWtrl = other.EWtrl; + } + if (other.LateJoinInMinutes != 0) { + LateJoinInMinutes = other.LateJoinInMinutes; + } + if (other.CourseId != 0UL) { + CourseId = other.CourseId; + } + if (other.tto_ != null) { + if (tto_ == null) { + Tto = new global::ZwiftPacketMonitor.EventTimeTrialOptions(); + } + Tto.MergeFrom(other.Tto); + } + if (other.EF37.Length != 0) { + EF37 = other.EF37; + } + if (other.EF38.Length != 0) { + EF38 = other.EF38; + } + if (other.EF39 != 0) { + EF39 = other.EF39; + } + if (other.msed_ != null) { + if (msed_ == null) { + Msed = new global::ZwiftPacketMonitor.MicroserviceEventData(); + } + Msed.MergeFrom(other.Msed); + } + eF41_.Add(other.eF41_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Id = input.ReadInt64(); + break; + } + case 16: { + ServerRealm = input.ReadInt64(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Description = input.ReadString(); + break; + } + case 40: { + EventStart = input.ReadInt64(); + break; + } + case 50: { + EF6 = input.ReadString(); + break; + } + case 61: { + DistanceInMeters = input.ReadFloat(); + break; + } + case 64: { + Laps = input.ReadInt32(); + break; + } + case 72: { + EF9 = input.ReadInt32(); + break; + } + case 82: { + if (category_ == null) { + Category = new global::ZwiftPacketMonitor.EventSubgroupProtobuf(); + } + input.ReadMessage(Category); + break; + } + case 90: { + EF11 = input.ReadString(); + break; + } + case 98: { + Thumbnail = input.ReadString(); + break; + } + case 104: { + DurationInSeconds = input.ReadInt32(); + break; + } + case 112: { + RouteId = input.ReadInt64(); + break; + } + case 120: { + RulesId = input.ReadInt64(); + break; + } + case 128: { + EF16 = input.ReadInt32(); + break; + } + case 136: { + Visible = input.ReadBool(); + break; + } + case 144: { + JerseyHash = input.ReadInt64(); + break; + } + case 154: { + EF19 = input.ReadString(); + break; + } + case 162: { + EF20 = input.ReadString(); + break; + } + case 170: { + EF21 = input.ReadString(); + break; + } + case 176: { + Sport = (global::ZwiftPacketMonitor.Sport) input.ReadEnum(); + break; + } + case 184: { + EF23 = input.ReadInt64(); + break; + } + case 192: { + EventType = (global::ZwiftPacketMonitor.EventType) input.ReadEnum(); + break; + } + case 200: { + EF25 = input.ReadUInt64(); + break; + } + case 210: { + EF26 = input.ReadString(); + break; + } + case 216: { + EF27 = input.ReadUInt64(); + break; + } + case 224: { + OverrideMapPreferences = input.ReadBool(); + break; + } + case 232: { + InvisibleToNonParticipants = input.ReadBool(); + break; + } + case 242: { + if (evSeries_ == null) { + EvSeries = new global::ZwiftPacketMonitor.EventSeriesProtobuf(); + } + input.ReadMessage(EvSeries); + break; + } + case 250: { + Tags = input.ReadString(); + break; + } + case 256: { + EF32 = input.ReadUInt64(); + break; + } + case 264: { + EWtrl = input.ReadBool(); + break; + } + case 272: { + LateJoinInMinutes = input.ReadUInt32(); + break; + } + case 280: { + CourseId = input.ReadUInt64(); + break; + } + case 290: { + if (tto_ == null) { + Tto = new global::ZwiftPacketMonitor.EventTimeTrialOptions(); + } + input.ReadMessage(Tto); + break; + } + case 298: { + EF37 = input.ReadString(); + break; + } + case 306: { + EF38 = input.ReadString(); + break; + } + case 312: { + EF39 = input.ReadUInt32(); + break; + } + case 322: { + if (msed_ == null) { + Msed = new global::ZwiftPacketMonitor.MicroserviceEventData(); + } + input.ReadMessage(Msed); + break; + } + case 330: + case 328: { + eF41_.AddEntriesFrom(input, _repeated_eF41_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Id = input.ReadInt64(); + break; + } + case 16: { + ServerRealm = input.ReadInt64(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Description = input.ReadString(); + break; + } + case 40: { + EventStart = input.ReadInt64(); + break; + } + case 50: { + EF6 = input.ReadString(); + break; + } + case 61: { + DistanceInMeters = input.ReadFloat(); + break; + } + case 64: { + Laps = input.ReadInt32(); + break; + } + case 72: { + EF9 = input.ReadInt32(); + break; + } + case 82: { + if (category_ == null) { + Category = new global::ZwiftPacketMonitor.EventSubgroupProtobuf(); + } + input.ReadMessage(Category); + break; + } + case 90: { + EF11 = input.ReadString(); + break; + } + case 98: { + Thumbnail = input.ReadString(); + break; + } + case 104: { + DurationInSeconds = input.ReadInt32(); + break; + } + case 112: { + RouteId = input.ReadInt64(); + break; + } + case 120: { + RulesId = input.ReadInt64(); + break; + } + case 128: { + EF16 = input.ReadInt32(); + break; + } + case 136: { + Visible = input.ReadBool(); + break; + } + case 144: { + JerseyHash = input.ReadInt64(); + break; + } + case 154: { + EF19 = input.ReadString(); + break; + } + case 162: { + EF20 = input.ReadString(); + break; + } + case 170: { + EF21 = input.ReadString(); + break; + } + case 176: { + Sport = (global::ZwiftPacketMonitor.Sport) input.ReadEnum(); + break; + } + case 184: { + EF23 = input.ReadInt64(); + break; + } + case 192: { + EventType = (global::ZwiftPacketMonitor.EventType) input.ReadEnum(); + break; + } + case 200: { + EF25 = input.ReadUInt64(); + break; + } + case 210: { + EF26 = input.ReadString(); + break; + } + case 216: { + EF27 = input.ReadUInt64(); + break; + } + case 224: { + OverrideMapPreferences = input.ReadBool(); + break; + } + case 232: { + InvisibleToNonParticipants = input.ReadBool(); + break; + } + case 242: { + if (evSeries_ == null) { + EvSeries = new global::ZwiftPacketMonitor.EventSeriesProtobuf(); + } + input.ReadMessage(EvSeries); + break; + } + case 250: { + Tags = input.ReadString(); + break; + } + case 256: { + EF32 = input.ReadUInt64(); + break; + } + case 264: { + EWtrl = input.ReadBool(); + break; + } + case 272: { + LateJoinInMinutes = input.ReadUInt32(); + break; + } + case 280: { + CourseId = input.ReadUInt64(); + break; + } + case 290: { + if (tto_ == null) { + Tto = new global::ZwiftPacketMonitor.EventTimeTrialOptions(); + } + input.ReadMessage(Tto); + break; + } + case 298: { + EF37 = input.ReadString(); + break; + } + case 306: { + EF38 = input.ReadString(); + break; + } + case 312: { + EF39 = input.ReadUInt32(); + break; + } + case 322: { + if (msed_ == null) { + Msed = new global::ZwiftPacketMonitor.MicroserviceEventData(); + } + input.ReadMessage(Msed); + break; + } + case 330: + case 328: { + eF41_.AddEntriesFrom(ref input, _repeated_eF41_codec); + break; + } + } + } + } + #endif + + } + + public sealed partial class PlayerState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerState()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerState(PlayerState other) : this() { + id_ = other.id_; + worldTime_ = other.worldTime_; + distance_ = other.distance_; + roadTime_ = other.roadTime_; + laps_ = other.laps_; + speed_ = other.speed_; + psF7_ = other.psF7_; + roadPosition_ = other.roadPosition_; + cadenceUHz_ = other.cadenceUHz_; + psF10_ = other.psF10_; + heartrate_ = other.heartrate_; + power_ = other.power_; + heading_ = other.heading_; + lean_ = other.lean_; + climbing_ = other.climbing_; + time_ = other.time_; + psF17_ = other.psF17_; + frameHue_ = other.frameHue_; + f19_ = other.f19_; + f20_ = other.f20_; + progress_ = other.progress_; + customisationId_ = other.customisationId_; + justWatching_ = other.justWatching_; + calories_ = other.calories_; + x_ = other.x_; + y_ = other.y_; + z_ = other.z_; + watchingRiderId_ = other.watchingRiderId_; + groupId_ = other.groupId_; + sport_ = other.sport_; + psF32_ = other.psF32_; + psF33_ = other.psF33_; + distLat_ = other.distLat_; + world_ = other.world_; + psF36_ = other.psF36_; + psF37_ = other.psF37_; + canSteer_ = other.canSteer_; + route_ = other.route_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerState Clone() { + return new PlayerState(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private int id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "worldTime" field. + public const int WorldTimeFieldNumber = 2; + private long worldTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long WorldTime { + get { return worldTime_; } + set { + worldTime_ = value; + } + } + + /// Field number for the "distance" field. + public const int DistanceFieldNumber = 3; + private int distance_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Distance { + get { return distance_; } + set { + distance_ = value; + } + } + + /// Field number for the "roadTime" field. + public const int RoadTimeFieldNumber = 4; + private int roadTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RoadTime { + get { return roadTime_; } + set { + roadTime_ = value; + } + } + + /// Field number for the "laps" field. + public const int LapsFieldNumber = 5; + private int laps_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Laps { + get { return laps_; } + set { + laps_ = value; + } + } + + /// Field number for the "speed" field. + public const int SpeedFieldNumber = 6; + private int speed_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Speed { + get { return speed_; } + set { + speed_ = value; + } + } + + /// Field number for the "ps_f7" field. + public const int PsF7FieldNumber = 7; + private uint psF7_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PsF7 { + get { return psF7_; } + set { + psF7_ = value; + } + } + + /// Field number for the "roadPosition" field. + public const int RoadPositionFieldNumber = 8; + private int roadPosition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RoadPosition { + get { return roadPosition_; } + set { + roadPosition_ = value; + } + } + + /// Field number for the "cadenceUHz" field. + public const int CadenceUHzFieldNumber = 9; + private int cadenceUHz_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CadenceUHz { + get { return cadenceUHz_; } + set { + cadenceUHz_ = value; + } + } + + /// Field number for the "ps_f10" field. + public const int PsF10FieldNumber = 10; + private int psF10_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PsF10 { + get { return psF10_; } + set { + psF10_ = value; + } + } + + /// Field number for the "heartrate" field. + public const int HeartrateFieldNumber = 11; + private int heartrate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Heartrate { + get { return heartrate_; } + set { + heartrate_ = value; + } + } + + /// Field number for the "power" field. + public const int PowerFieldNumber = 12; + private int power_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Power { + get { return power_; } + set { + power_ = value; + } + } + + /// Field number for the "heading" field. + public const int HeadingFieldNumber = 13; + private long heading_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Heading { + get { return heading_; } + set { + heading_ = value; + } + } + + /// Field number for the "lean" field. + public const int LeanFieldNumber = 14; + private int lean_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Lean { + get { return lean_; } + set { + lean_ = value; + } + } + + /// Field number for the "climbing" field. + public const int ClimbingFieldNumber = 15; + private int climbing_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Climbing { + get { return climbing_; } + set { + climbing_ = value; + } + } + + /// Field number for the "time" field. + public const int TimeFieldNumber = 16; + private int time_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Time { + get { return time_; } + set { + time_ = value; + } + } + + /// Field number for the "ps_f17" field. + public const int PsF17FieldNumber = 17; + private int psF17_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PsF17 { + get { return psF17_; } + set { + psF17_ = value; + } + } + + /// Field number for the "frameHue" field. + public const int FrameHueFieldNumber = 18; + private uint frameHue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FrameHue { + get { return frameHue_; } + set { + frameHue_ = value; + } + } + + /// Field number for the "f19" field. + public const int F19FieldNumber = 19; + private int f19_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int F19 { + get { return f19_; } + set { + f19_ = value; + } + } + + /// Field number for the "f20" field. + public const int F20FieldNumber = 20; + private int f20_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int F20 { + get { return f20_; } + set { + f20_ = value; + } + } + + /// Field number for the "progress" field. + public const int ProgressFieldNumber = 21; + private int progress_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Progress { + get { return progress_; } + set { + progress_ = value; + } + } + + /// Field number for the "customisationId" field. + public const int CustomisationIdFieldNumber = 22; + private long customisationId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long CustomisationId { + get { return customisationId_; } + set { + customisationId_ = value; + } + } + + /// Field number for the "justWatching" field. + public const int JustWatchingFieldNumber = 23; + private int justWatching_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int JustWatching { + get { return justWatching_; } + set { + justWatching_ = value; + } + } + + /// Field number for the "calories" field. + public const int CaloriesFieldNumber = 24; + private int calories_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Calories { + get { return calories_; } + set { + calories_ = value; + } + } + + /// Field number for the "x" field. + public const int XFieldNumber = 25; + private float x_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float X { + get { return x_; } + set { + x_ = value; + } + } + + /// Field number for the "y" field. + public const int YFieldNumber = 26; + private float y_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Y { + get { return y_; } + set { + y_ = value; + } + } + + /// Field number for the "z" field. + public const int ZFieldNumber = 27; + private float z_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Z { + get { return z_; } + set { + z_ = value; + } + } + + /// Field number for the "watchingRiderId" field. + public const int WatchingRiderIdFieldNumber = 28; + private long watchingRiderId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long WatchingRiderId { + get { return watchingRiderId_; } + set { + watchingRiderId_ = value; + } + } + + /// Field number for the "groupId" field. + public const int GroupIdFieldNumber = 29; + private long groupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long GroupId { + get { return groupId_; } + set { + groupId_ = value; + } + } + + /// Field number for the "sport" field. + public const int SportFieldNumber = 31; + private global::ZwiftPacketMonitor.Sport sport_ = global::ZwiftPacketMonitor.Sport.Cycling; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.Sport Sport { + get { return sport_; } + set { + sport_ = value; + } + } + + /// Field number for the "ps_f32" field. + public const int PsF32FieldNumber = 32; + private float psF32_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float PsF32 { + get { return psF32_; } + set { + psF32_ = value; + } + } + + /// Field number for the "ps_f33" field. + public const int PsF33FieldNumber = 33; + private uint psF33_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PsF33 { + get { return psF33_; } + set { + psF33_ = value; + } + } + + /// Field number for the "dist_lat" field. + public const int DistLatFieldNumber = 34; + private float distLat_; + /// + /// actual distance moved included lateral movement + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float DistLat { + get { return distLat_; } + set { + distLat_ = value; + } + } + + /// Field number for the "world" field. + public const int WorldFieldNumber = 35; + private int world_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int World { + get { return world_; } + set { + world_ = value; + } + } + + /// Field number for the "ps_f36" field. + public const int PsF36FieldNumber = 36; + private uint psF36_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PsF36 { + get { return psF36_; } + set { + psF36_ = value; + } + } + + /// Field number for the "ps_f37" field. + public const int PsF37FieldNumber = 37; + private uint psF37_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PsF37 { + get { return psF37_; } + set { + psF37_ = value; + } + } + + /// Field number for the "canSteer" field. + public const int CanSteerFieldNumber = 38; + private bool canSteer_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanSteer { + get { return canSteer_; } + set { + canSteer_ = value; + } + } + + /// Field number for the "route" field. + public const int RouteFieldNumber = 39; + private int route_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Route { + get { return route_; } + set { + route_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PlayerState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (WorldTime != other.WorldTime) return false; + if (Distance != other.Distance) return false; + if (RoadTime != other.RoadTime) return false; + if (Laps != other.Laps) return false; + if (Speed != other.Speed) return false; + if (PsF7 != other.PsF7) return false; + if (RoadPosition != other.RoadPosition) return false; + if (CadenceUHz != other.CadenceUHz) return false; + if (PsF10 != other.PsF10) return false; + if (Heartrate != other.Heartrate) return false; + if (Power != other.Power) return false; + if (Heading != other.Heading) return false; + if (Lean != other.Lean) return false; + if (Climbing != other.Climbing) return false; + if (Time != other.Time) return false; + if (PsF17 != other.PsF17) return false; + if (FrameHue != other.FrameHue) return false; + if (F19 != other.F19) return false; + if (F20 != other.F20) return false; + if (Progress != other.Progress) return false; + if (CustomisationId != other.CustomisationId) return false; + if (JustWatching != other.JustWatching) return false; + if (Calories != other.Calories) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false; + if (WatchingRiderId != other.WatchingRiderId) return false; + if (GroupId != other.GroupId) return false; + if (Sport != other.Sport) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PsF32, other.PsF32)) return false; + if (PsF33 != other.PsF33) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DistLat, other.DistLat)) return false; + if (World != other.World) return false; + if (PsF36 != other.PsF36) return false; + if (PsF37 != other.PsF37) return false; + if (CanSteer != other.CanSteer) return false; + if (Route != other.Route) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Id != 0) hash ^= Id.GetHashCode(); + if (WorldTime != 0L) hash ^= WorldTime.GetHashCode(); + if (Distance != 0) hash ^= Distance.GetHashCode(); + if (RoadTime != 0) hash ^= RoadTime.GetHashCode(); + if (Laps != 0) hash ^= Laps.GetHashCode(); + if (Speed != 0) hash ^= Speed.GetHashCode(); + if (PsF7 != 0) hash ^= PsF7.GetHashCode(); + if (RoadPosition != 0) hash ^= RoadPosition.GetHashCode(); + if (CadenceUHz != 0) hash ^= CadenceUHz.GetHashCode(); + if (PsF10 != 0) hash ^= PsF10.GetHashCode(); + if (Heartrate != 0) hash ^= Heartrate.GetHashCode(); + if (Power != 0) hash ^= Power.GetHashCode(); + if (Heading != 0L) hash ^= Heading.GetHashCode(); + if (Lean != 0) hash ^= Lean.GetHashCode(); + if (Climbing != 0) hash ^= Climbing.GetHashCode(); + if (Time != 0) hash ^= Time.GetHashCode(); + if (PsF17 != 0) hash ^= PsF17.GetHashCode(); + if (FrameHue != 0) hash ^= FrameHue.GetHashCode(); + if (F19 != 0) hash ^= F19.GetHashCode(); + if (F20 != 0) hash ^= F20.GetHashCode(); + if (Progress != 0) hash ^= Progress.GetHashCode(); + if (CustomisationId != 0L) hash ^= CustomisationId.GetHashCode(); + if (JustWatching != 0) hash ^= JustWatching.GetHashCode(); + if (Calories != 0) hash ^= Calories.GetHashCode(); + if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); + if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); + if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z); + if (WatchingRiderId != 0L) hash ^= WatchingRiderId.GetHashCode(); + if (GroupId != 0L) hash ^= GroupId.GetHashCode(); + if (Sport != global::ZwiftPacketMonitor.Sport.Cycling) hash ^= Sport.GetHashCode(); + if (PsF32 != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PsF32); + if (PsF33 != 0) hash ^= PsF33.GetHashCode(); + if (DistLat != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DistLat); + if (World != 0) hash ^= World.GetHashCode(); + if (PsF36 != 0) hash ^= PsF36.GetHashCode(); + if (PsF37 != 0) hash ^= PsF37.GetHashCode(); + if (CanSteer != false) hash ^= CanSteer.GetHashCode(); + if (Route != 0) hash ^= Route.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Id != 0) { + output.WriteRawTag(8); + output.WriteInt32(Id); + } + if (WorldTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(WorldTime); + } + if (Distance != 0) { + output.WriteRawTag(24); + output.WriteInt32(Distance); + } + if (RoadTime != 0) { + output.WriteRawTag(32); + output.WriteInt32(RoadTime); + } + if (Laps != 0) { + output.WriteRawTag(40); + output.WriteInt32(Laps); + } + if (Speed != 0) { + output.WriteRawTag(48); + output.WriteInt32(Speed); + } + if (PsF7 != 0) { + output.WriteRawTag(56); + output.WriteUInt32(PsF7); + } + if (RoadPosition != 0) { + output.WriteRawTag(64); + output.WriteInt32(RoadPosition); + } + if (CadenceUHz != 0) { + output.WriteRawTag(72); + output.WriteInt32(CadenceUHz); + } + if (PsF10 != 0) { + output.WriteRawTag(80); + output.WriteInt32(PsF10); + } + if (Heartrate != 0) { + output.WriteRawTag(88); + output.WriteInt32(Heartrate); + } + if (Power != 0) { + output.WriteRawTag(96); + output.WriteInt32(Power); + } + if (Heading != 0L) { + output.WriteRawTag(104); + output.WriteInt64(Heading); + } + if (Lean != 0) { + output.WriteRawTag(112); + output.WriteInt32(Lean); + } + if (Climbing != 0) { + output.WriteRawTag(120); + output.WriteInt32(Climbing); + } + if (Time != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(Time); + } + if (PsF17 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(PsF17); + } + if (FrameHue != 0) { + output.WriteRawTag(144, 1); + output.WriteUInt32(FrameHue); + } + if (F19 != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(F19); + } + if (F20 != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(F20); + } + if (Progress != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(Progress); + } + if (CustomisationId != 0L) { + output.WriteRawTag(176, 1); + output.WriteInt64(CustomisationId); + } + if (JustWatching != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(JustWatching); + } + if (Calories != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(Calories); + } + if (X != 0F) { + output.WriteRawTag(205, 1); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(213, 1); + output.WriteFloat(Y); + } + if (Z != 0F) { + output.WriteRawTag(221, 1); + output.WriteFloat(Z); + } + if (WatchingRiderId != 0L) { + output.WriteRawTag(224, 1); + output.WriteInt64(WatchingRiderId); + } + if (GroupId != 0L) { + output.WriteRawTag(232, 1); + output.WriteInt64(GroupId); + } + if (Sport != global::ZwiftPacketMonitor.Sport.Cycling) { + output.WriteRawTag(248, 1); + output.WriteEnum((int) Sport); + } + if (PsF32 != 0F) { + output.WriteRawTag(133, 2); + output.WriteFloat(PsF32); + } + if (PsF33 != 0) { + output.WriteRawTag(136, 2); + output.WriteUInt32(PsF33); + } + if (DistLat != 0F) { + output.WriteRawTag(149, 2); + output.WriteFloat(DistLat); + } + if (World != 0) { + output.WriteRawTag(152, 2); + output.WriteInt32(World); + } + if (PsF36 != 0) { + output.WriteRawTag(160, 2); + output.WriteUInt32(PsF36); + } + if (PsF37 != 0) { + output.WriteRawTag(168, 2); + output.WriteUInt32(PsF37); + } + if (CanSteer != false) { + output.WriteRawTag(176, 2); + output.WriteBool(CanSteer); + } + if (Route != 0) { + output.WriteRawTag(184, 2); + output.WriteInt32(Route); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Id != 0) { + output.WriteRawTag(8); + output.WriteInt32(Id); + } + if (WorldTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(WorldTime); + } + if (Distance != 0) { + output.WriteRawTag(24); + output.WriteInt32(Distance); + } + if (RoadTime != 0) { + output.WriteRawTag(32); + output.WriteInt32(RoadTime); + } + if (Laps != 0) { + output.WriteRawTag(40); + output.WriteInt32(Laps); + } + if (Speed != 0) { + output.WriteRawTag(48); + output.WriteInt32(Speed); + } + if (PsF7 != 0) { + output.WriteRawTag(56); + output.WriteUInt32(PsF7); + } + if (RoadPosition != 0) { + output.WriteRawTag(64); + output.WriteInt32(RoadPosition); + } + if (CadenceUHz != 0) { + output.WriteRawTag(72); + output.WriteInt32(CadenceUHz); + } + if (PsF10 != 0) { + output.WriteRawTag(80); + output.WriteInt32(PsF10); + } + if (Heartrate != 0) { + output.WriteRawTag(88); + output.WriteInt32(Heartrate); + } + if (Power != 0) { + output.WriteRawTag(96); + output.WriteInt32(Power); + } + if (Heading != 0L) { + output.WriteRawTag(104); + output.WriteInt64(Heading); + } + if (Lean != 0) { + output.WriteRawTag(112); + output.WriteInt32(Lean); + } + if (Climbing != 0) { + output.WriteRawTag(120); + output.WriteInt32(Climbing); + } + if (Time != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(Time); + } + if (PsF17 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(PsF17); + } + if (FrameHue != 0) { + output.WriteRawTag(144, 1); + output.WriteUInt32(FrameHue); + } + if (F19 != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(F19); + } + if (F20 != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(F20); + } + if (Progress != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(Progress); + } + if (CustomisationId != 0L) { + output.WriteRawTag(176, 1); + output.WriteInt64(CustomisationId); + } + if (JustWatching != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(JustWatching); + } + if (Calories != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(Calories); + } + if (X != 0F) { + output.WriteRawTag(205, 1); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(213, 1); + output.WriteFloat(Y); + } + if (Z != 0F) { + output.WriteRawTag(221, 1); + output.WriteFloat(Z); + } + if (WatchingRiderId != 0L) { + output.WriteRawTag(224, 1); + output.WriteInt64(WatchingRiderId); + } + if (GroupId != 0L) { + output.WriteRawTag(232, 1); + output.WriteInt64(GroupId); + } + if (Sport != global::ZwiftPacketMonitor.Sport.Cycling) { + output.WriteRawTag(248, 1); + output.WriteEnum((int) Sport); + } + if (PsF32 != 0F) { + output.WriteRawTag(133, 2); + output.WriteFloat(PsF32); + } + if (PsF33 != 0) { + output.WriteRawTag(136, 2); + output.WriteUInt32(PsF33); + } + if (DistLat != 0F) { + output.WriteRawTag(149, 2); + output.WriteFloat(DistLat); + } + if (World != 0) { + output.WriteRawTag(152, 2); + output.WriteInt32(World); + } + if (PsF36 != 0) { + output.WriteRawTag(160, 2); + output.WriteUInt32(PsF36); + } + if (PsF37 != 0) { + output.WriteRawTag(168, 2); + output.WriteUInt32(PsF37); + } + if (CanSteer != false) { + output.WriteRawTag(176, 2); + output.WriteBool(CanSteer); + } + if (Route != 0) { + output.WriteRawTag(184, 2); + output.WriteInt32(Route); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Id != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + } + if (WorldTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(WorldTime); + } + if (Distance != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Distance); + } + if (RoadTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoadTime); + } + if (Laps != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Laps); + } + if (Speed != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Speed); + } + if (PsF7 != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PsF7); + } + if (RoadPosition != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoadPosition); + } + if (CadenceUHz != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CadenceUHz); + } + if (PsF10 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PsF10); + } + if (Heartrate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Heartrate); + } + if (Power != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Power); + } + if (Heading != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Heading); + } + if (Lean != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Lean); + } + if (Climbing != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Climbing); + } + if (Time != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Time); + } + if (PsF17 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(PsF17); + } + if (FrameHue != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FrameHue); + } + if (F19 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(F19); + } + if (F20 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(F20); + } + if (Progress != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Progress); + } + if (CustomisationId != 0L) { + size += 2 + pb::CodedOutputStream.ComputeInt64Size(CustomisationId); + } + if (JustWatching != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(JustWatching); + } + if (Calories != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Calories); + } + if (X != 0F) { + size += 2 + 4; + } + if (Y != 0F) { + size += 2 + 4; + } + if (Z != 0F) { + size += 2 + 4; + } + if (WatchingRiderId != 0L) { + size += 2 + pb::CodedOutputStream.ComputeInt64Size(WatchingRiderId); + } + if (GroupId != 0L) { + size += 2 + pb::CodedOutputStream.ComputeInt64Size(GroupId); + } + if (Sport != global::ZwiftPacketMonitor.Sport.Cycling) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) Sport); + } + if (PsF32 != 0F) { + size += 2 + 4; + } + if (PsF33 != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(PsF33); + } + if (DistLat != 0F) { + size += 2 + 4; + } + if (World != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(World); + } + if (PsF36 != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(PsF36); + } + if (PsF37 != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(PsF37); + } + if (CanSteer != false) { + size += 2 + 1; + } + if (Route != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Route); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerState other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.WorldTime != 0L) { + WorldTime = other.WorldTime; + } + if (other.Distance != 0) { + Distance = other.Distance; + } + if (other.RoadTime != 0) { + RoadTime = other.RoadTime; + } + if (other.Laps != 0) { + Laps = other.Laps; + } + if (other.Speed != 0) { + Speed = other.Speed; + } + if (other.PsF7 != 0) { + PsF7 = other.PsF7; + } + if (other.RoadPosition != 0) { + RoadPosition = other.RoadPosition; + } + if (other.CadenceUHz != 0) { + CadenceUHz = other.CadenceUHz; + } + if (other.PsF10 != 0) { + PsF10 = other.PsF10; + } + if (other.Heartrate != 0) { + Heartrate = other.Heartrate; + } + if (other.Power != 0) { + Power = other.Power; + } + if (other.Heading != 0L) { + Heading = other.Heading; + } + if (other.Lean != 0) { + Lean = other.Lean; + } + if (other.Climbing != 0) { + Climbing = other.Climbing; + } + if (other.Time != 0) { + Time = other.Time; + } + if (other.PsF17 != 0) { + PsF17 = other.PsF17; + } + if (other.FrameHue != 0) { + FrameHue = other.FrameHue; + } + if (other.F19 != 0) { + F19 = other.F19; + } + if (other.F20 != 0) { + F20 = other.F20; + } + if (other.Progress != 0) { + Progress = other.Progress; + } + if (other.CustomisationId != 0L) { + CustomisationId = other.CustomisationId; + } + if (other.JustWatching != 0) { + JustWatching = other.JustWatching; + } + if (other.Calories != 0) { + Calories = other.Calories; + } + if (other.X != 0F) { + X = other.X; + } + if (other.Y != 0F) { + Y = other.Y; + } + if (other.Z != 0F) { + Z = other.Z; + } + if (other.WatchingRiderId != 0L) { + WatchingRiderId = other.WatchingRiderId; + } + if (other.GroupId != 0L) { + GroupId = other.GroupId; + } + if (other.Sport != global::ZwiftPacketMonitor.Sport.Cycling) { + Sport = other.Sport; + } + if (other.PsF32 != 0F) { + PsF32 = other.PsF32; + } + if (other.PsF33 != 0) { + PsF33 = other.PsF33; + } + if (other.DistLat != 0F) { + DistLat = other.DistLat; + } + if (other.World != 0) { + World = other.World; + } + if (other.PsF36 != 0) { + PsF36 = other.PsF36; + } + if (other.PsF37 != 0) { + PsF37 = other.PsF37; + } + if (other.CanSteer != false) { + CanSteer = other.CanSteer; + } + if (other.Route != 0) { + Route = other.Route; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Id = input.ReadInt32(); + break; + } + case 16: { + WorldTime = input.ReadInt64(); + break; + } + case 24: { + Distance = input.ReadInt32(); + break; + } + case 32: { + RoadTime = input.ReadInt32(); + break; + } + case 40: { + Laps = input.ReadInt32(); + break; + } + case 48: { + Speed = input.ReadInt32(); + break; + } + case 56: { + PsF7 = input.ReadUInt32(); + break; + } + case 64: { + RoadPosition = input.ReadInt32(); + break; + } + case 72: { + CadenceUHz = input.ReadInt32(); + break; + } + case 80: { + PsF10 = input.ReadInt32(); + break; + } + case 88: { + Heartrate = input.ReadInt32(); + break; + } + case 96: { + Power = input.ReadInt32(); + break; + } + case 104: { + Heading = input.ReadInt64(); + break; + } + case 112: { + Lean = input.ReadInt32(); + break; + } + case 120: { + Climbing = input.ReadInt32(); + break; + } + case 128: { + Time = input.ReadInt32(); + break; + } + case 136: { + PsF17 = input.ReadInt32(); + break; + } + case 144: { + FrameHue = input.ReadUInt32(); + break; + } + case 152: { + F19 = input.ReadInt32(); + break; + } + case 160: { + F20 = input.ReadInt32(); + break; + } + case 168: { + Progress = input.ReadInt32(); + break; + } + case 176: { + CustomisationId = input.ReadInt64(); + break; + } + case 184: { + JustWatching = input.ReadInt32(); + break; + } + case 192: { + Calories = input.ReadInt32(); + break; + } + case 205: { + X = input.ReadFloat(); + break; + } + case 213: { + Y = input.ReadFloat(); + break; + } + case 221: { + Z = input.ReadFloat(); + break; + } + case 224: { + WatchingRiderId = input.ReadInt64(); + break; + } + case 232: { + GroupId = input.ReadInt64(); + break; + } + case 248: { + Sport = (global::ZwiftPacketMonitor.Sport) input.ReadEnum(); + break; + } + case 261: { + PsF32 = input.ReadFloat(); + break; + } + case 264: { + PsF33 = input.ReadUInt32(); + break; + } + case 277: { + DistLat = input.ReadFloat(); + break; + } + case 280: { + World = input.ReadInt32(); + break; + } + case 288: { + PsF36 = input.ReadUInt32(); + break; + } + case 296: { + PsF37 = input.ReadUInt32(); + break; + } + case 304: { + CanSteer = input.ReadBool(); + break; + } + case 312: { + Route = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Id = input.ReadInt32(); + break; + } + case 16: { + WorldTime = input.ReadInt64(); + break; + } + case 24: { + Distance = input.ReadInt32(); + break; + } + case 32: { + RoadTime = input.ReadInt32(); + break; + } + case 40: { + Laps = input.ReadInt32(); + break; + } + case 48: { + Speed = input.ReadInt32(); + break; + } + case 56: { + PsF7 = input.ReadUInt32(); + break; + } + case 64: { + RoadPosition = input.ReadInt32(); + break; + } + case 72: { + CadenceUHz = input.ReadInt32(); + break; + } + case 80: { + PsF10 = input.ReadInt32(); + break; + } + case 88: { + Heartrate = input.ReadInt32(); + break; + } + case 96: { + Power = input.ReadInt32(); + break; + } + case 104: { + Heading = input.ReadInt64(); + break; + } + case 112: { + Lean = input.ReadInt32(); + break; + } + case 120: { + Climbing = input.ReadInt32(); + break; + } + case 128: { + Time = input.ReadInt32(); + break; + } + case 136: { + PsF17 = input.ReadInt32(); + break; + } + case 144: { + FrameHue = input.ReadUInt32(); + break; + } + case 152: { + F19 = input.ReadInt32(); + break; + } + case 160: { + F20 = input.ReadInt32(); + break; + } + case 168: { + Progress = input.ReadInt32(); + break; + } + case 176: { + CustomisationId = input.ReadInt64(); + break; + } + case 184: { + JustWatching = input.ReadInt32(); + break; + } + case 192: { + Calories = input.ReadInt32(); + break; + } + case 205: { + X = input.ReadFloat(); + break; + } + case 213: { + Y = input.ReadFloat(); + break; + } + case 221: { + Z = input.ReadFloat(); + break; + } + case 224: { + WatchingRiderId = input.ReadInt64(); + break; + } + case 232: { + GroupId = input.ReadInt64(); + break; + } + case 248: { + Sport = (global::ZwiftPacketMonitor.Sport) input.ReadEnum(); + break; + } + case 261: { + PsF32 = input.ReadFloat(); + break; + } + case 264: { + PsF33 = input.ReadUInt32(); + break; + } + case 277: { + DistLat = input.ReadFloat(); + break; + } + case 280: { + World = input.ReadInt32(); + break; + } + case 288: { + PsF36 = input.ReadUInt32(); + break; + } + case 296: { + PsF37 = input.ReadUInt32(); + break; + } + case 304: { + CanSteer = input.ReadBool(); + break; + } + case 312: { + Route = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + public sealed partial class ClientToServer : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClientToServer()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientToServer() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientToServer(ClientToServer other) : this() { + serverRealm_ = other.serverRealm_; + playerId_ = other.playerId_; + worldTime_ = other.worldTime_; + seqno_ = other.seqno_; + ctsF5_ = other.ctsF5_; + ctsF6_ = other.ctsF6_; + state_ = other.state_ != null ? other.state_.Clone() : null; + ctsF8_ = other.ctsF8_; + ctsF9_ = other.ctsF9_; + lastUpdate_ = other.lastUpdate_; + ctsF11_ = other.ctsF11_; + lastPlayerUpdate_ = other.lastPlayerUpdate_; + largWaTime_ = other.largWaTime_; + ctsF14_ = other.ctsF14_; + subsSegments_ = other.subsSegments_.Clone(); + unsSegments_ = other.unsSegments_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientToServer Clone() { + return new ClientToServer(this); + } + + /// Field number for the "server_realm" field. + public const int ServerRealmFieldNumber = 1; + private int serverRealm_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ServerRealm { + get { return serverRealm_; } + set { + serverRealm_ = value; + } + } + + /// Field number for the "player_id" field. + public const int PlayerIdFieldNumber = 2; + private int playerId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlayerId { + get { return playerId_; } + set { + playerId_ = value; + } + } + + /// Field number for the "world_time" field. + public const int WorldTimeFieldNumber = 3; + private long worldTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long WorldTime { + get { return worldTime_; } + set { + worldTime_ = value; + } + } + + /// Field number for the "seqno" field. + public const int SeqnoFieldNumber = 4; + private int seqno_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Seqno { + get { return seqno_; } + set { + seqno_ = value; + } + } + + /// Field number for the "cts_f5" field. + public const int CtsF5FieldNumber = 5; + private int ctsF5_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CtsF5 { + get { return ctsF5_; } + set { + ctsF5_ = value; + } + } + + /// Field number for the "cts_f6" field. + public const int CtsF6FieldNumber = 6; + private long ctsF6_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long CtsF6 { + get { return ctsF6_; } + set { + ctsF6_ = value; + } + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 7; + private global::ZwiftPacketMonitor.PlayerState state_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.PlayerState State { + get { return state_; } + set { + state_ = value; + } + } + + /// Field number for the "cts_f8" field. + public const int CtsF8FieldNumber = 8; + private bool ctsF8_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CtsF8 { + get { return ctsF8_; } + set { + ctsF8_ = value; + } + } + + /// Field number for the "cts_f9" field. + public const int CtsF9FieldNumber = 9; + private bool ctsF9_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CtsF9 { + get { return ctsF9_; } + set { + ctsF9_ = value; + } + } + + /// Field number for the "last_update" field. + public const int LastUpdateFieldNumber = 10; + private long lastUpdate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long LastUpdate { + get { return lastUpdate_; } + set { + lastUpdate_ = value; + } + } + + /// Field number for the "cts_f11" field. + public const int CtsF11FieldNumber = 11; + private bool ctsF11_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CtsF11 { + get { return ctsF11_; } + set { + ctsF11_ = value; + } + } + + /// Field number for the "last_player_update" field. + public const int LastPlayerUpdateFieldNumber = 12; + private long lastPlayerUpdate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long LastPlayerUpdate { + get { return lastPlayerUpdate_; } + set { + lastPlayerUpdate_ = value; + } + } + + /// Field number for the "larg_wa_time" field. + public const int LargWaTimeFieldNumber = 13; + private long largWaTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long LargWaTime { + get { return largWaTime_; } + set { + largWaTime_ = value; + } + } + + /// Field number for the "cts_f14" field. + public const int CtsF14FieldNumber = 14; + private bool ctsF14_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CtsF14 { + get { return ctsF14_; } + set { + ctsF14_ = value; + } + } + + /// Field number for the "subsSegments" field. + public const int SubsSegmentsFieldNumber = 15; + private static readonly pb::FieldCodec _repeated_subsSegments_codec + = pb::FieldCodec.ForInt64(122); + private readonly pbc::RepeatedField subsSegments_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SubsSegments { + get { return subsSegments_; } + } + + /// Field number for the "unsSegments" field. + public const int UnsSegmentsFieldNumber = 16; + private static readonly pb::FieldCodec _repeated_unsSegments_codec + = pb::FieldCodec.ForInt64(130); + private readonly pbc::RepeatedField unsSegments_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField UnsSegments { + get { return unsSegments_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClientToServer); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClientToServer other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ServerRealm != other.ServerRealm) return false; + if (PlayerId != other.PlayerId) return false; + if (WorldTime != other.WorldTime) return false; + if (Seqno != other.Seqno) return false; + if (CtsF5 != other.CtsF5) return false; + if (CtsF6 != other.CtsF6) return false; + if (!object.Equals(State, other.State)) return false; + if (CtsF8 != other.CtsF8) return false; + if (CtsF9 != other.CtsF9) return false; + if (LastUpdate != other.LastUpdate) return false; + if (CtsF11 != other.CtsF11) return false; + if (LastPlayerUpdate != other.LastPlayerUpdate) return false; + if (LargWaTime != other.LargWaTime) return false; + if (CtsF14 != other.CtsF14) return false; + if(!subsSegments_.Equals(other.subsSegments_)) return false; + if(!unsSegments_.Equals(other.unsSegments_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ServerRealm != 0) hash ^= ServerRealm.GetHashCode(); + if (PlayerId != 0) hash ^= PlayerId.GetHashCode(); + if (WorldTime != 0L) hash ^= WorldTime.GetHashCode(); + if (Seqno != 0) hash ^= Seqno.GetHashCode(); + if (CtsF5 != 0) hash ^= CtsF5.GetHashCode(); + if (CtsF6 != 0L) hash ^= CtsF6.GetHashCode(); + if (state_ != null) hash ^= State.GetHashCode(); + if (CtsF8 != false) hash ^= CtsF8.GetHashCode(); + if (CtsF9 != false) hash ^= CtsF9.GetHashCode(); + if (LastUpdate != 0L) hash ^= LastUpdate.GetHashCode(); + if (CtsF11 != false) hash ^= CtsF11.GetHashCode(); + if (LastPlayerUpdate != 0L) hash ^= LastPlayerUpdate.GetHashCode(); + if (LargWaTime != 0L) hash ^= LargWaTime.GetHashCode(); + if (CtsF14 != false) hash ^= CtsF14.GetHashCode(); + hash ^= subsSegments_.GetHashCode(); + hash ^= unsSegments_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ServerRealm != 0) { + output.WriteRawTag(8); + output.WriteInt32(ServerRealm); + } + if (PlayerId != 0) { + output.WriteRawTag(16); + output.WriteInt32(PlayerId); + } + if (WorldTime != 0L) { + output.WriteRawTag(24); + output.WriteInt64(WorldTime); + } + if (Seqno != 0) { + output.WriteRawTag(32); + output.WriteInt32(Seqno); + } + if (CtsF5 != 0) { + output.WriteRawTag(40); + output.WriteInt32(CtsF5); + } + if (CtsF6 != 0L) { + output.WriteRawTag(48); + output.WriteInt64(CtsF6); + } + if (state_ != null) { + output.WriteRawTag(58); + output.WriteMessage(State); + } + if (CtsF8 != false) { + output.WriteRawTag(64); + output.WriteBool(CtsF8); + } + if (CtsF9 != false) { + output.WriteRawTag(72); + output.WriteBool(CtsF9); + } + if (LastUpdate != 0L) { + output.WriteRawTag(80); + output.WriteInt64(LastUpdate); + } + if (CtsF11 != false) { + output.WriteRawTag(88); + output.WriteBool(CtsF11); + } + if (LastPlayerUpdate != 0L) { + output.WriteRawTag(96); + output.WriteInt64(LastPlayerUpdate); + } + if (LargWaTime != 0L) { + output.WriteRawTag(104); + output.WriteInt64(LargWaTime); + } + if (CtsF14 != false) { + output.WriteRawTag(112); + output.WriteBool(CtsF14); + } + subsSegments_.WriteTo(output, _repeated_subsSegments_codec); + unsSegments_.WriteTo(output, _repeated_unsSegments_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ServerRealm != 0) { + output.WriteRawTag(8); + output.WriteInt32(ServerRealm); + } + if (PlayerId != 0) { + output.WriteRawTag(16); + output.WriteInt32(PlayerId); + } + if (WorldTime != 0L) { + output.WriteRawTag(24); + output.WriteInt64(WorldTime); + } + if (Seqno != 0) { + output.WriteRawTag(32); + output.WriteInt32(Seqno); + } + if (CtsF5 != 0) { + output.WriteRawTag(40); + output.WriteInt32(CtsF5); + } + if (CtsF6 != 0L) { + output.WriteRawTag(48); + output.WriteInt64(CtsF6); + } + if (state_ != null) { + output.WriteRawTag(58); + output.WriteMessage(State); + } + if (CtsF8 != false) { + output.WriteRawTag(64); + output.WriteBool(CtsF8); + } + if (CtsF9 != false) { + output.WriteRawTag(72); + output.WriteBool(CtsF9); + } + if (LastUpdate != 0L) { + output.WriteRawTag(80); + output.WriteInt64(LastUpdate); + } + if (CtsF11 != false) { + output.WriteRawTag(88); + output.WriteBool(CtsF11); + } + if (LastPlayerUpdate != 0L) { + output.WriteRawTag(96); + output.WriteInt64(LastPlayerUpdate); + } + if (LargWaTime != 0L) { + output.WriteRawTag(104); + output.WriteInt64(LargWaTime); + } + if (CtsF14 != false) { + output.WriteRawTag(112); + output.WriteBool(CtsF14); + } + subsSegments_.WriteTo(ref output, _repeated_subsSegments_codec); + unsSegments_.WriteTo(ref output, _repeated_unsSegments_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ServerRealm != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerRealm); + } + if (PlayerId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerId); + } + if (WorldTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(WorldTime); + } + if (Seqno != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Seqno); + } + if (CtsF5 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CtsF5); + } + if (CtsF6 != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(CtsF6); + } + if (state_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(State); + } + if (CtsF8 != false) { + size += 1 + 1; + } + if (CtsF9 != false) { + size += 1 + 1; + } + if (LastUpdate != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastUpdate); + } + if (CtsF11 != false) { + size += 1 + 1; + } + if (LastPlayerUpdate != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastPlayerUpdate); + } + if (LargWaTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(LargWaTime); + } + if (CtsF14 != false) { + size += 1 + 1; + } + size += subsSegments_.CalculateSize(_repeated_subsSegments_codec); + size += unsSegments_.CalculateSize(_repeated_unsSegments_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClientToServer other) { + if (other == null) { + return; + } + if (other.ServerRealm != 0) { + ServerRealm = other.ServerRealm; + } + if (other.PlayerId != 0) { + PlayerId = other.PlayerId; + } + if (other.WorldTime != 0L) { + WorldTime = other.WorldTime; + } + if (other.Seqno != 0) { + Seqno = other.Seqno; + } + if (other.CtsF5 != 0) { + CtsF5 = other.CtsF5; + } + if (other.CtsF6 != 0L) { + CtsF6 = other.CtsF6; + } + if (other.state_ != null) { + if (state_ == null) { + State = new global::ZwiftPacketMonitor.PlayerState(); + } + State.MergeFrom(other.State); + } + if (other.CtsF8 != false) { + CtsF8 = other.CtsF8; + } + if (other.CtsF9 != false) { + CtsF9 = other.CtsF9; + } + if (other.LastUpdate != 0L) { + LastUpdate = other.LastUpdate; + } + if (other.CtsF11 != false) { + CtsF11 = other.CtsF11; + } + if (other.LastPlayerUpdate != 0L) { + LastPlayerUpdate = other.LastPlayerUpdate; + } + if (other.LargWaTime != 0L) { + LargWaTime = other.LargWaTime; + } + if (other.CtsF14 != false) { + CtsF14 = other.CtsF14; + } + subsSegments_.Add(other.subsSegments_); + unsSegments_.Add(other.unsSegments_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ServerRealm = input.ReadInt32(); + break; + } + case 16: { + PlayerId = input.ReadInt32(); + break; + } + case 24: { + WorldTime = input.ReadInt64(); + break; + } + case 32: { + Seqno = input.ReadInt32(); + break; + } + case 40: { + CtsF5 = input.ReadInt32(); + break; + } + case 48: { + CtsF6 = input.ReadInt64(); + break; + } + case 58: { + if (state_ == null) { + State = new global::ZwiftPacketMonitor.PlayerState(); + } + input.ReadMessage(State); + break; + } + case 64: { + CtsF8 = input.ReadBool(); + break; + } + case 72: { + CtsF9 = input.ReadBool(); + break; + } + case 80: { + LastUpdate = input.ReadInt64(); + break; + } + case 88: { + CtsF11 = input.ReadBool(); + break; + } + case 96: { + LastPlayerUpdate = input.ReadInt64(); + break; + } + case 104: { + LargWaTime = input.ReadInt64(); + break; + } + case 112: { + CtsF14 = input.ReadBool(); + break; + } + case 122: + case 120: { + subsSegments_.AddEntriesFrom(input, _repeated_subsSegments_codec); + break; + } + case 130: + case 128: { + unsSegments_.AddEntriesFrom(input, _repeated_unsSegments_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ServerRealm = input.ReadInt32(); + break; + } + case 16: { + PlayerId = input.ReadInt32(); + break; + } + case 24: { + WorldTime = input.ReadInt64(); + break; + } + case 32: { + Seqno = input.ReadInt32(); + break; + } + case 40: { + CtsF5 = input.ReadInt32(); + break; + } + case 48: { + CtsF6 = input.ReadInt64(); + break; + } + case 58: { + if (state_ == null) { + State = new global::ZwiftPacketMonitor.PlayerState(); + } + input.ReadMessage(State); + break; + } + case 64: { + CtsF8 = input.ReadBool(); + break; + } + case 72: { + CtsF9 = input.ReadBool(); + break; + } + case 80: { + LastUpdate = input.ReadInt64(); + break; + } + case 88: { + CtsF11 = input.ReadBool(); + break; + } + case 96: { + LastPlayerUpdate = input.ReadInt64(); + break; + } + case 104: { + LargWaTime = input.ReadInt64(); + break; + } + case 112: { + CtsF14 = input.ReadBool(); + break; + } + case 122: + case 120: { + subsSegments_.AddEntriesFrom(ref input, _repeated_subsSegments_codec); + break; + } + case 130: + case 128: { + unsSegments_.AddEntriesFrom(ref input, _repeated_unsSegments_codec); + break; + } + } + } + } + #endif + + } + + public sealed partial class PlayerJoinedEvent : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerJoinedEvent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerJoinedEvent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerJoinedEvent(PlayerJoinedEvent other) : this() { + evSgId_ = other.evSgId_; + playerId_ = other.playerId_; + pjeF3_ = other.pjeF3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerJoinedEvent Clone() { + return new PlayerJoinedEvent(this); + } + + /// Field number for the "ev_sg_id" field. + public const int EvSgIdFieldNumber = 1; + private ulong evSgId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EvSgId { + get { return evSgId_; } + set { + evSgId_ = value; + } + } + + /// Field number for the "player_id" field. + public const int PlayerIdFieldNumber = 2; + private ulong playerId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong PlayerId { + get { return playerId_; } + set { + playerId_ = value; + } + } + + /// Field number for the "pje_f3" field. + public const int PjeF3FieldNumber = 3; + private ulong pjeF3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong PjeF3 { + get { return pjeF3_; } + set { + pjeF3_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PlayerJoinedEvent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerJoinedEvent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (EvSgId != other.EvSgId) return false; + if (PlayerId != other.PlayerId) return false; + if (PjeF3 != other.PjeF3) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (EvSgId != 0UL) hash ^= EvSgId.GetHashCode(); + if (PlayerId != 0UL) hash ^= PlayerId.GetHashCode(); + if (PjeF3 != 0UL) hash ^= PjeF3.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (EvSgId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(EvSgId); + } + if (PlayerId != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(PlayerId); + } + if (PjeF3 != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(PjeF3); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (EvSgId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(EvSgId); + } + if (PlayerId != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(PlayerId); + } + if (PjeF3 != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(PjeF3); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (EvSgId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(EvSgId); + } + if (PlayerId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PlayerId); + } + if (PjeF3 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PjeF3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerJoinedEvent other) { + if (other == null) { + return; + } + if (other.EvSgId != 0UL) { + EvSgId = other.EvSgId; + } + if (other.PlayerId != 0UL) { + PlayerId = other.PlayerId; + } + if (other.PjeF3 != 0UL) { + PjeF3 = other.PjeF3; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + EvSgId = input.ReadUInt64(); + break; + } + case 16: { + PlayerId = input.ReadUInt64(); + break; + } + case 24: { + PjeF3 = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + EvSgId = input.ReadUInt64(); + break; + } + case 16: { + PlayerId = input.ReadUInt64(); + break; + } + case 24: { + PjeF3 = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + public sealed partial class PlayerLeftEvent : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerLeftEvent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerLeftEvent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerLeftEvent(PlayerLeftEvent other) : this() { + eventId_ = other.eventId_; + playerId_ = other.playerId_; + pleF3_ = other.pleF3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerLeftEvent Clone() { + return new PlayerLeftEvent(this); + } + + /// Field number for the "event_id" field. + public const int EventIdFieldNumber = 1; + private ulong eventId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EventId { + get { return eventId_; } + set { + eventId_ = value; + } + } + + /// Field number for the "player_id" field. + public const int PlayerIdFieldNumber = 2; + private ulong playerId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong PlayerId { + get { return playerId_; } + set { + playerId_ = value; + } + } + + /// Field number for the "ple_f3" field. + public const int PleF3FieldNumber = 3; + private ulong pleF3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong PleF3 { + get { return pleF3_; } + set { + pleF3_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PlayerLeftEvent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerLeftEvent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (EventId != other.EventId) return false; + if (PlayerId != other.PlayerId) return false; + if (PleF3 != other.PleF3) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (EventId != 0UL) hash ^= EventId.GetHashCode(); + if (PlayerId != 0UL) hash ^= PlayerId.GetHashCode(); + if (PleF3 != 0UL) hash ^= PleF3.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (EventId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(EventId); + } + if (PlayerId != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(PlayerId); + } + if (PleF3 != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(PleF3); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (EventId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(EventId); + } + if (PlayerId != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(PlayerId); + } + if (PleF3 != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(PleF3); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (EventId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(EventId); + } + if (PlayerId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PlayerId); + } + if (PleF3 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PleF3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerLeftEvent other) { + if (other == null) { + return; + } + if (other.EventId != 0UL) { + EventId = other.EventId; + } + if (other.PlayerId != 0UL) { + PlayerId = other.PlayerId; + } + if (other.PleF3 != 0UL) { + PleF3 = other.PleF3; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + EventId = input.ReadUInt64(); + break; + } + case 16: { + PlayerId = input.ReadUInt64(); + break; + } + case 24: { + PleF3 = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + EventId = input.ReadUInt64(); + break; + } + case 16: { + PlayerId = input.ReadUInt64(); + break; + } + case 24: { + PleF3 = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + public sealed partial class InvitedProfileProto : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InvitedProfileProto()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvitedProfileProto() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvitedProfileProto(InvitedProfileProto other) : this() { + playerId_ = other.playerId_; + firstName_ = other.firstName_; + lastName_ = other.lastName_; + imageSrc_ = other.imageSrc_; + enrolledZwiftAcademy_ = other.enrolledZwiftAcademy_; + male_ = other.male_; + playerType_ = other.playerType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvitedProfileProto Clone() { + return new InvitedProfileProto(this); + } + + /// Field number for the "player_id" field. + public const int PlayerIdFieldNumber = 1; + private ulong playerId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong PlayerId { + get { return playerId_; } + set { + playerId_ = value; + } + } + + /// Field number for the "firstName" field. + public const int FirstNameFieldNumber = 2; + private string firstName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FirstName { + get { return firstName_; } + set { + firstName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "lastName" field. + public const int LastNameFieldNumber = 3; + private string lastName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LastName { + get { return lastName_; } + set { + lastName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "imageSrc" field. + public const int ImageSrcFieldNumber = 4; + private string imageSrc_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ImageSrc { + get { return imageSrc_; } + set { + imageSrc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "enrolledZwiftAcademy" field. + public const int EnrolledZwiftAcademyFieldNumber = 5; + private bool enrolledZwiftAcademy_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnrolledZwiftAcademy { + get { return enrolledZwiftAcademy_; } + set { + enrolledZwiftAcademy_ = value; + } + } + + /// Field number for the "male" field. + public const int MaleFieldNumber = 6; + private bool male_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Male { + get { return male_; } + set { + male_ = value; + } + } + + /// Field number for the "player_type" field. + public const int PlayerTypeFieldNumber = 7; + private global::ZwiftPacketMonitor.PlayerType playerType_ = global::ZwiftPacketMonitor.PlayerType._0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.PlayerType PlayerType { + get { return playerType_; } + set { + playerType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InvitedProfileProto); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InvitedProfileProto other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PlayerId != other.PlayerId) return false; + if (FirstName != other.FirstName) return false; + if (LastName != other.LastName) return false; + if (ImageSrc != other.ImageSrc) return false; + if (EnrolledZwiftAcademy != other.EnrolledZwiftAcademy) return false; + if (Male != other.Male) return false; + if (PlayerType != other.PlayerType) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (PlayerId != 0UL) hash ^= PlayerId.GetHashCode(); + if (FirstName.Length != 0) hash ^= FirstName.GetHashCode(); + if (LastName.Length != 0) hash ^= LastName.GetHashCode(); + if (ImageSrc.Length != 0) hash ^= ImageSrc.GetHashCode(); + if (EnrolledZwiftAcademy != false) hash ^= EnrolledZwiftAcademy.GetHashCode(); + if (Male != false) hash ^= Male.GetHashCode(); + if (PlayerType != global::ZwiftPacketMonitor.PlayerType._0) hash ^= PlayerType.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (PlayerId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(PlayerId); + } + if (FirstName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FirstName); + } + if (LastName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(LastName); + } + if (ImageSrc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ImageSrc); + } + if (EnrolledZwiftAcademy != false) { + output.WriteRawTag(40); + output.WriteBool(EnrolledZwiftAcademy); + } + if (Male != false) { + output.WriteRawTag(48); + output.WriteBool(Male); + } + if (PlayerType != global::ZwiftPacketMonitor.PlayerType._0) { + output.WriteRawTag(56); + output.WriteEnum((int) PlayerType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PlayerId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(PlayerId); + } + if (FirstName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FirstName); + } + if (LastName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(LastName); + } + if (ImageSrc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ImageSrc); + } + if (EnrolledZwiftAcademy != false) { + output.WriteRawTag(40); + output.WriteBool(EnrolledZwiftAcademy); + } + if (Male != false) { + output.WriteRawTag(48); + output.WriteBool(Male); + } + if (PlayerType != global::ZwiftPacketMonitor.PlayerType._0) { + output.WriteRawTag(56); + output.WriteEnum((int) PlayerType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (PlayerId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PlayerId); + } + if (FirstName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FirstName); + } + if (LastName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LastName); + } + if (ImageSrc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ImageSrc); + } + if (EnrolledZwiftAcademy != false) { + size += 1 + 1; + } + if (Male != false) { + size += 1 + 1; + } + if (PlayerType != global::ZwiftPacketMonitor.PlayerType._0) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PlayerType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InvitedProfileProto other) { + if (other == null) { + return; + } + if (other.PlayerId != 0UL) { + PlayerId = other.PlayerId; + } + if (other.FirstName.Length != 0) { + FirstName = other.FirstName; + } + if (other.LastName.Length != 0) { + LastName = other.LastName; + } + if (other.ImageSrc.Length != 0) { + ImageSrc = other.ImageSrc; + } + if (other.EnrolledZwiftAcademy != false) { + EnrolledZwiftAcademy = other.EnrolledZwiftAcademy; + } + if (other.Male != false) { + Male = other.Male; + } + if (other.PlayerType != global::ZwiftPacketMonitor.PlayerType._0) { + PlayerType = other.PlayerType; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + PlayerId = input.ReadUInt64(); + break; } - if (other.F25 != 0L) { - F25 = other.F25; + case 18: { + FirstName = input.ReadString(); + break; } - if (other.F29 != 0) { - F29 = other.F29; + case 26: { + LastName = input.ReadString(); + break; } - if (other.F30 != 0) { - F30 = other.F30; + case 34: { + ImageSrc = input.ReadString(); + break; } - if (other.F31 != 0) { - F31 = other.F31; + case 40: { + EnrolledZwiftAcademy = input.ReadBool(); + break; } - if (other.F32 != 0) { - F32 = other.F32; + case 48: { + Male = input.ReadBool(); + break; } - if (other.F33 != 0) { - F33 = other.F33; + case 56: { + PlayerType = (global::ZwiftPacketMonitor.PlayerType) input.ReadEnum(); + break; } - if (other.Duration != 0) { - Duration = other.Duration; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + PlayerId = input.ReadUInt64(); + break; } - if (other.F42 != 0L) { - F42 = other.F42; + case 18: { + FirstName = input.ReadString(); + break; } - if (other.F44 != 0L) { - F44 = other.F44; + case 26: { + LastName = input.ReadString(); + break; } - if (other.F46 != 0) { - F46 = other.F46; + case 34: { + ImageSrc = input.ReadString(); + break; } - if (other.F47 != 0) { - F47 = other.F47; + case 40: { + EnrolledZwiftAcademy = input.ReadBool(); + break; } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Id = input.ReadInt32(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 26: { - Description = input.ReadString(); - break; - } - case 58: { - F7 = input.ReadString(); - break; - } - case 64: { - F8 = input.ReadInt64(); - break; - } - case 72: { - F9 = input.ReadInt64(); - break; - } - case 80: { - F10 = input.ReadInt64(); - break; - } - case 88: { - F11 = input.ReadInt64(); - break; - } - case 96: { - F12 = input.ReadInt64(); - break; - } - case 104: { - F13 = input.ReadInt64(); - break; - } - case 112: { - F14 = input.ReadInt64(); - break; - } - case 120: { - F15 = input.ReadInt64(); - break; - } - case 128: { - F16 = input.ReadInt64(); - break; - } - case 136: { - F17 = input.ReadInt64(); - break; - } - case 144: { - F18 = input.ReadInt64(); - break; - } - case 176: { - F22 = input.ReadInt64(); - break; - } - case 197: { - Distance = input.ReadFixed32(); - break; - } - case 200: { - F25 = input.ReadInt64(); - break; - } - case 232: { - F29 = input.ReadInt32(); - break; - } - case 240: { - F30 = input.ReadInt32(); - break; - } - case 248: { - F31 = input.ReadInt32(); - break; - } - case 261: { - F32 = input.ReadFixed32(); - break; - } - case 269: { - F33 = input.ReadFixed32(); - break; - } - case 272: { - Duration = input.ReadInt32(); - break; - } - case 336: { - F42 = input.ReadInt64(); - break; - } - case 352: { - F44 = input.ReadInt64(); - break; - } - case 368: { - F46 = input.ReadInt32(); - break; - } - case 376: { - F47 = input.ReadInt32(); - break; - } - } + case 48: { + Male = input.ReadBool(); + break; } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Id = input.ReadInt32(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 26: { - Description = input.ReadString(); - break; - } - case 58: { - F7 = input.ReadString(); - break; - } - case 64: { - F8 = input.ReadInt64(); - break; - } - case 72: { - F9 = input.ReadInt64(); - break; - } - case 80: { - F10 = input.ReadInt64(); - break; - } - case 88: { - F11 = input.ReadInt64(); - break; - } - case 96: { - F12 = input.ReadInt64(); - break; - } - case 104: { - F13 = input.ReadInt64(); - break; - } - case 112: { - F14 = input.ReadInt64(); - break; - } - case 120: { - F15 = input.ReadInt64(); - break; - } - case 128: { - F16 = input.ReadInt64(); - break; - } - case 136: { - F17 = input.ReadInt64(); - break; - } - case 144: { - F18 = input.ReadInt64(); - break; - } - case 176: { - F22 = input.ReadInt64(); - break; - } - case 197: { - Distance = input.ReadFixed32(); - break; - } - case 200: { - F25 = input.ReadInt64(); - break; - } - case 232: { - F29 = input.ReadInt32(); - break; - } - case 240: { - F30 = input.ReadInt32(); - break; - } - case 248: { - F31 = input.ReadInt32(); - break; - } - case 261: { - F32 = input.ReadFixed32(); - break; - } - case 269: { - F33 = input.ReadFixed32(); - break; - } - case 272: { - Duration = input.ReadInt32(); - break; - } - case 336: { - F42 = input.ReadInt64(); - break; - } - case 352: { - F44 = input.ReadInt64(); - break; - } - case 368: { - F46 = input.ReadInt32(); - break; - } - case 376: { - F47 = input.ReadInt32(); - break; - } - } + case 56: { + PlayerType = (global::ZwiftPacketMonitor.PlayerType) input.ReadEnum(); + break; } } - #endif - } - } - #endregion + #endif } - public sealed partial class PlayerState : pb::IMessage + public sealed partial class EventInviteProto : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerState()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EventInviteProto()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[1]; } + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[10]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayerState() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventInviteProto() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayerState(PlayerState other) : this() { - id_ = other.id_; - worldTime_ = other.worldTime_; - distance_ = other.distance_; - roadTime_ = other.roadTime_; - laps_ = other.laps_; - speed_ = other.speed_; - roadPosition_ = other.roadPosition_; - cadenceUHz_ = other.cadenceUHz_; - heartrate_ = other.heartrate_; - power_ = other.power_; - heading_ = other.heading_; - lean_ = other.lean_; - climbing_ = other.climbing_; - time_ = other.time_; - f19_ = other.f19_; - f20_ = other.f20_; - progress_ = other.progress_; - customisationId_ = other.customisationId_; - justWatching_ = other.justWatching_; - calories_ = other.calories_; - x_ = other.x_; - altitude_ = other.altitude_; - y_ = other.y_; - watchingRiderId_ = other.watchingRiderId_; - groupId_ = other.groupId_; - sport_ = other.sport_; - f34_ = other.f34_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventInviteProto(EventInviteProto other) : this() { + profile_ = other.profile_ != null ? other.profile_.Clone() : null; + status_ = other.status_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayerState Clone() { - return new PlayerState(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventInviteProto Clone() { + return new EventInviteProto(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "profile" field. + public const int ProfileFieldNumber = 1; + private global::ZwiftPacketMonitor.InvitedProfileProto profile_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Id { - get { return id_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.InvitedProfileProto Profile { + get { return profile_; } set { - id_ = value; + profile_ = value; } } - /// Field number for the "worldTime" field. - public const int WorldTimeFieldNumber = 2; - private long worldTime_; + /// Field number for the "status" field. + public const int StatusFieldNumber = 2; + private global::ZwiftPacketMonitor.EventInviteStatus status_ = global::ZwiftPacketMonitor.EventInviteStatus.Pending; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long WorldTime { - get { return worldTime_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.EventInviteStatus Status { + get { return status_; } set { - worldTime_ = value; + status_ = value; } } - /// Field number for the "distance" field. - public const int DistanceFieldNumber = 3; - private int distance_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Distance { - get { return distance_; } - set { - distance_ = value; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EventInviteProto); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EventInviteProto other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; } + if (!object.Equals(Profile, other.Profile)) return false; + if (Status != other.Status) return false; + return Equals(_unknownFields, other._unknownFields); } - /// Field number for the "roadTime" field. - public const int RoadTimeFieldNumber = 4; - private int roadTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int RoadTime { - get { return roadTime_; } - set { - roadTime_ = value; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (profile_ != null) hash ^= Profile.GetHashCode(); + if (Status != global::ZwiftPacketMonitor.EventInviteStatus.Pending) hash ^= Status.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); } + return hash; } - /// Field number for the "laps" field. - public const int LapsFieldNumber = 5; - private int laps_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Laps { - get { return laps_; } - set { - laps_ = value; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (profile_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Profile); + } + if (Status != global::ZwiftPacketMonitor.EventInviteStatus.Pending) { + output.WriteRawTag(16); + output.WriteEnum((int) Status); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); } + #endif } - /// Field number for the "speed" field. - public const int SpeedFieldNumber = 6; - private int speed_; + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (profile_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Profile); + } + if (Status != global::ZwiftPacketMonitor.EventInviteStatus.Pending) { + output.WriteRawTag(16); + output.WriteEnum((int) Status); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (profile_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Profile); + } + if (Status != global::ZwiftPacketMonitor.EventInviteStatus.Pending) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EventInviteProto other) { + if (other == null) { + return; + } + if (other.profile_ != null) { + if (profile_ == null) { + Profile = new global::ZwiftPacketMonitor.InvitedProfileProto(); + } + Profile.MergeFrom(other.Profile); + } + if (other.Status != global::ZwiftPacketMonitor.EventInviteStatus.Pending) { + Status = other.Status; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (profile_ == null) { + Profile = new global::ZwiftPacketMonitor.InvitedProfileProto(); + } + input.ReadMessage(Profile); + break; + } + case 16: { + Status = (global::ZwiftPacketMonitor.EventInviteStatus) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (profile_ == null) { + Profile = new global::ZwiftPacketMonitor.InvitedProfileProto(); + } + input.ReadMessage(Profile); + break; + } + case 16: { + Status = (global::ZwiftPacketMonitor.EventInviteStatus) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + public sealed partial class WorldAttribute : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WorldAttribute()); + private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Speed { - get { return speed_; } - set { - speed_ = value; - } - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } - /// Field number for the "roadPosition" field. - public const int RoadPositionFieldNumber = 8; - private int roadPosition_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int RoadPosition { - get { return roadPosition_; } - set { - roadPosition_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[11]; } } - /// Field number for the "cadenceUHz" field. - public const int CadenceUHzFieldNumber = 9; - private int cadenceUHz_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CadenceUHz { - get { return cadenceUHz_; } - set { - cadenceUHz_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } } - /// Field number for the "heartrate" field. - public const int HeartrateFieldNumber = 11; - private int heartrate_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Heartrate { - get { return heartrate_; } - set { - heartrate_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WorldAttribute() { + OnConstruction(); } - /// Field number for the "power" field. - public const int PowerFieldNumber = 12; - private int power_; + partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Power { - get { return power_; } - set { - power_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WorldAttribute(WorldAttribute other) : this() { + waF1_ = other.waF1_; + serverRealm_ = other.serverRealm_; + waType_ = other.waType_; + payload_ = other.payload_; + worldTimeBorn_ = other.worldTimeBorn_; + x_ = other.x_; + y_ = other.y_; + z_ = other.z_; + worldTimeExpire_ = other.worldTimeExpire_; + relId_ = other.relId_; + importance_ = other.importance_; + waF12_ = other.waF12_; + waF13_ = other.waF13_; + timestamp_ = other.timestamp_; + waF15_ = other.waF15_; + waF16_ = other.waF16_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } - /// Field number for the "heading" field. - public const int HeadingFieldNumber = 13; - private long heading_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Heading { - get { return heading_; } - set { - heading_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WorldAttribute Clone() { + return new WorldAttribute(this); } - /// Field number for the "lean" field. - public const int LeanFieldNumber = 14; - private int lean_; + /// Field number for the "wa_f1" field. + public const int WaF1FieldNumber = 1; + private long waF1_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Lean { - get { return lean_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long WaF1 { + get { return waF1_; } set { - lean_ = value; + waF1_ = value; } } - /// Field number for the "climbing" field. - public const int ClimbingFieldNumber = 15; - private int climbing_; + /// Field number for the "server_realm" field. + public const int ServerRealmFieldNumber = 2; + private long serverRealm_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Climbing { - get { return climbing_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ServerRealm { + get { return serverRealm_; } set { - climbing_ = value; + serverRealm_ = value; } } - /// Field number for the "time" field. - public const int TimeFieldNumber = 16; - private int time_; + /// Field number for the "wa_type" field. + public const int WaTypeFieldNumber = 3; + private global::ZwiftPacketMonitor.WA_TYPE waType_ = global::ZwiftPacketMonitor.WA_TYPE.WatUnk0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Time { - get { return time_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.WA_TYPE WaType { + get { return waType_; } set { - time_ = value; + waType_ = value; } } - /// Field number for the "f19" field. - public const int F19FieldNumber = 19; - private int f19_; + /// Field number for the "payload" field. + public const int PayloadFieldNumber = 4; + private pb::ByteString payload_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F19 { - get { return f19_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Payload { + get { return payload_; } set { - f19_ = value; + payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "f20" field. - public const int F20FieldNumber = 20; - private int f20_; + /// Field number for the "world_time_born" field. + public const int WorldTimeBornFieldNumber = 5; + private long worldTimeBorn_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F20 { - get { return f20_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long WorldTimeBorn { + get { return worldTimeBorn_; } set { - f20_ = value; + worldTimeBorn_ = value; } } - /// Field number for the "progress" field. - public const int ProgressFieldNumber = 21; - private int progress_; + /// Field number for the "x" field. + public const int XFieldNumber = 6; + private long x_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Progress { - get { return progress_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long X { + get { return x_; } set { - progress_ = value; + x_ = value; } } - /// Field number for the "customisationId" field. - public const int CustomisationIdFieldNumber = 22; - private long customisationId_; + /// Field number for the "y" field. + public const int YFieldNumber = 7; + private long y_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long CustomisationId { - get { return customisationId_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Y { + get { return y_; } set { - customisationId_ = value; + y_ = value; } } - /// Field number for the "justWatching" field. - public const int JustWatchingFieldNumber = 23; - private int justWatching_; + /// Field number for the "z" field. + public const int ZFieldNumber = 8; + private long z_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int JustWatching { - get { return justWatching_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Z { + get { return z_; } set { - justWatching_ = value; + z_ = value; } } - /// Field number for the "calories" field. - public const int CaloriesFieldNumber = 24; - private int calories_; + /// Field number for the "world_time_expire" field. + public const int WorldTimeExpireFieldNumber = 9; + private long worldTimeExpire_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Calories { - get { return calories_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long WorldTimeExpire { + get { return worldTimeExpire_; } set { - calories_ = value; + worldTimeExpire_ = value; } } - /// Field number for the "x" field. - public const int XFieldNumber = 25; - private float x_; + /// Field number for the "rel_id" field. + public const int RelIdFieldNumber = 10; + private long relId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public float X { - get { return x_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long RelId { + get { return relId_; } set { - x_ = value; + relId_ = value; } } - /// Field number for the "altitude" field. - public const int AltitudeFieldNumber = 26; - private float altitude_; + /// Field number for the "importance" field. + public const int ImportanceFieldNumber = 11; + private int importance_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public float Altitude { - get { return altitude_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Importance { + get { return importance_; } set { - altitude_ = value; + importance_ = value; } } - /// Field number for the "y" field. - public const int YFieldNumber = 27; - private float y_; + /// Field number for the "wa_f12" field. + public const int WaF12FieldNumber = 12; + private long waF12_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public float Y { - get { return y_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long WaF12 { + get { return waF12_; } set { - y_ = value; + waF12_ = value; } } - /// Field number for the "watchingRiderId" field. - public const int WatchingRiderIdFieldNumber = 28; - private int watchingRiderId_; + /// Field number for the "wa_f13" field. + public const int WaF13FieldNumber = 13; + private int waF13_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int WatchingRiderId { - get { return watchingRiderId_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WaF13 { + get { return waF13_; } set { - watchingRiderId_ = value; + waF13_ = value; } } - /// Field number for the "groupId" field. - public const int GroupIdFieldNumber = 29; - private int groupId_; + /// Field number for the "timestamp" field. + public const int TimestampFieldNumber = 14; + private long timestamp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int GroupId { - get { return groupId_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Timestamp { + get { return timestamp_; } set { - groupId_ = value; + timestamp_ = value; } } - /// Field number for the "sport" field. - public const int SportFieldNumber = 31; - private long sport_; + /// Field number for the "wa_f15" field. + public const int WaF15FieldNumber = 15; + private int waF15_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Sport { - get { return sport_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WaF15 { + get { return waF15_; } set { - sport_ = value; + waF15_ = value; } } - /// Field number for the "f34" field. - public const int F34FieldNumber = 34; - private float f34_; - /// - /// actual distance moved included lateral movement - /// + /// Field number for the "wa_f16" field. + public const int WaF16FieldNumber = 16; + private long waF16_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public float F34 { - get { return f34_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long WaF16 { + get { return waF16_; } set { - f34_ = value; + waF16_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as PlayerState); + return Equals(other as WorldAttribute); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(PlayerState other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(WorldAttribute other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (WorldTime != other.WorldTime) return false; - if (Distance != other.Distance) return false; - if (RoadTime != other.RoadTime) return false; - if (Laps != other.Laps) return false; - if (Speed != other.Speed) return false; - if (RoadPosition != other.RoadPosition) return false; - if (CadenceUHz != other.CadenceUHz) return false; - if (Heartrate != other.Heartrate) return false; - if (Power != other.Power) return false; - if (Heading != other.Heading) return false; - if (Lean != other.Lean) return false; - if (Climbing != other.Climbing) return false; - if (Time != other.Time) return false; - if (F19 != other.F19) return false; - if (F20 != other.F20) return false; - if (Progress != other.Progress) return false; - if (CustomisationId != other.CustomisationId) return false; - if (JustWatching != other.JustWatching) return false; - if (Calories != other.Calories) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Altitude, other.Altitude)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; - if (WatchingRiderId != other.WatchingRiderId) return false; - if (GroupId != other.GroupId) return false; - if (Sport != other.Sport) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(F34, other.F34)) return false; + if (WaF1 != other.WaF1) return false; + if (ServerRealm != other.ServerRealm) return false; + if (WaType != other.WaType) return false; + if (Payload != other.Payload) return false; + if (WorldTimeBorn != other.WorldTimeBorn) return false; + if (X != other.X) return false; + if (Y != other.Y) return false; + if (Z != other.Z) return false; + if (WorldTimeExpire != other.WorldTimeExpire) return false; + if (RelId != other.RelId) return false; + if (Importance != other.Importance) return false; + if (WaF12 != other.WaF12) return false; + if (WaF13 != other.WaF13) return false; + if (Timestamp != other.Timestamp) return false; + if (WaF15 != other.WaF15) return false; + if (WaF16 != other.WaF16) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (WorldTime != 0L) hash ^= WorldTime.GetHashCode(); - if (Distance != 0) hash ^= Distance.GetHashCode(); - if (RoadTime != 0) hash ^= RoadTime.GetHashCode(); - if (Laps != 0) hash ^= Laps.GetHashCode(); - if (Speed != 0) hash ^= Speed.GetHashCode(); - if (RoadPosition != 0) hash ^= RoadPosition.GetHashCode(); - if (CadenceUHz != 0) hash ^= CadenceUHz.GetHashCode(); - if (Heartrate != 0) hash ^= Heartrate.GetHashCode(); - if (Power != 0) hash ^= Power.GetHashCode(); - if (Heading != 0L) hash ^= Heading.GetHashCode(); - if (Lean != 0) hash ^= Lean.GetHashCode(); - if (Climbing != 0) hash ^= Climbing.GetHashCode(); - if (Time != 0) hash ^= Time.GetHashCode(); - if (F19 != 0) hash ^= F19.GetHashCode(); - if (F20 != 0) hash ^= F20.GetHashCode(); - if (Progress != 0) hash ^= Progress.GetHashCode(); - if (CustomisationId != 0L) hash ^= CustomisationId.GetHashCode(); - if (JustWatching != 0) hash ^= JustWatching.GetHashCode(); - if (Calories != 0) hash ^= Calories.GetHashCode(); - if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); - if (Altitude != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Altitude); - if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); - if (WatchingRiderId != 0) hash ^= WatchingRiderId.GetHashCode(); - if (GroupId != 0) hash ^= GroupId.GetHashCode(); - if (Sport != 0L) hash ^= Sport.GetHashCode(); - if (F34 != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(F34); + if (WaF1 != 0L) hash ^= WaF1.GetHashCode(); + if (ServerRealm != 0L) hash ^= ServerRealm.GetHashCode(); + if (WaType != global::ZwiftPacketMonitor.WA_TYPE.WatUnk0) hash ^= WaType.GetHashCode(); + if (Payload.Length != 0) hash ^= Payload.GetHashCode(); + if (WorldTimeBorn != 0L) hash ^= WorldTimeBorn.GetHashCode(); + if (X != 0L) hash ^= X.GetHashCode(); + if (Y != 0L) hash ^= Y.GetHashCode(); + if (Z != 0L) hash ^= Z.GetHashCode(); + if (WorldTimeExpire != 0L) hash ^= WorldTimeExpire.GetHashCode(); + if (RelId != 0L) hash ^= RelId.GetHashCode(); + if (Importance != 0) hash ^= Importance.GetHashCode(); + if (WaF12 != 0L) hash ^= WaF12.GetHashCode(); + if (WaF13 != 0) hash ^= WaF13.GetHashCode(); + if (Timestamp != 0L) hash ^= Timestamp.GetHashCode(); + if (WaF15 != 0) hash ^= WaF15.GetHashCode(); + if (WaF16 != 0L) hash ^= WaF16.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -2678,122 +7292,80 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); - } - if (WorldTime != 0L) { - output.WriteRawTag(16); - output.WriteInt64(WorldTime); - } - if (Distance != 0) { - output.WriteRawTag(24); - output.WriteInt32(Distance); - } - if (RoadTime != 0) { - output.WriteRawTag(32); - output.WriteInt32(RoadTime); - } - if (Laps != 0) { - output.WriteRawTag(40); - output.WriteInt32(Laps); - } - if (Speed != 0) { - output.WriteRawTag(48); - output.WriteInt32(Speed); - } - if (RoadPosition != 0) { - output.WriteRawTag(64); - output.WriteInt32(RoadPosition); - } - if (CadenceUHz != 0) { - output.WriteRawTag(72); - output.WriteInt32(CadenceUHz); - } - if (Heartrate != 0) { - output.WriteRawTag(88); - output.WriteInt32(Heartrate); - } - if (Power != 0) { - output.WriteRawTag(96); - output.WriteInt32(Power); - } - if (Heading != 0L) { - output.WriteRawTag(104); - output.WriteInt64(Heading); - } - if (Lean != 0) { - output.WriteRawTag(112); - output.WriteInt32(Lean); + output.WriteRawMessage(this); + #else + if (WaF1 != 0L) { + output.WriteRawTag(8); + output.WriteInt64(WaF1); } - if (Climbing != 0) { - output.WriteRawTag(120); - output.WriteInt32(Climbing); + if (ServerRealm != 0L) { + output.WriteRawTag(16); + output.WriteInt64(ServerRealm); } - if (Time != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(Time); + if (WaType != global::ZwiftPacketMonitor.WA_TYPE.WatUnk0) { + output.WriteRawTag(24); + output.WriteEnum((int) WaType); } - if (F19 != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(F19); + if (Payload.Length != 0) { + output.WriteRawTag(34); + output.WriteBytes(Payload); } - if (F20 != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(F20); + if (WorldTimeBorn != 0L) { + output.WriteRawTag(40); + output.WriteInt64(WorldTimeBorn); } - if (Progress != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(Progress); + if (X != 0L) { + output.WriteRawTag(48); + output.WriteInt64(X); } - if (CustomisationId != 0L) { - output.WriteRawTag(176, 1); - output.WriteInt64(CustomisationId); + if (Y != 0L) { + output.WriteRawTag(56); + output.WriteInt64(Y); } - if (JustWatching != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(JustWatching); + if (Z != 0L) { + output.WriteRawTag(64); + output.WriteInt64(Z); } - if (Calories != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(Calories); + if (WorldTimeExpire != 0L) { + output.WriteRawTag(72); + output.WriteInt64(WorldTimeExpire); } - if (X != 0F) { - output.WriteRawTag(205, 1); - output.WriteFloat(X); + if (RelId != 0L) { + output.WriteRawTag(80); + output.WriteInt64(RelId); } - if (Altitude != 0F) { - output.WriteRawTag(213, 1); - output.WriteFloat(Altitude); + if (Importance != 0) { + output.WriteRawTag(88); + output.WriteInt32(Importance); } - if (Y != 0F) { - output.WriteRawTag(221, 1); - output.WriteFloat(Y); + if (WaF12 != 0L) { + output.WriteRawTag(96); + output.WriteInt64(WaF12); } - if (WatchingRiderId != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(WatchingRiderId); + if (WaF13 != 0) { + output.WriteRawTag(104); + output.WriteInt32(WaF13); } - if (GroupId != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(GroupId); + if (Timestamp != 0L) { + output.WriteRawTag(112); + output.WriteInt64(Timestamp); } - if (Sport != 0L) { - output.WriteRawTag(248, 1); - output.WriteInt64(Sport); + if (WaF15 != 0) { + output.WriteRawTag(120); + output.WriteInt32(WaF15); } - if (F34 != 0F) { - output.WriteRawTag(149, 2); - output.WriteFloat(F34); + if (WaF16 != 0L) { + output.WriteRawTag(128, 1); + output.WriteInt64(WaF16); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -2803,114 +7375,71 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (WaF1 != 0L) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteInt64(WaF1); } - if (WorldTime != 0L) { + if (ServerRealm != 0L) { output.WriteRawTag(16); - output.WriteInt64(WorldTime); + output.WriteInt64(ServerRealm); } - if (Distance != 0) { + if (WaType != global::ZwiftPacketMonitor.WA_TYPE.WatUnk0) { output.WriteRawTag(24); - output.WriteInt32(Distance); + output.WriteEnum((int) WaType); } - if (RoadTime != 0) { - output.WriteRawTag(32); - output.WriteInt32(RoadTime); + if (Payload.Length != 0) { + output.WriteRawTag(34); + output.WriteBytes(Payload); } - if (Laps != 0) { + if (WorldTimeBorn != 0L) { output.WriteRawTag(40); - output.WriteInt32(Laps); + output.WriteInt64(WorldTimeBorn); } - if (Speed != 0) { + if (X != 0L) { output.WriteRawTag(48); - output.WriteInt32(Speed); + output.WriteInt64(X); } - if (RoadPosition != 0) { + if (Y != 0L) { + output.WriteRawTag(56); + output.WriteInt64(Y); + } + if (Z != 0L) { output.WriteRawTag(64); - output.WriteInt32(RoadPosition); + output.WriteInt64(Z); } - if (CadenceUHz != 0) { + if (WorldTimeExpire != 0L) { output.WriteRawTag(72); - output.WriteInt32(CadenceUHz); + output.WriteInt64(WorldTimeExpire); } - if (Heartrate != 0) { + if (RelId != 0L) { + output.WriteRawTag(80); + output.WriteInt64(RelId); + } + if (Importance != 0) { output.WriteRawTag(88); - output.WriteInt32(Heartrate); + output.WriteInt32(Importance); } - if (Power != 0) { + if (WaF12 != 0L) { output.WriteRawTag(96); - output.WriteInt32(Power); + output.WriteInt64(WaF12); } - if (Heading != 0L) { + if (WaF13 != 0) { output.WriteRawTag(104); - output.WriteInt64(Heading); + output.WriteInt32(WaF13); } - if (Lean != 0) { + if (Timestamp != 0L) { output.WriteRawTag(112); - output.WriteInt32(Lean); + output.WriteInt64(Timestamp); } - if (Climbing != 0) { + if (WaF15 != 0) { output.WriteRawTag(120); - output.WriteInt32(Climbing); + output.WriteInt32(WaF15); } - if (Time != 0) { + if (WaF16 != 0L) { output.WriteRawTag(128, 1); - output.WriteInt32(Time); - } - if (F19 != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(F19); - } - if (F20 != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(F20); - } - if (Progress != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(Progress); - } - if (CustomisationId != 0L) { - output.WriteRawTag(176, 1); - output.WriteInt64(CustomisationId); - } - if (JustWatching != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(JustWatching); - } - if (Calories != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(Calories); - } - if (X != 0F) { - output.WriteRawTag(205, 1); - output.WriteFloat(X); - } - if (Altitude != 0F) { - output.WriteRawTag(213, 1); - output.WriteFloat(Altitude); - } - if (Y != 0F) { - output.WriteRawTag(221, 1); - output.WriteFloat(Y); - } - if (WatchingRiderId != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(WatchingRiderId); - } - if (GroupId != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(GroupId); - } - if (Sport != 0L) { - output.WriteRawTag(248, 1); - output.WriteInt64(Sport); - } - if (F34 != 0F) { - output.WriteRawTag(149, 2); - output.WriteFloat(F34); + output.WriteInt64(WaF16); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -2919,88 +7448,56 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); - } - if (WorldTime != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(WorldTime); - } - if (Distance != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Distance); - } - if (RoadTime != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoadTime); - } - if (Laps != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Laps); - } - if (Speed != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Speed); - } - if (RoadPosition != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoadPosition); - } - if (CadenceUHz != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CadenceUHz); - } - if (Heartrate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Heartrate); - } - if (Power != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Power); - } - if (Heading != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Heading); - } - if (Lean != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Lean); + if (WaF1 != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(WaF1); } - if (Climbing != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Climbing); + if (ServerRealm != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ServerRealm); } - if (Time != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Time); + if (WaType != global::ZwiftPacketMonitor.WA_TYPE.WatUnk0) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) WaType); } - if (F19 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F19); + if (Payload.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload); } - if (F20 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F20); + if (WorldTimeBorn != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(WorldTimeBorn); } - if (Progress != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Progress); + if (X != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(X); } - if (CustomisationId != 0L) { - size += 2 + pb::CodedOutputStream.ComputeInt64Size(CustomisationId); + if (Y != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Y); } - if (JustWatching != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(JustWatching); + if (Z != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Z); } - if (Calories != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Calories); + if (WorldTimeExpire != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(WorldTimeExpire); } - if (X != 0F) { - size += 2 + 4; + if (RelId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(RelId); } - if (Altitude != 0F) { - size += 2 + 4; + if (Importance != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Importance); } - if (Y != 0F) { - size += 2 + 4; + if (WaF12 != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(WaF12); } - if (WatchingRiderId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WatchingRiderId); + if (WaF13 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WaF13); } - if (GroupId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(GroupId); + if (Timestamp != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Timestamp); } - if (Sport != 0L) { - size += 2 + pb::CodedOutputStream.ComputeInt64Size(Sport); + if (WaF15 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WaF15); } - if (F34 != 0F) { - size += 2 + 4; + if (WaF16 != 0L) { + size += 2 + pb::CodedOutputStream.ComputeInt64Size(WaF16); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -3009,95 +7506,64 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(PlayerState other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(WorldAttribute other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; - } - if (other.WorldTime != 0L) { - WorldTime = other.WorldTime; - } - if (other.Distance != 0) { - Distance = other.Distance; - } - if (other.RoadTime != 0) { - RoadTime = other.RoadTime; - } - if (other.Laps != 0) { - Laps = other.Laps; - } - if (other.Speed != 0) { - Speed = other.Speed; - } - if (other.RoadPosition != 0) { - RoadPosition = other.RoadPosition; - } - if (other.CadenceUHz != 0) { - CadenceUHz = other.CadenceUHz; - } - if (other.Heartrate != 0) { - Heartrate = other.Heartrate; - } - if (other.Power != 0) { - Power = other.Power; - } - if (other.Heading != 0L) { - Heading = other.Heading; - } - if (other.Lean != 0) { - Lean = other.Lean; + if (other.WaF1 != 0L) { + WaF1 = other.WaF1; } - if (other.Climbing != 0) { - Climbing = other.Climbing; + if (other.ServerRealm != 0L) { + ServerRealm = other.ServerRealm; } - if (other.Time != 0) { - Time = other.Time; + if (other.WaType != global::ZwiftPacketMonitor.WA_TYPE.WatUnk0) { + WaType = other.WaType; } - if (other.F19 != 0) { - F19 = other.F19; + if (other.Payload.Length != 0) { + Payload = other.Payload; } - if (other.F20 != 0) { - F20 = other.F20; + if (other.WorldTimeBorn != 0L) { + WorldTimeBorn = other.WorldTimeBorn; } - if (other.Progress != 0) { - Progress = other.Progress; + if (other.X != 0L) { + X = other.X; } - if (other.CustomisationId != 0L) { - CustomisationId = other.CustomisationId; + if (other.Y != 0L) { + Y = other.Y; } - if (other.JustWatching != 0) { - JustWatching = other.JustWatching; + if (other.Z != 0L) { + Z = other.Z; } - if (other.Calories != 0) { - Calories = other.Calories; + if (other.WorldTimeExpire != 0L) { + WorldTimeExpire = other.WorldTimeExpire; } - if (other.X != 0F) { - X = other.X; + if (other.RelId != 0L) { + RelId = other.RelId; } - if (other.Altitude != 0F) { - Altitude = other.Altitude; + if (other.Importance != 0) { + Importance = other.Importance; } - if (other.Y != 0F) { - Y = other.Y; + if (other.WaF12 != 0L) { + WaF12 = other.WaF12; } - if (other.WatchingRiderId != 0) { - WatchingRiderId = other.WatchingRiderId; + if (other.WaF13 != 0) { + WaF13 = other.WaF13; } - if (other.GroupId != 0) { - GroupId = other.GroupId; + if (other.Timestamp != 0L) { + Timestamp = other.Timestamp; } - if (other.Sport != 0L) { - Sport = other.Sport; + if (other.WaF15 != 0) { + WaF15 = other.WaF15; } - if (other.F34 != 0F) { - F34 = other.F34; + if (other.WaF16 != 0L) { + WaF16 = other.WaF16; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -3109,111 +7575,67 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + WaF1 = input.ReadInt64(); break; } case 16: { - WorldTime = input.ReadInt64(); + ServerRealm = input.ReadInt64(); break; } case 24: { - Distance = input.ReadInt32(); + WaType = (global::ZwiftPacketMonitor.WA_TYPE) input.ReadEnum(); break; } - case 32: { - RoadTime = input.ReadInt32(); + case 34: { + Payload = input.ReadBytes(); break; } case 40: { - Laps = input.ReadInt32(); + WorldTimeBorn = input.ReadInt64(); break; } case 48: { - Speed = input.ReadInt32(); + X = input.ReadInt64(); + break; + } + case 56: { + Y = input.ReadInt64(); break; } case 64: { - RoadPosition = input.ReadInt32(); + Z = input.ReadInt64(); break; } case 72: { - CadenceUHz = input.ReadInt32(); + WorldTimeExpire = input.ReadInt64(); + break; + } + case 80: { + RelId = input.ReadInt64(); break; } case 88: { - Heartrate = input.ReadInt32(); + Importance = input.ReadInt32(); break; } case 96: { - Power = input.ReadInt32(); + WaF12 = input.ReadInt64(); break; } case 104: { - Heading = input.ReadInt64(); + WaF13 = input.ReadInt32(); break; } case 112: { - Lean = input.ReadInt32(); + Timestamp = input.ReadInt64(); break; } case 120: { - Climbing = input.ReadInt32(); + WaF15 = input.ReadInt32(); break; } case 128: { - Time = input.ReadInt32(); - break; - } - case 152: { - F19 = input.ReadInt32(); - break; - } - case 160: { - F20 = input.ReadInt32(); - break; - } - case 168: { - Progress = input.ReadInt32(); - break; - } - case 176: { - CustomisationId = input.ReadInt64(); - break; - } - case 184: { - JustWatching = input.ReadInt32(); - break; - } - case 192: { - Calories = input.ReadInt32(); - break; - } - case 205: { - X = input.ReadFloat(); - break; - } - case 213: { - Altitude = input.ReadFloat(); - break; - } - case 221: { - Y = input.ReadFloat(); - break; - } - case 224: { - WatchingRiderId = input.ReadInt32(); - break; - } - case 232: { - GroupId = input.ReadInt32(); - break; - } - case 248: { - Sport = input.ReadInt64(); - break; - } - case 277: { - F34 = input.ReadFloat(); + WaF16 = input.ReadInt64(); break; } } @@ -3223,6 +7645,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -3231,111 +7654,67 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + WaF1 = input.ReadInt64(); break; } case 16: { - WorldTime = input.ReadInt64(); + ServerRealm = input.ReadInt64(); break; } case 24: { - Distance = input.ReadInt32(); + WaType = (global::ZwiftPacketMonitor.WA_TYPE) input.ReadEnum(); break; } - case 32: { - RoadTime = input.ReadInt32(); + case 34: { + Payload = input.ReadBytes(); break; } case 40: { - Laps = input.ReadInt32(); + WorldTimeBorn = input.ReadInt64(); break; } case 48: { - Speed = input.ReadInt32(); + X = input.ReadInt64(); + break; + } + case 56: { + Y = input.ReadInt64(); break; } case 64: { - RoadPosition = input.ReadInt32(); + Z = input.ReadInt64(); break; } case 72: { - CadenceUHz = input.ReadInt32(); + WorldTimeExpire = input.ReadInt64(); + break; + } + case 80: { + RelId = input.ReadInt64(); break; } case 88: { - Heartrate = input.ReadInt32(); + Importance = input.ReadInt32(); break; } case 96: { - Power = input.ReadInt32(); + WaF12 = input.ReadInt64(); break; } case 104: { - Heading = input.ReadInt64(); + WaF13 = input.ReadInt32(); break; } case 112: { - Lean = input.ReadInt32(); + Timestamp = input.ReadInt64(); break; } case 120: { - Climbing = input.ReadInt32(); + WaF15 = input.ReadInt32(); break; } case 128: { - Time = input.ReadInt32(); - break; - } - case 152: { - F19 = input.ReadInt32(); - break; - } - case 160: { - F20 = input.ReadInt32(); - break; - } - case 168: { - Progress = input.ReadInt32(); - break; - } - case 176: { - CustomisationId = input.ReadInt64(); - break; - } - case 184: { - JustWatching = input.ReadInt32(); - break; - } - case 192: { - Calories = input.ReadInt32(); - break; - } - case 205: { - X = input.ReadFloat(); - break; - } - case 213: { - Altitude = input.ReadFloat(); - break; - } - case 221: { - Y = input.ReadFloat(); - break; - } - case 224: { - WatchingRiderId = input.ReadInt32(); - break; - } - case 232: { - GroupId = input.ReadInt32(); - break; - } - case 248: { - Sport = input.ReadInt64(); - break; - } - case 277: { - F34 = input.ReadFloat(); + WaF16 = input.ReadInt64(); break; } } @@ -3345,202 +7724,422 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class ClientToServer : pb::IMessage + public sealed partial class SegmentResult : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClientToServer()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SegmentResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[2]; } + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[12]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ClientToServer() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SegmentResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ClientToServer(ClientToServer other) : this() { - connected_ = other.connected_; - riderId_ = other.riderId_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SegmentResult(SegmentResult other) : this() { + id_ = other.id_; + playerId_ = other.playerId_; + serverRealm_ = other.serverRealm_; + courseId_ = other.courseId_; + segmentId_ = other.segmentId_; + eventSubgroupId_ = other.eventSubgroupId_; + firstNameL1_ = other.firstNameL1_; + lastName_ = other.lastName_; worldTime_ = other.worldTime_; - seqno_ = other.seqno_; - state_ = other.state_ != null ? other.state_.Clone() : null; - tag8_ = other.tag8_; - tag9_ = other.tag9_; - lastUpdate_ = other.lastUpdate_; - tag11_ = other.tag11_; - lastPlayerUpdate_ = other.lastPlayerUpdate_; + finishTimeStr_ = other.finishTimeStr_; + elapsedMs_ = other.elapsedMs_; + powerType_ = other.powerType_; + weightInGrams_ = other.weightInGrams_; + srF14_ = other.srF14_; + avgPower_ = other.avgPower_; + isMale_ = other.isMale_; + magicLeaderboardBirthday_ = other.magicLeaderboardBirthday_; + playerType_ = other.playerType_; + avgHr_ = other.avgHr_; + sport_ = other.sport_; + activityId_ = other.activityId_; + srF22_ = other.srF22_; + firstNameL1Copy_ = other.firstNameL1Copy_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ClientToServer Clone() { - return new ClientToServer(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SegmentResult Clone() { + return new SegmentResult(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private long id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "player_id" field. + public const int PlayerIdFieldNumber = 2; + private int playerId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlayerId { + get { return playerId_; } + set { + playerId_ = value; + } + } + + /// Field number for the "server_realm" field. + public const int ServerRealmFieldNumber = 3; + private long serverRealm_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ServerRealm { + get { return serverRealm_; } + set { + serverRealm_ = value; + } + } + + /// Field number for the "course_id" field. + public const int CourseIdFieldNumber = 4; + private long courseId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long CourseId { + get { return courseId_; } + set { + courseId_ = value; + } + } + + /// Field number for the "segment_id" field. + public const int SegmentIdFieldNumber = 5; + private long segmentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long SegmentId { + get { return segmentId_; } + set { + segmentId_ = value; + } + } + + /// Field number for the "event_subgroup_id" field. + public const int EventSubgroupIdFieldNumber = 6; + private long eventSubgroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long EventSubgroupId { + get { return eventSubgroupId_; } + set { + eventSubgroupId_ = value; + } } - /// Field number for the "connected" field. - public const int ConnectedFieldNumber = 1; - private int connected_; + /// Field number for the "firstNameL1" field. + public const int FirstNameL1FieldNumber = 7; + private string firstNameL1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Connected { - get { return connected_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FirstNameL1 { + get { return firstNameL1_; } set { - connected_ = value; + firstNameL1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "rider_id" field. - public const int RiderIdFieldNumber = 2; - private int riderId_; + /// Field number for the "lastName" field. + public const int LastNameFieldNumber = 8; + private string lastName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int RiderId { - get { return riderId_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LastName { + get { return lastName_; } set { - riderId_ = value; + lastName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "world_time" field. - public const int WorldTimeFieldNumber = 3; - private long worldTime_; + public const int WorldTimeFieldNumber = 9; + private ulong worldTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long WorldTime { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong WorldTime { get { return worldTime_; } set { worldTime_ = value; } } - /// Field number for the "seqno" field. - public const int SeqnoFieldNumber = 4; - private int seqno_; + /// Field number for the "finish_time_str" field. + public const int FinishTimeStrFieldNumber = 10; + private string finishTimeStr_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Seqno { - get { return seqno_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FinishTimeStr { + get { return finishTimeStr_; } set { - seqno_ = value; + finishTimeStr_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "state" field. - public const int StateFieldNumber = 7; - private global::ZwiftPacketMonitor.PlayerState state_; + /// Field number for the "elapsed_ms" field. + public const int ElapsedMsFieldNumber = 11; + private ulong elapsedMs_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::ZwiftPacketMonitor.PlayerState State { - get { return state_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ElapsedMs { + get { return elapsedMs_; } set { - state_ = value; + elapsedMs_ = value; } } - /// Field number for the "tag8" field. - public const int Tag8FieldNumber = 8; - private long tag8_; + /// Field number for the "power_type" field. + public const int PowerTypeFieldNumber = 12; + private global::ZwiftPacketMonitor.PowerType powerType_ = global::ZwiftPacketMonitor.PowerType.PtVirtual; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag8 { - get { return tag8_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.PowerType PowerType { + get { return powerType_; } set { - tag8_ = value; + powerType_ = value; } } - /// Field number for the "tag9" field. - public const int Tag9FieldNumber = 9; - private long tag9_; + /// Field number for the "weight_in_grams" field. + public const int WeightInGramsFieldNumber = 13; + private uint weightInGrams_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag9 { - get { return tag9_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint WeightInGrams { + get { return weightInGrams_; } set { - tag9_ = value; + weightInGrams_ = value; } } - /// Field number for the "last_update" field. - public const int LastUpdateFieldNumber = 10; - private long lastUpdate_; + /// Field number for the "sr_f14" field. + public const int SrF14FieldNumber = 14; + private uint srF14_; + /// + ///always 0 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SrF14 { + get { return srF14_; } + set { + srF14_ = value; + } + } + + /// Field number for the "avg_power" field. + public const int AvgPowerFieldNumber = 15; + private uint avgPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint AvgPower { + get { return avgPower_; } + set { + avgPower_ = value; + } + } + + /// Field number for the "is_male" field. + public const int IsMaleFieldNumber = 16; + private bool isMale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsMale { + get { return isMale_; } + set { + isMale_ = value; + } + } + + /// Field number for the "magicLeaderboardBirthday" field. + public const int MagicLeaderboardBirthdayFieldNumber = 17; + private string magicLeaderboardBirthday_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MagicLeaderboardBirthday { + get { return magicLeaderboardBirthday_; } + set { + magicLeaderboardBirthday_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "player_type" field. + public const int PlayerTypeFieldNumber = 18; + private global::ZwiftPacketMonitor.PlayerType playerType_ = global::ZwiftPacketMonitor.PlayerType._0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.PlayerType PlayerType { + get { return playerType_; } + set { + playerType_ = value; + } + } + + /// Field number for the "avg_hr" field. + public const int AvgHrFieldNumber = 19; + private uint avgHr_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint AvgHr { + get { return avgHr_; } + set { + avgHr_ = value; + } + } + + /// Field number for the "sport" field. + public const int SportFieldNumber = 20; + private global::ZwiftPacketMonitor.Sport sport_ = global::ZwiftPacketMonitor.Sport.Cycling; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.Sport Sport { + get { return sport_; } + set { + sport_ = value; + } + } + + /// Field number for the "activity_id" field. + public const int ActivityIdFieldNumber = 21; + private ulong activityId_; + /// + ///may be -1 + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long LastUpdate { - get { return lastUpdate_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ActivityId { + get { return activityId_; } set { - lastUpdate_ = value; + activityId_ = value; } } - /// Field number for the "tag11" field. - public const int Tag11FieldNumber = 11; - private long tag11_; + /// Field number for the "sr_f22" field. + public const int SrF22FieldNumber = 22; + private bool srF22_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag11 { - get { return tag11_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool SrF22 { + get { return srF22_; } set { - tag11_ = value; + srF22_ = value; } } - /// Field number for the "last_player_update" field. - public const int LastPlayerUpdateFieldNumber = 12; - private long lastPlayerUpdate_; + /// Field number for the "firstNameL1_copy" field. + public const int FirstNameL1CopyFieldNumber = 23; + private string firstNameL1Copy_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long LastPlayerUpdate { - get { return lastPlayerUpdate_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FirstNameL1Copy { + get { return firstNameL1Copy_; } set { - lastPlayerUpdate_ = value; + firstNameL1Copy_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ClientToServer); + return Equals(other as SegmentResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ClientToServer other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SegmentResult other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Connected != other.Connected) return false; - if (RiderId != other.RiderId) return false; + if (Id != other.Id) return false; + if (PlayerId != other.PlayerId) return false; + if (ServerRealm != other.ServerRealm) return false; + if (CourseId != other.CourseId) return false; + if (SegmentId != other.SegmentId) return false; + if (EventSubgroupId != other.EventSubgroupId) return false; + if (FirstNameL1 != other.FirstNameL1) return false; + if (LastName != other.LastName) return false; if (WorldTime != other.WorldTime) return false; - if (Seqno != other.Seqno) return false; - if (!object.Equals(State, other.State)) return false; - if (Tag8 != other.Tag8) return false; - if (Tag9 != other.Tag9) return false; - if (LastUpdate != other.LastUpdate) return false; - if (Tag11 != other.Tag11) return false; - if (LastPlayerUpdate != other.LastPlayerUpdate) return false; + if (FinishTimeStr != other.FinishTimeStr) return false; + if (ElapsedMs != other.ElapsedMs) return false; + if (PowerType != other.PowerType) return false; + if (WeightInGrams != other.WeightInGrams) return false; + if (SrF14 != other.SrF14) return false; + if (AvgPower != other.AvgPower) return false; + if (IsMale != other.IsMale) return false; + if (MagicLeaderboardBirthday != other.MagicLeaderboardBirthday) return false; + if (PlayerType != other.PlayerType) return false; + if (AvgHr != other.AvgHr) return false; + if (Sport != other.Sport) return false; + if (ActivityId != other.ActivityId) return false; + if (SrF22 != other.SrF22) return false; + if (FirstNameL1Copy != other.FirstNameL1Copy) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Connected != 0) hash ^= Connected.GetHashCode(); - if (RiderId != 0) hash ^= RiderId.GetHashCode(); - if (WorldTime != 0L) hash ^= WorldTime.GetHashCode(); - if (Seqno != 0) hash ^= Seqno.GetHashCode(); - if (state_ != null) hash ^= State.GetHashCode(); - if (Tag8 != 0L) hash ^= Tag8.GetHashCode(); - if (Tag9 != 0L) hash ^= Tag9.GetHashCode(); - if (LastUpdate != 0L) hash ^= LastUpdate.GetHashCode(); - if (Tag11 != 0L) hash ^= Tag11.GetHashCode(); - if (LastPlayerUpdate != 0L) hash ^= LastPlayerUpdate.GetHashCode(); + if (Id != 0L) hash ^= Id.GetHashCode(); + if (PlayerId != 0) hash ^= PlayerId.GetHashCode(); + if (ServerRealm != 0L) hash ^= ServerRealm.GetHashCode(); + if (CourseId != 0L) hash ^= CourseId.GetHashCode(); + if (SegmentId != 0L) hash ^= SegmentId.GetHashCode(); + if (EventSubgroupId != 0L) hash ^= EventSubgroupId.GetHashCode(); + if (FirstNameL1.Length != 0) hash ^= FirstNameL1.GetHashCode(); + if (LastName.Length != 0) hash ^= LastName.GetHashCode(); + if (WorldTime != 0UL) hash ^= WorldTime.GetHashCode(); + if (FinishTimeStr.Length != 0) hash ^= FinishTimeStr.GetHashCode(); + if (ElapsedMs != 0UL) hash ^= ElapsedMs.GetHashCode(); + if (PowerType != global::ZwiftPacketMonitor.PowerType.PtVirtual) hash ^= PowerType.GetHashCode(); + if (WeightInGrams != 0) hash ^= WeightInGrams.GetHashCode(); + if (SrF14 != 0) hash ^= SrF14.GetHashCode(); + if (AvgPower != 0) hash ^= AvgPower.GetHashCode(); + if (IsMale != false) hash ^= IsMale.GetHashCode(); + if (MagicLeaderboardBirthday.Length != 0) hash ^= MagicLeaderboardBirthday.GetHashCode(); + if (PlayerType != global::ZwiftPacketMonitor.PlayerType._0) hash ^= PlayerType.GetHashCode(); + if (AvgHr != 0) hash ^= AvgHr.GetHashCode(); + if (Sport != global::ZwiftPacketMonitor.Sport.Cycling) hash ^= Sport.GetHashCode(); + if (ActivityId != 0UL) hash ^= ActivityId.GetHashCode(); + if (SrF22 != false) hash ^= SrF22.GetHashCode(); + if (FirstNameL1Copy.Length != 0) hash ^= FirstNameL1Copy.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -3548,54 +8147,108 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Connected != 0) { + if (Id != 0L) { output.WriteRawTag(8); - output.WriteInt32(Connected); + output.WriteInt64(Id); } - if (RiderId != 0) { + if (PlayerId != 0) { output.WriteRawTag(16); - output.WriteInt32(RiderId); + output.WriteInt32(PlayerId); } - if (WorldTime != 0L) { + if (ServerRealm != 0L) { output.WriteRawTag(24); - output.WriteInt64(WorldTime); + output.WriteInt64(ServerRealm); } - if (Seqno != 0) { + if (CourseId != 0L) { output.WriteRawTag(32); - output.WriteInt32(Seqno); + output.WriteInt64(CourseId); } - if (state_ != null) { + if (SegmentId != 0L) { + output.WriteRawTag(40); + output.WriteInt64(SegmentId); + } + if (EventSubgroupId != 0L) { + output.WriteRawTag(48); + output.WriteInt64(EventSubgroupId); + } + if (FirstNameL1.Length != 0) { output.WriteRawTag(58); - output.WriteMessage(State); + output.WriteString(FirstNameL1); } - if (Tag8 != 0L) { - output.WriteRawTag(64); - output.WriteInt64(Tag8); + if (LastName.Length != 0) { + output.WriteRawTag(66); + output.WriteString(LastName); } - if (Tag9 != 0L) { + if (WorldTime != 0UL) { output.WriteRawTag(72); - output.WriteInt64(Tag9); + output.WriteUInt64(WorldTime); } - if (LastUpdate != 0L) { - output.WriteRawTag(80); - output.WriteInt64(LastUpdate); + if (FinishTimeStr.Length != 0) { + output.WriteRawTag(82); + output.WriteString(FinishTimeStr); } - if (Tag11 != 0L) { + if (ElapsedMs != 0UL) { output.WriteRawTag(88); - output.WriteInt64(Tag11); + output.WriteUInt64(ElapsedMs); } - if (LastPlayerUpdate != 0L) { + if (PowerType != global::ZwiftPacketMonitor.PowerType.PtVirtual) { output.WriteRawTag(96); - output.WriteInt64(LastPlayerUpdate); + output.WriteEnum((int) PowerType); + } + if (WeightInGrams != 0) { + output.WriteRawTag(104); + output.WriteUInt32(WeightInGrams); + } + if (SrF14 != 0) { + output.WriteRawTag(112); + output.WriteUInt32(SrF14); + } + if (AvgPower != 0) { + output.WriteRawTag(120); + output.WriteUInt32(AvgPower); + } + if (IsMale != false) { + output.WriteRawTag(128, 1); + output.WriteBool(IsMale); + } + if (MagicLeaderboardBirthday.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(MagicLeaderboardBirthday); + } + if (PlayerType != global::ZwiftPacketMonitor.PlayerType._0) { + output.WriteRawTag(144, 1); + output.WriteEnum((int) PlayerType); + } + if (AvgHr != 0) { + output.WriteRawTag(152, 1); + output.WriteUInt32(AvgHr); + } + if (Sport != global::ZwiftPacketMonitor.Sport.Cycling) { + output.WriteRawTag(160, 1); + output.WriteEnum((int) Sport); + } + if (ActivityId != 0UL) { + output.WriteRawTag(168, 1); + output.WriteUInt64(ActivityId); + } + if (SrF22 != false) { + output.WriteRawTag(176, 1); + output.WriteBool(SrF22); + } + if (FirstNameL1Copy.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(FirstNameL1Copy); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -3605,46 +8258,99 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Connected != 0) { + if (Id != 0L) { output.WriteRawTag(8); - output.WriteInt32(Connected); + output.WriteInt64(Id); } - if (RiderId != 0) { + if (PlayerId != 0) { output.WriteRawTag(16); - output.WriteInt32(RiderId); + output.WriteInt32(PlayerId); } - if (WorldTime != 0L) { + if (ServerRealm != 0L) { output.WriteRawTag(24); - output.WriteInt64(WorldTime); + output.WriteInt64(ServerRealm); } - if (Seqno != 0) { + if (CourseId != 0L) { output.WriteRawTag(32); - output.WriteInt32(Seqno); + output.WriteInt64(CourseId); } - if (state_ != null) { + if (SegmentId != 0L) { + output.WriteRawTag(40); + output.WriteInt64(SegmentId); + } + if (EventSubgroupId != 0L) { + output.WriteRawTag(48); + output.WriteInt64(EventSubgroupId); + } + if (FirstNameL1.Length != 0) { output.WriteRawTag(58); - output.WriteMessage(State); + output.WriteString(FirstNameL1); } - if (Tag8 != 0L) { - output.WriteRawTag(64); - output.WriteInt64(Tag8); + if (LastName.Length != 0) { + output.WriteRawTag(66); + output.WriteString(LastName); } - if (Tag9 != 0L) { + if (WorldTime != 0UL) { output.WriteRawTag(72); - output.WriteInt64(Tag9); + output.WriteUInt64(WorldTime); } - if (LastUpdate != 0L) { - output.WriteRawTag(80); - output.WriteInt64(LastUpdate); + if (FinishTimeStr.Length != 0) { + output.WriteRawTag(82); + output.WriteString(FinishTimeStr); } - if (Tag11 != 0L) { + if (ElapsedMs != 0UL) { output.WriteRawTag(88); - output.WriteInt64(Tag11); + output.WriteUInt64(ElapsedMs); } - if (LastPlayerUpdate != 0L) { + if (PowerType != global::ZwiftPacketMonitor.PowerType.PtVirtual) { output.WriteRawTag(96); - output.WriteInt64(LastPlayerUpdate); + output.WriteEnum((int) PowerType); + } + if (WeightInGrams != 0) { + output.WriteRawTag(104); + output.WriteUInt32(WeightInGrams); + } + if (SrF14 != 0) { + output.WriteRawTag(112); + output.WriteUInt32(SrF14); + } + if (AvgPower != 0) { + output.WriteRawTag(120); + output.WriteUInt32(AvgPower); + } + if (IsMale != false) { + output.WriteRawTag(128, 1); + output.WriteBool(IsMale); + } + if (MagicLeaderboardBirthday.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(MagicLeaderboardBirthday); + } + if (PlayerType != global::ZwiftPacketMonitor.PlayerType._0) { + output.WriteRawTag(144, 1); + output.WriteEnum((int) PlayerType); + } + if (AvgHr != 0) { + output.WriteRawTag(152, 1); + output.WriteUInt32(AvgHr); + } + if (Sport != global::ZwiftPacketMonitor.Sport.Cycling) { + output.WriteRawTag(160, 1); + output.WriteEnum((int) Sport); + } + if (ActivityId != 0UL) { + output.WriteRawTag(168, 1); + output.WriteUInt64(ActivityId); + } + if (SrF22 != false) { + output.WriteRawTag(176, 1); + output.WriteBool(SrF22); + } + if (FirstNameL1Copy.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(FirstNameL1Copy); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -3653,37 +8359,77 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Connected != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Connected); + if (Id != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id); } - if (RiderId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RiderId); + if (PlayerId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerId); } - if (WorldTime != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(WorldTime); + if (ServerRealm != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ServerRealm); } - if (Seqno != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Seqno); + if (CourseId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(CourseId); } - if (state_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(State); + if (SegmentId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(SegmentId); } - if (Tag8 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Tag8); + if (EventSubgroupId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(EventSubgroupId); } - if (Tag9 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Tag9); + if (FirstNameL1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FirstNameL1); } - if (LastUpdate != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastUpdate); + if (LastName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LastName); } - if (Tag11 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Tag11); + if (WorldTime != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(WorldTime); } - if (LastPlayerUpdate != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastPlayerUpdate); + if (FinishTimeStr.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FinishTimeStr); + } + if (ElapsedMs != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ElapsedMs); + } + if (PowerType != global::ZwiftPacketMonitor.PowerType.PtVirtual) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PowerType); + } + if (WeightInGrams != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WeightInGrams); + } + if (SrF14 != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SrF14); + } + if (AvgPower != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AvgPower); + } + if (IsMale != false) { + size += 2 + 1; + } + if (MagicLeaderboardBirthday.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(MagicLeaderboardBirthday); + } + if (PlayerType != global::ZwiftPacketMonitor.PlayerType._0) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) PlayerType); + } + if (AvgHr != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(AvgHr); + } + if (Sport != global::ZwiftPacketMonitor.Sport.Cycling) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) Sport); + } + if (ActivityId != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(ActivityId); + } + if (SrF22 != false) { + size += 2 + 1; + } + if (FirstNameL1Copy.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(FirstNameL1Copy); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -3692,47 +8438,85 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ClientToServer other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SegmentResult other) { if (other == null) { return; } - if (other.Connected != 0) { - Connected = other.Connected; + if (other.Id != 0L) { + Id = other.Id; } - if (other.RiderId != 0) { - RiderId = other.RiderId; + if (other.PlayerId != 0) { + PlayerId = other.PlayerId; } - if (other.WorldTime != 0L) { + if (other.ServerRealm != 0L) { + ServerRealm = other.ServerRealm; + } + if (other.CourseId != 0L) { + CourseId = other.CourseId; + } + if (other.SegmentId != 0L) { + SegmentId = other.SegmentId; + } + if (other.EventSubgroupId != 0L) { + EventSubgroupId = other.EventSubgroupId; + } + if (other.FirstNameL1.Length != 0) { + FirstNameL1 = other.FirstNameL1; + } + if (other.LastName.Length != 0) { + LastName = other.LastName; + } + if (other.WorldTime != 0UL) { WorldTime = other.WorldTime; } - if (other.Seqno != 0) { - Seqno = other.Seqno; + if (other.FinishTimeStr.Length != 0) { + FinishTimeStr = other.FinishTimeStr; } - if (other.state_ != null) { - if (state_ == null) { - State = new global::ZwiftPacketMonitor.PlayerState(); - } - State.MergeFrom(other.State); + if (other.ElapsedMs != 0UL) { + ElapsedMs = other.ElapsedMs; } - if (other.Tag8 != 0L) { - Tag8 = other.Tag8; + if (other.PowerType != global::ZwiftPacketMonitor.PowerType.PtVirtual) { + PowerType = other.PowerType; } - if (other.Tag9 != 0L) { - Tag9 = other.Tag9; + if (other.WeightInGrams != 0) { + WeightInGrams = other.WeightInGrams; } - if (other.LastUpdate != 0L) { - LastUpdate = other.LastUpdate; + if (other.SrF14 != 0) { + SrF14 = other.SrF14; } - if (other.Tag11 != 0L) { - Tag11 = other.Tag11; + if (other.AvgPower != 0) { + AvgPower = other.AvgPower; } - if (other.LastPlayerUpdate != 0L) { - LastPlayerUpdate = other.LastPlayerUpdate; + if (other.IsMale != false) { + IsMale = other.IsMale; + } + if (other.MagicLeaderboardBirthday.Length != 0) { + MagicLeaderboardBirthday = other.MagicLeaderboardBirthday; + } + if (other.PlayerType != global::ZwiftPacketMonitor.PlayerType._0) { + PlayerType = other.PlayerType; + } + if (other.AvgHr != 0) { + AvgHr = other.AvgHr; + } + if (other.Sport != global::ZwiftPacketMonitor.Sport.Cycling) { + Sport = other.Sport; + } + if (other.ActivityId != 0UL) { + ActivityId = other.ActivityId; + } + if (other.SrF22 != false) { + SrF22 = other.SrF22; + } + if (other.FirstNameL1Copy.Length != 0) { + FirstNameL1Copy = other.FirstNameL1Copy; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -3744,46 +8528,95 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Connected = input.ReadInt32(); + Id = input.ReadInt64(); break; } case 16: { - RiderId = input.ReadInt32(); + PlayerId = input.ReadInt32(); break; } case 24: { - WorldTime = input.ReadInt64(); + ServerRealm = input.ReadInt64(); break; } case 32: { - Seqno = input.ReadInt32(); + CourseId = input.ReadInt64(); + break; + } + case 40: { + SegmentId = input.ReadInt64(); + break; + } + case 48: { + EventSubgroupId = input.ReadInt64(); break; } case 58: { - if (state_ == null) { - State = new global::ZwiftPacketMonitor.PlayerState(); - } - input.ReadMessage(State); + FirstNameL1 = input.ReadString(); break; } - case 64: { - Tag8 = input.ReadInt64(); + case 66: { + LastName = input.ReadString(); break; } case 72: { - Tag9 = input.ReadInt64(); + WorldTime = input.ReadUInt64(); break; } - case 80: { - LastUpdate = input.ReadInt64(); + case 82: { + FinishTimeStr = input.ReadString(); break; } case 88: { - Tag11 = input.ReadInt64(); + ElapsedMs = input.ReadUInt64(); break; } case 96: { - LastPlayerUpdate = input.ReadInt64(); + PowerType = (global::ZwiftPacketMonitor.PowerType) input.ReadEnum(); + break; + } + case 104: { + WeightInGrams = input.ReadUInt32(); + break; + } + case 112: { + SrF14 = input.ReadUInt32(); + break; + } + case 120: { + AvgPower = input.ReadUInt32(); + break; + } + case 128: { + IsMale = input.ReadBool(); + break; + } + case 138: { + MagicLeaderboardBirthday = input.ReadString(); + break; + } + case 144: { + PlayerType = (global::ZwiftPacketMonitor.PlayerType) input.ReadEnum(); + break; + } + case 152: { + AvgHr = input.ReadUInt32(); + break; + } + case 160: { + Sport = (global::ZwiftPacketMonitor.Sport) input.ReadEnum(); + break; + } + case 168: { + ActivityId = input.ReadUInt64(); + break; + } + case 176: { + SrF22 = input.ReadBool(); + break; + } + case 186: { + FirstNameL1Copy = input.ReadString(); break; } } @@ -3793,6 +8626,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -3801,46 +8635,95 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Connected = input.ReadInt32(); + Id = input.ReadInt64(); break; } case 16: { - RiderId = input.ReadInt32(); + PlayerId = input.ReadInt32(); break; } case 24: { - WorldTime = input.ReadInt64(); + ServerRealm = input.ReadInt64(); break; } case 32: { - Seqno = input.ReadInt32(); + CourseId = input.ReadInt64(); + break; + } + case 40: { + SegmentId = input.ReadInt64(); + break; + } + case 48: { + EventSubgroupId = input.ReadInt64(); break; } case 58: { - if (state_ == null) { - State = new global::ZwiftPacketMonitor.PlayerState(); - } - input.ReadMessage(State); + FirstNameL1 = input.ReadString(); + break; + } + case 66: { + LastName = input.ReadString(); + break; + } + case 72: { + WorldTime = input.ReadUInt64(); + break; + } + case 82: { + FinishTimeStr = input.ReadString(); + break; + } + case 88: { + ElapsedMs = input.ReadUInt64(); + break; + } + case 96: { + PowerType = (global::ZwiftPacketMonitor.PowerType) input.ReadEnum(); + break; + } + case 104: { + WeightInGrams = input.ReadUInt32(); + break; + } + case 112: { + SrF14 = input.ReadUInt32(); + break; + } + case 120: { + AvgPower = input.ReadUInt32(); + break; + } + case 128: { + IsMale = input.ReadBool(); + break; + } + case 138: { + MagicLeaderboardBirthday = input.ReadString(); break; } - case 64: { - Tag8 = input.ReadInt64(); + case 144: { + PlayerType = (global::ZwiftPacketMonitor.PlayerType) input.ReadEnum(); break; } - case 72: { - Tag9 = input.ReadInt64(); + case 152: { + AvgHr = input.ReadUInt32(); break; } - case 80: { - LastUpdate = input.ReadInt64(); + case 160: { + Sport = (global::ZwiftPacketMonitor.Sport) input.ReadEnum(); break; } - case 88: { - Tag11 = input.ReadInt64(); + case 168: { + ActivityId = input.ReadUInt64(); break; } - case 96: { - LastPlayerUpdate = input.ReadInt64(); + case 176: { + SrF22 = input.ReadBool(); + break; + } + case 186: { + FirstNameL1Copy = input.ReadString(); break; } } @@ -3850,207 +8733,239 @@ public void MergeFrom(pb::CodedInputStream input) { } - /// - /// string firstName=7; - /// string lastName=8; - /// string timestamp=17; - /// - public sealed partial class UnknownMessage1 : pb::IMessage + public sealed partial class SocialPlayerAction : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnknownMessage1()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SocialPlayerAction()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[3]; } + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[13]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UnknownMessage1() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SocialPlayerAction() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UnknownMessage1(UnknownMessage1 other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SocialPlayerAction(SocialPlayerAction other) : this() { + playerId_ = other.playerId_; + toPlayerId_ = other.toPlayerId_; + spaType_ = other.spaType_; + firstName_ = other.firstName_; + lastName_ = other.lastName_; + message_ = other.message_; + avatar_ = other.avatar_; + countryCode_ = other.countryCode_; + flagType_ = other.flagType_; + mgType_ = other.mgType_; + eventSubgroup_ = other.eventSubgroup_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UnknownMessage1 Clone() { - return new UnknownMessage1(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as UnknownMessage1); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SocialPlayerAction Clone() { + return new SocialPlayerAction(this); } + /// Field number for the "player_id" field. + public const int PlayerIdFieldNumber = 1; + private int playerId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(UnknownMessage1 other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlayerId { + get { return playerId_; } + set { + playerId_ = value; } - return Equals(_unknownFields, other._unknownFields); } + /// Field number for the "to_player_id" field. + public const int ToPlayerIdFieldNumber = 2; + private int toPlayerId_; + /// + /// 0 if public message + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToPlayerId { + get { return toPlayerId_; } + set { + toPlayerId_ = value; } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); } + /// Field number for the "spa_type" field. + public const int SpaTypeFieldNumber = 3; + private global::ZwiftPacketMonitor.SocialPlayerActionType spaType_ = global::ZwiftPacketMonitor.SocialPlayerActionType.SocialActionUnknownType; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (_unknownFields != null) { - _unknownFields.WriteTo(output); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.SocialPlayerActionType SpaType { + get { return spaType_; } + set { + spaType_ = value; } - #endif } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + /// Field number for the "firstName" field. + public const int FirstNameFieldNumber = 4; + private string firstName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FirstName { + get { return firstName_; } + set { + firstName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - #endif + /// Field number for the "lastName" field. + public const int LastNameFieldNumber = 5; + private string lastName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LastName { + get { return lastName_; } + set { + lastName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } - return size; } + /// Field number for the "message" field. + public const int MessageFieldNumber = 6; + private string message_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(UnknownMessage1 other) { - if (other == null) { - return; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Message { + get { return message_; } + set { + message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } + /// Field number for the "avatar" field. + public const int AvatarFieldNumber = 7; + private string avatar_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Avatar { + get { return avatar_; } + set { + avatar_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } - #endif } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + /// Field number for the "countryCode" field. + public const int CountryCodeFieldNumber = 8; + private int countryCode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CountryCode { + get { return countryCode_; } + set { + countryCode_ = value; } } - #endif - - } - - /// - /// int64 tag1=1; - /// UnknownMessage1 tag4=4; - /// - public sealed partial class UnknownMessage : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnknownMessage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[4]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } + /// Field number for the "flagType" field. + public const int FlagTypeFieldNumber = 9; + private global::ZwiftPacketMonitor.FlagType flagType_ = global::ZwiftPacketMonitor.FlagType.Unknown; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UnknownMessage() { - OnConstruction(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.FlagType FlagType { + get { return flagType_; } + set { + flagType_ = value; + } } - partial void OnConstruction(); - + /// Field number for the "mgType" field. + public const int MgTypeFieldNumber = 10; + private global::ZwiftPacketMonitor.MessageGroupType mgType_ = global::ZwiftPacketMonitor.MessageGroupType.MgtUnknown; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UnknownMessage(UnknownMessage other) : this() { - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.MessageGroupType MgType { + get { return mgType_; } + set { + mgType_ = value; + } } + /// Field number for the "eventSubgroup" field. + public const int EventSubgroupFieldNumber = 11; + private long eventSubgroup_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UnknownMessage Clone() { - return new UnknownMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long EventSubgroup { + get { return eventSubgroup_; } + set { + eventSubgroup_ = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as UnknownMessage); + return Equals(other as SocialPlayerAction); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(UnknownMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SocialPlayerAction other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if (PlayerId != other.PlayerId) return false; + if (ToPlayerId != other.ToPlayerId) return false; + if (SpaType != other.SpaType) return false; + if (FirstName != other.FirstName) return false; + if (LastName != other.LastName) return false; + if (Message != other.Message) return false; + if (Avatar != other.Avatar) return false; + if (CountryCode != other.CountryCode) return false; + if (FlagType != other.FlagType) return false; + if (MgType != other.MgType) return false; + if (EventSubgroup != other.EventSubgroup) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (PlayerId != 0) hash ^= PlayerId.GetHashCode(); + if (ToPlayerId != 0) hash ^= ToPlayerId.GetHashCode(); + if (SpaType != global::ZwiftPacketMonitor.SocialPlayerActionType.SocialActionUnknownType) hash ^= SpaType.GetHashCode(); + if (FirstName.Length != 0) hash ^= FirstName.GetHashCode(); + if (LastName.Length != 0) hash ^= LastName.GetHashCode(); + if (Message.Length != 0) hash ^= Message.GetHashCode(); + if (Avatar.Length != 0) hash ^= Avatar.GetHashCode(); + if (CountryCode != 0) hash ^= CountryCode.GetHashCode(); + if (FlagType != global::ZwiftPacketMonitor.FlagType.Unknown) hash ^= FlagType.GetHashCode(); + if (MgType != global::ZwiftPacketMonitor.MessageGroupType.MgtUnknown) hash ^= MgType.GetHashCode(); + if (EventSubgroup != 0L) hash ^= EventSubgroup.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -4058,15 +8973,61 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else + if (PlayerId != 0) { + output.WriteRawTag(8); + output.WriteInt32(PlayerId); + } + if (ToPlayerId != 0) { + output.WriteRawTag(16); + output.WriteInt32(ToPlayerId); + } + if (SpaType != global::ZwiftPacketMonitor.SocialPlayerActionType.SocialActionUnknownType) { + output.WriteRawTag(24); + output.WriteEnum((int) SpaType); + } + if (FirstName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(FirstName); + } + if (LastName.Length != 0) { + output.WriteRawTag(42); + output.WriteString(LastName); + } + if (Message.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Message); + } + if (Avatar.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Avatar); + } + if (CountryCode != 0) { + output.WriteRawTag(64); + output.WriteInt32(CountryCode); + } + if (FlagType != global::ZwiftPacketMonitor.FlagType.Unknown) { + output.WriteRawTag(72); + output.WriteEnum((int) FlagType); + } + if (MgType != global::ZwiftPacketMonitor.MessageGroupType.MgtUnknown) { + output.WriteRawTag(80); + output.WriteEnum((int) MgType); + } + if (EventSubgroup != 0L) { + output.WriteRawTag(88); + output.WriteInt64(EventSubgroup); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -4075,7 +9036,52 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PlayerId != 0) { + output.WriteRawTag(8); + output.WriteInt32(PlayerId); + } + if (ToPlayerId != 0) { + output.WriteRawTag(16); + output.WriteInt32(ToPlayerId); + } + if (SpaType != global::ZwiftPacketMonitor.SocialPlayerActionType.SocialActionUnknownType) { + output.WriteRawTag(24); + output.WriteEnum((int) SpaType); + } + if (FirstName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(FirstName); + } + if (LastName.Length != 0) { + output.WriteRawTag(42); + output.WriteString(LastName); + } + if (Message.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Message); + } + if (Avatar.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Avatar); + } + if (CountryCode != 0) { + output.WriteRawTag(64); + output.WriteInt32(CountryCode); + } + if (FlagType != global::ZwiftPacketMonitor.FlagType.Unknown) { + output.WriteRawTag(72); + output.WriteEnum((int) FlagType); + } + if (MgType != global::ZwiftPacketMonitor.MessageGroupType.MgtUnknown) { + output.WriteRawTag(80); + output.WriteEnum((int) MgType); + } + if (EventSubgroup != 0L) { + output.WriteRawTag(88); + output.WriteInt64(EventSubgroup); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -4083,8 +9089,42 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + if (PlayerId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerId); + } + if (ToPlayerId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToPlayerId); + } + if (SpaType != global::ZwiftPacketMonitor.SocialPlayerActionType.SocialActionUnknownType) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SpaType); + } + if (FirstName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FirstName); + } + if (LastName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LastName); + } + if (Message.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); + } + if (Avatar.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Avatar); + } + if (CountryCode != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CountryCode); + } + if (FlagType != global::ZwiftPacketMonitor.FlagType.Unknown) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FlagType); + } + if (MgType != global::ZwiftPacketMonitor.MessageGroupType.MgtUnknown) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MgType); + } + if (EventSubgroup != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(EventSubgroup); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -4092,14 +9132,49 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(UnknownMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SocialPlayerAction other) { if (other == null) { return; } + if (other.PlayerId != 0) { + PlayerId = other.PlayerId; + } + if (other.ToPlayerId != 0) { + ToPlayerId = other.ToPlayerId; + } + if (other.SpaType != global::ZwiftPacketMonitor.SocialPlayerActionType.SocialActionUnknownType) { + SpaType = other.SpaType; + } + if (other.FirstName.Length != 0) { + FirstName = other.FirstName; + } + if (other.LastName.Length != 0) { + LastName = other.LastName; + } + if (other.Message.Length != 0) { + Message = other.Message; + } + if (other.Avatar.Length != 0) { + Avatar = other.Avatar; + } + if (other.CountryCode != 0) { + CountryCode = other.CountryCode; + } + if (other.FlagType != global::ZwiftPacketMonitor.FlagType.Unknown) { + FlagType = other.FlagType; + } + if (other.MgType != global::ZwiftPacketMonitor.MessageGroupType.MgtUnknown) { + MgType = other.MgType; + } + if (other.EventSubgroup != 0L) { + EventSubgroup = other.EventSubgroup; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -4110,6 +9185,50 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 8: { + PlayerId = input.ReadInt32(); + break; + } + case 16: { + ToPlayerId = input.ReadInt32(); + break; + } + case 24: { + SpaType = (global::ZwiftPacketMonitor.SocialPlayerActionType) input.ReadEnum(); + break; + } + case 34: { + FirstName = input.ReadString(); + break; + } + case 42: { + LastName = input.ReadString(); + break; + } + case 50: { + Message = input.ReadString(); + break; + } + case 58: { + Avatar = input.ReadString(); + break; + } + case 64: { + CountryCode = input.ReadInt32(); + break; + } + case 72: { + FlagType = (global::ZwiftPacketMonitor.FlagType) input.ReadEnum(); + break; + } + case 80: { + MgType = (global::ZwiftPacketMonitor.MessageGroupType) input.ReadEnum(); + break; + } + case 88: { + EventSubgroup = input.ReadInt64(); + break; + } } } #endif @@ -4117,6 +9236,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -4124,6 +9244,50 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 8: { + PlayerId = input.ReadInt32(); + break; + } + case 16: { + ToPlayerId = input.ReadInt32(); + break; + } + case 24: { + SpaType = (global::ZwiftPacketMonitor.SocialPlayerActionType) input.ReadEnum(); + break; + } + case 34: { + FirstName = input.ReadString(); + break; + } + case 42: { + LastName = input.ReadString(); + break; + } + case 50: { + Message = input.ReadString(); + break; + } + case 58: { + Avatar = input.ReadString(); + break; + } + case 64: { + CountryCode = input.ReadInt32(); + break; + } + case 72: { + FlagType = (global::ZwiftPacketMonitor.FlagType) input.ReadEnum(); + break; + } + case 80: { + MgType = (global::ZwiftPacketMonitor.MessageGroupType) input.ReadEnum(); + break; + } + case 88: { + EventSubgroup = input.ReadInt64(); + break; + } } } } @@ -4131,244 +9295,146 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class PlayerUpdate : pb::IMessage + public sealed partial class RideOn : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerUpdate()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RideOn()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[5]; } + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[14]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayerUpdate() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RideOn() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayerUpdate(PlayerUpdate other) : this() { - tag1_ = other.tag1_; - tag2_ = other.tag2_; - tag3_ = other.tag3_; - payload_ = other.payload_; - tag5_ = other.tag5_; - tag6_ = other.tag6_; - tag7_ = other.tag7_; - tag8_ = other.tag8_; - tag9_ = other.tag9_; - tag11_ = other.tag11_; - tag12_ = other.tag12_; - tag14_ = other.tag14_; - tag15_ = other.tag15_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RideOn(RideOn other) : this() { + playerId_ = other.playerId_; + toPlayerId_ = other.toPlayerId_; + firstName_ = other.firstName_; + lastName_ = other.lastName_; + countryCode_ = other.countryCode_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayerUpdate Clone() { - return new PlayerUpdate(this); - } - - /// Field number for the "tag1" field. - public const int Tag1FieldNumber = 1; - private long tag1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag1 { - get { return tag1_; } - set { - tag1_ = value; - } - } - - /// Field number for the "tag2" field. - public const int Tag2FieldNumber = 2; - private int tag2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Tag2 { - get { return tag2_; } - set { - tag2_ = value; - } - } - - /// Field number for the "tag3" field. - public const int Tag3FieldNumber = 3; - private int tag3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Tag3 { - get { return tag3_; } - set { - tag3_ = value; - } - } - - /// Field number for the "payload" field. - public const int PayloadFieldNumber = 4; - private pb::ByteString payload_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pb::ByteString Payload { - get { return payload_; } - set { - payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "tag5" field. - public const int Tag5FieldNumber = 5; - private long tag5_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag5 { - get { return tag5_; } - set { - tag5_ = value; - } - } - - /// Field number for the "tag6" field. - public const int Tag6FieldNumber = 6; - private long tag6_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag6 { - get { return tag6_; } - set { - tag6_ = value; - } - } - - /// Field number for the "tag7" field. - public const int Tag7FieldNumber = 7; - private long tag7_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag7 { - get { return tag7_; } - set { - tag7_ = value; - } - } - - /// Field number for the "tag8" field. - public const int Tag8FieldNumber = 8; - private long tag8_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag8 { - get { return tag8_; } - set { - tag8_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RideOn Clone() { + return new RideOn(this); } - /// Field number for the "tag9" field. - public const int Tag9FieldNumber = 9; - private long tag9_; + /// Field number for the "player_id" field. + public const int PlayerIdFieldNumber = 1; + private int playerId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag9 { - get { return tag9_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlayerId { + get { return playerId_; } set { - tag9_ = value; + playerId_ = value; } } - /// Field number for the "tag11" field. - public const int Tag11FieldNumber = 11; - private long tag11_; + /// Field number for the "to_player_id" field. + public const int ToPlayerIdFieldNumber = 2; + private int toPlayerId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag11 { - get { return tag11_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToPlayerId { + get { return toPlayerId_; } set { - tag11_ = value; + toPlayerId_ = value; } } - /// Field number for the "tag12" field. - public const int Tag12FieldNumber = 12; - private long tag12_; + /// Field number for the "firstName" field. + public const int FirstNameFieldNumber = 3; + private string firstName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag12 { - get { return tag12_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FirstName { + get { return firstName_; } set { - tag12_ = value; + firstName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "tag14" field. - public const int Tag14FieldNumber = 14; - private long tag14_; + /// Field number for the "lastName" field. + public const int LastNameFieldNumber = 4; + private string lastName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag14 { - get { return tag14_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LastName { + get { return lastName_; } set { - tag14_ = value; + lastName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "tag15" field. - public const int Tag15FieldNumber = 15; - private long tag15_; + /// Field number for the "countryCode" field. + public const int CountryCodeFieldNumber = 5; + private int countryCode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag15 { - get { return tag15_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CountryCode { + get { return countryCode_; } set { - tag15_ = value; + countryCode_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as PlayerUpdate); + return Equals(other as RideOn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(PlayerUpdate other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RideOn other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Tag1 != other.Tag1) return false; - if (Tag2 != other.Tag2) return false; - if (Tag3 != other.Tag3) return false; - if (Payload != other.Payload) return false; - if (Tag5 != other.Tag5) return false; - if (Tag6 != other.Tag6) return false; - if (Tag7 != other.Tag7) return false; - if (Tag8 != other.Tag8) return false; - if (Tag9 != other.Tag9) return false; - if (Tag11 != other.Tag11) return false; - if (Tag12 != other.Tag12) return false; - if (Tag14 != other.Tag14) return false; - if (Tag15 != other.Tag15) return false; + if (PlayerId != other.PlayerId) return false; + if (ToPlayerId != other.ToPlayerId) return false; + if (FirstName != other.FirstName) return false; + if (LastName != other.LastName) return false; + if (CountryCode != other.CountryCode) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Tag1 != 0L) hash ^= Tag1.GetHashCode(); - if (Tag2 != 0) hash ^= Tag2.GetHashCode(); - if (Tag3 != 0) hash ^= Tag3.GetHashCode(); - if (Payload.Length != 0) hash ^= Payload.GetHashCode(); - if (Tag5 != 0L) hash ^= Tag5.GetHashCode(); - if (Tag6 != 0L) hash ^= Tag6.GetHashCode(); - if (Tag7 != 0L) hash ^= Tag7.GetHashCode(); - if (Tag8 != 0L) hash ^= Tag8.GetHashCode(); - if (Tag9 != 0L) hash ^= Tag9.GetHashCode(); - if (Tag11 != 0L) hash ^= Tag11.GetHashCode(); - if (Tag12 != 0L) hash ^= Tag12.GetHashCode(); - if (Tag14 != 0L) hash ^= Tag14.GetHashCode(); - if (Tag15 != 0L) hash ^= Tag15.GetHashCode(); + if (PlayerId != 0) hash ^= PlayerId.GetHashCode(); + if (ToPlayerId != 0) hash ^= ToPlayerId.GetHashCode(); + if (FirstName.Length != 0) hash ^= FirstName.GetHashCode(); + if (LastName.Length != 0) hash ^= LastName.GetHashCode(); + if (CountryCode != 0) hash ^= CountryCode.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -4376,66 +9442,36 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Tag1 != 0L) { + if (PlayerId != 0) { output.WriteRawTag(8); - output.WriteInt64(Tag1); + output.WriteInt32(PlayerId); } - if (Tag2 != 0) { + if (ToPlayerId != 0) { output.WriteRawTag(16); - output.WriteInt32(Tag2); + output.WriteInt32(ToPlayerId); } - if (Tag3 != 0) { - output.WriteRawTag(24); - output.WriteInt32(Tag3); + if (FirstName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(FirstName); } - if (Payload.Length != 0) { + if (LastName.Length != 0) { output.WriteRawTag(34); - output.WriteBytes(Payload); + output.WriteString(LastName); } - if (Tag5 != 0L) { + if (CountryCode != 0) { output.WriteRawTag(40); - output.WriteInt64(Tag5); - } - if (Tag6 != 0L) { - output.WriteRawTag(48); - output.WriteInt64(Tag6); - } - if (Tag7 != 0L) { - output.WriteRawTag(56); - output.WriteInt64(Tag7); - } - if (Tag8 != 0L) { - output.WriteRawTag(64); - output.WriteInt64(Tag8); - } - if (Tag9 != 0L) { - output.WriteRawTag(72); - output.WriteInt64(Tag9); - } - if (Tag11 != 0L) { - output.WriteRawTag(88); - output.WriteInt64(Tag11); - } - if (Tag12 != 0L) { - output.WriteRawTag(96); - output.WriteInt64(Tag12); - } - if (Tag14 != 0L) { - output.WriteRawTag(112); - output.WriteInt64(Tag14); - } - if (Tag15 != 0L) { - output.WriteRawTag(120); - output.WriteInt64(Tag15); + output.WriteInt32(CountryCode); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -4445,106 +9481,52 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Tag1 != 0L) { + if (PlayerId != 0) { output.WriteRawTag(8); - output.WriteInt64(Tag1); + output.WriteInt32(PlayerId); } - if (Tag2 != 0) { + if (ToPlayerId != 0) { output.WriteRawTag(16); - output.WriteInt32(Tag2); + output.WriteInt32(ToPlayerId); } - if (Tag3 != 0) { - output.WriteRawTag(24); - output.WriteInt32(Tag3); + if (FirstName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(FirstName); } - if (Payload.Length != 0) { + if (LastName.Length != 0) { output.WriteRawTag(34); - output.WriteBytes(Payload); + output.WriteString(LastName); } - if (Tag5 != 0L) { + if (CountryCode != 0) { output.WriteRawTag(40); - output.WriteInt64(Tag5); - } - if (Tag6 != 0L) { - output.WriteRawTag(48); - output.WriteInt64(Tag6); - } - if (Tag7 != 0L) { - output.WriteRawTag(56); - output.WriteInt64(Tag7); - } - if (Tag8 != 0L) { - output.WriteRawTag(64); - output.WriteInt64(Tag8); - } - if (Tag9 != 0L) { - output.WriteRawTag(72); - output.WriteInt64(Tag9); - } - if (Tag11 != 0L) { - output.WriteRawTag(88); - output.WriteInt64(Tag11); - } - if (Tag12 != 0L) { - output.WriteRawTag(96); - output.WriteInt64(Tag12); - } - if (Tag14 != 0L) { - output.WriteRawTag(112); - output.WriteInt64(Tag14); - } - if (Tag15 != 0L) { - output.WriteRawTag(120); - output.WriteInt64(Tag15); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Tag1 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Tag1); - } - if (Tag2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tag2); - } - if (Tag3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tag3); - } - if (Payload.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload); - } - if (Tag5 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Tag5); - } - if (Tag6 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Tag6); - } - if (Tag7 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Tag7); + output.WriteInt32(CountryCode); } - if (Tag8 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Tag8); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); } - if (Tag9 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Tag9); + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (PlayerId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerId); } - if (Tag11 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Tag11); + if (ToPlayerId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToPlayerId); } - if (Tag12 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Tag12); + if (FirstName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FirstName); } - if (Tag14 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Tag14); + if (LastName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LastName); } - if (Tag15 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Tag15); + if (CountryCode != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CountryCode); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -4553,53 +9535,31 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(PlayerUpdate other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RideOn other) { if (other == null) { return; } - if (other.Tag1 != 0L) { - Tag1 = other.Tag1; - } - if (other.Tag2 != 0) { - Tag2 = other.Tag2; + if (other.PlayerId != 0) { + PlayerId = other.PlayerId; } - if (other.Tag3 != 0) { - Tag3 = other.Tag3; + if (other.ToPlayerId != 0) { + ToPlayerId = other.ToPlayerId; } - if (other.Payload.Length != 0) { - Payload = other.Payload; - } - if (other.Tag5 != 0L) { - Tag5 = other.Tag5; - } - if (other.Tag6 != 0L) { - Tag6 = other.Tag6; - } - if (other.Tag7 != 0L) { - Tag7 = other.Tag7; - } - if (other.Tag8 != 0L) { - Tag8 = other.Tag8; - } - if (other.Tag9 != 0L) { - Tag9 = other.Tag9; - } - if (other.Tag11 != 0L) { - Tag11 = other.Tag11; - } - if (other.Tag12 != 0L) { - Tag12 = other.Tag12; + if (other.FirstName.Length != 0) { + FirstName = other.FirstName; } - if (other.Tag14 != 0L) { - Tag14 = other.Tag14; + if (other.LastName.Length != 0) { + LastName = other.LastName; } - if (other.Tag15 != 0L) { - Tag15 = other.Tag15; + if (other.CountryCode != 0) { + CountryCode = other.CountryCode; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -4611,55 +9571,23 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Tag1 = input.ReadInt64(); + PlayerId = input.ReadInt32(); break; } case 16: { - Tag2 = input.ReadInt32(); + ToPlayerId = input.ReadInt32(); break; } - case 24: { - Tag3 = input.ReadInt32(); + case 26: { + FirstName = input.ReadString(); break; } case 34: { - Payload = input.ReadBytes(); + LastName = input.ReadString(); break; } case 40: { - Tag5 = input.ReadInt64(); - break; - } - case 48: { - Tag6 = input.ReadInt64(); - break; - } - case 56: { - Tag7 = input.ReadInt64(); - break; - } - case 64: { - Tag8 = input.ReadInt64(); - break; - } - case 72: { - Tag9 = input.ReadInt64(); - break; - } - case 88: { - Tag11 = input.ReadInt64(); - break; - } - case 96: { - Tag12 = input.ReadInt64(); - break; - } - case 112: { - Tag14 = input.ReadInt64(); - break; - } - case 120: { - Tag15 = input.ReadInt64(); + CountryCode = input.ReadInt32(); break; } } @@ -4669,6 +9597,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -4677,55 +9606,23 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Tag1 = input.ReadInt64(); + PlayerId = input.ReadInt32(); break; } case 16: { - Tag2 = input.ReadInt32(); + ToPlayerId = input.ReadInt32(); break; } - case 24: { - Tag3 = input.ReadInt32(); + case 26: { + FirstName = input.ReadString(); break; } case 34: { - Payload = input.ReadBytes(); + LastName = input.ReadString(); break; } case 40: { - Tag5 = input.ReadInt64(); - break; - } - case 48: { - Tag6 = input.ReadInt64(); - break; - } - case 56: { - Tag7 = input.ReadInt64(); - break; - } - case 64: { - Tag8 = input.ReadInt64(); - break; - } - case 72: { - Tag9 = input.ReadInt64(); - break; - } - case 88: { - Tag11 = input.ReadInt64(); - break; - } - case 96: { - Tag12 = input.ReadInt64(); - break; - } - case 112: { - Tag14 = input.ReadInt64(); - break; - } - case 120: { - Tag15 = input.ReadInt64(); + CountryCode = input.ReadInt32(); break; } } @@ -4735,309 +9632,151 @@ public void MergeFrom(pb::CodedInputStream input) { } - /// - /// player entered world ? - /// - public sealed partial class Payload105 : pb::IMessage + public sealed partial class PlayerLeftWorld : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Payload105()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerLeftWorld()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[6]; } + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[15]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Payload105() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerLeftWorld() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Payload105(Payload105 other) : this() { - f1_ = other.f1_; - riderId_ = other.riderId_; - f3_ = other.f3_; - f4_ = other.f4_; - f5_ = other.f5_; - f6_ = other.f6_; - firstName_ = other.firstName_; - lastName_ = other.lastName_; - f9_ = other.f9_; - f11_ = other.f11_; - f12_ = other.f12_; - f13_ = other.f13_; - f14_ = other.f14_; - f15_ = other.f15_; - f16_ = other.f16_; - f7Date_ = other.f7Date_; - f19_ = other.f19_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerLeftWorld(PlayerLeftWorld other) : this() { + playerId_ = other.playerId_; + worldTime_ = other.worldTime_; + anotherLogin_ = other.anotherLogin_; + plwF4_ = other.plwF4_; + plwF5_ = other.plwF5_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Payload105 Clone() { - return new Payload105(this); - } - - /// Field number for the "f1" field. - public const int F1FieldNumber = 1; - private long f1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F1 { - get { return f1_; } - set { - f1_ = value; - } - } - - /// Field number for the "rider_id" field. - public const int RiderIdFieldNumber = 2; - private int riderId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int RiderId { - get { return riderId_; } - set { - riderId_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerLeftWorld Clone() { + return new PlayerLeftWorld(this); } - /// Field number for the "f3" field. - public const int F3FieldNumber = 3; - private int f3_; + /// Field number for the "player_id" field. + public const int PlayerIdFieldNumber = 1; + private long playerId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F3 { - get { return f3_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long PlayerId { + get { return playerId_; } set { - f3_ = value; + playerId_ = value; } } - /// Field number for the "f4" field. - public const int F4FieldNumber = 4; - private long f4_; + /// Field number for the "world_time" field. + public const int WorldTimeFieldNumber = 2; + private long worldTime_; /// - /// int32? + /// not sure /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F4 { - get { return f4_; } - set { - f4_ = value; - } - } - - /// Field number for the "f5" field. - public const int F5FieldNumber = 5; - private long f5_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F5 { - get { return f5_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long WorldTime { + get { return worldTime_; } set { - f5_ = value; + worldTime_ = value; } } - /// Field number for the "f6" field. - public const int F6FieldNumber = 6; - private long f6_; + /// Field number for the "anotherLogin" field. + public const int AnotherLoginFieldNumber = 3; + private bool anotherLogin_; /// - /// int32? + /// user profile logged in twice -> one of them should be logged out /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F6 { - get { return f6_; } - set { - f6_ = value; - } - } - - /// Field number for the "firstName" field. - public const int FirstNameFieldNumber = 7; - private string firstName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string FirstName { - get { return firstName_; } - set { - firstName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "lastName" field. - public const int LastNameFieldNumber = 8; - private string lastName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string LastName { - get { return lastName_; } - set { - lastName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "f9" field. - public const int F9FieldNumber = 9; - private long f9_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F9 { - get { return f9_; } - set { - f9_ = value; - } - } - - /// Field number for the "f11" field. - public const int F11FieldNumber = 11; - private long f11_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F11 { - get { return f11_; } - set { - f11_ = value; - } - } - - /// Field number for the "f12" field. - public const int F12FieldNumber = 12; - private int f12_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F12 { - get { return f12_; } - set { - f12_ = value; - } - } - - /// Field number for the "f13" field. - public const int F13FieldNumber = 13; - private int f13_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F13 { - get { return f13_; } - set { - f13_ = value; - } - } - - /// Field number for the "f14" field. - public const int F14FieldNumber = 14; - private int f14_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F14 { - get { return f14_; } - set { - f14_ = value; - } - } - - /// Field number for the "f15" field. - public const int F15FieldNumber = 15; - private int f15_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F15 { - get { return f15_; } - set { - f15_ = value; - } - } - - /// Field number for the "f16" field. - public const int F16FieldNumber = 16; - private int f16_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F16 { - get { return f16_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AnotherLogin { + get { return anotherLogin_; } set { - f16_ = value; + anotherLogin_ = value; } } - /// Field number for the "f7date" field. - public const int F7DateFieldNumber = 17; - private string f7Date_ = ""; + /// Field number for the "plw_f4" field. + public const int PlwF4FieldNumber = 4; + private bool plwF4_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string F7Date { - get { return f7Date_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool PlwF4 { + get { return plwF4_; } set { - f7Date_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + plwF4_ = value; } } - /// Field number for the "f19" field. - public const int F19FieldNumber = 19; - private int f19_; + /// Field number for the "plw_f5" field. + public const int PlwF5FieldNumber = 5; + private static readonly pb::FieldCodec _repeated_plwF5_codec + = pb::FieldCodec.ForSInt64(42); + private readonly pbc::RepeatedField plwF5_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F19 { - get { return f19_; } - set { - f19_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PlwF5 { + get { return plwF5_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as Payload105); + return Equals(other as PlayerLeftWorld); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(Payload105 other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerLeftWorld other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (F1 != other.F1) return false; - if (RiderId != other.RiderId) return false; - if (F3 != other.F3) return false; - if (F4 != other.F4) return false; - if (F5 != other.F5) return false; - if (F6 != other.F6) return false; - if (FirstName != other.FirstName) return false; - if (LastName != other.LastName) return false; - if (F9 != other.F9) return false; - if (F11 != other.F11) return false; - if (F12 != other.F12) return false; - if (F13 != other.F13) return false; - if (F14 != other.F14) return false; - if (F15 != other.F15) return false; - if (F16 != other.F16) return false; - if (F7Date != other.F7Date) return false; - if (F19 != other.F19) return false; + if (PlayerId != other.PlayerId) return false; + if (WorldTime != other.WorldTime) return false; + if (AnotherLogin != other.AnotherLogin) return false; + if (PlwF4 != other.PlwF4) return false; + if(!plwF5_.Equals(other.plwF5_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (F1 != 0L) hash ^= F1.GetHashCode(); - if (RiderId != 0) hash ^= RiderId.GetHashCode(); - if (F3 != 0) hash ^= F3.GetHashCode(); - if (F4 != 0L) hash ^= F4.GetHashCode(); - if (F5 != 0L) hash ^= F5.GetHashCode(); - if (F6 != 0L) hash ^= F6.GetHashCode(); - if (FirstName.Length != 0) hash ^= FirstName.GetHashCode(); - if (LastName.Length != 0) hash ^= LastName.GetHashCode(); - if (F9 != 0L) hash ^= F9.GetHashCode(); - if (F11 != 0L) hash ^= F11.GetHashCode(); - if (F12 != 0) hash ^= F12.GetHashCode(); - if (F13 != 0) hash ^= F13.GetHashCode(); - if (F14 != 0) hash ^= F14.GetHashCode(); - if (F15 != 0) hash ^= F15.GetHashCode(); - if (F16 != 0) hash ^= F16.GetHashCode(); - if (F7Date.Length != 0) hash ^= F7Date.GetHashCode(); - if (F19 != 0) hash ^= F19.GetHashCode(); + if (PlayerId != 0L) hash ^= PlayerId.GetHashCode(); + if (WorldTime != 0L) hash ^= WorldTime.GetHashCode(); + if (AnotherLogin != false) hash ^= AnotherLogin.GetHashCode(); + if (PlwF4 != false) hash ^= PlwF4.GetHashCode(); + hash ^= plwF5_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -5045,83 +9784,34 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (F1 != 0L) { + if (PlayerId != 0L) { output.WriteRawTag(8); - output.WriteInt64(F1); + output.WriteInt64(PlayerId); } - if (RiderId != 0) { + if (WorldTime != 0L) { output.WriteRawTag(16); - output.WriteInt32(RiderId); + output.WriteInt64(WorldTime); } - if (F3 != 0) { + if (AnotherLogin != false) { output.WriteRawTag(24); - output.WriteInt32(F3); + output.WriteBool(AnotherLogin); } - if (F4 != 0L) { + if (PlwF4 != false) { output.WriteRawTag(32); - output.WriteInt64(F4); - } - if (F5 != 0L) { - output.WriteRawTag(40); - output.WriteInt64(F5); - } - if (F6 != 0L) { - output.WriteRawTag(48); - output.WriteInt64(F6); - } - if (FirstName.Length != 0) { - output.WriteRawTag(58); - output.WriteString(FirstName); - } - if (LastName.Length != 0) { - output.WriteRawTag(66); - output.WriteString(LastName); - } - if (F9 != 0L) { - output.WriteRawTag(72); - output.WriteInt64(F9); - } - if (F11 != 0L) { - output.WriteRawTag(88); - output.WriteInt64(F11); - } - if (F12 != 0) { - output.WriteRawTag(96); - output.WriteInt32(F12); - } - if (F13 != 0) { - output.WriteRawTag(104); - output.WriteInt32(F13); - } - if (F14 != 0) { - output.WriteRawTag(112); - output.WriteInt32(F14); - } - if (F15 != 0) { - output.WriteRawTag(120); - output.WriteInt32(F15); - } - if (F16 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(F16); - } - if (F7Date.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(F7Date); - } - if (F19 != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(F19); + output.WriteBool(PlwF4); } + plwF5_.WriteTo(output, _repeated_plwF5_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -5130,75 +9820,25 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (F1 != 0L) { + if (PlayerId != 0L) { output.WriteRawTag(8); - output.WriteInt64(F1); + output.WriteInt64(PlayerId); } - if (RiderId != 0) { + if (WorldTime != 0L) { output.WriteRawTag(16); - output.WriteInt32(RiderId); + output.WriteInt64(WorldTime); } - if (F3 != 0) { + if (AnotherLogin != false) { output.WriteRawTag(24); - output.WriteInt32(F3); - } - if (F4 != 0L) { - output.WriteRawTag(32); - output.WriteInt64(F4); - } - if (F5 != 0L) { - output.WriteRawTag(40); - output.WriteInt64(F5); - } - if (F6 != 0L) { - output.WriteRawTag(48); - output.WriteInt64(F6); - } - if (FirstName.Length != 0) { - output.WriteRawTag(58); - output.WriteString(FirstName); - } - if (LastName.Length != 0) { - output.WriteRawTag(66); - output.WriteString(LastName); - } - if (F9 != 0L) { - output.WriteRawTag(72); - output.WriteInt64(F9); - } - if (F11 != 0L) { - output.WriteRawTag(88); - output.WriteInt64(F11); - } - if (F12 != 0) { - output.WriteRawTag(96); - output.WriteInt32(F12); - } - if (F13 != 0) { - output.WriteRawTag(104); - output.WriteInt32(F13); - } - if (F14 != 0) { - output.WriteRawTag(112); - output.WriteInt32(F14); - } - if (F15 != 0) { - output.WriteRawTag(120); - output.WriteInt32(F15); - } - if (F16 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(F16); - } - if (F7Date.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(F7Date); + output.WriteBool(AnotherLogin); } - if (F19 != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(F19); + if (PlwF4 != false) { + output.WriteRawTag(32); + output.WriteBool(PlwF4); } + plwF5_.WriteTo(ref output, _repeated_plwF5_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -5206,59 +9846,22 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (F1 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(F1); - } - if (RiderId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RiderId); - } - if (F3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F3); - } - if (F4 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(F4); - } - if (F5 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(F5); - } - if (F6 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(F6); - } - if (FirstName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FirstName); - } - if (LastName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(LastName); - } - if (F9 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(F9); + if (PlayerId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(PlayerId); } - if (F11 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(F11); - } - if (F12 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F12); - } - if (F13 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F13); - } - if (F14 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F14); - } - if (F15 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F15); - } - if (F16 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F16); + if (WorldTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(WorldTime); } - if (F7Date.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(F7Date); + if (AnotherLogin != false) { + size += 1 + 1; } - if (F19 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(F19); + if (PlwF4 != false) { + size += 1 + 1; } + size += plwF5_.CalculateSize(_repeated_plwF5_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -5266,65 +9869,29 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(Payload105 other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerLeftWorld other) { if (other == null) { return; } - if (other.F1 != 0L) { - F1 = other.F1; - } - if (other.RiderId != 0) { - RiderId = other.RiderId; - } - if (other.F3 != 0) { - F3 = other.F3; - } - if (other.F4 != 0L) { - F4 = other.F4; - } - if (other.F5 != 0L) { - F5 = other.F5; - } - if (other.F6 != 0L) { - F6 = other.F6; - } - if (other.FirstName.Length != 0) { - FirstName = other.FirstName; - } - if (other.LastName.Length != 0) { - LastName = other.LastName; - } - if (other.F9 != 0L) { - F9 = other.F9; - } - if (other.F11 != 0L) { - F11 = other.F11; - } - if (other.F12 != 0) { - F12 = other.F12; - } - if (other.F13 != 0) { - F13 = other.F13; + if (other.PlayerId != 0L) { + PlayerId = other.PlayerId; } - if (other.F14 != 0) { - F14 = other.F14; - } - if (other.F15 != 0) { - F15 = other.F15; - } - if (other.F16 != 0) { - F16 = other.F16; + if (other.WorldTime != 0L) { + WorldTime = other.WorldTime; } - if (other.F7Date.Length != 0) { - F7Date = other.F7Date; + if (other.AnotherLogin != false) { + AnotherLogin = other.AnotherLogin; } - if (other.F19 != 0) { - F19 = other.F19; + if (other.PlwF4 != false) { + PlwF4 = other.PlwF4; } + plwF5_.Add(other.plwF5_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -5336,71 +9903,24 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - F1 = input.ReadInt64(); + PlayerId = input.ReadInt64(); break; } case 16: { - RiderId = input.ReadInt32(); + WorldTime = input.ReadInt64(); break; } case 24: { - F3 = input.ReadInt32(); + AnotherLogin = input.ReadBool(); break; } case 32: { - F4 = input.ReadInt64(); + PlwF4 = input.ReadBool(); break; } + case 42: case 40: { - F5 = input.ReadInt64(); - break; - } - case 48: { - F6 = input.ReadInt64(); - break; - } - case 58: { - FirstName = input.ReadString(); - break; - } - case 66: { - LastName = input.ReadString(); - break; - } - case 72: { - F9 = input.ReadInt64(); - break; - } - case 88: { - F11 = input.ReadInt64(); - break; - } - case 96: { - F12 = input.ReadInt32(); - break; - } - case 104: { - F13 = input.ReadInt32(); - break; - } - case 112: { - F14 = input.ReadInt32(); - break; - } - case 120: { - F15 = input.ReadInt32(); - break; - } - case 128: { - F16 = input.ReadInt32(); - break; - } - case 138: { - F7Date = input.ReadString(); - break; - } - case 152: { - F19 = input.ReadInt32(); + plwF5_.AddEntriesFrom(input, _repeated_plwF5_codec); break; } } @@ -5410,6 +9930,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -5418,71 +9939,24 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - F1 = input.ReadInt64(); + PlayerId = input.ReadInt64(); break; } case 16: { - RiderId = input.ReadInt32(); + WorldTime = input.ReadInt64(); break; } case 24: { - F3 = input.ReadInt32(); + AnotherLogin = input.ReadBool(); break; } case 32: { - F4 = input.ReadInt64(); + PlwF4 = input.ReadBool(); break; } + case 42: case 40: { - F5 = input.ReadInt64(); - break; - } - case 48: { - F6 = input.ReadInt64(); - break; - } - case 58: { - FirstName = input.ReadString(); - break; - } - case 66: { - LastName = input.ReadString(); - break; - } - case 72: { - F9 = input.ReadInt64(); - break; - } - case 88: { - F11 = input.ReadInt64(); - break; - } - case 96: { - F12 = input.ReadInt32(); - break; - } - case 104: { - F13 = input.ReadInt32(); - break; - } - case 112: { - F14 = input.ReadInt32(); - break; - } - case 120: { - F15 = input.ReadInt32(); - break; - } - case 128: { - F16 = input.ReadInt32(); - break; - } - case 138: { - F7Date = input.ReadString(); - break; - } - case 152: { - F19 = input.ReadInt32(); + plwF5_.AddEntriesFrom(ref input, _repeated_plwF5_codec); break; } } @@ -5492,194 +9966,119 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class Chat : pb::IMessage + public sealed partial class PlayerRouteDistance : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Chat()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerRouteDistance()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[7]; } + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[16]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Chat() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerRouteDistance() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Chat(Chat other) : this() { - riderId_ = other.riderId_; - toRiderId_ = other.toRiderId_; - f3_ = other.f3_; - firstName_ = other.firstName_; - lastName_ = other.lastName_; - message_ = other.message_; - avatar_ = other.avatar_; - countryCode_ = other.countryCode_; - eventSubgroup_ = other.eventSubgroup_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerRouteDistance(PlayerRouteDistance other) : this() { + playerId_ = other.playerId_; + distanceCovered_ = other.distanceCovered_; + prdF3_ = other.prdF3_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Chat Clone() { - return new Chat(this); - } - - /// Field number for the "rider_id" field. - public const int RiderIdFieldNumber = 1; - private int riderId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int RiderId { - get { return riderId_; } - set { - riderId_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerRouteDistance Clone() { + return new PlayerRouteDistance(this); } - /// Field number for the "to_rider_id" field. - public const int ToRiderIdFieldNumber = 2; - private int toRiderId_; - /// - /// 0 if public message - /// + /// Field number for the "player_id" field. + public const int PlayerIdFieldNumber = 1; + private int playerId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int ToRiderId { - get { return toRiderId_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlayerId { + get { return playerId_; } set { - toRiderId_ = value; + playerId_ = value; } } - /// Field number for the "f3" field. - public const int F3FieldNumber = 3; - private int f3_; + /// Field number for the "distance_covered" field. + public const int DistanceCoveredFieldNumber = 2; + private float distanceCovered_; /// - /// always value 1 ? + ///not sure /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F3 { - get { return f3_; } - set { - f3_ = value; - } - } - - /// Field number for the "firstName" field. - public const int FirstNameFieldNumber = 4; - private string firstName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string FirstName { - get { return firstName_; } - set { - firstName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "lastName" field. - public const int LastNameFieldNumber = 5; - private string lastName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string LastName { - get { return lastName_; } - set { - lastName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "message" field. - public const int MessageFieldNumber = 6; - private string message_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Message { - get { return message_; } - set { - message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "avatar" field. - public const int AvatarFieldNumber = 7; - private string avatar_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Avatar { - get { return avatar_; } - set { - avatar_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "countryCode" field. - public const int CountryCodeFieldNumber = 8; - private int countryCode_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CountryCode { - get { return countryCode_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float DistanceCovered { + get { return distanceCovered_; } set { - countryCode_ = value; + distanceCovered_ = value; } } - /// Field number for the "eventSubgroup" field. - public const int EventSubgroupFieldNumber = 11; - private int eventSubgroup_; + /// Field number for the "prd_f3" field. + public const int PrdF3FieldNumber = 3; + private int prdF3_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int EventSubgroup { - get { return eventSubgroup_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PrdF3 { + get { return prdF3_; } set { - eventSubgroup_ = value; + prdF3_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as Chat); + return Equals(other as PlayerRouteDistance); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(Chat other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerRouteDistance other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (RiderId != other.RiderId) return false; - if (ToRiderId != other.ToRiderId) return false; - if (F3 != other.F3) return false; - if (FirstName != other.FirstName) return false; - if (LastName != other.LastName) return false; - if (Message != other.Message) return false; - if (Avatar != other.Avatar) return false; - if (CountryCode != other.CountryCode) return false; - if (EventSubgroup != other.EventSubgroup) return false; + if (PlayerId != other.PlayerId) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DistanceCovered, other.DistanceCovered)) return false; + if (PrdF3 != other.PrdF3) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (RiderId != 0) hash ^= RiderId.GetHashCode(); - if (ToRiderId != 0) hash ^= ToRiderId.GetHashCode(); - if (F3 != 0) hash ^= F3.GetHashCode(); - if (FirstName.Length != 0) hash ^= FirstName.GetHashCode(); - if (LastName.Length != 0) hash ^= LastName.GetHashCode(); - if (Message.Length != 0) hash ^= Message.GetHashCode(); - if (Avatar.Length != 0) hash ^= Avatar.GetHashCode(); - if (CountryCode != 0) hash ^= CountryCode.GetHashCode(); - if (EventSubgroup != 0) hash ^= EventSubgroup.GetHashCode(); + if (PlayerId != 0) hash ^= PlayerId.GetHashCode(); + if (DistanceCovered != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DistanceCovered); + if (PrdF3 != 0) hash ^= PrdF3.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -5687,50 +10086,28 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (RiderId != 0) { + if (PlayerId != 0) { output.WriteRawTag(8); - output.WriteInt32(RiderId); + output.WriteInt32(PlayerId); } - if (ToRiderId != 0) { - output.WriteRawTag(16); - output.WriteInt32(ToRiderId); + if (DistanceCovered != 0F) { + output.WriteRawTag(21); + output.WriteFloat(DistanceCovered); } - if (F3 != 0) { + if (PrdF3 != 0) { output.WriteRawTag(24); - output.WriteInt32(F3); - } - if (FirstName.Length != 0) { - output.WriteRawTag(34); - output.WriteString(FirstName); - } - if (LastName.Length != 0) { - output.WriteRawTag(42); - output.WriteString(LastName); - } - if (Message.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Message); - } - if (Avatar.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Avatar); - } - if (CountryCode != 0) { - output.WriteRawTag(64); - output.WriteInt32(CountryCode); - } - if (EventSubgroup != 0) { - output.WriteRawTag(88); - output.WriteInt32(EventSubgroup); + output.WriteInt32(PrdF3); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -5740,42 +10117,19 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (RiderId != 0) { - output.WriteRawTag(8); - output.WriteInt32(RiderId); - } - if (ToRiderId != 0) { - output.WriteRawTag(16); - output.WriteInt32(ToRiderId); - } - if (F3 != 0) { - output.WriteRawTag(24); - output.WriteInt32(F3); - } - if (FirstName.Length != 0) { - output.WriteRawTag(34); - output.WriteString(FirstName); - } - if (LastName.Length != 0) { - output.WriteRawTag(42); - output.WriteString(LastName); - } - if (Message.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Message); - } - if (Avatar.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Avatar); + if (PlayerId != 0) { + output.WriteRawTag(8); + output.WriteInt32(PlayerId); } - if (CountryCode != 0) { - output.WriteRawTag(64); - output.WriteInt32(CountryCode); + if (DistanceCovered != 0F) { + output.WriteRawTag(21); + output.WriteFloat(DistanceCovered); } - if (EventSubgroup != 0) { - output.WriteRawTag(88); - output.WriteInt32(EventSubgroup); + if (PrdF3 != 0) { + output.WriteRawTag(24); + output.WriteInt32(PrdF3); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -5784,34 +10138,17 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (RiderId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RiderId); - } - if (ToRiderId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToRiderId); - } - if (F3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F3); - } - if (FirstName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FirstName); - } - if (LastName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(LastName); - } - if (Message.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); - } - if (Avatar.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Avatar); + if (PlayerId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerId); } - if (CountryCode != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CountryCode); + if (DistanceCovered != 0F) { + size += 1 + 4; } - if (EventSubgroup != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EventSubgroup); + if (PrdF3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PrdF3); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -5820,41 +10157,25 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(Chat other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerRouteDistance other) { if (other == null) { return; } - if (other.RiderId != 0) { - RiderId = other.RiderId; - } - if (other.ToRiderId != 0) { - ToRiderId = other.ToRiderId; - } - if (other.F3 != 0) { - F3 = other.F3; - } - if (other.FirstName.Length != 0) { - FirstName = other.FirstName; - } - if (other.LastName.Length != 0) { - LastName = other.LastName; - } - if (other.Message.Length != 0) { - Message = other.Message; - } - if (other.Avatar.Length != 0) { - Avatar = other.Avatar; + if (other.PlayerId != 0) { + PlayerId = other.PlayerId; } - if (other.CountryCode != 0) { - CountryCode = other.CountryCode; + if (other.DistanceCovered != 0F) { + DistanceCovered = other.DistanceCovered; } - if (other.EventSubgroup != 0) { - EventSubgroup = other.EventSubgroup; + if (other.PrdF3 != 0) { + PrdF3 = other.PrdF3; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -5866,39 +10187,15 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - RiderId = input.ReadInt32(); + PlayerId = input.ReadInt32(); break; } - case 16: { - ToRiderId = input.ReadInt32(); + case 21: { + DistanceCovered = input.ReadFloat(); break; } case 24: { - F3 = input.ReadInt32(); - break; - } - case 34: { - FirstName = input.ReadString(); - break; - } - case 42: { - LastName = input.ReadString(); - break; - } - case 50: { - Message = input.ReadString(); - break; - } - case 58: { - Avatar = input.ReadString(); - break; - } - case 64: { - CountryCode = input.ReadInt32(); - break; - } - case 88: { - EventSubgroup = input.ReadInt32(); + PrdF3 = input.ReadInt32(); break; } } @@ -5908,6 +10205,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -5916,39 +10214,15 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - RiderId = input.ReadInt32(); + PlayerId = input.ReadInt32(); break; } - case 16: { - ToRiderId = input.ReadInt32(); + case 21: { + DistanceCovered = input.ReadFloat(); break; } case 24: { - F3 = input.ReadInt32(); - break; - } - case 34: { - FirstName = input.ReadString(); - break; - } - case 42: { - LastName = input.ReadString(); - break; - } - case 50: { - Message = input.ReadString(); - break; - } - case 58: { - Avatar = input.ReadString(); - break; - } - case 64: { - CountryCode = input.ReadInt32(); - break; - } - case 88: { - EventSubgroup = input.ReadInt32(); + PrdF3 = input.ReadInt32(); break; } } @@ -5958,132 +10232,205 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class RideOn : pb::IMessage + public sealed partial class EventSubgroupPlacements : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RideOn()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EventSubgroupPlacements()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[8]; } + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[17]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RideOn() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventSubgroupPlacements() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RideOn(RideOn other) : this() { - riderId_ = other.riderId_; - toRiderId_ = other.toRiderId_; - firstName_ = other.firstName_; - lastName_ = other.lastName_; - countryCode_ = other.countryCode_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventSubgroupPlacements(EventSubgroupPlacements other) : this() { + position_ = other.position_; + playerRd1_ = other.playerRd1_.Clone(); + playerRd2_ = other.playerRd2_.Clone(); + eventRiderPosition_ = other.eventRiderPosition_.Clone(); + playerRd4_ = other.playerRd4_.Clone(); + eventTotalRiders_ = other.eventTotalRiders_; + bikeNetworkId_ = other.bikeNetworkId_; + espF8_ = other.espF8_; + espF9_ = other.espF9_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RideOn Clone() { - return new RideOn(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventSubgroupPlacements Clone() { + return new EventSubgroupPlacements(this); } - /// Field number for the "rider_id" field. - public const int RiderIdFieldNumber = 1; - private int riderId_; + /// Field number for the "position" field. + public const int PositionFieldNumber = 1; + private int position_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int RiderId { - get { return riderId_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Position { + get { return position_; } set { - riderId_ = value; + position_ = value; } } - /// Field number for the "to_rider_id" field. - public const int ToRiderIdFieldNumber = 2; - private int toRiderId_; + /// Field number for the "player_rd1" field. + public const int PlayerRd1FieldNumber = 2; + private static readonly pb::FieldCodec _repeated_playerRd1_codec + = pb::FieldCodec.ForMessage(18, global::ZwiftPacketMonitor.PlayerRouteDistance.Parser); + private readonly pbc::RepeatedField playerRd1_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PlayerRd1 { + get { return playerRd1_; } + } + + /// Field number for the "player_rd2" field. + public const int PlayerRd2FieldNumber = 3; + private static readonly pb::FieldCodec _repeated_playerRd2_codec + = pb::FieldCodec.ForMessage(26, global::ZwiftPacketMonitor.PlayerRouteDistance.Parser); + private readonly pbc::RepeatedField playerRd2_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PlayerRd2 { + get { return playerRd2_; } + } + + /// Field number for the "eventRiderPosition" field. + public const int EventRiderPositionFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_eventRiderPosition_codec + = pb::FieldCodec.ForMessage(34, global::ZwiftPacketMonitor.PlayerRouteDistance.Parser); + private readonly pbc::RepeatedField eventRiderPosition_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField EventRiderPosition { + get { return eventRiderPosition_; } + } + + /// Field number for the "player_rd4" field. + public const int PlayerRd4FieldNumber = 5; + private static readonly pb::FieldCodec _repeated_playerRd4_codec + = pb::FieldCodec.ForMessage(42, global::ZwiftPacketMonitor.PlayerRouteDistance.Parser); + private readonly pbc::RepeatedField playerRd4_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int ToRiderId { - get { return toRiderId_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PlayerRd4 { + get { return playerRd4_; } + } + + /// Field number for the "eventTotalRiders" field. + public const int EventTotalRidersFieldNumber = 6; + private int eventTotalRiders_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EventTotalRiders { + get { return eventTotalRiders_; } set { - toRiderId_ = value; + eventTotalRiders_ = value; } } - /// Field number for the "firstName" field. - public const int FirstNameFieldNumber = 3; - private string firstName_ = ""; + /// Field number for the "bikeNetworkId" field. + public const int BikeNetworkIdFieldNumber = 7; + private int bikeNetworkId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string FirstName { - get { return firstName_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BikeNetworkId { + get { return bikeNetworkId_; } set { - firstName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + bikeNetworkId_ = value; } } - /// Field number for the "lastName" field. - public const int LastNameFieldNumber = 4; - private string lastName_ = ""; + /// Field number for the "esp_f8" field. + public const int EspF8FieldNumber = 8; + private int espF8_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string LastName { - get { return lastName_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EspF8 { + get { return espF8_; } set { - lastName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + espF8_ = value; } } - /// Field number for the "countryCode" field. - public const int CountryCodeFieldNumber = 5; - private int countryCode_; + /// Field number for the "esp_f9" field. + public const int EspF9FieldNumber = 9; + private float espF9_; + /// + ///or fixed + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CountryCode { - get { return countryCode_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float EspF9 { + get { return espF9_; } set { - countryCode_ = value; + espF9_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as RideOn); + return Equals(other as EventSubgroupPlacements); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(RideOn other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EventSubgroupPlacements other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (RiderId != other.RiderId) return false; - if (ToRiderId != other.ToRiderId) return false; - if (FirstName != other.FirstName) return false; - if (LastName != other.LastName) return false; - if (CountryCode != other.CountryCode) return false; + if (Position != other.Position) return false; + if(!playerRd1_.Equals(other.playerRd1_)) return false; + if(!playerRd2_.Equals(other.playerRd2_)) return false; + if(!eventRiderPosition_.Equals(other.eventRiderPosition_)) return false; + if(!playerRd4_.Equals(other.playerRd4_)) return false; + if (EventTotalRiders != other.EventTotalRiders) return false; + if (BikeNetworkId != other.BikeNetworkId) return false; + if (EspF8 != other.EspF8) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(EspF9, other.EspF9)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (RiderId != 0) hash ^= RiderId.GetHashCode(); - if (ToRiderId != 0) hash ^= ToRiderId.GetHashCode(); - if (FirstName.Length != 0) hash ^= FirstName.GetHashCode(); - if (LastName.Length != 0) hash ^= LastName.GetHashCode(); - if (CountryCode != 0) hash ^= CountryCode.GetHashCode(); + if (Position != 0) hash ^= Position.GetHashCode(); + hash ^= playerRd1_.GetHashCode(); + hash ^= playerRd2_.GetHashCode(); + hash ^= eventRiderPosition_.GetHashCode(); + hash ^= playerRd4_.GetHashCode(); + if (EventTotalRiders != 0) hash ^= EventTotalRiders.GetHashCode(); + if (BikeNetworkId != 0) hash ^= BikeNetworkId.GetHashCode(); + if (EspF8 != 0) hash ^= EspF8.GetHashCode(); + if (EspF9 != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(EspF9); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6091,34 +10438,40 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (RiderId != 0) { + if (Position != 0) { output.WriteRawTag(8); - output.WriteInt32(RiderId); + output.WriteInt32(Position); } - if (ToRiderId != 0) { - output.WriteRawTag(16); - output.WriteInt32(ToRiderId); + playerRd1_.WriteTo(output, _repeated_playerRd1_codec); + playerRd2_.WriteTo(output, _repeated_playerRd2_codec); + eventRiderPosition_.WriteTo(output, _repeated_eventRiderPosition_codec); + playerRd4_.WriteTo(output, _repeated_playerRd4_codec); + if (EventTotalRiders != 0) { + output.WriteRawTag(48); + output.WriteInt32(EventTotalRiders); } - if (FirstName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(FirstName); + if (BikeNetworkId != 0) { + output.WriteRawTag(56); + output.WriteInt32(BikeNetworkId); } - if (LastName.Length != 0) { - output.WriteRawTag(34); - output.WriteString(LastName); + if (EspF8 != 0) { + output.WriteRawTag(64); + output.WriteInt32(EspF8); } - if (CountryCode != 0) { - output.WriteRawTag(40); - output.WriteInt32(CountryCode); + if (EspF9 != 0F) { + output.WriteRawTag(77); + output.WriteFloat(EspF9); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -6128,26 +10481,31 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (RiderId != 0) { + if (Position != 0) { output.WriteRawTag(8); - output.WriteInt32(RiderId); + output.WriteInt32(Position); } - if (ToRiderId != 0) { - output.WriteRawTag(16); - output.WriteInt32(ToRiderId); + playerRd1_.WriteTo(ref output, _repeated_playerRd1_codec); + playerRd2_.WriteTo(ref output, _repeated_playerRd2_codec); + eventRiderPosition_.WriteTo(ref output, _repeated_eventRiderPosition_codec); + playerRd4_.WriteTo(ref output, _repeated_playerRd4_codec); + if (EventTotalRiders != 0) { + output.WriteRawTag(48); + output.WriteInt32(EventTotalRiders); } - if (FirstName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(FirstName); + if (BikeNetworkId != 0) { + output.WriteRawTag(56); + output.WriteInt32(BikeNetworkId); } - if (LastName.Length != 0) { - output.WriteRawTag(34); - output.WriteString(LastName); + if (EspF8 != 0) { + output.WriteRawTag(64); + output.WriteInt32(EspF8); } - if (CountryCode != 0) { - output.WriteRawTag(40); - output.WriteInt32(CountryCode); + if (EspF9 != 0F) { + output.WriteRawTag(77); + output.WriteFloat(EspF9); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -6156,22 +10514,27 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (RiderId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RiderId); + if (Position != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Position); } - if (ToRiderId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToRiderId); + size += playerRd1_.CalculateSize(_repeated_playerRd1_codec); + size += playerRd2_.CalculateSize(_repeated_playerRd2_codec); + size += eventRiderPosition_.CalculateSize(_repeated_eventRiderPosition_codec); + size += playerRd4_.CalculateSize(_repeated_playerRd4_codec); + if (EventTotalRiders != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EventTotalRiders); } - if (FirstName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FirstName); + if (BikeNetworkId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BikeNetworkId); } - if (LastName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(LastName); + if (EspF8 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EspF8); } - if (CountryCode != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CountryCode); + if (EspF9 != 0F) { + size += 1 + 4; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -6180,29 +10543,35 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(RideOn other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EventSubgroupPlacements other) { if (other == null) { return; } - if (other.RiderId != 0) { - RiderId = other.RiderId; + if (other.Position != 0) { + Position = other.Position; } - if (other.ToRiderId != 0) { - ToRiderId = other.ToRiderId; + playerRd1_.Add(other.playerRd1_); + playerRd2_.Add(other.playerRd2_); + eventRiderPosition_.Add(other.eventRiderPosition_); + playerRd4_.Add(other.playerRd4_); + if (other.EventTotalRiders != 0) { + EventTotalRiders = other.EventTotalRiders; } - if (other.FirstName.Length != 0) { - FirstName = other.FirstName; + if (other.BikeNetworkId != 0) { + BikeNetworkId = other.BikeNetworkId; } - if (other.LastName.Length != 0) { - LastName = other.LastName; + if (other.EspF8 != 0) { + EspF8 = other.EspF8; } - if (other.CountryCode != 0) { - CountryCode = other.CountryCode; + if (other.EspF9 != 0F) { + EspF9 = other.EspF9; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -6214,23 +10583,39 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - RiderId = input.ReadInt32(); + Position = input.ReadInt32(); break; } - case 16: { - ToRiderId = input.ReadInt32(); + case 18: { + playerRd1_.AddEntriesFrom(input, _repeated_playerRd1_codec); break; } case 26: { - FirstName = input.ReadString(); + playerRd2_.AddEntriesFrom(input, _repeated_playerRd2_codec); break; } case 34: { - LastName = input.ReadString(); + eventRiderPosition_.AddEntriesFrom(input, _repeated_eventRiderPosition_codec); break; } - case 40: { - CountryCode = input.ReadInt32(); + case 42: { + playerRd4_.AddEntriesFrom(input, _repeated_playerRd4_codec); + break; + } + case 48: { + EventTotalRiders = input.ReadInt32(); + break; + } + case 56: { + BikeNetworkId = input.ReadInt32(); + break; + } + case 64: { + EspF8 = input.ReadInt32(); + break; + } + case 77: { + EspF9 = input.ReadFloat(); break; } } @@ -6240,6 +10625,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -6248,23 +10634,39 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - RiderId = input.ReadInt32(); + Position = input.ReadInt32(); break; } - case 16: { - ToRiderId = input.ReadInt32(); + case 18: { + playerRd1_.AddEntriesFrom(ref input, _repeated_playerRd1_codec); break; } case 26: { - FirstName = input.ReadString(); + playerRd2_.AddEntriesFrom(ref input, _repeated_playerRd2_codec); break; } case 34: { - LastName = input.ReadString(); + eventRiderPosition_.AddEntriesFrom(ref input, _repeated_eventRiderPosition_codec); break; } - case 40: { - CountryCode = input.ReadInt32(); + case 42: { + playerRd4_.AddEntriesFrom(ref input, _repeated_playerRd4_codec); + break; + } + case 48: { + EventTotalRiders = input.ReadInt32(); + break; + } + case 56: { + BikeNetworkId = input.ReadInt32(); + break; + } + case 64: { + EspF8 = input.ReadInt32(); + break; + } + case 77: { + EspF9 = input.ReadFloat(); break; } } @@ -6274,90 +10676,131 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class Payload2 : pb::IMessage + public sealed partial class PlayerSummary : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Payload2()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerSummary()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[9]; } + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[18]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Payload2() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerSummary() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Payload2(Payload2 other) : this() { - f1_ = other.f1_; - f2_ = other.f2_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerSummary(PlayerSummary other) : this() { + plsuF1_ = other.plsuF1_; + plsuF2_ = other.plsuF2_; + plsuF3_ = other.plsuF3_; + plsuF4_ = other.plsuF4_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerSummary Clone() { + return new PlayerSummary(this); + } + + /// Field number for the "plsu_f1" field. + public const int PlsuF1FieldNumber = 1; + private int plsuF1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlsuF1 { + get { return plsuF1_; } + set { + plsuF1_ = value; + } } + /// Field number for the "plsu_f2" field. + public const int PlsuF2FieldNumber = 2; + private int plsuF2_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Payload2 Clone() { - return new Payload2(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlsuF2 { + get { return plsuF2_; } + set { + plsuF2_ = value; + } } - /// Field number for the "f1" field. - public const int F1FieldNumber = 1; - private int f1_; + /// Field number for the "plsu_f3" field. + public const int PlsuF3FieldNumber = 3; + private int plsuF3_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F1 { - get { return f1_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlsuF3 { + get { return plsuF3_; } set { - f1_ = value; + plsuF3_ = value; } } - /// Field number for the "f2" field. - public const int F2FieldNumber = 2; - private long f2_; + /// Field number for the "plsu_f4" field. + public const int PlsuF4FieldNumber = 4; + private int plsuF4_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long F2 { - get { return f2_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlsuF4 { + get { return plsuF4_; } set { - f2_ = value; + plsuF4_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as Payload2); + return Equals(other as PlayerSummary); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(Payload2 other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerSummary other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (F1 != other.F1) return false; - if (F2 != other.F2) return false; + if (PlsuF1 != other.PlsuF1) return false; + if (PlsuF2 != other.PlsuF2) return false; + if (PlsuF3 != other.PlsuF3) return false; + if (PlsuF4 != other.PlsuF4) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (F1 != 0) hash ^= F1.GetHashCode(); - if (F2 != 0L) hash ^= F2.GetHashCode(); + if (PlsuF1 != 0) hash ^= PlsuF1.GetHashCode(); + if (PlsuF2 != 0) hash ^= PlsuF2.GetHashCode(); + if (PlsuF3 != 0) hash ^= PlsuF3.GetHashCode(); + if (PlsuF4 != 0) hash ^= PlsuF4.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6365,22 +10808,32 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (F1 != 0) { + if (PlsuF1 != 0) { output.WriteRawTag(8); - output.WriteInt32(F1); + output.WriteInt32(PlsuF1); } - if (F2 != 0L) { + if (PlsuF2 != 0) { output.WriteRawTag(16); - output.WriteInt64(F2); + output.WriteInt32(PlsuF2); + } + if (PlsuF3 != 0) { + output.WriteRawTag(24); + output.WriteInt32(PlsuF3); + } + if (PlsuF4 != 0) { + output.WriteRawTag(32); + output.WriteInt32(PlsuF4); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -6390,14 +10843,23 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (F1 != 0) { + if (PlsuF1 != 0) { output.WriteRawTag(8); - output.WriteInt32(F1); + output.WriteInt32(PlsuF1); } - if (F2 != 0L) { + if (PlsuF2 != 0) { output.WriteRawTag(16); - output.WriteInt64(F2); + output.WriteInt32(PlsuF2); + } + if (PlsuF3 != 0) { + output.WriteRawTag(24); + output.WriteInt32(PlsuF3); + } + if (PlsuF4 != 0) { + output.WriteRawTag(32); + output.WriteInt32(PlsuF4); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -6406,13 +10868,20 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (F1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F1); + if (PlsuF1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlsuF1); + } + if (PlsuF2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlsuF2); } - if (F2 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(F2); + if (PlsuF3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlsuF3); + } + if (PlsuF4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlsuF4); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -6421,20 +10890,28 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(Payload2 other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerSummary other) { if (other == null) { return; } - if (other.F1 != 0) { - F1 = other.F1; + if (other.PlsuF1 != 0) { + PlsuF1 = other.PlsuF1; + } + if (other.PlsuF2 != 0) { + PlsuF2 = other.PlsuF2; } - if (other.F2 != 0L) { - F2 = other.F2; + if (other.PlsuF3 != 0) { + PlsuF3 = other.PlsuF3; + } + if (other.PlsuF4 != 0) { + PlsuF4 = other.PlsuF4; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -6446,11 +10923,19 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - F1 = input.ReadInt32(); + PlsuF1 = input.ReadInt32(); break; } case 16: { - F2 = input.ReadInt64(); + PlsuF2 = input.ReadInt32(); + break; + } + case 24: { + PlsuF3 = input.ReadInt32(); + break; + } + case 32: { + PlsuF4 = input.ReadInt32(); break; } } @@ -6460,6 +10945,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -6468,11 +10954,19 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - F1 = input.ReadInt32(); + PlsuF1 = input.ReadInt32(); break; } case 16: { - F2 = input.ReadInt64(); + PlsuF2 = input.ReadInt32(); + break; + } + case 24: { + PlsuF3 = input.ReadInt32(); + break; + } + case 32: { + PlsuF4 = input.ReadInt32(); break; } } @@ -6482,104 +10976,196 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class TimeSync : pb::IMessage + public sealed partial class PlayerSummaries : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TimeSync()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerSummaries()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[10]; } + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[19]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public TimeSync() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerSummaries() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public TimeSync(TimeSync other) : this() { - riderId_ = other.riderId_; - worldTime_ = other.worldTime_; - f3_ = other.f3_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerSummaries(PlayerSummaries other) : this() { + plsusF1_ = other.plsusF1_; + plsusF2_ = other.plsusF2_; + plsusF3_ = other.plsusF3_; + plsusF4_ = other.plsusF4_; + plsusF5_ = other.plsusF5_; + plsusF6_ = other.plsusF6_; + plsusF7_ = other.plsusF7_; + playerSummaries_ = other.playerSummaries_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public TimeSync Clone() { - return new TimeSync(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerSummaries Clone() { + return new PlayerSummaries(this); } - /// Field number for the "rider_id" field. - public const int RiderIdFieldNumber = 1; - private int riderId_; + /// Field number for the "plsus_f1" field. + public const int PlsusF1FieldNumber = 1; + private long plsusF1_; + /// + ///stored as int32 + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int RiderId { - get { return riderId_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long PlsusF1 { + get { return plsusF1_; } set { - riderId_ = value; + plsusF1_ = value; } } - /// Field number for the "world_time" field. - public const int WorldTimeFieldNumber = 2; - private long worldTime_; + /// Field number for the "plsus_f2" field. + public const int PlsusF2FieldNumber = 2; + private long plsusF2_; + /// + ///stored as int32 + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long WorldTime { - get { return worldTime_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long PlsusF2 { + get { return plsusF2_; } set { - worldTime_ = value; + plsusF2_ = value; + } + } + + /// Field number for the "plsus_f3" field. + public const int PlsusF3FieldNumber = 3; + private int plsusF3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlsusF3 { + get { return plsusF3_; } + set { + plsusF3_ = value; + } + } + + /// Field number for the "plsus_f4" field. + public const int PlsusF4FieldNumber = 4; + private int plsusF4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlsusF4 { + get { return plsusF4_; } + set { + plsusF4_ = value; + } + } + + /// Field number for the "plsus_f5" field. + public const int PlsusF5FieldNumber = 5; + private int plsusF5_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlsusF5 { + get { return plsusF5_; } + set { + plsusF5_ = value; + } + } + + /// Field number for the "plsus_f6" field. + public const int PlsusF6FieldNumber = 6; + private int plsusF6_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlsusF6 { + get { return plsusF6_; } + set { + plsusF6_ = value; } } - /// Field number for the "f3" field. - public const int F3FieldNumber = 3; - private int f3_; + /// Field number for the "plsus_f7" field. + public const int PlsusF7FieldNumber = 7; + private int plsusF7_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F3 { - get { return f3_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlsusF7 { + get { return plsusF7_; } set { - f3_ = value; + plsusF7_ = value; } } + /// Field number for the "player_summaries" field. + public const int PlayerSummaries_FieldNumber = 8; + private static readonly pb::FieldCodec _repeated_playerSummaries_codec + = pb::FieldCodec.ForMessage(66, global::ZwiftPacketMonitor.PlayerSummary.Parser); + private readonly pbc::RepeatedField playerSummaries_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PlayerSummaries_ { + get { return playerSummaries_; } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as TimeSync); + return Equals(other as PlayerSummaries); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(TimeSync other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerSummaries other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (RiderId != other.RiderId) return false; - if (WorldTime != other.WorldTime) return false; - if (F3 != other.F3) return false; + if (PlsusF1 != other.PlsusF1) return false; + if (PlsusF2 != other.PlsusF2) return false; + if (PlsusF3 != other.PlsusF3) return false; + if (PlsusF4 != other.PlsusF4) return false; + if (PlsusF5 != other.PlsusF5) return false; + if (PlsusF6 != other.PlsusF6) return false; + if (PlsusF7 != other.PlsusF7) return false; + if(!playerSummaries_.Equals(other.playerSummaries_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (RiderId != 0) hash ^= RiderId.GetHashCode(); - if (WorldTime != 0L) hash ^= WorldTime.GetHashCode(); - if (F3 != 0) hash ^= F3.GetHashCode(); + if (PlsusF1 != 0L) hash ^= PlsusF1.GetHashCode(); + if (PlsusF2 != 0L) hash ^= PlsusF2.GetHashCode(); + if (PlsusF3 != 0) hash ^= PlsusF3.GetHashCode(); + if (PlsusF4 != 0) hash ^= PlsusF4.GetHashCode(); + if (PlsusF5 != 0) hash ^= PlsusF5.GetHashCode(); + if (PlsusF6 != 0) hash ^= PlsusF6.GetHashCode(); + if (PlsusF7 != 0) hash ^= PlsusF7.GetHashCode(); + hash ^= playerSummaries_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6587,27 +11173,46 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (RiderId != 0) { + if (PlsusF1 != 0L) { output.WriteRawTag(8); - output.WriteInt32(RiderId); + output.WriteSInt64(PlsusF1); } - if (WorldTime != 0L) { + if (PlsusF2 != 0L) { output.WriteRawTag(16); - output.WriteInt64(WorldTime); + output.WriteSInt64(PlsusF2); } - if (F3 != 0) { + if (PlsusF3 != 0) { output.WriteRawTag(24); - output.WriteInt32(F3); + output.WriteSInt32(PlsusF3); + } + if (PlsusF4 != 0) { + output.WriteRawTag(32); + output.WriteSInt32(PlsusF4); + } + if (PlsusF5 != 0) { + output.WriteRawTag(40); + output.WriteInt32(PlsusF5); + } + if (PlsusF6 != 0) { + output.WriteRawTag(48); + output.WriteInt32(PlsusF6); + } + if (PlsusF7 != 0) { + output.WriteRawTag(56); + output.WriteInt32(PlsusF7); } + playerSummaries_.WriteTo(output, _repeated_playerSummaries_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -6616,19 +11221,37 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (RiderId != 0) { + if (PlsusF1 != 0L) { output.WriteRawTag(8); - output.WriteInt32(RiderId); + output.WriteSInt64(PlsusF1); } - if (WorldTime != 0L) { + if (PlsusF2 != 0L) { output.WriteRawTag(16); - output.WriteInt64(WorldTime); + output.WriteSInt64(PlsusF2); } - if (F3 != 0) { + if (PlsusF3 != 0) { output.WriteRawTag(24); - output.WriteInt32(F3); + output.WriteSInt32(PlsusF3); + } + if (PlsusF4 != 0) { + output.WriteRawTag(32); + output.WriteSInt32(PlsusF4); + } + if (PlsusF5 != 0) { + output.WriteRawTag(40); + output.WriteInt32(PlsusF5); + } + if (PlsusF6 != 0) { + output.WriteRawTag(48); + output.WriteInt32(PlsusF6); + } + if (PlsusF7 != 0) { + output.WriteRawTag(56); + output.WriteInt32(PlsusF7); } + playerSummaries_.WriteTo(ref output, _repeated_playerSummaries_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -6636,17 +11259,31 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (RiderId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RiderId); + if (PlsusF1 != 0L) { + size += 1 + pb::CodedOutputStream.ComputeSInt64Size(PlsusF1); } - if (WorldTime != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(WorldTime); + if (PlsusF2 != 0L) { + size += 1 + pb::CodedOutputStream.ComputeSInt64Size(PlsusF2); + } + if (PlsusF3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeSInt32Size(PlsusF3); + } + if (PlsusF4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeSInt32Size(PlsusF4); + } + if (PlsusF5 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlsusF5); } - if (F3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F3); + if (PlsusF6 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlsusF6); } + if (PlsusF7 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlsusF7); + } + size += playerSummaries_.CalculateSize(_repeated_playerSummaries_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -6654,23 +11291,38 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(TimeSync other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerSummaries other) { if (other == null) { return; } - if (other.RiderId != 0) { - RiderId = other.RiderId; + if (other.PlsusF1 != 0L) { + PlsusF1 = other.PlsusF1; } - if (other.WorldTime != 0L) { - WorldTime = other.WorldTime; + if (other.PlsusF2 != 0L) { + PlsusF2 = other.PlsusF2; + } + if (other.PlsusF3 != 0) { + PlsusF3 = other.PlsusF3; } - if (other.F3 != 0) { - F3 = other.F3; + if (other.PlsusF4 != 0) { + PlsusF4 = other.PlsusF4; } + if (other.PlsusF5 != 0) { + PlsusF5 = other.PlsusF5; + } + if (other.PlsusF6 != 0) { + PlsusF6 = other.PlsusF6; + } + if (other.PlsusF7 != 0) { + PlsusF7 = other.PlsusF7; + } + playerSummaries_.Add(other.playerSummaries_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -6682,15 +11334,35 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - RiderId = input.ReadInt32(); + PlsusF1 = input.ReadSInt64(); break; } case 16: { - WorldTime = input.ReadInt64(); + PlsusF2 = input.ReadSInt64(); break; } case 24: { - F3 = input.ReadInt32(); + PlsusF3 = input.ReadSInt32(); + break; + } + case 32: { + PlsusF4 = input.ReadSInt32(); + break; + } + case 40: { + PlsusF5 = input.ReadInt32(); + break; + } + case 48: { + PlsusF6 = input.ReadInt32(); + break; + } + case 56: { + PlsusF7 = input.ReadInt32(); + break; + } + case 66: { + playerSummaries_.AddEntriesFrom(input, _repeated_playerSummaries_codec); break; } } @@ -6700,6 +11372,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -6708,15 +11381,35 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - RiderId = input.ReadInt32(); + PlsusF1 = input.ReadSInt64(); break; } case 16: { - WorldTime = input.ReadInt64(); + PlsusF2 = input.ReadSInt64(); break; } case 24: { - F3 = input.ReadInt32(); + PlsusF3 = input.ReadSInt32(); + break; + } + case 32: { + PlsusF4 = input.ReadSInt32(); + break; + } + case 40: { + PlsusF5 = input.ReadInt32(); + break; + } + case 48: { + PlsusF6 = input.ReadInt32(); + break; + } + case 56: { + PlsusF7 = input.ReadInt32(); + break; + } + case 66: { + playerSummaries_.AddEntriesFrom(ref input, _repeated_playerSummaries_codec); break; } } @@ -6726,381 +11419,471 @@ public void MergeFrom(pb::CodedInputStream input) { } - /// - /// format to be determined - /// - public sealed partial class Payload110 : pb::IMessage + public sealed partial class ServerToClient : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Payload110()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ServerToClient()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[11]; } + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[20]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Payload110() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ServerToClient() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Payload110(Payload110 other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ServerToClient(ServerToClient other) : this() { + serverRealm_ = other.serverRealm_; + playerId_ = other.playerId_; + worldTime_ = other.worldTime_; + seqno_ = other.seqno_; + stcF5_ = other.stcF5_; + states_ = other.states_.Clone(); + playerUpdates_ = other.playerUpdates_.Clone(); + stcF10_ = other.stcF10_.Clone(); + stcF11_ = other.stcF11_; + zcLocalIp_ = other.zcLocalIp_; + stcF13_ = other.stcF13_; + zwifters_ = other.zwifters_; + zcLocalPort_ = other.zcLocalPort_; + zcProtocol_ = other.zcProtocol_; + stcF17_ = other.stcF17_; + numMsgs_ = other.numMsgs_; + msgnum_ = other.msgnum_; + hasSimultLogin_ = other.hasSimultLogin_; + playerSummaries_ = other.playerSummaries_ != null ? other.playerSummaries_.Clone() : null; + evSubgroupPs_ = other.evSubgroupPs_ != null ? other.evSubgroupPs_.Clone() : null; + udpConfig_ = other.udpConfig_ != null ? other.udpConfig_.Clone() : null; + udpConfigVod1_ = other.udpConfigVod1_ != null ? other.udpConfigVod1_.Clone() : null; + stcF26_ = other.stcF26_; + udpConfigVod2_ = other.udpConfigVod2_ != null ? other.udpConfigVod2_.Clone() : null; + playerStates_ = other.playerStates_.Clone(); + tcpConfig_ = other.tcpConfig_ != null ? other.tcpConfig_.Clone() : null; + ackSubsSegm_ = other.ackSubsSegm_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Payload110 Clone() { - return new Payload110(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as Payload110); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(Payload110 other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ServerToClient Clone() { + return new ServerToClient(this); } + /// Field number for the "server_realm" field. + public const int ServerRealmFieldNumber = 1; + private long serverRealm_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(Payload110 other) { - if (other == null) { - return; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ServerRealm { + get { return serverRealm_; } + set { + serverRealm_ = value; } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } + /// Field number for the "player_id" field. + public const int PlayerIdFieldNumber = 2; + private long playerId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long PlayerId { + get { return playerId_; } + set { + playerId_ = value; } - #endif } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + /// Field number for the "world_time" field. + public const int WorldTimeFieldNumber = 3; + private long worldTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long WorldTime { + get { return worldTime_; } + set { + worldTime_ = value; } } - #endif - - } - - /// - /// format to be determined - /// - public sealed partial class Payload109 : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Payload109()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[12]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } + /// Field number for the "seqno" field. + public const int SeqnoFieldNumber = 4; + private int seqno_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Payload109() { - OnConstruction(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Seqno { + get { return seqno_; } + set { + seqno_ = value; + } } - partial void OnConstruction(); + /// Field number for the "stc_f5" field. + public const int StcF5FieldNumber = 5; + private int stcF5_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StcF5 { + get { return stcF5_; } + set { + stcF5_ = value; + } + } + /// Field number for the "states" field. + public const int StatesFieldNumber = 8; + private static readonly pb::FieldCodec _repeated_states_codec + = pb::FieldCodec.ForMessage(66, global::ZwiftPacketMonitor.PlayerState.Parser); + private readonly pbc::RepeatedField states_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Payload109(Payload109 other) : this() { - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField States { + get { return states_; } } + /// Field number for the "player_updates" field. + public const int PlayerUpdatesFieldNumber = 9; + private static readonly pb::FieldCodec _repeated_playerUpdates_codec + = pb::FieldCodec.ForMessage(74, global::ZwiftPacketMonitor.WorldAttribute.Parser); + private readonly pbc::RepeatedField playerUpdates_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Payload109 Clone() { - return new Payload109(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PlayerUpdates { + get { return playerUpdates_; } } + /// Field number for the "stc_f10" field. + public const int StcF10FieldNumber = 10; + private static readonly pb::FieldCodec _repeated_stcF10_codec + = pb::FieldCodec.ForInt64(82); + private readonly pbc::RepeatedField stcF10_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as Payload109); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField StcF10 { + get { return stcF10_; } } + /// Field number for the "stc_f11" field. + public const int StcF11FieldNumber = 11; + private long stcF11_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(Payload109 other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long StcF11 { + get { return stcF11_; } + set { + stcF11_ = value; } - return Equals(_unknownFields, other._unknownFields); } + /// Field number for the "zc_local_ip" field. + public const int ZcLocalIpFieldNumber = 12; + private string zcLocalIp_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ZcLocalIp { + get { return zcLocalIp_; } + set { + zcLocalIp_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } - return hash; } + /// Field number for the "stc_f13" field. + public const int StcF13FieldNumber = 13; + private long stcF13_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long StcF13 { + get { return stcF13_; } + set { + stcF13_ = value; + } } + /// Field number for the "zwifters" field. + public const int ZwiftersFieldNumber = 14; + private int zwifters_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (_unknownFields != null) { - _unknownFields.WriteTo(output); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Zwifters { + get { return zwifters_; } + set { + zwifters_ = value; } - #endif } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + /// Field number for the "zc_local_port" field. + public const int ZcLocalPortFieldNumber = 15; + private int zcLocalPort_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ZcLocalPort { + get { return zcLocalPort_; } + set { + zcLocalPort_ = value; } } - #endif + /// Field number for the "zc_protocol" field. + public const int ZcProtocolFieldNumber = 16; + private global::ZwiftPacketMonitor.IPProtocol zcProtocol_ = global::ZwiftPacketMonitor.IPProtocol.IppUnk; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.IPProtocol ZcProtocol { + get { return zcProtocol_; } + set { + zcProtocol_ = value; } - return size; } + /// Field number for the "stc_f17" field. + public const int StcF17FieldNumber = 17; + private long stcF17_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(Payload109 other) { - if (other == null) { - return; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long StcF17 { + get { return stcF17_; } + set { + stcF17_ = value; } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } + /// Field number for the "num_msgs" field. + public const int NumMsgsFieldNumber = 18; + private int numMsgs_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NumMsgs { + get { return numMsgs_; } + set { + numMsgs_ = value; } - #endif } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + /// Field number for the "msgnum" field. + public const int MsgnumFieldNumber = 19; + private int msgnum_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Msgnum { + get { return msgnum_; } + set { + msgnum_ = value; } } - #endif - - } - public sealed partial class EventPositions : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EventPositions()); - private pb::UnknownFieldSet _unknownFields; + /// Field number for the "hasSimultLogin" field. + public const int HasSimultLoginFieldNumber = 20; + private bool hasSimultLogin_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSimultLogin { + get { return hasSimultLogin_; } + set { + hasSimultLogin_ = value; + } + } + /// Field number for the "player_summaries" field. + public const int PlayerSummariesFieldNumber = 21; + private global::ZwiftPacketMonitor.PlayerSummaries playerSummaries_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[13]; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.PlayerSummaries PlayerSummaries { + get { return playerSummaries_; } + set { + playerSummaries_ = value; + } } + /// Field number for the "ev_subgroup_ps" field. + public const int EvSubgroupPsFieldNumber = 23; + private global::ZwiftPacketMonitor.EventSubgroupPlacements evSubgroupPs_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.EventSubgroupPlacements EvSubgroupPs { + get { return evSubgroupPs_; } + set { + evSubgroupPs_ = value; + } } + /// Field number for the "udp_config" field. + public const int UdpConfigFieldNumber = 24; + private global::ZwiftPacketMonitor.UdpConfig udpConfig_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public EventPositions() { - OnConstruction(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.UdpConfig UdpConfig { + get { return udpConfig_; } + set { + udpConfig_ = value; + } } - partial void OnConstruction(); - + /// Field number for the "udp_config_vod_1" field. + public const int UdpConfigVod1FieldNumber = 25; + private global::ZwiftPacketMonitor.UdpConfigVOD udpConfigVod1_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public EventPositions(EventPositions other) : this() { - position_ = other.position_; - eventRiderPosition_ = other.eventRiderPosition_.Clone(); - numRiders_ = other.numRiders_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.UdpConfigVOD UdpConfigVod1 { + get { return udpConfigVod1_; } + set { + udpConfigVod1_ = value; + } } + /// Field number for the "stc_f26" field. + public const int StcF26FieldNumber = 26; + private int stcF26_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public EventPositions Clone() { - return new EventPositions(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StcF26 { + get { return stcF26_; } + set { + stcF26_ = value; + } } - /// Field number for the "position" field. - public const int PositionFieldNumber = 1; - private int position_; + /// Field number for the "udp_config_vod_2" field. + public const int UdpConfigVod2FieldNumber = 27; + private global::ZwiftPacketMonitor.UdpConfigVOD udpConfigVod2_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Position { - get { return position_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.UdpConfigVOD UdpConfigVod2 { + get { return udpConfigVod2_; } set { - position_ = value; + udpConfigVod2_ = value; } } - /// Field number for the "eventRiderPosition" field. - public const int EventRiderPositionFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_eventRiderPosition_codec - = pb::FieldCodec.ForMessage(34, global::ZwiftPacketMonitor.EventPositions.Types.EventRiderPosition.Parser); - private readonly pbc::RepeatedField eventRiderPosition_ = new pbc::RepeatedField(); + /// Field number for the "player_states" field. + public const int PlayerStatesFieldNumber = 28; + private static readonly pb::FieldCodec _repeated_playerStates_codec + = pb::FieldCodec.ForMessage(226, global::ZwiftPacketMonitor.PlayerState.Parser); + private readonly pbc::RepeatedField playerStates_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField EventRiderPosition { - get { return eventRiderPosition_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PlayerStates { + get { return playerStates_; } } - /// Field number for the "num_riders" field. - public const int NumRidersFieldNumber = 116; - private int numRiders_; + /// Field number for the "tcp_config" field. + public const int TcpConfigFieldNumber = 29; + private global::ZwiftPacketMonitor.TcpConfig tcpConfig_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int NumRiders { - get { return numRiders_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ZwiftPacketMonitor.TcpConfig TcpConfig { + get { return tcpConfig_; } set { - numRiders_ = value; + tcpConfig_ = value; } } + /// Field number for the "ackSubsSegm" field. + public const int AckSubsSegmFieldNumber = 30; + private static readonly pb::FieldCodec _repeated_ackSubsSegm_codec + = pb::FieldCodec.ForInt64(242); + private readonly pbc::RepeatedField ackSubsSegm_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AckSubsSegm { + get { return ackSubsSegm_; } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as EventPositions); + return Equals(other as ServerToClient); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(EventPositions other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ServerToClient other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Position != other.Position) return false; - if(!eventRiderPosition_.Equals(other.eventRiderPosition_)) return false; - if (NumRiders != other.NumRiders) return false; + if (ServerRealm != other.ServerRealm) return false; + if (PlayerId != other.PlayerId) return false; + if (WorldTime != other.WorldTime) return false; + if (Seqno != other.Seqno) return false; + if (StcF5 != other.StcF5) return false; + if(!states_.Equals(other.states_)) return false; + if(!playerUpdates_.Equals(other.playerUpdates_)) return false; + if(!stcF10_.Equals(other.stcF10_)) return false; + if (StcF11 != other.StcF11) return false; + if (ZcLocalIp != other.ZcLocalIp) return false; + if (StcF13 != other.StcF13) return false; + if (Zwifters != other.Zwifters) return false; + if (ZcLocalPort != other.ZcLocalPort) return false; + if (ZcProtocol != other.ZcProtocol) return false; + if (StcF17 != other.StcF17) return false; + if (NumMsgs != other.NumMsgs) return false; + if (Msgnum != other.Msgnum) return false; + if (HasSimultLogin != other.HasSimultLogin) return false; + if (!object.Equals(PlayerSummaries, other.PlayerSummaries)) return false; + if (!object.Equals(EvSubgroupPs, other.EvSubgroupPs)) return false; + if (!object.Equals(UdpConfig, other.UdpConfig)) return false; + if (!object.Equals(UdpConfigVod1, other.UdpConfigVod1)) return false; + if (StcF26 != other.StcF26) return false; + if (!object.Equals(UdpConfigVod2, other.UdpConfigVod2)) return false; + if(!playerStates_.Equals(other.playerStates_)) return false; + if (!object.Equals(TcpConfig, other.TcpConfig)) return false; + if(!ackSubsSegm_.Equals(other.ackSubsSegm_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Position != 0) hash ^= Position.GetHashCode(); - hash ^= eventRiderPosition_.GetHashCode(); - if (NumRiders != 0) hash ^= NumRiders.GetHashCode(); + if (ServerRealm != 0L) hash ^= ServerRealm.GetHashCode(); + if (PlayerId != 0L) hash ^= PlayerId.GetHashCode(); + if (WorldTime != 0L) hash ^= WorldTime.GetHashCode(); + if (Seqno != 0) hash ^= Seqno.GetHashCode(); + if (StcF5 != 0) hash ^= StcF5.GetHashCode(); + hash ^= states_.GetHashCode(); + hash ^= playerUpdates_.GetHashCode(); + hash ^= stcF10_.GetHashCode(); + if (StcF11 != 0L) hash ^= StcF11.GetHashCode(); + if (ZcLocalIp.Length != 0) hash ^= ZcLocalIp.GetHashCode(); + if (StcF13 != 0L) hash ^= StcF13.GetHashCode(); + if (Zwifters != 0) hash ^= Zwifters.GetHashCode(); + if (ZcLocalPort != 0) hash ^= ZcLocalPort.GetHashCode(); + if (ZcProtocol != global::ZwiftPacketMonitor.IPProtocol.IppUnk) hash ^= ZcProtocol.GetHashCode(); + if (StcF17 != 0L) hash ^= StcF17.GetHashCode(); + if (NumMsgs != 0) hash ^= NumMsgs.GetHashCode(); + if (Msgnum != 0) hash ^= Msgnum.GetHashCode(); + if (HasSimultLogin != false) hash ^= HasSimultLogin.GetHashCode(); + if (playerSummaries_ != null) hash ^= PlayerSummaries.GetHashCode(); + if (evSubgroupPs_ != null) hash ^= EvSubgroupPs.GetHashCode(); + if (udpConfig_ != null) hash ^= UdpConfig.GetHashCode(); + if (udpConfigVod1_ != null) hash ^= UdpConfigVod1.GetHashCode(); + if (StcF26 != 0) hash ^= StcF26.GetHashCode(); + if (udpConfigVod2_ != null) hash ^= UdpConfigVod2.GetHashCode(); + hash ^= playerStates_.GetHashCode(); + if (tcpConfig_ != null) hash ^= TcpConfig.GetHashCode(); + hash ^= ackSubsSegm_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -7108,42 +11891,213 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Position != 0) { + if (ServerRealm != 0L) { output.WriteRawTag(8); - output.WriteInt32(Position); + output.WriteInt64(ServerRealm); + } + if (PlayerId != 0L) { + output.WriteRawTag(16); + output.WriteInt64(PlayerId); + } + if (WorldTime != 0L) { + output.WriteRawTag(24); + output.WriteInt64(WorldTime); + } + if (Seqno != 0) { + output.WriteRawTag(32); + output.WriteInt32(Seqno); + } + if (StcF5 != 0) { + output.WriteRawTag(40); + output.WriteInt32(StcF5); + } + states_.WriteTo(output, _repeated_states_codec); + playerUpdates_.WriteTo(output, _repeated_playerUpdates_codec); + stcF10_.WriteTo(output, _repeated_stcF10_codec); + if (StcF11 != 0L) { + output.WriteRawTag(88); + output.WriteInt64(StcF11); + } + if (ZcLocalIp.Length != 0) { + output.WriteRawTag(98); + output.WriteString(ZcLocalIp); + } + if (StcF13 != 0L) { + output.WriteRawTag(104); + output.WriteInt64(StcF13); + } + if (Zwifters != 0) { + output.WriteRawTag(112); + output.WriteInt32(Zwifters); + } + if (ZcLocalPort != 0) { + output.WriteRawTag(120); + output.WriteInt32(ZcLocalPort); + } + if (ZcProtocol != global::ZwiftPacketMonitor.IPProtocol.IppUnk) { + output.WriteRawTag(128, 1); + output.WriteEnum((int) ZcProtocol); + } + if (StcF17 != 0L) { + output.WriteRawTag(136, 1); + output.WriteInt64(StcF17); + } + if (NumMsgs != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(NumMsgs); + } + if (Msgnum != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(Msgnum); + } + if (HasSimultLogin != false) { + output.WriteRawTag(160, 1); + output.WriteBool(HasSimultLogin); + } + if (playerSummaries_ != null) { + output.WriteRawTag(170, 1); + output.WriteMessage(PlayerSummaries); + } + if (evSubgroupPs_ != null) { + output.WriteRawTag(186, 1); + output.WriteMessage(EvSubgroupPs); + } + if (udpConfig_ != null) { + output.WriteRawTag(194, 1); + output.WriteMessage(UdpConfig); + } + if (udpConfigVod1_ != null) { + output.WriteRawTag(202, 1); + output.WriteMessage(UdpConfigVod1); + } + if (StcF26 != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(StcF26); + } + if (udpConfigVod2_ != null) { + output.WriteRawTag(218, 1); + output.WriteMessage(UdpConfigVod2); + } + playerStates_.WriteTo(output, _repeated_playerStates_codec); + if (tcpConfig_ != null) { + output.WriteRawTag(234, 1); + output.WriteMessage(TcpConfig); + } + ackSubsSegm_.WriteTo(output, _repeated_ackSubsSegm_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ServerRealm != 0L) { + output.WriteRawTag(8); + output.WriteInt64(ServerRealm); + } + if (PlayerId != 0L) { + output.WriteRawTag(16); + output.WriteInt64(PlayerId); + } + if (WorldTime != 0L) { + output.WriteRawTag(24); + output.WriteInt64(WorldTime); + } + if (Seqno != 0) { + output.WriteRawTag(32); + output.WriteInt32(Seqno); + } + if (StcF5 != 0) { + output.WriteRawTag(40); + output.WriteInt32(StcF5); + } + states_.WriteTo(ref output, _repeated_states_codec); + playerUpdates_.WriteTo(ref output, _repeated_playerUpdates_codec); + stcF10_.WriteTo(ref output, _repeated_stcF10_codec); + if (StcF11 != 0L) { + output.WriteRawTag(88); + output.WriteInt64(StcF11); + } + if (ZcLocalIp.Length != 0) { + output.WriteRawTag(98); + output.WriteString(ZcLocalIp); + } + if (StcF13 != 0L) { + output.WriteRawTag(104); + output.WriteInt64(StcF13); + } + if (Zwifters != 0) { + output.WriteRawTag(112); + output.WriteInt32(Zwifters); + } + if (ZcLocalPort != 0) { + output.WriteRawTag(120); + output.WriteInt32(ZcLocalPort); + } + if (ZcProtocol != global::ZwiftPacketMonitor.IPProtocol.IppUnk) { + output.WriteRawTag(128, 1); + output.WriteEnum((int) ZcProtocol); + } + if (StcF17 != 0L) { + output.WriteRawTag(136, 1); + output.WriteInt64(StcF17); + } + if (NumMsgs != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(NumMsgs); + } + if (Msgnum != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(Msgnum); } - eventRiderPosition_.WriteTo(output, _repeated_eventRiderPosition_codec); - if (NumRiders != 0) { - output.WriteRawTag(160, 7); - output.WriteInt32(NumRiders); + if (HasSimultLogin != false) { + output.WriteRawTag(160, 1); + output.WriteBool(HasSimultLogin); } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); + if (playerSummaries_ != null) { + output.WriteRawTag(170, 1); + output.WriteMessage(PlayerSummaries); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Position != 0) { - output.WriteRawTag(8); - output.WriteInt32(Position); + if (evSubgroupPs_ != null) { + output.WriteRawTag(186, 1); + output.WriteMessage(EvSubgroupPs); } - eventRiderPosition_.WriteTo(ref output, _repeated_eventRiderPosition_codec); - if (NumRiders != 0) { - output.WriteRawTag(160, 7); - output.WriteInt32(NumRiders); + if (udpConfig_ != null) { + output.WriteRawTag(194, 1); + output.WriteMessage(UdpConfig); + } + if (udpConfigVod1_ != null) { + output.WriteRawTag(202, 1); + output.WriteMessage(UdpConfigVod1); + } + if (StcF26 != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(StcF26); + } + if (udpConfigVod2_ != null) { + output.WriteRawTag(218, 1); + output.WriteMessage(UdpConfigVod2); + } + playerStates_.WriteTo(ref output, _repeated_playerStates_codec); + if (tcpConfig_ != null) { + output.WriteRawTag(234, 1); + output.WriteMessage(TcpConfig); } + ackSubsSegm_.WriteTo(ref output, _repeated_ackSubsSegm_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -7151,15 +12105,80 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Position != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Position); + if (ServerRealm != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ServerRealm); } - size += eventRiderPosition_.CalculateSize(_repeated_eventRiderPosition_codec); - if (NumRiders != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(NumRiders); + if (PlayerId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(PlayerId); + } + if (WorldTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(WorldTime); + } + if (Seqno != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Seqno); + } + if (StcF5 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(StcF5); + } + size += states_.CalculateSize(_repeated_states_codec); + size += playerUpdates_.CalculateSize(_repeated_playerUpdates_codec); + size += stcF10_.CalculateSize(_repeated_stcF10_codec); + if (StcF11 != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(StcF11); + } + if (ZcLocalIp.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ZcLocalIp); + } + if (StcF13 != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(StcF13); + } + if (Zwifters != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zwifters); + } + if (ZcLocalPort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ZcLocalPort); + } + if (ZcProtocol != global::ZwiftPacketMonitor.IPProtocol.IppUnk) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) ZcProtocol); + } + if (StcF17 != 0L) { + size += 2 + pb::CodedOutputStream.ComputeInt64Size(StcF17); + } + if (NumMsgs != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(NumMsgs); + } + if (Msgnum != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Msgnum); } + if (HasSimultLogin != false) { + size += 2 + 1; + } + if (playerSummaries_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(PlayerSummaries); + } + if (evSubgroupPs_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(EvSubgroupPs); + } + if (udpConfig_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(UdpConfig); + } + if (udpConfigVod1_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(UdpConfigVod1); + } + if (StcF26 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(StcF26); + } + if (udpConfigVod2_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(UdpConfigVod2); + } + size += playerStates_.CalculateSize(_repeated_playerStates_codec); + if (tcpConfig_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(TcpConfig); + } + size += ackSubsSegm_.CalculateSize(_repeated_ackSubsSegm_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -7167,21 +12186,105 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(EventPositions other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ServerToClient other) { if (other == null) { return; } - if (other.Position != 0) { - Position = other.Position; + if (other.ServerRealm != 0L) { + ServerRealm = other.ServerRealm; } - eventRiderPosition_.Add(other.eventRiderPosition_); - if (other.NumRiders != 0) { - NumRiders = other.NumRiders; + if (other.PlayerId != 0L) { + PlayerId = other.PlayerId; + } + if (other.WorldTime != 0L) { + WorldTime = other.WorldTime; } + if (other.Seqno != 0) { + Seqno = other.Seqno; + } + if (other.StcF5 != 0) { + StcF5 = other.StcF5; + } + states_.Add(other.states_); + playerUpdates_.Add(other.playerUpdates_); + stcF10_.Add(other.stcF10_); + if (other.StcF11 != 0L) { + StcF11 = other.StcF11; + } + if (other.ZcLocalIp.Length != 0) { + ZcLocalIp = other.ZcLocalIp; + } + if (other.StcF13 != 0L) { + StcF13 = other.StcF13; + } + if (other.Zwifters != 0) { + Zwifters = other.Zwifters; + } + if (other.ZcLocalPort != 0) { + ZcLocalPort = other.ZcLocalPort; + } + if (other.ZcProtocol != global::ZwiftPacketMonitor.IPProtocol.IppUnk) { + ZcProtocol = other.ZcProtocol; + } + if (other.StcF17 != 0L) { + StcF17 = other.StcF17; + } + if (other.NumMsgs != 0) { + NumMsgs = other.NumMsgs; + } + if (other.Msgnum != 0) { + Msgnum = other.Msgnum; + } + if (other.HasSimultLogin != false) { + HasSimultLogin = other.HasSimultLogin; + } + if (other.playerSummaries_ != null) { + if (playerSummaries_ == null) { + PlayerSummaries = new global::ZwiftPacketMonitor.PlayerSummaries(); + } + PlayerSummaries.MergeFrom(other.PlayerSummaries); + } + if (other.evSubgroupPs_ != null) { + if (evSubgroupPs_ == null) { + EvSubgroupPs = new global::ZwiftPacketMonitor.EventSubgroupPlacements(); + } + EvSubgroupPs.MergeFrom(other.EvSubgroupPs); + } + if (other.udpConfig_ != null) { + if (udpConfig_ == null) { + UdpConfig = new global::ZwiftPacketMonitor.UdpConfig(); + } + UdpConfig.MergeFrom(other.UdpConfig); + } + if (other.udpConfigVod1_ != null) { + if (udpConfigVod1_ == null) { + UdpConfigVod1 = new global::ZwiftPacketMonitor.UdpConfigVOD(); + } + UdpConfigVod1.MergeFrom(other.UdpConfigVod1); + } + if (other.StcF26 != 0) { + StcF26 = other.StcF26; + } + if (other.udpConfigVod2_ != null) { + if (udpConfigVod2_ == null) { + UdpConfigVod2 = new global::ZwiftPacketMonitor.UdpConfigVOD(); + } + UdpConfigVod2.MergeFrom(other.UdpConfigVod2); + } + playerStates_.Add(other.playerStates_); + if (other.tcpConfig_ != null) { + if (tcpConfig_ == null) { + TcpConfig = new global::ZwiftPacketMonitor.TcpConfig(); + } + TcpConfig.MergeFrom(other.TcpConfig); + } + ackSubsSegm_.Add(other.ackSubsSegm_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -7193,15 +12296,131 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Position = input.ReadInt32(); + ServerRealm = input.ReadInt64(); break; } - case 34: { - eventRiderPosition_.AddEntriesFrom(input, _repeated_eventRiderPosition_codec); + case 16: { + PlayerId = input.ReadInt64(); + break; + } + case 24: { + WorldTime = input.ReadInt64(); + break; + } + case 32: { + Seqno = input.ReadInt32(); + break; + } + case 40: { + StcF5 = input.ReadInt32(); + break; + } + case 66: { + states_.AddEntriesFrom(input, _repeated_states_codec); + break; + } + case 74: { + playerUpdates_.AddEntriesFrom(input, _repeated_playerUpdates_codec); + break; + } + case 82: + case 80: { + stcF10_.AddEntriesFrom(input, _repeated_stcF10_codec); + break; + } + case 88: { + StcF11 = input.ReadInt64(); + break; + } + case 98: { + ZcLocalIp = input.ReadString(); break; } - case 928: { - NumRiders = input.ReadInt32(); + case 104: { + StcF13 = input.ReadInt64(); + break; + } + case 112: { + Zwifters = input.ReadInt32(); + break; + } + case 120: { + ZcLocalPort = input.ReadInt32(); + break; + } + case 128: { + ZcProtocol = (global::ZwiftPacketMonitor.IPProtocol) input.ReadEnum(); + break; + } + case 136: { + StcF17 = input.ReadInt64(); + break; + } + case 144: { + NumMsgs = input.ReadInt32(); + break; + } + case 152: { + Msgnum = input.ReadInt32(); + break; + } + case 160: { + HasSimultLogin = input.ReadBool(); + break; + } + case 170: { + if (playerSummaries_ == null) { + PlayerSummaries = new global::ZwiftPacketMonitor.PlayerSummaries(); + } + input.ReadMessage(PlayerSummaries); + break; + } + case 186: { + if (evSubgroupPs_ == null) { + EvSubgroupPs = new global::ZwiftPacketMonitor.EventSubgroupPlacements(); + } + input.ReadMessage(EvSubgroupPs); + break; + } + case 194: { + if (udpConfig_ == null) { + UdpConfig = new global::ZwiftPacketMonitor.UdpConfig(); + } + input.ReadMessage(UdpConfig); + break; + } + case 202: { + if (udpConfigVod1_ == null) { + UdpConfigVod1 = new global::ZwiftPacketMonitor.UdpConfigVOD(); + } + input.ReadMessage(UdpConfigVod1); + break; + } + case 208: { + StcF26 = input.ReadInt32(); + break; + } + case 218: { + if (udpConfigVod2_ == null) { + UdpConfigVod2 = new global::ZwiftPacketMonitor.UdpConfigVOD(); + } + input.ReadMessage(UdpConfigVod2); + break; + } + case 226: { + playerStates_.AddEntriesFrom(input, _repeated_playerStates_codec); + break; + } + case 234: { + if (tcpConfig_ == null) { + TcpConfig = new global::ZwiftPacketMonitor.TcpConfig(); + } + input.ReadMessage(TcpConfig); + break; + } + case 242: + case 240: { + ackSubsSegm_.AddEntriesFrom(input, _repeated_ackSubsSegm_codec); break; } } @@ -7211,6 +12430,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -7219,470 +12439,307 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Position = input.ReadInt32(); + ServerRealm = input.ReadInt64(); break; } - case 34: { - eventRiderPosition_.AddEntriesFrom(ref input, _repeated_eventRiderPosition_codec); + case 16: { + PlayerId = input.ReadInt64(); break; } - case 928: { - NumRiders = input.ReadInt32(); + case 24: { + WorldTime = input.ReadInt64(); break; } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the EventPositions message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static partial class Types { - public sealed partial class EventRiderPosition : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EventRiderPosition()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.EventPositions.Descriptor.NestedTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public EventRiderPosition() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public EventRiderPosition(EventRiderPosition other) : this() { - riderId_ = other.riderId_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public EventRiderPosition Clone() { - return new EventRiderPosition(this); - } - - /// Field number for the "rider_id" field. - public const int RiderIdFieldNumber = 1; - private int riderId_; - /// - /// ?? float distance_covered = 2; - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int RiderId { - get { return riderId_; } - set { - riderId_ = value; + case 32: { + Seqno = input.ReadInt32(); + break; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as EventRiderPosition); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(EventRiderPosition other) { - if (ReferenceEquals(other, null)) { - return false; + case 40: { + StcF5 = input.ReadInt32(); + break; } - if (ReferenceEquals(other, this)) { - return true; + case 66: { + states_.AddEntriesFrom(ref input, _repeated_states_codec); + break; } - if (RiderId != other.RiderId) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (RiderId != 0) hash ^= RiderId.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); + case 74: { + playerUpdates_.AddEntriesFrom(ref input, _repeated_playerUpdates_codec); + break; } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (RiderId != 0) { - output.WriteRawTag(8); - output.WriteInt32(RiderId); + case 82: + case 80: { + stcF10_.AddEntriesFrom(ref input, _repeated_stcF10_codec); + break; } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); + case 88: { + StcF11 = input.ReadInt64(); + break; } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (RiderId != 0) { - output.WriteRawTag(8); - output.WriteInt32(RiderId); + case 98: { + ZcLocalIp = input.ReadString(); + break; + } + case 104: { + StcF13 = input.ReadInt64(); + break; + } + case 112: { + Zwifters = input.ReadInt32(); + break; + } + case 120: { + ZcLocalPort = input.ReadInt32(); + break; + } + case 128: { + ZcProtocol = (global::ZwiftPacketMonitor.IPProtocol) input.ReadEnum(); + break; + } + case 136: { + StcF17 = input.ReadInt64(); + break; + } + case 144: { + NumMsgs = input.ReadInt32(); + break; + } + case 152: { + Msgnum = input.ReadInt32(); + break; + } + case 160: { + HasSimultLogin = input.ReadBool(); + break; } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); + case 170: { + if (playerSummaries_ == null) { + PlayerSummaries = new global::ZwiftPacketMonitor.PlayerSummaries(); + } + input.ReadMessage(PlayerSummaries); + break; } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (RiderId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RiderId); + case 186: { + if (evSubgroupPs_ == null) { + EvSubgroupPs = new global::ZwiftPacketMonitor.EventSubgroupPlacements(); + } + input.ReadMessage(EvSubgroupPs); + break; } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); + case 194: { + if (udpConfig_ == null) { + UdpConfig = new global::ZwiftPacketMonitor.UdpConfig(); + } + input.ReadMessage(UdpConfig); + break; } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(EventRiderPosition other) { - if (other == null) { - return; + case 202: { + if (udpConfigVod1_ == null) { + UdpConfigVod1 = new global::ZwiftPacketMonitor.UdpConfigVOD(); + } + input.ReadMessage(UdpConfigVod1); + break; } - if (other.RiderId != 0) { - RiderId = other.RiderId; + case 208: { + StcF26 = input.ReadInt32(); + break; } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - RiderId = input.ReadInt32(); - break; - } + case 218: { + if (udpConfigVod2_ == null) { + UdpConfigVod2 = new global::ZwiftPacketMonitor.UdpConfigVOD(); } + input.ReadMessage(UdpConfigVod2); + break; } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - RiderId = input.ReadInt32(); - break; - } + case 226: { + playerStates_.AddEntriesFrom(ref input, _repeated_playerStates_codec); + break; + } + case 234: { + if (tcpConfig_ == null) { + TcpConfig = new global::ZwiftPacketMonitor.TcpConfig(); } + input.ReadMessage(TcpConfig); + break; + } + case 242: + case 240: { + ackSubsSegm_.AddEntriesFrom(ref input, _repeated_ackSubsSegm_codec); + break; } } - #endif - } - } - #endregion + #endif } - public sealed partial class ServerToClient : pb::IMessage + public sealed partial class RelayAddress : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ServerToClient()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RelayAddress()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[14]; } + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[21]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ServerToClient() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelayAddress() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ServerToClient(ServerToClient other) : this() { - tag1_ = other.tag1_; - riderId_ = other.riderId_; - worldTime_ = other.worldTime_; - seqno_ = other.seqno_; - playerStates_ = other.playerStates_.Clone(); - playerUpdates_ = other.playerUpdates_.Clone(); - tag11_ = other.tag11_; - localIp_ = other.localIp_; - tag15_ = other.tag15_; - tag17_ = other.tag17_; - numMsgs_ = other.numMsgs_; - msgnum_ = other.msgnum_; - eventPositions_ = other.eventPositions_ != null ? other.eventPositions_.Clone() : null; - servers1_ = other.servers1_ != null ? other.servers1_.Clone() : null; - servers2_ = other.servers2_ != null ? other.servers2_.Clone() : null; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelayAddress(RelayAddress other) : this() { + lbRealm_ = other.lbRealm_; + lbCourse_ = other.lbCourse_; + ip_ = other.ip_; + port_ = other.port_; + raF5_ = other.raF5_; + raF6_ = other.raF6_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ServerToClient Clone() { - return new ServerToClient(this); - } - - /// Field number for the "tag1" field. - public const int Tag1FieldNumber = 1; - private int tag1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Tag1 { - get { return tag1_; } - set { - tag1_ = value; - } - } - - /// Field number for the "rider_id" field. - public const int RiderIdFieldNumber = 2; - private int riderId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int RiderId { - get { return riderId_; } - set { - riderId_ = value; - } - } - - /// Field number for the "world_time" field. - public const int WorldTimeFieldNumber = 3; - private long worldTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long WorldTime { - get { return worldTime_; } - set { - worldTime_ = value; - } - } - - /// Field number for the "seqno" field. - public const int SeqnoFieldNumber = 4; - private int seqno_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Seqno { - get { return seqno_; } - set { - seqno_ = value; - } - } - - /// Field number for the "player_states" field. - public const int PlayerStatesFieldNumber = 8; - private static readonly pb::FieldCodec _repeated_playerStates_codec - = pb::FieldCodec.ForMessage(66, global::ZwiftPacketMonitor.PlayerState.Parser); - private readonly pbc::RepeatedField playerStates_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField PlayerStates { - get { return playerStates_; } - } - - /// Field number for the "player_updates" field. - public const int PlayerUpdatesFieldNumber = 9; - private static readonly pb::FieldCodec _repeated_playerUpdates_codec - = pb::FieldCodec.ForMessage(74, global::ZwiftPacketMonitor.PlayerUpdate.Parser); - private readonly pbc::RepeatedField playerUpdates_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField PlayerUpdates { - get { return playerUpdates_; } - } - - /// Field number for the "tag11" field. - public const int Tag11FieldNumber = 11; - private long tag11_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag11 { - get { return tag11_; } - set { - tag11_ = value; - } - } - - /// Field number for the "local_ip" field. - public const int LocalIpFieldNumber = 12; - private string localIp_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string LocalIp { - get { return localIp_; } - set { - localIp_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "tag15" field. - public const int Tag15FieldNumber = 15; - private int tag15_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Tag15 { - get { return tag15_; } - set { - tag15_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelayAddress Clone() { + return new RelayAddress(this); } - /// Field number for the "tag17" field. - public const int Tag17FieldNumber = 17; - private long tag17_; + /// Field number for the "lb_realm" field. + public const int LbRealmFieldNumber = 1; + private int lbRealm_; + /// + /// load balancing cluster: server realm or 0 (generic) + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag17 { - get { return tag17_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LbRealm { + get { return lbRealm_; } set { - tag17_ = value; + lbRealm_ = value; } } - /// Field number for the "num_msgs" field. - public const int NumMsgsFieldNumber = 18; - private int numMsgs_; + /// Field number for the "lb_course" field. + public const int LbCourseFieldNumber = 2; + private int lbCourse_; + /// + /// load balancing cluster: course id + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int NumMsgs { - get { return numMsgs_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LbCourse { + get { return lbCourse_; } set { - numMsgs_ = value; + lbCourse_ = value; } } - /// Field number for the "msgnum" field. - public const int MsgnumFieldNumber = 19; - private int msgnum_; + /// Field number for the "ip" field. + public const int IpFieldNumber = 3; + private string ip_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Msgnum { - get { return msgnum_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Ip { + get { return ip_; } set { - msgnum_ = value; + ip_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "event_positions" field. - public const int EventPositionsFieldNumber = 23; - private global::ZwiftPacketMonitor.EventPositions eventPositions_; + /// Field number for the "port" field. + public const int PortFieldNumber = 4; + private int port_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::ZwiftPacketMonitor.EventPositions EventPositions { - get { return eventPositions_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Port { + get { return port_; } set { - eventPositions_ = value; + port_ = value; } } - /// Field number for the "servers1" field. - public const int Servers1FieldNumber = 24; - private global::ZwiftPacketMonitor.Server1 servers1_; + /// Field number for the "ra_f5" field. + public const int RaF5FieldNumber = 5; + private float raF5_; + /// + ///or fixed + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::ZwiftPacketMonitor.Server1 Servers1 { - get { return servers1_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float RaF5 { + get { return raF5_; } set { - servers1_ = value; + raF5_ = value; } } - /// Field number for the "servers2" field. - public const int Servers2FieldNumber = 25; - private global::ZwiftPacketMonitor.Server2 servers2_; + /// Field number for the "ra_f6" field. + public const int RaF6FieldNumber = 6; + private float raF6_; + /// + ///or fixed + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::ZwiftPacketMonitor.Server2 Servers2 { - get { return servers2_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float RaF6 { + get { return raF6_; } set { - servers2_ = value; + raF6_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ServerToClient); + return Equals(other as RelayAddress); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ServerToClient other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RelayAddress other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Tag1 != other.Tag1) return false; - if (RiderId != other.RiderId) return false; - if (WorldTime != other.WorldTime) return false; - if (Seqno != other.Seqno) return false; - if(!playerStates_.Equals(other.playerStates_)) return false; - if(!playerUpdates_.Equals(other.playerUpdates_)) return false; - if (Tag11 != other.Tag11) return false; - if (LocalIp != other.LocalIp) return false; - if (Tag15 != other.Tag15) return false; - if (Tag17 != other.Tag17) return false; - if (NumMsgs != other.NumMsgs) return false; - if (Msgnum != other.Msgnum) return false; - if (!object.Equals(EventPositions, other.EventPositions)) return false; - if (!object.Equals(Servers1, other.Servers1)) return false; - if (!object.Equals(Servers2, other.Servers2)) return false; + if (LbRealm != other.LbRealm) return false; + if (LbCourse != other.LbCourse) return false; + if (Ip != other.Ip) return false; + if (Port != other.Port) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RaF5, other.RaF5)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RaF6, other.RaF6)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Tag1 != 0) hash ^= Tag1.GetHashCode(); - if (RiderId != 0) hash ^= RiderId.GetHashCode(); - if (WorldTime != 0L) hash ^= WorldTime.GetHashCode(); - if (Seqno != 0) hash ^= Seqno.GetHashCode(); - hash ^= playerStates_.GetHashCode(); - hash ^= playerUpdates_.GetHashCode(); - if (Tag11 != 0L) hash ^= Tag11.GetHashCode(); - if (LocalIp.Length != 0) hash ^= LocalIp.GetHashCode(); - if (Tag15 != 0) hash ^= Tag15.GetHashCode(); - if (Tag17 != 0L) hash ^= Tag17.GetHashCode(); - if (NumMsgs != 0) hash ^= NumMsgs.GetHashCode(); - if (Msgnum != 0) hash ^= Msgnum.GetHashCode(); - if (eventPositions_ != null) hash ^= EventPositions.GetHashCode(); - if (servers1_ != null) hash ^= Servers1.GetHashCode(); - if (servers2_ != null) hash ^= Servers2.GetHashCode(); + if (LbRealm != 0) hash ^= LbRealm.GetHashCode(); + if (LbCourse != 0) hash ^= LbCourse.GetHashCode(); + if (Ip.Length != 0) hash ^= Ip.GetHashCode(); + if (Port != 0) hash ^= Port.GetHashCode(); + if (RaF5 != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RaF5); + if (RaF6 != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RaF6); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -7690,68 +12747,40 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Tag1 != 0) { + if (LbRealm != 0) { output.WriteRawTag(8); - output.WriteInt32(Tag1); + output.WriteInt32(LbRealm); } - if (RiderId != 0) { + if (LbCourse != 0) { output.WriteRawTag(16); - output.WriteInt32(RiderId); + output.WriteInt32(LbCourse); } - if (WorldTime != 0L) { - output.WriteRawTag(24); - output.WriteInt64(WorldTime); + if (Ip.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Ip); } - if (Seqno != 0) { + if (Port != 0) { output.WriteRawTag(32); - output.WriteInt32(Seqno); - } - playerStates_.WriteTo(output, _repeated_playerStates_codec); - playerUpdates_.WriteTo(output, _repeated_playerUpdates_codec); - if (Tag11 != 0L) { - output.WriteRawTag(88); - output.WriteInt64(Tag11); - } - if (LocalIp.Length != 0) { - output.WriteRawTag(98); - output.WriteString(LocalIp); - } - if (Tag15 != 0) { - output.WriteRawTag(120); - output.WriteInt32(Tag15); - } - if (Tag17 != 0L) { - output.WriteRawTag(136, 1); - output.WriteInt64(Tag17); - } - if (NumMsgs != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(NumMsgs); - } - if (Msgnum != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(Msgnum); - } - if (eventPositions_ != null) { - output.WriteRawTag(186, 1); - output.WriteMessage(EventPositions); + output.WriteInt32(Port); } - if (servers1_ != null) { - output.WriteRawTag(194, 1); - output.WriteMessage(Servers1); + if (RaF5 != 0F) { + output.WriteRawTag(45); + output.WriteFloat(RaF5); } - if (servers2_ != null) { - output.WriteRawTag(202, 1); - output.WriteMessage(Servers2); + if (RaF6 != 0F) { + output.WriteRawTag(53); + output.WriteFloat(RaF6); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -7761,60 +12790,31 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Tag1 != 0) { + if (LbRealm != 0) { output.WriteRawTag(8); - output.WriteInt32(Tag1); + output.WriteInt32(LbRealm); } - if (RiderId != 0) { + if (LbCourse != 0) { output.WriteRawTag(16); - output.WriteInt32(RiderId); + output.WriteInt32(LbCourse); } - if (WorldTime != 0L) { - output.WriteRawTag(24); - output.WriteInt64(WorldTime); + if (Ip.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Ip); } - if (Seqno != 0) { + if (Port != 0) { output.WriteRawTag(32); - output.WriteInt32(Seqno); - } - playerStates_.WriteTo(ref output, _repeated_playerStates_codec); - playerUpdates_.WriteTo(ref output, _repeated_playerUpdates_codec); - if (Tag11 != 0L) { - output.WriteRawTag(88); - output.WriteInt64(Tag11); - } - if (LocalIp.Length != 0) { - output.WriteRawTag(98); - output.WriteString(LocalIp); - } - if (Tag15 != 0) { - output.WriteRawTag(120); - output.WriteInt32(Tag15); - } - if (Tag17 != 0L) { - output.WriteRawTag(136, 1); - output.WriteInt64(Tag17); - } - if (NumMsgs != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(NumMsgs); - } - if (Msgnum != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(Msgnum); - } - if (eventPositions_ != null) { - output.WriteRawTag(186, 1); - output.WriteMessage(EventPositions); + output.WriteInt32(Port); } - if (servers1_ != null) { - output.WriteRawTag(194, 1); - output.WriteMessage(Servers1); + if (RaF5 != 0F) { + output.WriteRawTag(45); + output.WriteFloat(RaF5); } - if (servers2_ != null) { - output.WriteRawTag(202, 1); - output.WriteMessage(Servers2); + if (RaF6 != 0F) { + output.WriteRawTag(53); + output.WriteFloat(RaF6); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -7823,114 +12823,62 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Tag1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tag1); - } - if (RiderId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RiderId); - } - if (WorldTime != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(WorldTime); - } - if (Seqno != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Seqno); + if (LbRealm != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LbRealm); } - size += playerStates_.CalculateSize(_repeated_playerStates_codec); - size += playerUpdates_.CalculateSize(_repeated_playerUpdates_codec); - if (Tag11 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Tag11); - } - if (LocalIp.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(LocalIp); - } - if (Tag15 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tag15); - } - if (Tag17 != 0L) { - size += 2 + pb::CodedOutputStream.ComputeInt64Size(Tag17); - } - if (NumMsgs != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(NumMsgs); - } - if (Msgnum != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Msgnum); - } - if (eventPositions_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(EventPositions); - } - if (servers1_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Servers1); - } - if (servers2_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Servers2); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ServerToClient other) { - if (other == null) { - return; - } - if (other.Tag1 != 0) { - Tag1 = other.Tag1; + if (LbCourse != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LbCourse); } - if (other.RiderId != 0) { - RiderId = other.RiderId; + if (Ip.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Ip); } - if (other.WorldTime != 0L) { - WorldTime = other.WorldTime; + if (Port != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Port); } - if (other.Seqno != 0) { - Seqno = other.Seqno; + if (RaF5 != 0F) { + size += 1 + 4; } - playerStates_.Add(other.playerStates_); - playerUpdates_.Add(other.playerUpdates_); - if (other.Tag11 != 0L) { - Tag11 = other.Tag11; + if (RaF6 != 0F) { + size += 1 + 4; } - if (other.LocalIp.Length != 0) { - LocalIp = other.LocalIp; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); } - if (other.Tag15 != 0) { - Tag15 = other.Tag15; + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RelayAddress other) { + if (other == null) { + return; } - if (other.Tag17 != 0L) { - Tag17 = other.Tag17; + if (other.LbRealm != 0) { + LbRealm = other.LbRealm; } - if (other.NumMsgs != 0) { - NumMsgs = other.NumMsgs; + if (other.LbCourse != 0) { + LbCourse = other.LbCourse; } - if (other.Msgnum != 0) { - Msgnum = other.Msgnum; + if (other.Ip.Length != 0) { + Ip = other.Ip; } - if (other.eventPositions_ != null) { - if (eventPositions_ == null) { - EventPositions = new global::ZwiftPacketMonitor.EventPositions(); - } - EventPositions.MergeFrom(other.EventPositions); + if (other.Port != 0) { + Port = other.Port; } - if (other.servers1_ != null) { - if (servers1_ == null) { - Servers1 = new global::ZwiftPacketMonitor.Server1(); - } - Servers1.MergeFrom(other.Servers1); + if (other.RaF5 != 0F) { + RaF5 = other.RaF5; } - if (other.servers2_ != null) { - if (servers2_ == null) { - Servers2 = new global::ZwiftPacketMonitor.Server2(); - } - Servers2.MergeFrom(other.Servers2); + if (other.RaF6 != 0F) { + RaF6 = other.RaF6; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -7942,72 +12890,27 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Tag1 = input.ReadInt32(); + LbRealm = input.ReadInt32(); break; } case 16: { - RiderId = input.ReadInt32(); + LbCourse = input.ReadInt32(); break; } - case 24: { - WorldTime = input.ReadInt64(); + case 26: { + Ip = input.ReadString(); break; } case 32: { - Seqno = input.ReadInt32(); - break; - } - case 66: { - playerStates_.AddEntriesFrom(input, _repeated_playerStates_codec); - break; - } - case 74: { - playerUpdates_.AddEntriesFrom(input, _repeated_playerUpdates_codec); - break; - } - case 88: { - Tag11 = input.ReadInt64(); - break; - } - case 98: { - LocalIp = input.ReadString(); - break; - } - case 120: { - Tag15 = input.ReadInt32(); - break; - } - case 136: { - Tag17 = input.ReadInt64(); - break; - } - case 144: { - NumMsgs = input.ReadInt32(); - break; - } - case 152: { - Msgnum = input.ReadInt32(); - break; - } - case 186: { - if (eventPositions_ == null) { - EventPositions = new global::ZwiftPacketMonitor.EventPositions(); - } - input.ReadMessage(EventPositions); + Port = input.ReadInt32(); break; } - case 194: { - if (servers1_ == null) { - Servers1 = new global::ZwiftPacketMonitor.Server1(); - } - input.ReadMessage(Servers1); + case 45: { + RaF5 = input.ReadFloat(); break; } - case 202: { - if (servers2_ == null) { - Servers2 = new global::ZwiftPacketMonitor.Server2(); - } - input.ReadMessage(Servers2); + case 53: { + RaF6 = input.ReadFloat(); break; } } @@ -8017,6 +12920,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -8025,72 +12929,27 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Tag1 = input.ReadInt32(); + LbRealm = input.ReadInt32(); break; } case 16: { - RiderId = input.ReadInt32(); + LbCourse = input.ReadInt32(); break; } - case 24: { - WorldTime = input.ReadInt64(); + case 26: { + Ip = input.ReadString(); break; } case 32: { - Seqno = input.ReadInt32(); - break; - } - case 66: { - playerStates_.AddEntriesFrom(ref input, _repeated_playerStates_codec); - break; - } - case 74: { - playerUpdates_.AddEntriesFrom(ref input, _repeated_playerUpdates_codec); - break; - } - case 88: { - Tag11 = input.ReadInt64(); - break; - } - case 98: { - LocalIp = input.ReadString(); - break; - } - case 120: { - Tag15 = input.ReadInt32(); - break; - } - case 136: { - Tag17 = input.ReadInt64(); - break; - } - case 144: { - NumMsgs = input.ReadInt32(); - break; - } - case 152: { - Msgnum = input.ReadInt32(); - break; - } - case 186: { - if (eventPositions_ == null) { - EventPositions = new global::ZwiftPacketMonitor.EventPositions(); - } - input.ReadMessage(EventPositions); + Port = input.ReadInt32(); break; } - case 194: { - if (servers1_ == null) { - Servers1 = new global::ZwiftPacketMonitor.Server1(); - } - input.ReadMessage(Servers1); + case 45: { + RaF5 = input.ReadFloat(); break; } - case 202: { - if (servers2_ == null) { - Servers2 = new global::ZwiftPacketMonitor.Server2(); - } - input.ReadMessage(Servers2); + case 53: { + RaF6 = input.ReadFloat(); break; } } @@ -8100,146 +12959,136 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class ServerAddress : pb::IMessage + public sealed partial class RelayAddressesVOD : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ServerAddress()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RelayAddressesVOD()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[15]; } + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[22]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ServerAddress() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelayAddressesVOD() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ServerAddress(ServerAddress other) : this() { - f1_ = other.f1_; - f2_ = other.f2_; - ip_ = other.ip_; - f4_ = other.f4_; - f5_ = other.f5_; - f6_ = other.f6_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelayAddressesVOD(RelayAddressesVOD other) : this() { + lbRealm_ = other.lbRealm_; + lbCourse_ = other.lbCourse_; + relayAddresses_ = other.relayAddresses_.Clone(); + ravF4_ = other.ravF4_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ServerAddress Clone() { - return new ServerAddress(this); - } - - /// Field number for the "f1" field. - public const int F1FieldNumber = 1; - private int f1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F1 { - get { return f1_; } - set { - f1_ = value; - } - } - - /// Field number for the "f2" field. - public const int F2FieldNumber = 2; - private int f2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F2 { - get { return f2_; } - set { - f2_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelayAddressesVOD Clone() { + return new RelayAddressesVOD(this); } - /// Field number for the "ip" field. - public const int IpFieldNumber = 3; - private string ip_ = ""; + /// Field number for the "lb_realm" field. + public const int LbRealmFieldNumber = 1; + private int lbRealm_; + /// + /// load balancing cluster: server realm or 0 (generic) + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Ip { - get { return ip_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LbRealm { + get { return lbRealm_; } set { - ip_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + lbRealm_ = value; } } - /// Field number for the "f4" field. - public const int F4FieldNumber = 4; - private int f4_; + /// Field number for the "lb_course" field. + public const int LbCourseFieldNumber = 2; + private int lbCourse_; + /// + /// load balancing cluster: course id + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F4 { - get { return f4_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LbCourse { + get { return lbCourse_; } set { - f4_ = value; + lbCourse_ = value; } } - /// Field number for the "f5" field. - public const int F5FieldNumber = 5; - private uint f5_; + /// Field number for the "relay_addresses" field. + public const int RelayAddressesFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_relayAddresses_codec + = pb::FieldCodec.ForMessage(26, global::ZwiftPacketMonitor.RelayAddress.Parser); + private readonly pbc::RepeatedField relayAddresses_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint F5 { - get { return f5_; } - set { - f5_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField RelayAddresses { + get { return relayAddresses_; } } - /// Field number for the "f6" field. - public const int F6FieldNumber = 6; - private uint f6_; + /// Field number for the "rav_f4" field. + public const int RavF4FieldNumber = 4; + private int ravF4_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint F6 { - get { return f6_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RavF4 { + get { return ravF4_; } set { - f6_ = value; + ravF4_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ServerAddress); + return Equals(other as RelayAddressesVOD); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ServerAddress other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RelayAddressesVOD other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (F1 != other.F1) return false; - if (F2 != other.F2) return false; - if (Ip != other.Ip) return false; - if (F4 != other.F4) return false; - if (F5 != other.F5) return false; - if (F6 != other.F6) return false; + if (LbRealm != other.LbRealm) return false; + if (LbCourse != other.LbCourse) return false; + if(!relayAddresses_.Equals(other.relayAddresses_)) return false; + if (RavF4 != other.RavF4) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (F1 != 0) hash ^= F1.GetHashCode(); - if (F2 != 0) hash ^= F2.GetHashCode(); - if (Ip.Length != 0) hash ^= Ip.GetHashCode(); - if (F4 != 0) hash ^= F4.GetHashCode(); - if (F5 != 0) hash ^= F5.GetHashCode(); - if (F6 != 0) hash ^= F6.GetHashCode(); + if (LbRealm != 0) hash ^= LbRealm.GetHashCode(); + if (LbCourse != 0) hash ^= LbCourse.GetHashCode(); + hash ^= relayAddresses_.GetHashCode(); + if (RavF4 != 0) hash ^= RavF4.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -8247,38 +13096,29 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (F1 != 0) { + if (LbRealm != 0) { output.WriteRawTag(8); - output.WriteInt32(F1); + output.WriteInt32(LbRealm); } - if (F2 != 0) { + if (LbCourse != 0) { output.WriteRawTag(16); - output.WriteInt32(F2); - } - if (Ip.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Ip); + output.WriteInt32(LbCourse); } - if (F4 != 0) { + relayAddresses_.WriteTo(output, _repeated_relayAddresses_codec); + if (RavF4 != 0) { output.WriteRawTag(32); - output.WriteInt32(F4); - } - if (F5 != 0) { - output.WriteRawTag(45); - output.WriteFixed32(F5); - } - if (F6 != 0) { - output.WriteRawTag(53); - output.WriteFixed32(F6); + output.WriteInt32(RavF4); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -8288,30 +13128,20 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (F1 != 0) { + if (LbRealm != 0) { output.WriteRawTag(8); - output.WriteInt32(F1); + output.WriteInt32(LbRealm); } - if (F2 != 0) { + if (LbCourse != 0) { output.WriteRawTag(16); - output.WriteInt32(F2); - } - if (Ip.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Ip); + output.WriteInt32(LbCourse); } - if (F4 != 0) { + relayAddresses_.WriteTo(ref output, _repeated_relayAddresses_codec); + if (RavF4 != 0) { output.WriteRawTag(32); - output.WriteInt32(F4); - } - if (F5 != 0) { - output.WriteRawTag(45); - output.WriteFixed32(F5); - } - if (F6 != 0) { - output.WriteRawTag(53); - output.WriteFixed32(F6); + output.WriteInt32(RavF4); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -8320,25 +13150,18 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (F1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F1); - } - if (F2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F2); - } - if (Ip.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Ip); + if (LbRealm != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LbRealm); } - if (F4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F4); - } - if (F5 != 0) { - size += 1 + 4; + if (LbCourse != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LbCourse); } - if (F6 != 0) { - size += 1 + 4; + size += relayAddresses_.CalculateSize(_repeated_relayAddresses_codec); + if (RavF4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RavF4); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -8347,32 +13170,26 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ServerAddress other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RelayAddressesVOD other) { if (other == null) { return; } - if (other.F1 != 0) { - F1 = other.F1; - } - if (other.F2 != 0) { - F2 = other.F2; - } - if (other.Ip.Length != 0) { - Ip = other.Ip; - } - if (other.F4 != 0) { - F4 = other.F4; + if (other.LbRealm != 0) { + LbRealm = other.LbRealm; } - if (other.F5 != 0) { - F5 = other.F5; + if (other.LbCourse != 0) { + LbCourse = other.LbCourse; } - if (other.F6 != 0) { - F6 = other.F6; + relayAddresses_.Add(other.relayAddresses_); + if (other.RavF4 != 0) { + RavF4 = other.RavF4; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -8384,27 +13201,19 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - F1 = input.ReadInt32(); + LbRealm = input.ReadInt32(); break; } case 16: { - F2 = input.ReadInt32(); + LbCourse = input.ReadInt32(); break; } case 26: { - Ip = input.ReadString(); + relayAddresses_.AddEntriesFrom(input, _repeated_relayAddresses_codec); break; } case 32: { - F4 = input.ReadInt32(); - break; - } - case 45: { - F5 = input.ReadFixed32(); - break; - } - case 53: { - F6 = input.ReadFixed32(); + RavF4 = input.ReadInt32(); break; } } @@ -8414,6 +13223,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -8422,27 +13232,19 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - F1 = input.ReadInt32(); + LbRealm = input.ReadInt32(); break; } case 16: { - F2 = input.ReadInt32(); + LbCourse = input.ReadInt32(); break; } case 26: { - Ip = input.ReadString(); + relayAddresses_.AddEntriesFrom(ref input, _repeated_relayAddresses_codec); break; } case 32: { - F4 = input.ReadInt32(); - break; - } - case 45: { - F5 = input.ReadFixed32(); - break; - } - case 53: { - F6 = input.ReadFixed32(); + RavF4 = input.ReadInt32(); break; } } @@ -8452,117 +13254,166 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class ServerPool : pb::IMessage + public sealed partial class UdpConfigVOD : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ServerPool()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UdpConfigVOD()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[16]; } + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[23]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ServerPool() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UdpConfigVOD() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ServerPool(ServerPool other) : this() { - f1_ = other.f1_; - f2_ = other.f2_; - addresses_ = other.addresses_.Clone(); - f4_ = other.f4_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UdpConfigVOD(UdpConfigVOD other) : this() { + relayAddressesVod_ = other.relayAddressesVod_.Clone(); + port_ = other.port_; + ucvF3_ = other.ucvF3_; + ucvF4_ = other.ucvF4_; + ucvF5_ = other.ucvF5_; + ucvF6_ = other.ucvF6_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ServerPool Clone() { - return new ServerPool(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UdpConfigVOD Clone() { + return new UdpConfigVOD(this); + } + + /// Field number for the "relay_addresses_vod" field. + public const int RelayAddressesVodFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_relayAddressesVod_codec + = pb::FieldCodec.ForMessage(10, global::ZwiftPacketMonitor.RelayAddressesVOD.Parser); + private readonly pbc::RepeatedField relayAddressesVod_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField RelayAddressesVod { + get { return relayAddressesVod_; } + } + + /// Field number for the "port" field. + public const int PortFieldNumber = 2; + private int port_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Port { + get { return port_; } + set { + port_ = value; + } } - /// Field number for the "f1" field. - public const int F1FieldNumber = 1; - private int f1_; + /// Field number for the "ucv_f3" field. + public const int UcvF3FieldNumber = 3; + private long ucvF3_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F1 { - get { return f1_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long UcvF3 { + get { return ucvF3_; } set { - f1_ = value; + ucvF3_ = value; } } - /// Field number for the "f2" field. - public const int F2FieldNumber = 2; - private int f2_; + /// Field number for the "ucv_f4" field. + public const int UcvF4FieldNumber = 4; + private long ucvF4_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F2 { - get { return f2_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long UcvF4 { + get { return ucvF4_; } set { - f2_ = value; + ucvF4_ = value; } } - /// Field number for the "addresses" field. - public const int AddressesFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_addresses_codec - = pb::FieldCodec.ForMessage(26, global::ZwiftPacketMonitor.ServerAddress.Parser); - private readonly pbc::RepeatedField addresses_ = new pbc::RepeatedField(); + /// Field number for the "ucv_f5" field. + public const int UcvF5FieldNumber = 5; + private float ucvF5_; + /// + ///or fixed + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Addresses { - get { return addresses_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float UcvF5 { + get { return ucvF5_; } + set { + ucvF5_ = value; + } } - /// Field number for the "f4" field. - public const int F4FieldNumber = 4; - private int f4_; + /// Field number for the "ucv_f6" field. + public const int UcvF6FieldNumber = 6; + private float ucvF6_; + /// + ///or fixed + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F4 { - get { return f4_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float UcvF6 { + get { return ucvF6_; } set { - f4_ = value; + ucvF6_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ServerPool); + return Equals(other as UdpConfigVOD); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ServerPool other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UdpConfigVOD other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (F1 != other.F1) return false; - if (F2 != other.F2) return false; - if(!addresses_.Equals(other.addresses_)) return false; - if (F4 != other.F4) return false; + if(!relayAddressesVod_.Equals(other.relayAddressesVod_)) return false; + if (Port != other.Port) return false; + if (UcvF3 != other.UcvF3) return false; + if (UcvF4 != other.UcvF4) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(UcvF5, other.UcvF5)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(UcvF6, other.UcvF6)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (F1 != 0) hash ^= F1.GetHashCode(); - if (F2 != 0) hash ^= F2.GetHashCode(); - hash ^= addresses_.GetHashCode(); - if (F4 != 0) hash ^= F4.GetHashCode(); + hash ^= relayAddressesVod_.GetHashCode(); + if (Port != 0) hash ^= Port.GetHashCode(); + if (UcvF3 != 0L) hash ^= UcvF3.GetHashCode(); + if (UcvF4 != 0L) hash ^= UcvF4.GetHashCode(); + if (UcvF5 != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(UcvF5); + if (UcvF6 != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(UcvF6); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -8570,27 +13421,37 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (F1 != 0) { - output.WriteRawTag(8); - output.WriteInt32(F1); - } - if (F2 != 0) { + relayAddressesVod_.WriteTo(output, _repeated_relayAddressesVod_codec); + if (Port != 0) { output.WriteRawTag(16); - output.WriteInt32(F2); + output.WriteInt32(Port); + } + if (UcvF3 != 0L) { + output.WriteRawTag(24); + output.WriteInt64(UcvF3); } - addresses_.WriteTo(output, _repeated_addresses_codec); - if (F4 != 0) { + if (UcvF4 != 0L) { output.WriteRawTag(32); - output.WriteInt32(F4); + output.WriteInt64(UcvF4); + } + if (UcvF5 != 0F) { + output.WriteRawTag(45); + output.WriteFloat(UcvF5); + } + if (UcvF6 != 0F) { + output.WriteRawTag(53); + output.WriteFloat(UcvF6); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -8600,19 +13461,28 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (F1 != 0) { - output.WriteRawTag(8); - output.WriteInt32(F1); - } - if (F2 != 0) { + relayAddressesVod_.WriteTo(ref output, _repeated_relayAddressesVod_codec); + if (Port != 0) { output.WriteRawTag(16); - output.WriteInt32(F2); + output.WriteInt32(Port); + } + if (UcvF3 != 0L) { + output.WriteRawTag(24); + output.WriteInt64(UcvF3); } - addresses_.WriteTo(ref output, _repeated_addresses_codec); - if (F4 != 0) { + if (UcvF4 != 0L) { output.WriteRawTag(32); - output.WriteInt32(F4); + output.WriteInt64(UcvF4); + } + if (UcvF5 != 0F) { + output.WriteRawTag(45); + output.WriteFloat(UcvF5); + } + if (UcvF6 != 0F) { + output.WriteRawTag(53); + output.WriteFloat(UcvF6); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -8621,17 +13491,24 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (F1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F1); + size += relayAddressesVod_.CalculateSize(_repeated_relayAddressesVod_codec); + if (Port != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Port); + } + if (UcvF3 != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(UcvF3); } - if (F2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F2); + if (UcvF4 != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(UcvF4); } - size += addresses_.CalculateSize(_repeated_addresses_codec); - if (F4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F4); + if (UcvF5 != 0F) { + size += 1 + 4; + } + if (UcvF6 != 0F) { + size += 1 + 4; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -8640,24 +13517,32 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ServerPool other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UdpConfigVOD other) { if (other == null) { return; } - if (other.F1 != 0) { - F1 = other.F1; + relayAddressesVod_.Add(other.relayAddressesVod_); + if (other.Port != 0) { + Port = other.Port; + } + if (other.UcvF3 != 0L) { + UcvF3 = other.UcvF3; } - if (other.F2 != 0) { - F2 = other.F2; + if (other.UcvF4 != 0L) { + UcvF4 = other.UcvF4; } - addresses_.Add(other.addresses_); - if (other.F4 != 0) { - F4 = other.F4; + if (other.UcvF5 != 0F) { + UcvF5 = other.UcvF5; + } + if (other.UcvF6 != 0F) { + UcvF6 = other.UcvF6; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -8668,20 +13553,28 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - F1 = input.ReadInt32(); + case 10: { + relayAddressesVod_.AddEntriesFrom(input, _repeated_relayAddressesVod_codec); break; } case 16: { - F2 = input.ReadInt32(); + Port = input.ReadInt32(); break; } - case 26: { - addresses_.AddEntriesFrom(input, _repeated_addresses_codec); + case 24: { + UcvF3 = input.ReadInt64(); break; } case 32: { - F4 = input.ReadInt32(); + UcvF4 = input.ReadInt64(); + break; + } + case 45: { + UcvF5 = input.ReadFloat(); + break; + } + case 53: { + UcvF6 = input.ReadFloat(); break; } } @@ -8691,6 +13584,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -8698,20 +13592,28 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 8: { - F1 = input.ReadInt32(); + case 10: { + relayAddressesVod_.AddEntriesFrom(ref input, _repeated_relayAddressesVod_codec); break; } case 16: { - F2 = input.ReadInt32(); + Port = input.ReadInt32(); break; } - case 26: { - addresses_.AddEntriesFrom(ref input, _repeated_addresses_codec); + case 24: { + UcvF3 = input.ReadInt64(); break; } case 32: { - F4 = input.ReadInt32(); + UcvF4 = input.ReadInt64(); + break; + } + case 45: { + UcvF5 = input.ReadFloat(); + break; + } + case 53: { + UcvF6 = input.ReadFloat(); break; } } @@ -8721,89 +13623,130 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class Server2 : pb::IMessage + public sealed partial class UdpConfig : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Server2()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UdpConfig()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[17]; } + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[24]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Server2() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UdpConfig() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Server2(Server2 other) : this() { - pool_ = other.pool_.Clone(); - f2_ = other.f2_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UdpConfig(UdpConfig other) : this() { + relayAddresses_ = other.relayAddresses_.Clone(); + ucF2_ = other.ucF2_; + ucF3_ = other.ucF3_; + ucF4_ = other.ucF4_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Server2 Clone() { - return new Server2(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UdpConfig Clone() { + return new UdpConfig(this); + } + + /// Field number for the "relay_addresses" field. + public const int RelayAddressesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_relayAddresses_codec + = pb::FieldCodec.ForMessage(10, global::ZwiftPacketMonitor.RelayAddress.Parser); + private readonly pbc::RepeatedField relayAddresses_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField RelayAddresses { + get { return relayAddresses_; } + } + + /// Field number for the "uc_f2" field. + public const int UcF2FieldNumber = 2; + private int ucF2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UcF2 { + get { return ucF2_; } + set { + ucF2_ = value; + } } - /// Field number for the "pool" field. - public const int PoolFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_pool_codec - = pb::FieldCodec.ForMessage(10, global::ZwiftPacketMonitor.ServerPool.Parser); - private readonly pbc::RepeatedField pool_ = new pbc::RepeatedField(); + /// Field number for the "uc_f3" field. + public const int UcF3FieldNumber = 3; + private int ucF3_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Pool { - get { return pool_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UcF3 { + get { return ucF3_; } + set { + ucF3_ = value; + } } - /// Field number for the "f2" field. - public const int F2FieldNumber = 2; - private int f2_; + /// Field number for the "uc_f4" field. + public const int UcF4FieldNumber = 4; + private int ucF4_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F2 { - get { return f2_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UcF4 { + get { return ucF4_; } set { - f2_ = value; + ucF4_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as Server2); + return Equals(other as UdpConfig); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(Server2 other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UdpConfig other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!pool_.Equals(other.pool_)) return false; - if (F2 != other.F2) return false; + if(!relayAddresses_.Equals(other.relayAddresses_)) return false; + if (UcF2 != other.UcF2) return false; + if (UcF3 != other.UcF3) return false; + if (UcF4 != other.UcF4) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= pool_.GetHashCode(); - if (F2 != 0) hash ^= F2.GetHashCode(); + hash ^= relayAddresses_.GetHashCode(); + if (UcF2 != 0) hash ^= UcF2.GetHashCode(); + if (UcF3 != 0) hash ^= UcF3.GetHashCode(); + if (UcF4 != 0) hash ^= UcF4.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -8811,19 +13754,29 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - pool_.WriteTo(output, _repeated_pool_codec); - if (F2 != 0) { + relayAddresses_.WriteTo(output, _repeated_relayAddresses_codec); + if (UcF2 != 0) { output.WriteRawTag(16); - output.WriteInt32(F2); + output.WriteInt32(UcF2); + } + if (UcF3 != 0) { + output.WriteRawTag(24); + output.WriteInt32(UcF3); + } + if (UcF4 != 0) { + output.WriteRawTag(32); + output.WriteInt32(UcF4); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -8833,11 +13786,20 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - pool_.WriteTo(ref output, _repeated_pool_codec); - if (F2 != 0) { + relayAddresses_.WriteTo(ref output, _repeated_relayAddresses_codec); + if (UcF2 != 0) { output.WriteRawTag(16); - output.WriteInt32(F2); + output.WriteInt32(UcF2); + } + if (UcF3 != 0) { + output.WriteRawTag(24); + output.WriteInt32(UcF3); + } + if (UcF4 != 0) { + output.WriteRawTag(32); + output.WriteInt32(UcF4); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -8846,11 +13808,18 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += pool_.CalculateSize(_repeated_pool_codec); - if (F2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F2); + size += relayAddresses_.CalculateSize(_repeated_relayAddresses_codec); + if (UcF2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UcF2); + } + if (UcF3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UcF3); + } + if (UcF4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UcF4); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -8859,18 +13828,26 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(Server2 other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UdpConfig other) { if (other == null) { return; } - pool_.Add(other.pool_); - if (other.F2 != 0) { - F2 = other.F2; + relayAddresses_.Add(other.relayAddresses_); + if (other.UcF2 != 0) { + UcF2 = other.UcF2; + } + if (other.UcF3 != 0) { + UcF3 = other.UcF3; + } + if (other.UcF4 != 0) { + UcF4 = other.UcF4; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -8882,11 +13859,19 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - pool_.AddEntriesFrom(input, _repeated_pool_codec); + relayAddresses_.AddEntriesFrom(input, _repeated_relayAddresses_codec); break; } case 16: { - F2 = input.ReadInt32(); + UcF2 = input.ReadInt32(); + break; + } + case 24: { + UcF3 = input.ReadInt32(); + break; + } + case 32: { + UcF4 = input.ReadInt32(); break; } } @@ -8896,6 +13881,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -8904,11 +13890,19 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - pool_.AddEntriesFrom(ref input, _repeated_pool_codec); + relayAddresses_.AddEntriesFrom(ref input, _repeated_relayAddresses_codec); break; } case 16: { - F2 = input.ReadInt32(); + UcF2 = input.ReadInt32(); + break; + } + case 24: { + UcF3 = input.ReadInt32(); + break; + } + case 32: { + UcF4 = input.ReadInt32(); break; } } @@ -8918,117 +13912,137 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class Server1 : pb::IMessage + public sealed partial class TcpAddress : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Server1()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TcpAddress()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[18]; } + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[25]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Server1() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TcpAddress() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Server1(Server1 other) : this() { - addresses_ = other.addresses_.Clone(); - f2_ = other.f2_; - f3_ = other.f3_; - f4_ = other.f4_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TcpAddress(TcpAddress other) : this() { + ip_ = other.ip_; + port_ = other.port_; + lbRealm_ = other.lbRealm_; + lbCourse_ = other.lbCourse_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Server1 Clone() { - return new Server1(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TcpAddress Clone() { + return new TcpAddress(this); } - /// Field number for the "addresses" field. - public const int AddressesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_addresses_codec - = pb::FieldCodec.ForMessage(10, global::ZwiftPacketMonitor.ServerAddress.Parser); - private readonly pbc::RepeatedField addresses_ = new pbc::RepeatedField(); + /// Field number for the "ip" field. + public const int IpFieldNumber = 1; + private string ip_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Addresses { - get { return addresses_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Ip { + get { return ip_; } + set { + ip_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } } - /// Field number for the "f2" field. - public const int F2FieldNumber = 2; - private int f2_; + /// Field number for the "port" field. + public const int PortFieldNumber = 2; + private int port_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F2 { - get { return f2_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Port { + get { return port_; } set { - f2_ = value; + port_ = value; } } - /// Field number for the "f3" field. - public const int F3FieldNumber = 3; - private int f3_; + /// Field number for the "lb_realm" field. + public const int LbRealmFieldNumber = 3; + private int lbRealm_; + /// + ///load balancing cluster: server realm or 0 (generic) + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F3 { - get { return f3_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LbRealm { + get { return lbRealm_; } set { - f3_ = value; + lbRealm_ = value; } } - /// Field number for the "f4" field. - public const int F4FieldNumber = 4; - private int f4_; + /// Field number for the "lb_course" field. + public const int LbCourseFieldNumber = 4; + private int lbCourse_; + /// + ///load balancing cluster: course id (see also TcpAddressService::updateAddresses) + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F4 { - get { return f4_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LbCourse { + get { return lbCourse_; } set { - f4_ = value; + lbCourse_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as Server1); + return Equals(other as TcpAddress); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(Server1 other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TcpAddress other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!addresses_.Equals(other.addresses_)) return false; - if (F2 != other.F2) return false; - if (F3 != other.F3) return false; - if (F4 != other.F4) return false; + if (Ip != other.Ip) return false; + if (Port != other.Port) return false; + if (LbRealm != other.LbRealm) return false; + if (LbCourse != other.LbCourse) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= addresses_.GetHashCode(); - if (F2 != 0) hash ^= F2.GetHashCode(); - if (F3 != 0) hash ^= F3.GetHashCode(); - if (F4 != 0) hash ^= F4.GetHashCode(); + if (Ip.Length != 0) hash ^= Ip.GetHashCode(); + if (Port != 0) hash ^= Port.GetHashCode(); + if (LbRealm != 0) hash ^= LbRealm.GetHashCode(); + if (LbCourse != 0) hash ^= LbCourse.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -9036,27 +14050,32 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - addresses_.WriteTo(output, _repeated_addresses_codec); - if (F2 != 0) { + if (Ip.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Ip); + } + if (Port != 0) { output.WriteRawTag(16); - output.WriteInt32(F2); + output.WriteInt32(Port); } - if (F3 != 0) { + if (LbRealm != 0) { output.WriteRawTag(24); - output.WriteInt32(F3); + output.WriteInt32(LbRealm); } - if (F4 != 0) { + if (LbCourse != 0) { output.WriteRawTag(32); - output.WriteInt32(F4); + output.WriteInt32(LbCourse); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -9066,19 +14085,23 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - addresses_.WriteTo(ref output, _repeated_addresses_codec); - if (F2 != 0) { + if (Ip.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Ip); + } + if (Port != 0) { output.WriteRawTag(16); - output.WriteInt32(F2); + output.WriteInt32(Port); } - if (F3 != 0) { + if (LbRealm != 0) { output.WriteRawTag(24); - output.WriteInt32(F3); + output.WriteInt32(LbRealm); } - if (F4 != 0) { + if (LbCourse != 0) { output.WriteRawTag(32); - output.WriteInt32(F4); + output.WriteInt32(LbCourse); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -9087,17 +14110,20 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += addresses_.CalculateSize(_repeated_addresses_codec); - if (F2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F2); + if (Ip.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Ip); + } + if (Port != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Port); } - if (F3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F3); + if (LbRealm != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LbRealm); } - if (F4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F4); + if (LbCourse != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LbCourse); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -9106,24 +14132,28 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(Server1 other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TcpAddress other) { if (other == null) { return; } - addresses_.Add(other.addresses_); - if (other.F2 != 0) { - F2 = other.F2; + if (other.Ip.Length != 0) { + Ip = other.Ip; } - if (other.F3 != 0) { - F3 = other.F3; + if (other.Port != 0) { + Port = other.Port; } - if (other.F4 != 0) { - F4 = other.F4; + if (other.LbRealm != 0) { + LbRealm = other.LbRealm; + } + if (other.LbCourse != 0) { + LbCourse = other.LbCourse; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -9135,19 +14165,19 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - addresses_.AddEntriesFrom(input, _repeated_addresses_codec); + Ip = input.ReadString(); break; } case 16: { - F2 = input.ReadInt32(); + Port = input.ReadInt32(); break; } case 24: { - F3 = input.ReadInt32(); + LbRealm = input.ReadInt32(); break; } case 32: { - F4 = input.ReadInt32(); + LbCourse = input.ReadInt32(); break; } } @@ -9157,6 +14187,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -9165,19 +14196,19 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - addresses_.AddEntriesFrom(ref input, _repeated_addresses_codec); + Ip = input.ReadString(); break; } case 16: { - F2 = input.ReadInt32(); + Port = input.ReadInt32(); break; } case 24: { - F3 = input.ReadInt32(); + LbRealm = input.ReadInt32(); break; } case 32: { - F4 = input.ReadInt32(); + LbCourse = input.ReadInt32(); break; } } @@ -9187,146 +14218,85 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class WorldAttributes : pb::IMessage + public sealed partial class TcpConfig : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WorldAttributes()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TcpConfig()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[19]; } + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[26]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public WorldAttributes() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TcpConfig() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public WorldAttributes(WorldAttributes other) : this() { - worldId_ = other.worldId_; - name_ = other.name_; - tag3_ = other.tag3_; - tag5_ = other.tag5_; - worldTime_ = other.worldTime_; - clockTime_ = other.clockTime_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TcpConfig(TcpConfig other) : this() { + nodes_ = other.nodes_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public WorldAttributes Clone() { - return new WorldAttributes(this); - } - - /// Field number for the "world_id" field. - public const int WorldIdFieldNumber = 1; - private int worldId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int WorldId { - get { return worldId_; } - set { - worldId_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 2; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "tag3" field. - public const int Tag3FieldNumber = 3; - private long tag3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag3 { - get { return tag3_; } - set { - tag3_ = value; - } - } - - /// Field number for the "tag5" field. - public const int Tag5FieldNumber = 4; - private long tag5_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Tag5 { - get { return tag5_; } - set { - tag5_ = value; - } - } - - /// Field number for the "world_time" field. - public const int WorldTimeFieldNumber = 6; - private long worldTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long WorldTime { - get { return worldTime_; } - set { - worldTime_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TcpConfig Clone() { + return new TcpConfig(this); } - /// Field number for the "clock_time" field. - public const int ClockTimeFieldNumber = 7; - private long clockTime_; + /// Field number for the "nodes" field. + public const int NodesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_nodes_codec + = pb::FieldCodec.ForMessage(10, global::ZwiftPacketMonitor.TcpAddress.Parser); + private readonly pbc::RepeatedField nodes_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long ClockTime { - get { return clockTime_; } - set { - clockTime_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Nodes { + get { return nodes_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as WorldAttributes); + return Equals(other as TcpConfig); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(WorldAttributes other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TcpConfig other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (WorldId != other.WorldId) return false; - if (Name != other.Name) return false; - if (Tag3 != other.Tag3) return false; - if (Tag5 != other.Tag5) return false; - if (WorldTime != other.WorldTime) return false; - if (ClockTime != other.ClockTime) return false; + if(!nodes_.Equals(other.nodes_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (WorldId != 0) hash ^= WorldId.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Tag3 != 0L) hash ^= Tag3.GetHashCode(); - if (Tag5 != 0L) hash ^= Tag5.GetHashCode(); - if (WorldTime != 0L) hash ^= WorldTime.GetHashCode(); - if (ClockTime != 0L) hash ^= ClockTime.GetHashCode(); + hash ^= nodes_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -9334,39 +14304,18 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (WorldId != 0) { - output.WriteRawTag(8); - output.WriteInt32(WorldId); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (Tag3 != 0L) { - output.WriteRawTag(24); - output.WriteInt64(Tag3); - } - if (Tag5 != 0L) { - output.WriteRawTag(32); - output.WriteInt64(Tag5); - } - if (WorldTime != 0L) { - output.WriteRawTag(48); - output.WriteInt64(WorldTime); - } - if (ClockTime != 0L) { - output.WriteRawTag(56); - output.WriteInt64(ClockTime); - } + nodes_.WriteTo(output, _repeated_nodes_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -9375,31 +14324,9 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (WorldId != 0) { - output.WriteRawTag(8); - output.WriteInt32(WorldId); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (Tag3 != 0L) { - output.WriteRawTag(24); - output.WriteInt64(Tag3); - } - if (Tag5 != 0L) { - output.WriteRawTag(32); - output.WriteInt64(Tag5); - } - if (WorldTime != 0L) { - output.WriteRawTag(48); - output.WriteInt64(WorldTime); - } - if (ClockTime != 0L) { - output.WriteRawTag(56); - output.WriteInt64(ClockTime); - } + nodes_.WriteTo(ref output, _repeated_nodes_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -9407,26 +14334,10 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (WorldId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldId); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Tag3 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Tag3); - } - if (Tag5 != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Tag5); - } - if (WorldTime != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(WorldTime); - } - if (ClockTime != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(ClockTime); - } + size += nodes_.CalculateSize(_repeated_nodes_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -9434,32 +14345,17 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(WorldAttributes other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TcpConfig other) { if (other == null) { return; } - if (other.WorldId != 0) { - WorldId = other.WorldId; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Tag3 != 0L) { - Tag3 = other.Tag3; - } - if (other.Tag5 != 0L) { - Tag5 = other.Tag5; - } - if (other.WorldTime != 0L) { - WorldTime = other.WorldTime; - } - if (other.ClockTime != 0L) { - ClockTime = other.ClockTime; - } + nodes_.Add(other.nodes_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -9470,398 +14366,738 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - WorldId = input.ReadInt32(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 24: { - Tag3 = input.ReadInt64(); - break; - } - case 32: { - Tag5 = input.ReadInt64(); + case 10: { + nodes_.AddEntriesFrom(input, _repeated_nodes_codec); break; } - case 48: { - WorldTime = input.ReadInt64(); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - } - case 56: { - ClockTime = input.ReadInt64(); + case 10: { + nodes_.AddEntriesFrom(ref input, _repeated_nodes_codec); break; } } } - #endif + } + #endif + + } + + public sealed partial class EventSubgroupProtobuf : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EventSubgroupProtobuf()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[27]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventSubgroupProtobuf() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventSubgroupProtobuf(EventSubgroupProtobuf other) : this() { + id_ = other.id_; + name_ = other.name_; + description_ = other.description_; + evsF4_ = other.evsF4_; + evsF5_ = other.evsF5_; + evsF6_ = other.evsF6_; + scode_ = other.scode_; + rulesId_ = other.rulesId_; + registrationStart_ = other.registrationStart_; + registrationStartWT_ = other.registrationStartWT_; + registrationEnd_ = other.registrationEnd_; + registrationEndWT_ = other.registrationEndWT_; + lineUpStart_ = other.lineUpStart_; + lineUpStartWT_ = other.lineUpStartWT_; + lineUpEnd_ = other.lineUpEnd_; + lineUpEndWT_ = other.lineUpEndWT_; + eventSubgroupStart_ = other.eventSubgroupStart_; + eventSubgroupStartWT_ = other.eventSubgroupStartWT_; + evsF19_ = other.evsF19_; + evsF20_ = other.evsF20_; + evsF21_ = other.evsF21_; + routeId_ = other.routeId_; + invitedLeaders_ = other.invitedLeaders_.Clone(); + distanceInMeters_ = other.distanceInMeters_; + laps_ = other.laps_; + startLocation_ = other.startLocation_; + label_ = other.label_; + paceType_ = other.paceType_; + fromPaceValue_ = other.fromPaceValue_; + toPaceValue_ = other.toPaceValue_; + durationInSeconds_ = other.durationInSeconds_; + evsF35_ = other.evsF35_; + jerseyHash_ = other.jerseyHash_; + evsF37_ = other.evsF37_; + evsF38_ = other.evsF38_; + auxiliaryUrl_ = other.auxiliaryUrl_; + bikeHash_ = other.bikeHash_; + invitedSweepers_ = other.invitedSweepers_.Clone(); + evsF42_ = other.evsF42_; + customUrl_ = other.customUrl_; + evsF44_ = other.evsF44_; + tags_ = other.tags_; + lateJoinInMinutes_ = other.lateJoinInMinutes_; + courseId_ = other.courseId_; + evsF48_ = other.evsF48_; + routeUrl_ = other.routeUrl_; + evsF50_ = other.evsF50_.Clone(); + evsF51_ = other.evsF51_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventSubgroupProtobuf Clone() { + return new EventSubgroupProtobuf(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private long id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 2; + private string name_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "description" field. + public const int DescriptionFieldNumber = 3; + private string description_ = ""; + /// + /// ex: "Welcome to our sociable early morning/evening social group ride." + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Description { + get { return description_; } + set { + description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "evs_f4" field. + public const int EvsF4FieldNumber = 4; + private uint evsF4_; + /// + /// "" + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EvsF4 { + get { return evsF4_; } + set { + evsF4_ = value; + } + } + + /// Field number for the "evs_f5" field. + public const int EvsF5FieldNumber = 5; + private uint evsF5_; + /// + /// 154 and others + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EvsF5 { + get { return evsF5_; } + set { + evsF5_ = value; + } } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + /// Field number for the "evs_f6" field. + public const int EvsF6FieldNumber = 6; + private uint evsF6_; + /// + /// 0 + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - WorldId = input.ReadInt32(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 24: { - Tag3 = input.ReadInt64(); - break; - } - case 32: { - Tag5 = input.ReadInt64(); - break; - } - case 48: { - WorldTime = input.ReadInt64(); - break; - } - case 56: { - ClockTime = input.ReadInt64(); - break; - } - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EvsF6 { + get { return evsF6_; } + set { + evsF6_ = value; } } - #endif - } + /// Field number for the "scode" field. + public const int ScodeFieldNumber = 7; + private string scode_ = ""; + /// + /// ex: "PT3600S" + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Scode { + get { return scode_; } + set { + scode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } - public sealed partial class WorldAttribute : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WorldAttribute()); - private pb::UnknownFieldSet _unknownFields; + /// Field number for the "rules_id" field. + public const int RulesIdFieldNumber = 8; + private int rulesId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RulesId { + get { return rulesId_; } + set { + rulesId_ = value; + } + } + /// Field number for the "registrationStart" field. + public const int RegistrationStartFieldNumber = 9; + private ulong registrationStart_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[20]; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong RegistrationStart { + get { return registrationStart_; } + set { + registrationStart_ = value; + } } + /// Field number for the "registrationStartWT" field. + public const int RegistrationStartWTFieldNumber = 10; + private ulong registrationStartWT_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong RegistrationStartWT { + get { return registrationStartWT_; } + set { + registrationStartWT_ = value; + } } + /// Field number for the "registrationEnd" field. + public const int RegistrationEndFieldNumber = 11; + private ulong registrationEnd_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public WorldAttribute() { - OnConstruction(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong RegistrationEnd { + get { return registrationEnd_; } + set { + registrationEnd_ = value; + } } - partial void OnConstruction(); + /// Field number for the "registrationEndWT" field. + public const int RegistrationEndWTFieldNumber = 12; + private ulong registrationEndWT_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong RegistrationEndWT { + get { return registrationEndWT_; } + set { + registrationEndWT_ = value; + } + } + /// Field number for the "lineUpStart" field. + public const int LineUpStartFieldNumber = 13; + private ulong lineUpStart_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public WorldAttribute(WorldAttribute other) : this() { - worldTime_ = other.worldTime_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong LineUpStart { + get { return lineUpStart_; } + set { + lineUpStart_ = value; + } } + /// Field number for the "lineUpStartWT" field. + public const int LineUpStartWTFieldNumber = 14; + private ulong lineUpStartWT_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public WorldAttribute Clone() { - return new WorldAttribute(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong LineUpStartWT { + get { return lineUpStartWT_; } + set { + lineUpStartWT_ = value; + } } - /// Field number for the "world_time" field. - public const int WorldTimeFieldNumber = 2; - private long worldTime_; + /// Field number for the "lineUpEnd" field. + public const int LineUpEndFieldNumber = 15; + private ulong lineUpEnd_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long WorldTime { - get { return worldTime_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong LineUpEnd { + get { return lineUpEnd_; } set { - worldTime_ = value; + lineUpEnd_ = value; } } + /// Field number for the "lineUpEndWT" field. + public const int LineUpEndWTFieldNumber = 16; + private ulong lineUpEndWT_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as WorldAttribute); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong LineUpEndWT { + get { return lineUpEndWT_; } + set { + lineUpEndWT_ = value; + } } + /// Field number for the "eventSubgroupStart" field. + public const int EventSubgroupStartFieldNumber = 17; + private ulong eventSubgroupStart_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(WorldAttribute other) { - if (ReferenceEquals(other, null)) { - return false; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EventSubgroupStart { + get { return eventSubgroupStart_; } + set { + eventSubgroupStart_ = value; } - if (ReferenceEquals(other, this)) { - return true; + } + + /// Field number for the "eventSubgroupStartWT" field. + public const int EventSubgroupStartWTFieldNumber = 18; + private ulong eventSubgroupStartWT_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EventSubgroupStartWT { + get { return eventSubgroupStartWT_; } + set { + eventSubgroupStartWT_ = value; } - if (WorldTime != other.WorldTime) return false; - return Equals(_unknownFields, other._unknownFields); } + /// Field number for the "evs_f19" field. + public const int EvsF19FieldNumber = 19; + private ulong evsF19_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (WorldTime != 0L) hash ^= WorldTime.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EvsF19 { + get { return evsF19_; } + set { + evsF19_ = value; } - return hash; } + /// Field number for the "evs_f20" field. + public const int EvsF20FieldNumber = 20; + private ulong evsF20_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EvsF20 { + get { return evsF20_; } + set { + evsF20_ = value; + } } + /// Field number for the "evs_f21" field. + public const int EvsF21FieldNumber = 21; + private bool evsF21_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (WorldTime != 0L) { - output.WriteRawTag(16); - output.WriteInt64(WorldTime); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EvsF21 { + get { return evsF21_; } + set { + evsF21_ = value; } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); + } + + /// Field number for the "route_id" field. + public const int RouteIdFieldNumber = 22; + private long routeId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long RouteId { + get { return routeId_; } + set { + routeId_ = value; } - #endif } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + /// Field number for the "invitedLeaders" field. + public const int InvitedLeadersFieldNumber = 23; + private static readonly pb::FieldCodec _repeated_invitedLeaders_codec + = pb::FieldCodec.ForUInt64(186); + private readonly pbc::RepeatedField invitedLeaders_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (WorldTime != 0L) { - output.WriteRawTag(16); - output.WriteInt64(WorldTime); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField InvitedLeaders { + get { return invitedLeaders_; } + } + + /// Field number for the "distanceInMeters" field. + public const int DistanceInMetersFieldNumber = 24; + private float distanceInMeters_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float DistanceInMeters { + get { return distanceInMeters_; } + set { + distanceInMeters_ = value; } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); + } + + /// Field number for the "laps" field. + public const int LapsFieldNumber = 25; + private int laps_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Laps { + get { return laps_; } + set { + laps_ = value; } } - #endif + /// Field number for the "startLocation" field. + public const int StartLocationFieldNumber = 29; + private int startLocation_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (WorldTime != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(WorldTime); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StartLocation { + get { return startLocation_; } + set { + startLocation_ = value; } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); + } + + /// Field number for the "label" field. + public const int LabelFieldNumber = 30; + private int label_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Label { + get { return label_; } + set { + label_ = value; } - return size; } + /// Field number for the "paceType" field. + public const int PaceTypeFieldNumber = 31; + private int paceType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(WorldAttribute other) { - if (other == null) { - return; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PaceType { + get { return paceType_; } + set { + paceType_ = value; } - if (other.WorldTime != 0L) { - WorldTime = other.WorldTime; + } + + /// Field number for the "fromPaceValue" field. + public const int FromPaceValueFieldNumber = 32; + private float fromPaceValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float FromPaceValue { + get { return fromPaceValue_; } + set { + fromPaceValue_ = value; } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } + /// Field number for the "toPaceValue" field. + public const int ToPaceValueFieldNumber = 33; + private float toPaceValue_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 16: { - WorldTime = input.ReadInt64(); - break; - } - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float ToPaceValue { + get { return toPaceValue_; } + set { + toPaceValue_ = value; } - #endif } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + /// Field number for the "durationInSeconds" field. + public const int DurationInSecondsFieldNumber = 34; + private uint durationInSeconds_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 16: { - WorldTime = input.ReadInt64(); - break; - } - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DurationInSeconds { + get { return durationInSeconds_; } + set { + durationInSeconds_ = value; } } - #endif - } + /// Field number for the "evs_f35" field. + public const int EvsF35FieldNumber = 35; + private uint evsF35_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EvsF35 { + get { return evsF35_; } + set { + evsF35_ = value; + } + } - public sealed partial class EventSubgroupProtobuf : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EventSubgroupProtobuf()); - private pb::UnknownFieldSet _unknownFields; + /// Field number for the "jerseyHash" field. + public const int JerseyHashFieldNumber = 36; + private long jerseyHash_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long JerseyHash { + get { return jerseyHash_; } + set { + jerseyHash_ = value; + } + } + /// Field number for the "evs_f37" field. + public const int EvsF37FieldNumber = 37; + private bool evsF37_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[21]; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EvsF37 { + get { return evsF37_; } + set { + evsF37_ = value; + } } + /// Field number for the "evs_f38" field. + public const int EvsF38FieldNumber = 38; + private uint evsF38_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EvsF38 { + get { return evsF38_; } + set { + evsF38_ = value; + } } + /// Field number for the "auxiliaryUrl" field. + public const int AuxiliaryUrlFieldNumber = 39; + private string auxiliaryUrl_ = ""; + /// + /// "https://cdn.zwift.com/AudioBroadcasts/wbrgrouprideaudiov4" + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public EventSubgroupProtobuf() { - OnConstruction(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AuxiliaryUrl { + get { return auxiliaryUrl_; } + set { + auxiliaryUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } } - partial void OnConstruction(); - + /// Field number for the "bikeHash" field. + public const int BikeHashFieldNumber = 40; + private ulong bikeHash_; + /// + /// 4208139356 + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public EventSubgroupProtobuf(EventSubgroupProtobuf other) : this() { - id_ = other.id_; - name_ = other.name_; - rules_ = other.rules_; - route_ = other.route_; - laps_ = other.laps_; - startLocation_ = other.startLocation_; - label_ = other.label_; - paceType_ = other.paceType_; - jerseyHash_ = other.jerseyHash_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BikeHash { + get { return bikeHash_; } + set { + bikeHash_ = value; + } } + /// Field number for the "invitedSweepers" field. + public const int InvitedSweepersFieldNumber = 41; + private static readonly pb::FieldCodec _repeated_invitedSweepers_codec + = pb::FieldCodec.ForUInt64(330); + private readonly pbc::RepeatedField invitedSweepers_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public EventSubgroupProtobuf Clone() { - return new EventSubgroupProtobuf(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField InvitedSweepers { + get { return invitedSweepers_; } } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "evs_f42" field. + public const int EvsF42FieldNumber = 42; + private ulong evsF42_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Id { - get { return id_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EvsF42 { + get { return evsF42_; } set { - id_ = value; + evsF42_ = value; } } - /// Field number for the "name" field. - public const int NameFieldNumber = 2; - private string name_ = ""; + /// Field number for the "customUrl" field. + public const int CustomUrlFieldNumber = 43; + private string customUrl_ = ""; + /// + /// https://cdn.zwift.com/events/upload/workouts/CafeRide1.zwo + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Name { - get { return name_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CustomUrl { + get { return customUrl_; } set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + customUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "rules" field. - public const int RulesFieldNumber = 8; - private int rules_; + /// Field number for the "evs_f44" field. + public const int EvsF44FieldNumber = 44; + private bool evsF44_; + /// + /// false + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Rules { - get { return rules_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EvsF44 { + get { return evsF44_; } set { - rules_ = value; + evsF44_ = value; } } - /// Field number for the "route" field. - public const int RouteFieldNumber = 22; - private int route_; + /// Field number for the "tags" field. + public const int TagsFieldNumber = 45; + private string tags_ = ""; + /// + /// semi-colon delimited tags eg: "fenced;3r;created_ryan;communityevent;no_kick_mode;timestamp=1603911177622" + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Route { - get { return route_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tags { + get { return tags_; } set { - route_ = value; + tags_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "laps" field. - public const int LapsFieldNumber = 25; - private int laps_; + /// Field number for the "lateJoinInMinutes" field. + public const int LateJoinInMinutesFieldNumber = 46; + private uint lateJoinInMinutes_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Laps { - get { return laps_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint LateJoinInMinutes { + get { return lateJoinInMinutes_; } set { - laps_ = value; + lateJoinInMinutes_ = value; } } - /// Field number for the "startLocation" field. - public const int StartLocationFieldNumber = 29; - private int startLocation_; + /// Field number for the "course_id" field. + public const int CourseIdFieldNumber = 47; + private ulong courseId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int StartLocation { - get { return startLocation_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong CourseId { + get { return courseId_; } set { - startLocation_ = value; + courseId_ = value; } } - /// Field number for the "label" field. - public const int LabelFieldNumber = 30; - private int label_; + /// Field number for the "evs_f48" field. + public const int EvsF48FieldNumber = 48; + private ulong evsF48_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Label { - get { return label_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong EvsF48 { + get { return evsF48_; } set { - label_ = value; + evsF48_ = value; } } - /// Field number for the "paceType" field. - public const int PaceTypeFieldNumber = 31; - private int paceType_; + /// Field number for the "routeUrl" field. + public const int RouteUrlFieldNumber = 49; + private string routeUrl_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int PaceType { - get { return paceType_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RouteUrl { + get { return routeUrl_; } set { - paceType_ = value; + routeUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "jerseyHash" field. - public const int JerseyHashFieldNumber = 36; - private int jerseyHash_; + /// Field number for the "evs_f50" field. + public const int EvsF50FieldNumber = 50; + private static readonly pb::FieldCodec _repeated_evsF50_codec + = pb::FieldCodec.ForInt32(402); + private readonly pbc::RepeatedField evsF50_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int JerseyHash { - get { return jerseyHash_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField EvsF50 { + get { return evsF50_; } + } + + /// Field number for the "evs_f51" field. + public const int EvsF51FieldNumber = 51; + private bool evsF51_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EvsF51 { + get { return evsF51_; } set { - jerseyHash_ = value; + evsF51_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as EventSubgroupProtobuf); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(EventSubgroupProtobuf other) { if (ReferenceEquals(other, null)) { return false; @@ -9871,28 +15107,107 @@ public bool Equals(EventSubgroupProtobuf other) { } if (Id != other.Id) return false; if (Name != other.Name) return false; - if (Rules != other.Rules) return false; - if (Route != other.Route) return false; + if (Description != other.Description) return false; + if (EvsF4 != other.EvsF4) return false; + if (EvsF5 != other.EvsF5) return false; + if (EvsF6 != other.EvsF6) return false; + if (Scode != other.Scode) return false; + if (RulesId != other.RulesId) return false; + if (RegistrationStart != other.RegistrationStart) return false; + if (RegistrationStartWT != other.RegistrationStartWT) return false; + if (RegistrationEnd != other.RegistrationEnd) return false; + if (RegistrationEndWT != other.RegistrationEndWT) return false; + if (LineUpStart != other.LineUpStart) return false; + if (LineUpStartWT != other.LineUpStartWT) return false; + if (LineUpEnd != other.LineUpEnd) return false; + if (LineUpEndWT != other.LineUpEndWT) return false; + if (EventSubgroupStart != other.EventSubgroupStart) return false; + if (EventSubgroupStartWT != other.EventSubgroupStartWT) return false; + if (EvsF19 != other.EvsF19) return false; + if (EvsF20 != other.EvsF20) return false; + if (EvsF21 != other.EvsF21) return false; + if (RouteId != other.RouteId) return false; + if(!invitedLeaders_.Equals(other.invitedLeaders_)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DistanceInMeters, other.DistanceInMeters)) return false; if (Laps != other.Laps) return false; if (StartLocation != other.StartLocation) return false; if (Label != other.Label) return false; if (PaceType != other.PaceType) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FromPaceValue, other.FromPaceValue)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ToPaceValue, other.ToPaceValue)) return false; + if (DurationInSeconds != other.DurationInSeconds) return false; + if (EvsF35 != other.EvsF35) return false; if (JerseyHash != other.JerseyHash) return false; + if (EvsF37 != other.EvsF37) return false; + if (EvsF38 != other.EvsF38) return false; + if (AuxiliaryUrl != other.AuxiliaryUrl) return false; + if (BikeHash != other.BikeHash) return false; + if(!invitedSweepers_.Equals(other.invitedSweepers_)) return false; + if (EvsF42 != other.EvsF42) return false; + if (CustomUrl != other.CustomUrl) return false; + if (EvsF44 != other.EvsF44) return false; + if (Tags != other.Tags) return false; + if (LateJoinInMinutes != other.LateJoinInMinutes) return false; + if (CourseId != other.CourseId) return false; + if (EvsF48 != other.EvsF48) return false; + if (RouteUrl != other.RouteUrl) return false; + if(!evsF50_.Equals(other.evsF50_)) return false; + if (EvsF51 != other.EvsF51) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); + if (Id != 0L) hash ^= Id.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Rules != 0) hash ^= Rules.GetHashCode(); - if (Route != 0) hash ^= Route.GetHashCode(); + if (Description.Length != 0) hash ^= Description.GetHashCode(); + if (EvsF4 != 0) hash ^= EvsF4.GetHashCode(); + if (EvsF5 != 0) hash ^= EvsF5.GetHashCode(); + if (EvsF6 != 0) hash ^= EvsF6.GetHashCode(); + if (Scode.Length != 0) hash ^= Scode.GetHashCode(); + if (RulesId != 0) hash ^= RulesId.GetHashCode(); + if (RegistrationStart != 0UL) hash ^= RegistrationStart.GetHashCode(); + if (RegistrationStartWT != 0UL) hash ^= RegistrationStartWT.GetHashCode(); + if (RegistrationEnd != 0UL) hash ^= RegistrationEnd.GetHashCode(); + if (RegistrationEndWT != 0UL) hash ^= RegistrationEndWT.GetHashCode(); + if (LineUpStart != 0UL) hash ^= LineUpStart.GetHashCode(); + if (LineUpStartWT != 0UL) hash ^= LineUpStartWT.GetHashCode(); + if (LineUpEnd != 0UL) hash ^= LineUpEnd.GetHashCode(); + if (LineUpEndWT != 0UL) hash ^= LineUpEndWT.GetHashCode(); + if (EventSubgroupStart != 0UL) hash ^= EventSubgroupStart.GetHashCode(); + if (EventSubgroupStartWT != 0UL) hash ^= EventSubgroupStartWT.GetHashCode(); + if (EvsF19 != 0UL) hash ^= EvsF19.GetHashCode(); + if (EvsF20 != 0UL) hash ^= EvsF20.GetHashCode(); + if (EvsF21 != false) hash ^= EvsF21.GetHashCode(); + if (RouteId != 0L) hash ^= RouteId.GetHashCode(); + hash ^= invitedLeaders_.GetHashCode(); + if (DistanceInMeters != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DistanceInMeters); if (Laps != 0) hash ^= Laps.GetHashCode(); if (StartLocation != 0) hash ^= StartLocation.GetHashCode(); if (Label != 0) hash ^= Label.GetHashCode(); if (PaceType != 0) hash ^= PaceType.GetHashCode(); - if (JerseyHash != 0) hash ^= JerseyHash.GetHashCode(); + if (FromPaceValue != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FromPaceValue); + if (ToPaceValue != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ToPaceValue); + if (DurationInSeconds != 0) hash ^= DurationInSeconds.GetHashCode(); + if (EvsF35 != 0) hash ^= EvsF35.GetHashCode(); + if (JerseyHash != 0L) hash ^= JerseyHash.GetHashCode(); + if (EvsF37 != false) hash ^= EvsF37.GetHashCode(); + if (EvsF38 != 0) hash ^= EvsF38.GetHashCode(); + if (AuxiliaryUrl.Length != 0) hash ^= AuxiliaryUrl.GetHashCode(); + if (BikeHash != 0UL) hash ^= BikeHash.GetHashCode(); + hash ^= invitedSweepers_.GetHashCode(); + if (EvsF42 != 0UL) hash ^= EvsF42.GetHashCode(); + if (CustomUrl.Length != 0) hash ^= CustomUrl.GetHashCode(); + if (EvsF44 != false) hash ^= EvsF44.GetHashCode(); + if (Tags.Length != 0) hash ^= Tags.GetHashCode(); + if (LateJoinInMinutes != 0) hash ^= LateJoinInMinutes.GetHashCode(); + if (CourseId != 0UL) hash ^= CourseId.GetHashCode(); + if (EvsF48 != 0UL) hash ^= EvsF48.GetHashCode(); + if (RouteUrl.Length != 0) hash ^= RouteUrl.GetHashCode(); + hash ^= evsF50_.GetHashCode(); + if (EvsF51 != false) hash ^= EvsF51.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -9900,30 +15215,109 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { + if (Id != 0L) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteInt64(Id); } if (Name.Length != 0) { output.WriteRawTag(18); output.WriteString(Name); } - if (Rules != 0) { + if (Description.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Description); + } + if (EvsF4 != 0) { + output.WriteRawTag(32); + output.WriteUInt32(EvsF4); + } + if (EvsF5 != 0) { + output.WriteRawTag(40); + output.WriteUInt32(EvsF5); + } + if (EvsF6 != 0) { + output.WriteRawTag(48); + output.WriteUInt32(EvsF6); + } + if (Scode.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Scode); + } + if (RulesId != 0) { output.WriteRawTag(64); - output.WriteInt32(Rules); + output.WriteInt32(RulesId); } - if (Route != 0) { + if (RegistrationStart != 0UL) { + output.WriteRawTag(72); + output.WriteUInt64(RegistrationStart); + } + if (RegistrationStartWT != 0UL) { + output.WriteRawTag(80); + output.WriteUInt64(RegistrationStartWT); + } + if (RegistrationEnd != 0UL) { + output.WriteRawTag(88); + output.WriteUInt64(RegistrationEnd); + } + if (RegistrationEndWT != 0UL) { + output.WriteRawTag(96); + output.WriteUInt64(RegistrationEndWT); + } + if (LineUpStart != 0UL) { + output.WriteRawTag(104); + output.WriteUInt64(LineUpStart); + } + if (LineUpStartWT != 0UL) { + output.WriteRawTag(112); + output.WriteUInt64(LineUpStartWT); + } + if (LineUpEnd != 0UL) { + output.WriteRawTag(120); + output.WriteUInt64(LineUpEnd); + } + if (LineUpEndWT != 0UL) { + output.WriteRawTag(128, 1); + output.WriteUInt64(LineUpEndWT); + } + if (EventSubgroupStart != 0UL) { + output.WriteRawTag(136, 1); + output.WriteUInt64(EventSubgroupStart); + } + if (EventSubgroupStartWT != 0UL) { + output.WriteRawTag(144, 1); + output.WriteUInt64(EventSubgroupStartWT); + } + if (EvsF19 != 0UL) { + output.WriteRawTag(152, 1); + output.WriteUInt64(EvsF19); + } + if (EvsF20 != 0UL) { + output.WriteRawTag(160, 1); + output.WriteUInt64(EvsF20); + } + if (EvsF21 != false) { + output.WriteRawTag(168, 1); + output.WriteBool(EvsF21); + } + if (RouteId != 0L) { output.WriteRawTag(176, 1); - output.WriteInt32(Route); + output.WriteInt64(RouteId); + } + invitedLeaders_.WriteTo(output, _repeated_invitedLeaders_codec); + if (DistanceInMeters != 0F) { + output.WriteRawTag(197, 1); + output.WriteFloat(DistanceInMeters); } if (Laps != 0) { output.WriteRawTag(200, 1); @@ -9941,9 +15335,79 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(248, 1); output.WriteInt32(PaceType); } - if (JerseyHash != 0) { + if (FromPaceValue != 0F) { + output.WriteRawTag(133, 2); + output.WriteFloat(FromPaceValue); + } + if (ToPaceValue != 0F) { + output.WriteRawTag(141, 2); + output.WriteFloat(ToPaceValue); + } + if (DurationInSeconds != 0) { + output.WriteRawTag(144, 2); + output.WriteUInt32(DurationInSeconds); + } + if (EvsF35 != 0) { + output.WriteRawTag(152, 2); + output.WriteUInt32(EvsF35); + } + if (JerseyHash != 0L) { output.WriteRawTag(160, 2); - output.WriteInt32(JerseyHash); + output.WriteInt64(JerseyHash); + } + if (EvsF37 != false) { + output.WriteRawTag(168, 2); + output.WriteBool(EvsF37); + } + if (EvsF38 != 0) { + output.WriteRawTag(176, 2); + output.WriteUInt32(EvsF38); + } + if (AuxiliaryUrl.Length != 0) { + output.WriteRawTag(186, 2); + output.WriteString(AuxiliaryUrl); + } + if (BikeHash != 0UL) { + output.WriteRawTag(192, 2); + output.WriteUInt64(BikeHash); + } + invitedSweepers_.WriteTo(output, _repeated_invitedSweepers_codec); + if (EvsF42 != 0UL) { + output.WriteRawTag(208, 2); + output.WriteUInt64(EvsF42); + } + if (CustomUrl.Length != 0) { + output.WriteRawTag(218, 2); + output.WriteString(CustomUrl); + } + if (EvsF44 != false) { + output.WriteRawTag(224, 2); + output.WriteBool(EvsF44); + } + if (Tags.Length != 0) { + output.WriteRawTag(234, 2); + output.WriteString(Tags); + } + if (LateJoinInMinutes != 0) { + output.WriteRawTag(240, 2); + output.WriteUInt32(LateJoinInMinutes); + } + if (CourseId != 0UL) { + output.WriteRawTag(248, 2); + output.WriteUInt64(CourseId); + } + if (EvsF48 != 0UL) { + output.WriteRawTag(128, 3); + output.WriteUInt64(EvsF48); + } + if (RouteUrl.Length != 0) { + output.WriteRawTag(138, 3); + output.WriteString(RouteUrl); + } + evsF50_.WriteTo(output, _repeated_evsF50_codec); + if (EvsF51 != false) { + output.WriteRawTag(152, 3); + output.WriteBool(EvsF51); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -9953,22 +15417,100 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (Id != 0L) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteInt64(Id); } if (Name.Length != 0) { output.WriteRawTag(18); output.WriteString(Name); } - if (Rules != 0) { + if (Description.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Description); + } + if (EvsF4 != 0) { + output.WriteRawTag(32); + output.WriteUInt32(EvsF4); + } + if (EvsF5 != 0) { + output.WriteRawTag(40); + output.WriteUInt32(EvsF5); + } + if (EvsF6 != 0) { + output.WriteRawTag(48); + output.WriteUInt32(EvsF6); + } + if (Scode.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Scode); + } + if (RulesId != 0) { output.WriteRawTag(64); - output.WriteInt32(Rules); + output.WriteInt32(RulesId); } - if (Route != 0) { + if (RegistrationStart != 0UL) { + output.WriteRawTag(72); + output.WriteUInt64(RegistrationStart); + } + if (RegistrationStartWT != 0UL) { + output.WriteRawTag(80); + output.WriteUInt64(RegistrationStartWT); + } + if (RegistrationEnd != 0UL) { + output.WriteRawTag(88); + output.WriteUInt64(RegistrationEnd); + } + if (RegistrationEndWT != 0UL) { + output.WriteRawTag(96); + output.WriteUInt64(RegistrationEndWT); + } + if (LineUpStart != 0UL) { + output.WriteRawTag(104); + output.WriteUInt64(LineUpStart); + } + if (LineUpStartWT != 0UL) { + output.WriteRawTag(112); + output.WriteUInt64(LineUpStartWT); + } + if (LineUpEnd != 0UL) { + output.WriteRawTag(120); + output.WriteUInt64(LineUpEnd); + } + if (LineUpEndWT != 0UL) { + output.WriteRawTag(128, 1); + output.WriteUInt64(LineUpEndWT); + } + if (EventSubgroupStart != 0UL) { + output.WriteRawTag(136, 1); + output.WriteUInt64(EventSubgroupStart); + } + if (EventSubgroupStartWT != 0UL) { + output.WriteRawTag(144, 1); + output.WriteUInt64(EventSubgroupStartWT); + } + if (EvsF19 != 0UL) { + output.WriteRawTag(152, 1); + output.WriteUInt64(EvsF19); + } + if (EvsF20 != 0UL) { + output.WriteRawTag(160, 1); + output.WriteUInt64(EvsF20); + } + if (EvsF21 != false) { + output.WriteRawTag(168, 1); + output.WriteBool(EvsF21); + } + if (RouteId != 0L) { output.WriteRawTag(176, 1); - output.WriteInt32(Route); + output.WriteInt64(RouteId); + } + invitedLeaders_.WriteTo(ref output, _repeated_invitedLeaders_codec); + if (DistanceInMeters != 0F) { + output.WriteRawTag(197, 1); + output.WriteFloat(DistanceInMeters); } if (Laps != 0) { output.WriteRawTag(200, 1); @@ -9986,9 +15528,79 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(248, 1); output.WriteInt32(PaceType); } - if (JerseyHash != 0) { + if (FromPaceValue != 0F) { + output.WriteRawTag(133, 2); + output.WriteFloat(FromPaceValue); + } + if (ToPaceValue != 0F) { + output.WriteRawTag(141, 2); + output.WriteFloat(ToPaceValue); + } + if (DurationInSeconds != 0) { + output.WriteRawTag(144, 2); + output.WriteUInt32(DurationInSeconds); + } + if (EvsF35 != 0) { + output.WriteRawTag(152, 2); + output.WriteUInt32(EvsF35); + } + if (JerseyHash != 0L) { output.WriteRawTag(160, 2); - output.WriteInt32(JerseyHash); + output.WriteInt64(JerseyHash); + } + if (EvsF37 != false) { + output.WriteRawTag(168, 2); + output.WriteBool(EvsF37); + } + if (EvsF38 != 0) { + output.WriteRawTag(176, 2); + output.WriteUInt32(EvsF38); + } + if (AuxiliaryUrl.Length != 0) { + output.WriteRawTag(186, 2); + output.WriteString(AuxiliaryUrl); + } + if (BikeHash != 0UL) { + output.WriteRawTag(192, 2); + output.WriteUInt64(BikeHash); + } + invitedSweepers_.WriteTo(ref output, _repeated_invitedSweepers_codec); + if (EvsF42 != 0UL) { + output.WriteRawTag(208, 2); + output.WriteUInt64(EvsF42); + } + if (CustomUrl.Length != 0) { + output.WriteRawTag(218, 2); + output.WriteString(CustomUrl); + } + if (EvsF44 != false) { + output.WriteRawTag(224, 2); + output.WriteBool(EvsF44); + } + if (Tags.Length != 0) { + output.WriteRawTag(234, 2); + output.WriteString(Tags); + } + if (LateJoinInMinutes != 0) { + output.WriteRawTag(240, 2); + output.WriteUInt32(LateJoinInMinutes); + } + if (CourseId != 0UL) { + output.WriteRawTag(248, 2); + output.WriteUInt64(CourseId); + } + if (EvsF48 != 0UL) { + output.WriteRawTag(128, 3); + output.WriteUInt64(EvsF48); + } + if (RouteUrl.Length != 0) { + output.WriteRawTag(138, 3); + output.WriteString(RouteUrl); + } + evsF50_.WriteTo(ref output, _repeated_evsF50_codec); + if (EvsF51 != false) { + output.WriteRawTag(152, 3); + output.WriteBool(EvsF51); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -9997,34 +15609,146 @@ public void WriteTo(pb::CodedOutputStream output) { #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (Id != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id); } if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } - if (Rules != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rules); + if (Description.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); + } + if (EvsF4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EvsF4); } - if (Route != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Route); + if (EvsF5 != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EvsF5); + } + if (EvsF6 != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EvsF6); + } + if (Scode.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Scode); + } + if (RulesId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RulesId); + } + if (RegistrationStart != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RegistrationStart); + } + if (RegistrationStartWT != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RegistrationStartWT); + } + if (RegistrationEnd != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RegistrationEnd); + } + if (RegistrationEndWT != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RegistrationEndWT); + } + if (LineUpStart != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LineUpStart); + } + if (LineUpStartWT != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LineUpStartWT); + } + if (LineUpEnd != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LineUpEnd); + } + if (LineUpEndWT != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(LineUpEndWT); + } + if (EventSubgroupStart != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(EventSubgroupStart); + } + if (EventSubgroupStartWT != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(EventSubgroupStartWT); + } + if (EvsF19 != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(EvsF19); + } + if (EvsF20 != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(EvsF20); + } + if (EvsF21 != false) { + size += 2 + 1; + } + if (RouteId != 0L) { + size += 2 + pb::CodedOutputStream.ComputeInt64Size(RouteId); + } + size += invitedLeaders_.CalculateSize(_repeated_invitedLeaders_codec); + if (DistanceInMeters != 0F) { + size += 2 + 4; } if (Laps != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(Laps); } - if (StartLocation != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(StartLocation); + if (StartLocation != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(StartLocation); + } + if (Label != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Label); + } + if (PaceType != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(PaceType); + } + if (FromPaceValue != 0F) { + size += 2 + 4; + } + if (ToPaceValue != 0F) { + size += 2 + 4; + } + if (DurationInSeconds != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(DurationInSeconds); + } + if (EvsF35 != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(EvsF35); + } + if (JerseyHash != 0L) { + size += 2 + pb::CodedOutputStream.ComputeInt64Size(JerseyHash); + } + if (EvsF37 != false) { + size += 2 + 1; + } + if (EvsF38 != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(EvsF38); + } + if (AuxiliaryUrl.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(AuxiliaryUrl); + } + if (BikeHash != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(BikeHash); + } + size += invitedSweepers_.CalculateSize(_repeated_invitedSweepers_codec); + if (EvsF42 != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(EvsF42); + } + if (CustomUrl.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(CustomUrl); + } + if (EvsF44 != false) { + size += 2 + 1; + } + if (Tags.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Tags); + } + if (LateJoinInMinutes != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(LateJoinInMinutes); + } + if (CourseId != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(CourseId); } - if (Label != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Label); + if (EvsF48 != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(EvsF48); } - if (PaceType != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(PaceType); + if (RouteUrl.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(RouteUrl); } - if (JerseyHash != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(JerseyHash); + size += evsF50_.CalculateSize(_repeated_evsF50_codec); + if (EvsF51 != false) { + size += 2 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -10033,392 +15757,154 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(EventSubgroupProtobuf other) { if (other == null) { return; } - if (other.Id != 0) { + if (other.Id != 0L) { Id = other.Id; } if (other.Name.Length != 0) { Name = other.Name; } - if (other.Rules != 0) { - Rules = other.Rules; + if (other.Description.Length != 0) { + Description = other.Description; } - if (other.Route != 0) { - Route = other.Route; + if (other.EvsF4 != 0) { + EvsF4 = other.EvsF4; } - if (other.Laps != 0) { - Laps = other.Laps; + if (other.EvsF5 != 0) { + EvsF5 = other.EvsF5; } - if (other.StartLocation != 0) { - StartLocation = other.StartLocation; + if (other.EvsF6 != 0) { + EvsF6 = other.EvsF6; } - if (other.Label != 0) { - Label = other.Label; + if (other.Scode.Length != 0) { + Scode = other.Scode; } - if (other.PaceType != 0) { - PaceType = other.PaceType; + if (other.RulesId != 0) { + RulesId = other.RulesId; } - if (other.JerseyHash != 0) { - JerseyHash = other.JerseyHash; + if (other.RegistrationStart != 0UL) { + RegistrationStart = other.RegistrationStart; } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Id = input.ReadInt32(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 64: { - Rules = input.ReadInt32(); - break; - } - case 176: { - Route = input.ReadInt32(); - break; - } - case 200: { - Laps = input.ReadInt32(); - break; - } - case 232: { - StartLocation = input.ReadInt32(); - break; - } - case 240: { - Label = input.ReadInt32(); - break; - } - case 248: { - PaceType = input.ReadInt32(); - break; - } - case 288: { - JerseyHash = input.ReadInt32(); - break; - } - } + if (other.RegistrationStartWT != 0UL) { + RegistrationStartWT = other.RegistrationStartWT; } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Id = input.ReadInt32(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 64: { - Rules = input.ReadInt32(); - break; - } - case 176: { - Route = input.ReadInt32(); - break; - } - case 200: { - Laps = input.ReadInt32(); - break; - } - case 232: { - StartLocation = input.ReadInt32(); - break; - } - case 240: { - Label = input.ReadInt32(); - break; - } - case 248: { - PaceType = input.ReadInt32(); - break; - } - case 288: { - JerseyHash = input.ReadInt32(); - break; - } - } + if (other.RegistrationEnd != 0UL) { + RegistrationEnd = other.RegistrationEnd; } - } - #endif - - } - - public sealed partial class RiderAttributes : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RiderAttributes()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.ZwiftMessagesReflection.Descriptor.MessageTypes[22]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RiderAttributes() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RiderAttributes(RiderAttributes other) : this() { - f2_ = other.f2_; - f3_ = other.f3_; - attributeMessage_ = other.attributeMessage_ != null ? other.attributeMessage_.Clone() : null; - theirId_ = other.theirId_; - f13_ = other.f13_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RiderAttributes Clone() { - return new RiderAttributes(this); - } - - /// Field number for the "f2" field. - public const int F2FieldNumber = 2; - private int f2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F2 { - get { return f2_; } - set { - f2_ = value; + if (other.RegistrationEndWT != 0UL) { + RegistrationEndWT = other.RegistrationEndWT; } - } - - /// Field number for the "f3" field. - public const int F3FieldNumber = 3; - private int f3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F3 { - get { return f3_; } - set { - f3_ = value; + if (other.LineUpStart != 0UL) { + LineUpStart = other.LineUpStart; } - } - - /// Field number for the "attributeMessage" field. - public const int AttributeMessageFieldNumber = 4; - private global::ZwiftPacketMonitor.RiderAttributes.Types.AttributeMessage attributeMessage_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::ZwiftPacketMonitor.RiderAttributes.Types.AttributeMessage AttributeMessage { - get { return attributeMessage_; } - set { - attributeMessage_ = value; + if (other.LineUpStartWT != 0UL) { + LineUpStartWT = other.LineUpStartWT; } - } - - /// Field number for the "theirId" field. - public const int TheirIdFieldNumber = 10; - private int theirId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int TheirId { - get { return theirId_; } - set { - theirId_ = value; + if (other.LineUpEnd != 0UL) { + LineUpEnd = other.LineUpEnd; } - } - - /// Field number for the "f13" field. - public const int F13FieldNumber = 13; - private int f13_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int F13 { - get { return f13_; } - set { - f13_ = value; + if (other.LineUpEndWT != 0UL) { + LineUpEndWT = other.LineUpEndWT; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as RiderAttributes); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(RiderAttributes other) { - if (ReferenceEquals(other, null)) { - return false; + if (other.EventSubgroupStart != 0UL) { + EventSubgroupStart = other.EventSubgroupStart; } - if (ReferenceEquals(other, this)) { - return true; + if (other.EventSubgroupStartWT != 0UL) { + EventSubgroupStartWT = other.EventSubgroupStartWT; } - if (F2 != other.F2) return false; - if (F3 != other.F3) return false; - if (!object.Equals(AttributeMessage, other.AttributeMessage)) return false; - if (TheirId != other.TheirId) return false; - if (F13 != other.F13) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (F2 != 0) hash ^= F2.GetHashCode(); - if (F3 != 0) hash ^= F3.GetHashCode(); - if (attributeMessage_ != null) hash ^= AttributeMessage.GetHashCode(); - if (TheirId != 0) hash ^= TheirId.GetHashCode(); - if (F13 != 0) hash ^= F13.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); + if (other.EvsF19 != 0UL) { + EvsF19 = other.EvsF19; } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (F2 != 0) { - output.WriteRawTag(16); - output.WriteInt32(F2); + if (other.EvsF20 != 0UL) { + EvsF20 = other.EvsF20; } - if (F3 != 0) { - output.WriteRawTag(24); - output.WriteInt32(F3); + if (other.EvsF21 != false) { + EvsF21 = other.EvsF21; } - if (attributeMessage_ != null) { - output.WriteRawTag(34); - output.WriteMessage(AttributeMessage); + if (other.RouteId != 0L) { + RouteId = other.RouteId; } - if (TheirId != 0) { - output.WriteRawTag(80); - output.WriteInt32(TheirId); + invitedLeaders_.Add(other.invitedLeaders_); + if (other.DistanceInMeters != 0F) { + DistanceInMeters = other.DistanceInMeters; } - if (F13 != 0) { - output.WriteRawTag(104); - output.WriteInt32(F13); + if (other.Laps != 0) { + Laps = other.Laps; } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); + if (other.StartLocation != 0) { + StartLocation = other.StartLocation; } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (F2 != 0) { - output.WriteRawTag(16); - output.WriteInt32(F2); + if (other.Label != 0) { + Label = other.Label; } - if (F3 != 0) { - output.WriteRawTag(24); - output.WriteInt32(F3); + if (other.PaceType != 0) { + PaceType = other.PaceType; } - if (attributeMessage_ != null) { - output.WriteRawTag(34); - output.WriteMessage(AttributeMessage); + if (other.FromPaceValue != 0F) { + FromPaceValue = other.FromPaceValue; } - if (TheirId != 0) { - output.WriteRawTag(80); - output.WriteInt32(TheirId); + if (other.ToPaceValue != 0F) { + ToPaceValue = other.ToPaceValue; } - if (F13 != 0) { - output.WriteRawTag(104); - output.WriteInt32(F13); + if (other.DurationInSeconds != 0) { + DurationInSeconds = other.DurationInSeconds; } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); + if (other.EvsF35 != 0) { + EvsF35 = other.EvsF35; } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (F2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F2); + if (other.JerseyHash != 0L) { + JerseyHash = other.JerseyHash; } - if (F3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F3); + if (other.EvsF37 != false) { + EvsF37 = other.EvsF37; } - if (attributeMessage_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(AttributeMessage); + if (other.EvsF38 != 0) { + EvsF38 = other.EvsF38; } - if (TheirId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TheirId); + if (other.AuxiliaryUrl.Length != 0) { + AuxiliaryUrl = other.AuxiliaryUrl; } - if (F13 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(F13); + if (other.BikeHash != 0UL) { + BikeHash = other.BikeHash; } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); + invitedSweepers_.Add(other.invitedSweepers_); + if (other.EvsF42 != 0UL) { + EvsF42 = other.EvsF42; } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(RiderAttributes other) { - if (other == null) { - return; + if (other.CustomUrl.Length != 0) { + CustomUrl = other.CustomUrl; } - if (other.F2 != 0) { - F2 = other.F2; + if (other.EvsF44 != false) { + EvsF44 = other.EvsF44; } - if (other.F3 != 0) { - F3 = other.F3; + if (other.Tags.Length != 0) { + Tags = other.Tags; } - if (other.attributeMessage_ != null) { - if (attributeMessage_ == null) { - AttributeMessage = new global::ZwiftPacketMonitor.RiderAttributes.Types.AttributeMessage(); - } - AttributeMessage.MergeFrom(other.AttributeMessage); + if (other.LateJoinInMinutes != 0) { + LateJoinInMinutes = other.LateJoinInMinutes; + } + if (other.CourseId != 0UL) { + CourseId = other.CourseId; } - if (other.TheirId != 0) { - TheirId = other.TheirId; + if (other.EvsF48 != 0UL) { + EvsF48 = other.EvsF48; } - if (other.F13 != 0) { - F13 = other.F13; + if (other.RouteUrl.Length != 0) { + RouteUrl = other.RouteUrl; + } + evsF50_.Add(other.evsF50_); + if (other.EvsF51 != false) { + EvsF51 = other.EvsF51; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); @@ -10429,27 +15915,199 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 16: { - F2 = input.ReadInt32(); + case 8: { + Id = input.ReadInt64(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 26: { + Description = input.ReadString(); + break; + } + case 32: { + EvsF4 = input.ReadUInt32(); break; } - case 24: { - F3 = input.ReadInt32(); + case 40: { + EvsF5 = input.ReadUInt32(); break; } - case 34: { - if (attributeMessage_ == null) { - AttributeMessage = new global::ZwiftPacketMonitor.RiderAttributes.Types.AttributeMessage(); - } - input.ReadMessage(AttributeMessage); + case 48: { + EvsF6 = input.ReadUInt32(); + break; + } + case 58: { + Scode = input.ReadString(); + break; + } + case 64: { + RulesId = input.ReadInt32(); + break; + } + case 72: { + RegistrationStart = input.ReadUInt64(); break; } case 80: { - TheirId = input.ReadInt32(); + RegistrationStartWT = input.ReadUInt64(); + break; + } + case 88: { + RegistrationEnd = input.ReadUInt64(); + break; + } + case 96: { + RegistrationEndWT = input.ReadUInt64(); break; } case 104: { - F13 = input.ReadInt32(); + LineUpStart = input.ReadUInt64(); + break; + } + case 112: { + LineUpStartWT = input.ReadUInt64(); + break; + } + case 120: { + LineUpEnd = input.ReadUInt64(); + break; + } + case 128: { + LineUpEndWT = input.ReadUInt64(); + break; + } + case 136: { + EventSubgroupStart = input.ReadUInt64(); + break; + } + case 144: { + EventSubgroupStartWT = input.ReadUInt64(); + break; + } + case 152: { + EvsF19 = input.ReadUInt64(); + break; + } + case 160: { + EvsF20 = input.ReadUInt64(); + break; + } + case 168: { + EvsF21 = input.ReadBool(); + break; + } + case 176: { + RouteId = input.ReadInt64(); + break; + } + case 186: + case 184: { + invitedLeaders_.AddEntriesFrom(input, _repeated_invitedLeaders_codec); + break; + } + case 197: { + DistanceInMeters = input.ReadFloat(); + break; + } + case 200: { + Laps = input.ReadInt32(); + break; + } + case 232: { + StartLocation = input.ReadInt32(); + break; + } + case 240: { + Label = input.ReadInt32(); + break; + } + case 248: { + PaceType = input.ReadInt32(); + break; + } + case 261: { + FromPaceValue = input.ReadFloat(); + break; + } + case 269: { + ToPaceValue = input.ReadFloat(); + break; + } + case 272: { + DurationInSeconds = input.ReadUInt32(); + break; + } + case 280: { + EvsF35 = input.ReadUInt32(); + break; + } + case 288: { + JerseyHash = input.ReadInt64(); + break; + } + case 296: { + EvsF37 = input.ReadBool(); + break; + } + case 304: { + EvsF38 = input.ReadUInt32(); + break; + } + case 314: { + AuxiliaryUrl = input.ReadString(); + break; + } + case 320: { + BikeHash = input.ReadUInt64(); + break; + } + case 330: + case 328: { + invitedSweepers_.AddEntriesFrom(input, _repeated_invitedSweepers_codec); + break; + } + case 336: { + EvsF42 = input.ReadUInt64(); + break; + } + case 346: { + CustomUrl = input.ReadString(); + break; + } + case 352: { + EvsF44 = input.ReadBool(); + break; + } + case 362: { + Tags = input.ReadString(); + break; + } + case 368: { + LateJoinInMinutes = input.ReadUInt32(); + break; + } + case 376: { + CourseId = input.ReadUInt64(); + break; + } + case 384: { + EvsF48 = input.ReadUInt64(); + break; + } + case 394: { + RouteUrl = input.ReadString(); + break; + } + case 402: + case 400: { + evsF50_.AddEntriesFrom(input, _repeated_evsF50_codec); + break; + } + case 408: { + EvsF51 = input.ReadBool(); break; } } @@ -10459,6 +16117,7 @@ public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { @@ -10466,356 +16125,205 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 16: { - F2 = input.ReadInt32(); + case 8: { + Id = input.ReadInt64(); break; } - case 24: { - F3 = input.ReadInt32(); + case 18: { + Name = input.ReadString(); break; } - case 34: { - if (attributeMessage_ == null) { - AttributeMessage = new global::ZwiftPacketMonitor.RiderAttributes.Types.AttributeMessage(); - } - input.ReadMessage(AttributeMessage); + case 26: { + Description = input.ReadString(); + break; + } + case 32: { + EvsF4 = input.ReadUInt32(); + break; + } + case 40: { + EvsF5 = input.ReadUInt32(); + break; + } + case 48: { + EvsF6 = input.ReadUInt32(); + break; + } + case 58: { + Scode = input.ReadString(); + break; + } + case 64: { + RulesId = input.ReadInt32(); + break; + } + case 72: { + RegistrationStart = input.ReadUInt64(); break; } case 80: { - TheirId = input.ReadInt32(); + RegistrationStartWT = input.ReadUInt64(); + break; + } + case 88: { + RegistrationEnd = input.ReadUInt64(); + break; + } + case 96: { + RegistrationEndWT = input.ReadUInt64(); break; } case 104: { - F13 = input.ReadInt32(); + LineUpStart = input.ReadUInt64(); break; } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the RiderAttributes message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static partial class Types { - public sealed partial class AttributeMessage : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AttributeMessage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ZwiftPacketMonitor.RiderAttributes.Descriptor.NestedTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AttributeMessage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AttributeMessage(AttributeMessage other) : this() { - myId_ = other.myId_; - theirId_ = other.theirId_; - firstName_ = other.firstName_; - lastName_ = other.lastName_; - countryCode_ = other.countryCode_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AttributeMessage Clone() { - return new AttributeMessage(this); - } - - /// Field number for the "myId" field. - public const int MyIdFieldNumber = 1; - private int myId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int MyId { - get { return myId_; } - set { - myId_ = value; + case 112: { + LineUpStartWT = input.ReadUInt64(); + break; } - } - - /// Field number for the "theirId" field. - public const int TheirIdFieldNumber = 2; - private int theirId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int TheirId { - get { return theirId_; } - set { - theirId_ = value; + case 120: { + LineUpEnd = input.ReadUInt64(); + break; } - } - - /// Field number for the "firstName" field. - public const int FirstNameFieldNumber = 3; - private string firstName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string FirstName { - get { return firstName_; } - set { - firstName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + case 128: { + LineUpEndWT = input.ReadUInt64(); + break; } - } - - /// Field number for the "lastName" field. - public const int LastNameFieldNumber = 4; - private string lastName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string LastName { - get { return lastName_; } - set { - lastName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + case 136: { + EventSubgroupStart = input.ReadUInt64(); + break; } - } - - /// Field number for the "countryCode" field. - public const int CountryCodeFieldNumber = 5; - private int countryCode_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CountryCode { - get { return countryCode_; } - set { - countryCode_ = value; + case 144: { + EventSubgroupStartWT = input.ReadUInt64(); + break; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as AttributeMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(AttributeMessage other) { - if (ReferenceEquals(other, null)) { - return false; + case 152: { + EvsF19 = input.ReadUInt64(); + break; } - if (ReferenceEquals(other, this)) { - return true; + case 160: { + EvsF20 = input.ReadUInt64(); + break; } - if (MyId != other.MyId) return false; - if (TheirId != other.TheirId) return false; - if (FirstName != other.FirstName) return false; - if (LastName != other.LastName) return false; - if (CountryCode != other.CountryCode) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (MyId != 0) hash ^= MyId.GetHashCode(); - if (TheirId != 0) hash ^= TheirId.GetHashCode(); - if (FirstName.Length != 0) hash ^= FirstName.GetHashCode(); - if (LastName.Length != 0) hash ^= LastName.GetHashCode(); - if (CountryCode != 0) hash ^= CountryCode.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (MyId != 0) { - output.WriteRawTag(8); - output.WriteInt32(MyId); + case 168: { + EvsF21 = input.ReadBool(); + break; } - if (TheirId != 0) { - output.WriteRawTag(16); - output.WriteInt32(TheirId); + case 176: { + RouteId = input.ReadInt64(); + break; } - if (FirstName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(FirstName); + case 186: + case 184: { + invitedLeaders_.AddEntriesFrom(ref input, _repeated_invitedLeaders_codec); + break; } - if (LastName.Length != 0) { - output.WriteRawTag(34); - output.WriteString(LastName); + case 197: { + DistanceInMeters = input.ReadFloat(); + break; } - if (CountryCode != 0) { - output.WriteRawTag(40); - output.WriteInt32(CountryCode); + case 200: { + Laps = input.ReadInt32(); + break; } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); + case 232: { + StartLocation = input.ReadInt32(); + break; } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (MyId != 0) { - output.WriteRawTag(8); - output.WriteInt32(MyId); + case 240: { + Label = input.ReadInt32(); + break; } - if (TheirId != 0) { - output.WriteRawTag(16); - output.WriteInt32(TheirId); + case 248: { + PaceType = input.ReadInt32(); + break; } - if (FirstName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(FirstName); + case 261: { + FromPaceValue = input.ReadFloat(); + break; } - if (LastName.Length != 0) { - output.WriteRawTag(34); - output.WriteString(LastName); + case 269: { + ToPaceValue = input.ReadFloat(); + break; } - if (CountryCode != 0) { - output.WriteRawTag(40); - output.WriteInt32(CountryCode); + case 272: { + DurationInSeconds = input.ReadUInt32(); + break; } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); + case 280: { + EvsF35 = input.ReadUInt32(); + break; } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (MyId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MyId); + case 288: { + JerseyHash = input.ReadInt64(); + break; + } + case 296: { + EvsF37 = input.ReadBool(); + break; + } + case 304: { + EvsF38 = input.ReadUInt32(); + break; } - if (TheirId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TheirId); + case 314: { + AuxiliaryUrl = input.ReadString(); + break; } - if (FirstName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FirstName); + case 320: { + BikeHash = input.ReadUInt64(); + break; } - if (LastName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(LastName); + case 330: + case 328: { + invitedSweepers_.AddEntriesFrom(ref input, _repeated_invitedSweepers_codec); + break; } - if (CountryCode != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CountryCode); + case 336: { + EvsF42 = input.ReadUInt64(); + break; } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); + case 346: { + CustomUrl = input.ReadString(); + break; } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(AttributeMessage other) { - if (other == null) { - return; + case 352: { + EvsF44 = input.ReadBool(); + break; } - if (other.MyId != 0) { - MyId = other.MyId; + case 362: { + Tags = input.ReadString(); + break; } - if (other.TheirId != 0) { - TheirId = other.TheirId; + case 368: { + LateJoinInMinutes = input.ReadUInt32(); + break; } - if (other.FirstName.Length != 0) { - FirstName = other.FirstName; + case 376: { + CourseId = input.ReadUInt64(); + break; } - if (other.LastName.Length != 0) { - LastName = other.LastName; + case 384: { + EvsF48 = input.ReadUInt64(); + break; } - if (other.CountryCode != 0) { - CountryCode = other.CountryCode; + case 394: { + RouteUrl = input.ReadString(); + break; } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - MyId = input.ReadInt32(); - break; - } - case 16: { - TheirId = input.ReadInt32(); - break; - } - case 26: { - FirstName = input.ReadString(); - break; - } - case 34: { - LastName = input.ReadString(); - break; - } - case 40: { - CountryCode = input.ReadInt32(); - break; - } - } + case 402: + case 400: { + evsF50_.AddEntriesFrom(ref input, _repeated_evsF50_codec); + break; } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - MyId = input.ReadInt32(); - break; - } - case 16: { - TheirId = input.ReadInt32(); - break; - } - case 26: { - FirstName = input.ReadString(); - break; - } - case 34: { - LastName = input.ReadString(); - break; - } - case 40: { - CountryCode = input.ReadInt32(); - break; - } - } + case 408: { + EvsF51 = input.ReadBool(); + break; } } - #endif - } - } - #endregion + #endif } diff --git a/src/ZwiftPacketMonitor.csproj b/src/ZwiftPacketMonitor.csproj index 3862604..77e2c66 100644 --- a/src/ZwiftPacketMonitor.csproj +++ b/src/ZwiftPacketMonitor.csproj @@ -27,4 +27,12 @@ + + + + + + + + \ No newline at end of file diff --git a/src/zwiftMessages.proto b/src/zwiftMessages.proto index fe801a6..e9ed53f 100644 --- a/src/zwiftMessages.proto +++ b/src/zwiftMessages.proto @@ -1,62 +1,150 @@ syntax="proto3"; package ZwiftPacketMonitor; -message Meetup { - int32 id = 1; - int32 tag2 = 2; +enum NotableMomentTypeZG { + NMT_NEW_PR = 0; + NMT_GAINED_LEVEL = 5; + NMT_TRAINING_PLAN_COMPLETE = 19; + NMT_UNLOCKED_ITEM = 4; + NMT_ACHIEVEMENT_UNLOCKED = 2; + NMT_MISSION_COMPLETED = 3; + NMT_COMPLETED_GOAL = 10; + NMT_MET_DAILY_TARGET = 1; + NMT_TOOK_ARCH_JERSEY = 8; + NMT_FINISHED_CHALLENGE = 17; + NMT_FINISHED_EVENT = 13; + NMT_FINISHED_WORKOUT = 15; + NMT_ACTIVITY_BESTS = 20; + NMT_RIDEON = 18; + NMT_RIDEON_INT = 22; //international + NMT_QUIT_EVENT = 12; + NMT_USED_POWERUP = 6; + NMT_PASSED_TIMING_ARCH = 7; + NMT_CREATED_GOAL = 9; + NMT_JOINED_EVENT = 11; + NMT_STARTED_WORKOUT = 14; + NMT_STARTED_MISSION = 16; + NMT_HOLIDAY_EVENT_COMPLETE = 21; +} +message NotableMoment { + uint64 activity_id = 1; + NotableMomentTypeZG type = 2; + uint32 priority = 3; + uint64 incidentTime = 4; + string aux1 = 5; + string aux2 = 6; + string largeImageUrl = 7; +} +enum EventType { + ET_UNKNOWN = 0; + EFONDO = 1; + RACE = 2; + GROUP_RIDE = 3; + GROUP_WORKOUT = 4; + TIME_TRIAL = 5; +} +enum EventVisibility { + EV_NULL = 0; + EV_PUB_SHARE = 1; // event public shareable + EV_BY_RESOURCE = 2; // event defined by resource + EV_SHAREABLE = 3; +} +message MicroserviceEventData { + string name = 1; // "clubs" everywhere (json: microserviceName) + bytes externalResourceId = 2; // different 16-byte bb4538bfd13346c99a4df2b3cc3b5d95 (json: microserviceExternalResourceId) + EventVisibility visibility = 3; // enum 1 (json: microserviceEventVisibility) +} +message EventSeriesProtobuf { + uint64 id = 1; //5445 or 1485 + string name = 2; //INEOSVTC or "Fast Friday" + string description = 3; //"" or "Congratulations, you crushed another week of workouts! ..." +} +message EventTimeTrialOptions { + uint32 timeGapBetweenRowsMs = 1; //15000 everywhere + uint32 maxRows = 2; //50 or 25 + uint32 maxRidersPerRow = 3; //10 everywhere + uint32 evt_f4 = 4; + uint64 evt_f5 = 5; +} +message EventProtobuf { + int64 id = 1; + int64 server_realm = 2; string name = 3; string description = 4; - int64 start_time = 5; - fixed32 distance = 7; - int32 tag8 = 8; - - message MeetupInner { - int32 id = 1; - string name = 2; - string description = 3; - string f7 = 7; - int64 f8 = 8; - int64 f9 = 9; - int64 f10 = 10; - int64 f11 = 11; - int64 f12 = 12; - int64 f13 = 13; - int64 f14 = 14; - int64 f15 = 15; - int64 f16 = 16; - int64 f17 = 17; - int64 f18 = 18; - int64 f22 = 22; - fixed32 distance = 24; - int64 f25 = 25; - int32 f29 = 29; - int32 f30 = 30; - int32 f31 = 31; - fixed32 f32 = 32; - fixed32 f33 = 33; - int32 duration = 34; - int64 f42 = 42; - int64 f44 = 44; - int32 f46 = 46; - int32 f47 = 47; - } - MeetupInner meetup_inner = 10; + int64 event_start = 5; + string e_f6 = 6; + float distanceInMeters = 7; + int32 laps = 8; + int32 e_f9 = 9; + EventSubgroupProtobuf category = 10; //event_subgroup_size() <= MAX_SUBGROUPS(6) + string e_f11 = 11; string thumbnail = 12; - int32 duration = 13; - int64 f14 = 14; - int32 f17 = 17; - int32 f18 = 18; - int32 f22 = 22; - int32 f23 = 23; - int32 meetup_only_view = 24; - int32 f25 = 25; - int32 f27 = 27; - int32 f28 = 28; - int32 f29 = 29; - int32 f34 = 34; - int32 f35 = 35; + int32 durationInSeconds = 13; + int64 route_id = 14; + int64 rules_id = 15; + int32 e_f16 = 16; + bool visible = 17; + int64 jerseyHash = 18; + string e_f19 = 19; + string e_f20 = 20; + string e_f21 = 21; + Sport sport = 22; + int64 e_f23 = 23; + EventType eventType = 24; + uint64 e_f25 = 25; + string e_f26 = 26; + uint64 e_f27 = 27; //<=4, ENUM? + bool overrideMapPreferences = 28; + bool invisibleToNonParticipants = 29; + EventSeriesProtobuf evSeries = 30; + string tags = 31; // semi-colon delimited tags + uint64 e_f32 = 32; + bool e_wtrl = 33; //WTRL (World Tactical Racing Leagues) + uint32 lateJoinInMinutes = 34; + uint64 course_id = 35; + EventTimeTrialOptions tto = 36; + string e_f37 = 37; + string e_f38 = 38; + uint32 e_f39 = 39; + MicroserviceEventData msed = 40; + repeated uint32 e_f41 = 41; +} +enum WA_TYPE { + WAT_UNK0 = 0; + WAT_UNK1 = 1; + WAT_LEAVE = 2; //proto::PlayerLeftWorld + WAT_RELOGIN = 3; //proto::PlayerLeftWorld + WAT_RIDE_ON = 4; //proto::RideOn + WAT_SPA = 5; //proto::SocialPlayerAction (chat message) + WAT_EVENT = 6; //proto::Event + WAT_JOIN_E = 7; //proto::PlayerJoinedEvent + WAT_LEFT_E = 8; //proto::PlayerLeftEvent + WAT_RQ_PROF = 9; //proto::RequestProfileFromServer + WAT_INV_W = 10; //proto::ReceiveInvitationWorldAttribute + WAT_KICKED = 11; //no payload + WAT_WTIME = 100; //g_WorldTime := payload (GOD message, may be ignored if ZWIFT\CONFIG\IGNOREGODMESSAGES=1) + WAT_RTIME = 101; //BlimpEntity::SetRoadTime(payload), also GOD message + WAT_B_ACT = 102; //BikeEntity::PerformAction(payload) + WAT_GRP_M = 103; //GroupMessage (may be ignored if ZWIFT\CONFIG\SHOWGROUPMSGS=1) + WAT_PRI_M = 104; //PrivateMessage + WAT_SR = 105; //proto::SegmentResult + WAT_FLAG = 106; //Leaderboards::FlagSandbagger / Leaderboards::FlagCheater + WAT_NONE = 107; //does nothing + WAT_RLA = 108; //ZNETWORK_BroadcastRideLeaderAction + WAT_GE = 109; //GroupEvents::UserSignedup / GroupEvents::UserRegistered + WAT_NM = 110; //notable moment + Play_Magic_Whoosh_Deep_Sparkle + WAT_LATE = 111; //ZNETWORK_INTERNAL_HandleLateJoinRequest + WAT_RH = 112; //ZNETWORK_INTERNAL_HandleRouteHashRequest + WAT_STATS = 113; //GLOBAL_MESSAGE_TYPE_RIDER_FENCE_STATS + WAT_FENCE = 114; //GLOBAL_MESSAGE_TYPE_GRFENCE_CONFIG + WAT_BN_GE = 115; //ZNETWORK_BroadcastBibNumberForGroupEvent + WAT_PPI = 116; //ZNETWORK_INTERNAL_HandlePacePartnerInfo +} +enum Sport { + CYCLING = 0; + RUNNING = 1; + ROWING = 2; } - message PlayerState { int32 id = 1; int64 worldTime = 2; @@ -64,14 +152,18 @@ message PlayerState { int32 roadTime = 4; int32 laps = 5; int32 speed = 6; + uint32 ps_f7 = 7; int32 roadPosition = 8; int32 cadenceUHz = 9; + int32 ps_f10 = 10; int32 heartrate = 11; int32 power = 12; int64 heading = 13; int32 lean = 14; int32 climbing = 15; int32 time = 16; + int32 ps_f17 = 17; + uint32 frameHue = 18; int32 f19 = 19; int32 f20 = 20; int32 progress = 21; @@ -79,207 +171,322 @@ message PlayerState { int32 justWatching = 23; int32 calories = 24; float x = 25; - float altitude = 26; - float y = 27; - int32 watchingRiderId = 28; - int32 groupId = 29; - int64 sport = 31; - float f34 = 34; // actual distance moved included lateral movement + float y = 26; + float z = 27; + int64 watchingRiderId = 28; + int64 groupId = 29; + Sport sport = 31; + float ps_f32 = 32; + uint32 ps_f33 = 33; + float dist_lat = 34; // actual distance moved included lateral movement + int32 world = 35; + uint32 ps_f36 = 36; + uint32 ps_f37 = 37; + bool canSteer = 38; + int32 route = 39; } - message ClientToServer { - int32 connected = 1; - int32 rider_id = 2; + int32 server_realm = 1; + int32 player_id = 2; int64 world_time = 3; int32 seqno = 4; + int32 cts_f5 = 5; + int64 cts_f6 = 6; PlayerState state = 7; - int64 tag8 = 8; - int64 tag9 = 9; + bool cts_f8 = 8; + bool cts_f9 = 9; int64 last_update = 10; - int64 tag11 = 11; + bool cts_f11 = 11; int64 last_player_update = 12; + int64 larg_wa_time = 13; + bool cts_f14 = 14; + repeated int64 subsSegments = 15; + repeated int64 unsSegments = 16; } - -message UnknownMessage1 { - // string firstName=7; - // string lastName=8; - // string timestamp=17; +message PlayerJoinedEvent { + uint64 ev_sg_id = 1; + uint64 player_id = 2; + uint64 pje_f3 = 3; } - -message UnknownMessage { - // int64 tag1=1; - // UnknownMessage1 tag4=4; +message PlayerLeftEvent { + uint64 event_id = 1; + uint64 player_id = 2; + uint64 ple_f3 = 3; } - - -message PlayerUpdate { - int64 tag1 = 1; - int32 tag2 = 2; - int32 tag3 = 3; +message InvitedProfileProto { + uint64 player_id = 1; + string firstName = 2; + string lastName = 3; + string imageSrc = 4; + bool enrolledZwiftAcademy = 5; + bool male = 6; + PlayerType player_type = 7; +} +enum EventInviteStatus { + PENDING = 0; + ACCEPTED = 1; + REJECTED = 2; +} +message EventInviteProto { + InvitedProfileProto profile = 1; + EventInviteStatus status = 2; +} +message WorldAttribute { + int64 wa_f1 = 1; + int64 server_realm = 2; + WA_TYPE wa_type = 3; bytes payload = 4; - int64 tag5 = 5; - int64 tag6 = 6; - int64 tag7 = 7; - int64 tag8 = 8; - int64 tag9 = 9; - int64 tag11 = 11; - int64 tag12 = 12; - int64 tag14 = 14; - int64 tag15 = 15; + int64 world_time_born = 5; + int64 x = 6; + int64 y = 7; + int64 z = 8; + int64 world_time_expire = 9; + int64 rel_id = 10; + int32 importance = 11; + int64 wa_f12 = 12; + int32 wa_f13 = 13; + int64 timestamp = 14; + int32 wa_f15 = 15; + int64 wa_f16 = 16; } - -message Payload105 { // player entered world ? - int64 f1 = 1; - int32 rider_id = 2; - int32 f3 = 3; - int64 f4 = 4; // int32? - int64 f5 = 5; - int64 f6 = 6; // int32? - string firstName = 7; +enum PlayerType { + PLAYERTYPE0 = 0; + NORMAL = 1; + PRO_CYCLIST = 2; + ZWIFT_STAFF = 3; + AMBASSADOR = 4; + VERIFIED = 5; + ZED = 6; + ZAC = 7; + PRO_TRIATHLETE = 8; + PRO_RUNNER = 9; +} +enum PowerType { + PT_VIRTUAL = 0; + PT_METER = 1; + PT_UNK = -1; +} +message SegmentResult { + int64 id = 1; + int32 player_id = 2; + int64 server_realm = 3; + int64 course_id = 4; + int64 segment_id = 5; + int64 event_subgroup_id = 6; + string firstNameL1 = 7; string lastName = 8; - int64 f9 = 9; - int64 f11 = 11; - int32 f12 = 12; - int32 f13 = 13; - int32 f14 = 14; - int32 f15 = 15; - int32 f16 = 16; - string f7date = 17; - int32 f19 = 19; + uint64 world_time = 9; + string finish_time_str = 10; + uint64 elapsed_ms = 11; + PowerType power_type = 12; + uint32 weight_in_grams = 13; + uint32 sr_f14 = 14; //always 0 + uint32 avg_power = 15; + bool is_male = 16; + string magicLeaderboardBirthday = 17; + PlayerType player_type = 18; + uint32 avg_hr = 19; + Sport sport = 20; + uint64 activity_id = 21; //may be -1 + bool sr_f22 = 22; + string firstNameL1_copy = 23; } - -message Chat { - int32 rider_id = 1; - int32 to_rider_id = 2; // 0 if public message - int32 f3 = 3; // always value 1 ? +enum SocialPlayerActionType { + SOCIAL_ACTION_UNKNOWN_TYPE = 0; + SOCIAL_TEXT_MESSAGE = 1; + SOCIAL_RIDE_ON = 2; + SOCIAL_FLAG = 3; +} +enum FlagType { + FLAG_TYPE_UNKNOWN = 0; + FLAG_TYPE_HARASSMENT = 1; + FLAG_TYPE_FLIER = 2; + FLAG_TYPE_BAD_LANGUAGE = 3; +} +enum MessageGroupType { + MGT_UNKNOWN = 0; + MGT_GLOBAL = 1; + MGT_DIRECT = 2; + MGT_EVENT = 3; + MGT_CLUB = 4; +} +message SocialPlayerAction { + int32 player_id = 1; + int32 to_player_id = 2; // 0 if public message + SocialPlayerActionType spa_type = 3; string firstName = 4; string lastName = 5; string message = 6; string avatar = 7; int32 countryCode = 8; - int32 eventSubgroup = 11; + FlagType flagType = 9; + MessageGroupType mgType = 10; + int64 eventSubgroup = 11; } - message RideOn { - int32 rider_id = 1; - int32 to_rider_id = 2; + int32 player_id = 1; + int32 to_player_id = 2; string firstName = 3; string lastName = 4; int32 countryCode = 5; } - -message Payload2 { - int32 f1 = 1; - int64 f2 = 2; +message PlayerLeftWorld { + int64 player_id = 1; + int64 world_time = 2; // not sure + bool anotherLogin = 3; // user profile logged in twice -> one of them should be logged out + bool plw_f4 = 4; + repeated sint64 plw_f5 = 5; } - -message TimeSync { - int32 rider_id = 1; - int64 world_time = 2; - int32 f3 = 3; +message PlayerRouteDistance { + int32 player_id = 1; + float distance_covered = 2; //not sure + int32 prd_f3 = 3; } - -message Payload110 { - // format to be determined +message EventSubgroupPlacements { + int32 position = 1; + repeated PlayerRouteDistance player_rd1 = 2; + repeated PlayerRouteDistance player_rd2 = 3; + repeated PlayerRouteDistance eventRiderPosition = 4; + repeated PlayerRouteDistance player_rd4 = 5; + int32 eventTotalRiders = 6; + int32 bikeNetworkId = 7; + int32 esp_f8 = 8; + float esp_f9 = 9; //or fixed } - -message Payload109 { - // format to be determined +enum IPProtocol { + IPP_UNK = 0; + UDP = 1; + TCP = 2; } - - -message EventPositions { - int32 position = 1; - message EventRiderPosition { - int32 rider_id = 1; - // ?? float distance_covered = 2; - } - repeated EventRiderPosition eventRiderPosition = 4; - int32 num_riders = 116; +message PlayerSummary { + int32 plsu_f1 = 1; + int32 plsu_f2 = 2; + int32 plsu_f3 = 3; + int32 plsu_f4 = 4; +} +message PlayerSummaries { + sint64 plsus_f1 = 1; //stored as int32 + sint64 plsus_f2 = 2; //stored as int32 + sint32 plsus_f3 = 3; + sint32 plsus_f4 = 4; + int32 plsus_f5 = 5; + int32 plsus_f6 = 6; + int32 plsus_f7 = 7; + repeated PlayerSummary player_summaries = 8; } - message ServerToClient { - int32 tag1 = 1; - int32 rider_id = 2; + int64 server_realm = 1; + int64 player_id = 2; int64 world_time = 3; int32 seqno = 4; - repeated PlayerState player_states = 8; - repeated PlayerUpdate player_updates = 9; - int64 tag11 = 11; - string local_ip = 12; - int32 tag15 = 15; - int64 tag17 = 17; + int32 stc_f5 = 5; + repeated PlayerState states = 8; + repeated WorldAttribute player_updates = 9; + repeated int64 stc_f10 = 10; + int64 stc_f11 = 11; + string zc_local_ip = 12; + int64 stc_f13 = 13; + int32 zwifters = 14; + int32 zc_local_port = 15; + IPProtocol zc_protocol = 16; + int64 stc_f17 = 17; int32 num_msgs = 18; int32 msgnum = 19; - EventPositions event_positions = 23; - Server1 servers1 = 24; - Server2 servers2 = 25; + bool hasSimultLogin = 20; + PlayerSummaries player_summaries = 21; + EventSubgroupPlacements ev_subgroup_ps = 23; + UdpConfig udp_config = 24; + UdpConfigVOD udp_config_vod_1 = 25; + int32 stc_f26 = 26; + UdpConfigVOD udp_config_vod_2 = 27; + repeated PlayerState player_states = 28; + TcpConfig tcp_config = 29; + repeated int64 ackSubsSegm = 30; } - -message ServerAddress { - int32 f1 = 1; - int32 f2 = 2; +message RelayAddress { + int32 lb_realm = 1; // load balancing cluster: server realm or 0 (generic) + int32 lb_course = 2; // load balancing cluster: course id string ip = 3; - int32 f4 = 4; - fixed32 f5 = 5; - fixed32 f6 = 6; + int32 port = 4; + float ra_f5 = 5; //or fixed + float ra_f6 = 6; //or fixed } - -message ServerPool { - int32 f1 = 1; - int32 f2 = 2; - repeated ServerAddress addresses = 3; - int32 f4 = 4; +message RelayAddressesVOD { + int32 lb_realm = 1; // load balancing cluster: server realm or 0 (generic) + int32 lb_course = 2; // load balancing cluster: course id + repeated RelayAddress relay_addresses = 3; + int32 rav_f4 = 4; } - -message Server2 { - repeated ServerPool pool = 1; - int32 f2 = 2; +message UdpConfigVOD { + repeated RelayAddressesVOD relay_addresses_vod = 1; + int32 port = 2; + int64 ucv_f3 = 3; + int64 ucv_f4 = 4; + float ucv_f5 = 5; //or fixed + float ucv_f6 = 6; //or fixed } - -message Server1 { - repeated ServerAddress addresses = 1; - int32 f2 = 2; - int32 f3 = 3; - int32 f4 = 4; +message UdpConfig { + repeated RelayAddress relay_addresses = 1; + int32 uc_f2 = 2; + int32 uc_f3 = 3; + int32 uc_f4 = 4; } - -message WorldAttributes { - int32 world_id = 1; - string name = 2; - int64 tag3 = 3; - int64 tag5 = 4; - int64 world_time = 6; - int64 clock_time = 7; +message TcpAddress { + string ip = 1; + int32 port = 2; + int32 lb_realm = 3; //load balancing cluster: server realm or 0 (generic) + int32 lb_course = 4; //load balancing cluster: course id (see also TcpAddressService::updateAddresses) } - -message WorldAttribute { - int64 world_time = 2; +message TcpConfig { + repeated TcpAddress nodes = 1; } - message EventSubgroupProtobuf { - int32 id = 1; + int64 id = 1; string name = 2; - int32 rules = 8; - int32 route = 22; + string description = 3; // ex: "Welcome to our sociable early morning/evening social group ride." + uint32 evs_f4 = 4; // "" + uint32 evs_f5 = 5; // 154 and others + uint32 evs_f6 = 6; // 0 + string scode = 7; // ex: "PT3600S" + int32 rules_id = 8; + uint64 registrationStart = 9; + uint64 registrationStartWT = 10; + uint64 registrationEnd = 11; + uint64 registrationEndWT = 12; + uint64 lineUpStart = 13; + uint64 lineUpStartWT = 14; + uint64 lineUpEnd = 15; + uint64 lineUpEndWT = 16; + uint64 eventSubgroupStart = 17; + uint64 eventSubgroupStartWT = 18; + uint64 evs_f19 = 19; + uint64 evs_f20 = 20; + bool evs_f21 = 21; + int64 route_id = 22; + repeated uint64 invitedLeaders = 23; + float distanceInMeters = 24; int32 laps = 25; int32 startLocation = 29; int32 label = 30; int32 paceType = 31; - int32 jerseyHash = 36; -} - -message RiderAttributes { - int32 f2 = 2; - int32 f3 = 3; - message AttributeMessage { - int32 myId = 1; - int32 theirId = 2; - string firstName = 3; - string lastName = 4; - int32 countryCode = 5; - } - AttributeMessage attributeMessage = 4; - int32 theirId = 10; - int32 f13 = 13; + float fromPaceValue = 32; + float toPaceValue = 33; + uint32 durationInSeconds = 34; + uint32 evs_f35 = 35; + int64 jerseyHash = 36; + bool evs_f37 = 37; + uint32 evs_f38 = 38; + string auxiliaryUrl = 39; // "https://cdn.zwift.com/AudioBroadcasts/wbrgrouprideaudiov4" + uint64 bikeHash = 40; // 4208139356 + repeated uint64 invitedSweepers = 41; + uint64 evs_f42 = 42; + string customUrl = 43; // https://cdn.zwift.com/events/upload/workouts/CafeRide1.zwo + bool evs_f44 = 44; // false + string tags = 45; // semi-colon delimited tags eg: "fenced;3r;created_ryan;communityevent;no_kick_mode;timestamp=1603911177622" + uint32 lateJoinInMinutes = 46; + uint64 course_id = 47; + uint64 evs_f48 = 48; + string routeUrl = 49; + repeated int32 evs_f50 = 50; + bool evs_f51 = 51; } \ No newline at end of file