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.

37 lines
1.6 KiB

  1. START_SCHEMA( GC, cbase.h )
  2. //-----------------------------------------------------------------------------
  3. // GameAccount
  4. //
  5. //-----------------------------------------------------------------------------
  6. START_TABLE( k_ESchemaCatalogMain, GameAccount, TABLE_PROP_NORMAL )
  7. MEM_FIELD_BIN( unAccountID, AccountID, uint32 ) // Account ID of the user
  8. MEM_FIELD_BIN( unRewardPoints, RewardPoints, uint32 ) // number of timed reward points (coplayed minutes) for this user
  9. MEM_FIELD_BIN( unPointCap, PointCap, uint32 ) // Current maximum number of points
  10. MEM_FIELD_BIN( unLastCapRollover, LastCapRollover, RTime32 ) // Last time the player's cap was adjusted
  11. PRIMARY_KEY_CLUSTERED( 100, unAccountID )
  12. WIPE_TABLE_BETWEEN_TESTS( k_EWipePolicyWipeForAllTests )
  13. ALLOW_WIPE_TABLE_IN_PRODUCTION( false )
  14. END_TABLE
  15. //-----------------------------------------------------------------------------
  16. // GameAccountClient
  17. //
  18. //-----------------------------------------------------------------------------
  19. START_TABLE( k_ESchemaCatalogMain, GameAccountClient, TABLE_PROP_NORMAL )
  20. MEM_FIELD_BIN( unAccountID, AccountID, uint32 ) // Item Owner
  21. PRIMARY_KEY_CLUSTERED( 80, unAccountID )
  22. WIPE_TABLE_BETWEEN_TESTS( k_EWipePolicyWipeForAllTests )
  23. ALLOW_WIPE_TABLE_IN_PRODUCTION( false )
  24. END_TABLE
  25. // --------------------------------------------------------
  26. // WARNING! All new tables need to be added to the end of the file
  27. // if you expect to deploy the GC without deploying new clients.
  28. // --------------------------------------------------------
  29. // NEED A CARRIAGE RETURN HERE!
  30. //-------------------------