Example #1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 8: {
                    loadingState_ = (global::Google.Android.PerformanceTuner.LoadingState)input.ReadEnum();
                    break;
                }

                case 16: {
                    scene_ = (global::Google.Android.PerformanceTuner.Scene)input.ReadEnum();
                    break;
                }

                case 24: {
                    gamedifficulty_ = (global::Google.Android.PerformanceTuner.Difficulty)input.ReadEnum();
                    break;
                }
                }
            }
        }
Example #2
0
 public void MergeFrom(Annotation other)
 {
     if (other == null)
     {
         return;
     }
     if (other.LoadingState != 0)
     {
         LoadingState = other.LoadingState;
     }
     if (other.Scene != 0)
     {
         Scene = other.Scene;
     }
     if (other.Gamedifficulty != 0)
     {
         Gamedifficulty = other.Gamedifficulty;
     }
 }