// Token: 0x06001A08 RID: 6664 RVA: 0x000FDE1C File Offset: 0x000FC01C public static void WriteToGlobals(PlayerSaveData data) { PlayerGlobals.Alerts = data.alerts; PlayerGlobals.Enlightenment = data.enlightenment; PlayerGlobals.EnlightenmentBonus = data.enlightenmentBonus; PlayerGlobals.Headset = data.headset; PlayerGlobals.Kills = data.kills; PlayerGlobals.Numbness = data.numbness; PlayerGlobals.NumbnessBonus = data.numbnessBonus; PlayerGlobals.PantiesEquipped = data.pantiesEquipped; PlayerGlobals.PantyShots = data.pantyShots; Debug.Log("Is this being called anywhere?"); foreach (int photoID in data.photo) { PlayerGlobals.SetPhoto(photoID, true); } foreach (int photoID2 in data.photoOnCorkboard) { PlayerGlobals.SetPhotoOnCorkboard(photoID2, true); } foreach (KeyValuePair <int, Vector2> keyValuePair in data.photoPosition) { PlayerGlobals.SetPhotoPosition(keyValuePair.Key, keyValuePair.Value); } foreach (KeyValuePair <int, float> keyValuePair2 in data.photoRotation) { PlayerGlobals.SetPhotoRotation(keyValuePair2.Key, keyValuePair2.Value); } PlayerGlobals.Reputation = data.reputation; PlayerGlobals.Seduction = data.seduction; PlayerGlobals.SeductionBonus = data.seductionBonus; foreach (int photoID3 in data.senpaiPhoto) { PlayerGlobals.SetSenpaiPhoto(photoID3, true); } PlayerGlobals.SenpaiShots = data.senpaiShots; PlayerGlobals.SocialBonus = data.socialBonus; PlayerGlobals.SpeedBonus = data.speedBonus; PlayerGlobals.StealthBonus = data.stealthBonus; foreach (int studentID in data.studentFriend) { PlayerGlobals.SetStudentFriend(studentID, true); } foreach (string studentName in data.studentPantyShot) { PlayerGlobals.SetStudentPantyShot(studentName, true); } }
// Token: 0x060007A1 RID: 1953 RVA: 0x000752F0 File Offset: 0x000736F0 private void SpawnMessage() { if (this.NewMessage != null) { UnityEngine.Object.Destroy(this.NewMessage); } this.NewMessage = UnityEngine.Object.Instantiate <GameObject>(this.Message); this.NewMessage.transform.parent = this.TextMessages; this.NewMessage.transform.localPosition = new Vector3(-225f, -275f, 0f); this.NewMessage.transform.localEulerAngles = Vector3.zero; this.NewMessage.transform.localScale = new Vector3(1f, 1f, 1f); bool flag = false; if (this.hit.collider != null && this.hit.collider.gameObject.name == "Kitten") { flag = true; } string text = string.Empty; int num; if (flag) { text = "Why are you showing me this? I don't care."; num = 2; } else if (!this.InfoX.activeInHierarchy) { text = "I recognize this person. Here's some information about them."; num = 3; } else if (!this.PantiesX.activeInHierarchy) { if (this.Student != null) { if (!PlayerGlobals.GetStudentPantyShot(this.Student.Name)) { PlayerGlobals.SetStudentPantyShot(this.Student.Name, true); if (this.Student.Nemesis) { text = "Wait...I recognize those panties! This person is extremely dangerous! Avoid her at all costs!"; } else if (this.Student.StudentID == 32 || this.Student.Club == ClubType.Council) { text = "A high value target! " + this.Student.Name + "'s panties were in high demand. I owe you a big favor for this one."; PlayerGlobals.PantyShots += 5; } else { text = "Excellent! Now I have a picture of " + this.Student.Name + "'s panties. I owe you a favor for this one."; PlayerGlobals.PantyShots++; } num = 5; } else if (!this.Student.Nemesis) { text = "I already have a picture of " + this.Student.Name + "'s panties. I don't need this shot."; num = 4; } else { text = "You are in danger. Avoid her."; num = 2; } } else { text = "How peculiar. I don't recognize these panties."; num = 2; } } else if (!this.ViolenceX.activeInHierarchy) { text = "Good work, but don't send me this stuff. I have no use for it."; num = 3; } else if (!this.SenpaiX.activeInHierarchy) { if (PlayerGlobals.SenpaiShots == 0) { text = "I don't need any pictures of your Senpai."; num = 2; } else if (PlayerGlobals.SenpaiShots == 1) { text = "I know how you feel about this person, but I have no use for these pictures."; num = 4; } else if (PlayerGlobals.SenpaiShots == 2) { text = "Okay, I get it, you love your Senpai, and you love taking pictures of your Senpai. I still don't need these shots."; num = 5; } else if (PlayerGlobals.SenpaiShots == 3) { text = "You're spamming my inbox. Cut it out."; num = 2; } else { text = "..."; num = 1; } PlayerGlobals.SenpaiShots++; } else if (this.NotFace) { text = "Do you want me to identify this person? Please get me a clear shot of their face."; num = 4; } else if (this.Skirt) { text = "Is this supposed to be a panty shot? My clients are picky. The panties need to be in the EXACT center of the shot."; num = 5; } else if (this.Nemesis) { if (this.NemesisShots == 1) { text = "Strange. I have no profile for this student."; num = 2; } else if (this.NemesisShots == 2) { text = "...wait. I think I know who she is."; num = 2; } else if (this.NemesisShots == 3) { text = "You are in danger. Avoid her."; num = 2; } else if (this.NemesisShots == 4) { text = "Do not engage."; num = 1; } else { text = "I repeat: Do. Not. Engage."; num = 2; } } else if (this.Disguise) { text = "Something about that student seems...wrong."; num = 2; } else { text = "I don't get it. What are you trying to show me? Make sure the subject is in the EXACT center of the photo."; num = 5; } this.NewMessage.GetComponent <UISprite>().height = 36 + 36 * num; this.NewMessage.GetComponent <TextMessageScript>().Label.text = text; }