Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
2.4 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. // -------------------------------------------------------
  3. // DO NOT EDIT
  4. // This file was generated from portal\portal_gcschema.sch by SchemaCompiler.EXE
  5. // on Mon Feb 22 13:22:55 2010
  6. // -------------------------------------------------------
  7. #ifndef PORTAL_GCSCHEMA_H
  8. #define PORTAL_GCSCHEMA_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "gcsdk/gcschema.h"
  13. #pragma pack(push, 1)
  14. //-----------------------------------------------------------------------------
  15. // GameAccount
  16. //
  17. //-----------------------------------------------------------------------------
  18. class CSchGameAccount : public GCSDK::CRecordBase
  19. {
  20. public:
  21. const static int k_iTable = 0;
  22. CSchGameAccount();
  23. int GetITable() const;
  24. CSchGameAccount( const CSchGameAccount &that );
  25. void operator=( const CSchGameAccount &that );
  26. uint32 m_unAccountID; // Account ID of the user
  27. uint32 m_unRewardPoints; // number of timed reward points (coplayed minutes) for this user
  28. uint32 m_unPointCap; // Current maximum number of points
  29. RTime32 m_unLastCapRollover; // Last time the player's cap was adjusted
  30. static int m_nPrimaryKeyID;
  31. const static int k_iField_unAccountID = 0;
  32. const static int k_iField_unRewardPoints = 1;
  33. const static int k_iField_unPointCap = 2;
  34. const static int k_iField_unLastCapRollover = 3;
  35. const static int k_iFieldMax = 4;
  36. };
  37. //-----------------------------------------------------------------------------
  38. // GameAccountClient
  39. //
  40. //-----------------------------------------------------------------------------
  41. class CSchGameAccountClient : public GCSDK::CRecordBase
  42. {
  43. public:
  44. const static int k_iTable = 1;
  45. CSchGameAccountClient();
  46. int GetITable() const;
  47. CSchGameAccountClient( const CSchGameAccountClient &that );
  48. void operator=( const CSchGameAccountClient &that );
  49. uint32 m_unAccountID; // Item Owner
  50. static int m_nPrimaryKeyID;
  51. const static int k_iField_unAccountID = 0;
  52. const static int k_iFieldMax = 1;
  53. };
  54. namespace PORTAL_GCSCHEMA
  55. {
  56. // ITABLE_STATS_BEGIN is the number of the first stats table;
  57. // this should be one more than the number of the last data table.
  58. const int ITABLE_STATS_BEGIN = 2;
  59. const int k_iTableStatsFirst = -1;
  60. const int k_iTableStatsMax = -1;
  61. const int NUM_BASE_STATS_TABLES = 0;
  62. extern void GenerateIntrinsicSQLSchema( GCSDK::CSchemaFull &schemaFull );
  63. }
  64. #pragma pack(pop)
  65. #endif // PORTAL_GCSCHEMA_H