public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 8: {
                    result_ = (global::POGOProtos.Networking.Responses.SetLobbyPokemonResponse.Types.Result)input.ReadEnum();
                    break;
                }

                case 18: {
                    if (lobby_ == null)
                    {
                        lobby_ = new global::POGOProtos.Data.Raid.Lobby();
                    }
                    input.ReadMessage(lobby_);
                    break;
                }
                }
            }
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 8: {
                    result_ = (global::POGOProtos.Networking.Responses.SetLobbyVisibilityResponse.Types.Result)input.ReadEnum();
                    break;
                }

                case 18: {
                    if (lobby_ == null)
                    {
                        lobby_ = new global::POGOProtos.Data.Raid.Lobby();
                    }
                    input.ReadMessage(lobby_);
                    break;
                }
                }
            }
        }
예제 #3
0
 public void MergeFrom(GetRaidDetailsResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.lobby_ != null)
     {
         if (lobby_ == null)
         {
             lobby_ = new global::POGOProtos.Data.Raid.Lobby();
         }
         Lobby.MergeFrom(other.Lobby);
     }
     if (other.raidBattle_ != null)
     {
         if (raidBattle_ == null)
         {
             raidBattle_ = new global::POGOProtos.Data.Battle.Battle();
         }
         RaidBattle.MergeFrom(other.RaidBattle);
     }
     if (other.PlayerCanJoinLobby != false)
     {
         PlayerCanJoinLobby = other.PlayerCanJoinLobby;
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.raidInfo_ != null)
     {
         if (raidInfo_ == null)
         {
             raidInfo_ = new global::POGOProtos.Data.Raid.RaidInfo();
         }
         RaidInfo.MergeFrom(other.RaidInfo);
     }
     if (other.TicketUsed != false)
     {
         TicketUsed = other.TicketUsed;
     }
     if (other.FreeTicketAvailable != false)
     {
         FreeTicketAvailable = other.FreeTicketAvailable;
     }
     if (other.ThrowsRemaining != 0)
     {
         ThrowsRemaining = other.ThrowsRemaining;
     }
     if (other.ReceivedRewards != false)
     {
         ReceivedRewards = other.ReceivedRewards;
     }
     if (other.NumPlayersInLobby != 0)
     {
         NumPlayersInLobby = other.NumPlayersInLobby;
     }
 }
 public void MergeFrom(SetLobbyPokemonResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.lobby_ != null)
     {
         if (lobby_ == null)
         {
             lobby_ = new global::POGOProtos.Data.Raid.Lobby();
         }
         Lobby.MergeFrom(other.Lobby);
     }
 }
 public void MergeFrom(SetLobbyVisibilityResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.lobby_ != null)
     {
         if (lobby_ == null)
         {
             lobby_ = new global::POGOProtos.Data.Raid.Lobby();
         }
         Lobby.MergeFrom(other.Lobby);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #6
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (lobby_ == null)
                    {
                        lobby_ = new global::POGOProtos.Data.Raid.Lobby();
                    }
                    input.ReadMessage(lobby_);
                    break;
                }

                case 18: {
                    if (raidBattle_ == null)
                    {
                        raidBattle_ = new global::POGOProtos.Data.Battle.Battle();
                    }
                    input.ReadMessage(raidBattle_);
                    break;
                }

                case 24: {
                    PlayerCanJoinLobby = input.ReadBool();
                    break;
                }

                case 32: {
                    result_ = (global::POGOProtos.Networking.Responses.GetRaidDetailsResponse.Types.Result)input.ReadEnum();
                    break;
                }

                case 42: {
                    if (raidInfo_ == null)
                    {
                        raidInfo_ = new global::POGOProtos.Data.Raid.RaidInfo();
                    }
                    input.ReadMessage(raidInfo_);
                    break;
                }

                case 48: {
                    TicketUsed = input.ReadBool();
                    break;
                }

                case 56: {
                    FreeTicketAvailable = input.ReadBool();
                    break;
                }

                case 64: {
                    ThrowsRemaining = input.ReadInt32();
                    break;
                }

                case 72: {
                    ReceivedRewards = input.ReadBool();
                    break;
                }

                case 80: {
                    NumPlayersInLobby = input.ReadInt32();
                    break;
                }
                }
            }
        }