Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #region Structure Of Database Table Users Of Holo
- public enum HoloStructure
- {
- fID,
- fName,
- fRank,
- fEmail,
- fUserDateOfBirth,
- fHabboDateOfBirth,
- Figure,
- Sex,
- Mission,
- ConsoleMission,
- Credits,
- Tickets,
- Badge_status,
- Last_Visit,
- Figure_Swim,
- Ticket_SSO,
- IPAddress_Last,
- Battleball_TotalPoints,
- Bataball_PlayedGames,
- RoomID,
- Last_Gift,
- Visibillty,
- Hc_Before,
- Newsletter,
- GuideAvailable,
- ShockWaveID,
- Guide,
- GuideAllowed,
- Window,
- LastLogin,
- CreditCheck,
- CreditGivenTime
- }
- List<User_Details> HoloStructureCache;
- #endregion
- #region Holograph Structure Input
- User_Details()
- {
- foreach (DataRow HoloStructureInfo in ServerEnvironment.SQLReactor().ReadDataTable("SELECT * FROM users WHERE id = '" + HoloStructure.fID + "'").Rows)
- {
- HoloStructureCache = new List<User_Details>();
- /*Get ID using Enum and Row*/ /*Get Name using Enum and Row*/
- HoloStructureCache.Add(new User_Details((HoloStructure)HoloStructureInfo["id"], (HoloStructure)HoloStructureInfo["name"]));
- }
- }
- User_Details(HoloStructure ID, HoloStructure Name)
- {
- ID = HoloStructure.fID;
- Name = HoloStructure.fName;
- }
- #endregion
Add Comment
Please, Sign In to add comment