internal static int GetHave(uint AchievementId, Users.Habbo Habbo) { switch (AchievementId) { case 4: return Habbo.RespectGiven; case 6: return Habbo.Respect; case 7: return Habbo.list_3.Count; case 8: return Habbo.RoomVisits; case 10: return Habbo.GiftsGiven; case 11: return Habbo.GiftsReceived; case 13: return Habbo.FireworkPixelLoadedCount; case 14: return Habbo.PetBuyed; case 15: return Habbo.OnlineTime / 60; case 16: return Habbo.GetSubscriptionManager().CalculateHCSubscription(Habbo); case 17: return Habbo.RegistrationDuration; case 18: return Habbo.RegularVisitor; case 19: return Habbo.FootballGoalScorer; case 20: return Habbo.FootballGoalHost; case 21: return Habbo.TilesLocked; case 22: return Habbo.StaffPicks; case 24: return Habbo.GetMessenger().hashtable_0.Count; } return 0; }