PageRenderTime 111ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/llmessage/llloginflags.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 55 lines | 13 code | 9 blank | 33 comment | 0 complexity | 99d1645eea42905cfefa25fd048aca23 MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * @file llloginflags.h
  3. * @brief Login flag constants.
  4. *
  5. * $LicenseInfo:firstyear=2003&license=viewerlgpl$
  6. * Second Life Viewer Source Code
  7. * Copyright (C) 2010, Linden Research, Inc.
  8. *
  9. * This library is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU Lesser General Public
  11. * License as published by the Free Software Foundation;
  12. * version 2.1 of the License only.
  13. *
  14. * This library is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. * Lesser General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Lesser General Public
  20. * License along with this library; if not, write to the Free Software
  21. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  22. *
  23. * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
  24. * $/LicenseInfo$
  25. */
  26. #ifndef LL_LLLOGINFLAGS_H
  27. #define LL_LLLOGINFLAGS_H
  28. // Is this your first login to Second Life?
  29. const U32 LOGIN_FLAG_FIRST_LOGIN = (1 << 0);
  30. // Is this a trial account?
  31. const U32 LOGIN_FLAG_TRIAL = (1 << 1);
  32. // Stipend paid since last login?
  33. const U32 LOGIN_FLAG_STIPEND_SINCE_LOGIN = (1 << 2);
  34. // Is your account enabled?
  35. const U32 LOGIN_FLAG_ENABLED = (1 << 3);
  36. // Is the Pacific Time zone (aka the server time zone)
  37. // currently observing daylight savings time?
  38. const U32 LOGIN_FLAG_PACIFIC_DAYLIGHT_TIME = (1 << 4);
  39. // Does the avatar have wearables or not
  40. const U32 LOGIN_FLAG_GENDERED = (1 << 5);
  41. // Kick flags
  42. const U32 LOGIN_KICK_OK = 0x0;
  43. const U32 LOGIN_KICK_NO_AGENT = (1 << 0);
  44. const U32 LOGIN_KICK_SESSION_MISMATCH = (1 << 1);
  45. const U32 LOGIN_KICK_NO_SIMULATOR = (1 << 2);
  46. #endif