summaryrefslogtreecommitdiff
path: root/game/shared/portal/portal_gcschema.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/shared/portal/portal_gcschema.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/shared/portal/portal_gcschema.h')
-rw-r--r--game/shared/portal/portal_gcschema.h80
1 files changed, 80 insertions, 0 deletions
diff --git a/game/shared/portal/portal_gcschema.h b/game/shared/portal/portal_gcschema.h
new file mode 100644
index 0000000..57cfa0b
--- /dev/null
+++ b/game/shared/portal/portal_gcschema.h
@@ -0,0 +1,80 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+// -------------------------------------------------------
+// DO NOT EDIT
+// This file was generated from portal\portal_gcschema.sch by SchemaCompiler.EXE
+// on Mon Feb 22 13:22:55 2010
+// -------------------------------------------------------
+#ifndef PORTAL_GCSCHEMA_H
+#define PORTAL_GCSCHEMA_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "gcsdk/gcschema.h"
+#pragma pack(push, 1)
+
+//-----------------------------------------------------------------------------
+// GameAccount
+//
+//-----------------------------------------------------------------------------
+
+class CSchGameAccount : public GCSDK::CRecordBase
+{
+public:
+ const static int k_iTable = 0;
+ CSchGameAccount();
+ int GetITable() const;
+ CSchGameAccount( const CSchGameAccount &that );
+ void operator=( const CSchGameAccount &that );
+
+ uint32 m_unAccountID; // Account ID of the user
+ uint32 m_unRewardPoints; // number of timed reward points (coplayed minutes) for this user
+ uint32 m_unPointCap; // Current maximum number of points
+ RTime32 m_unLastCapRollover; // Last time the player's cap was adjusted
+
+ static int m_nPrimaryKeyID;
+
+ const static int k_iField_unAccountID = 0;
+ const static int k_iField_unRewardPoints = 1;
+ const static int k_iField_unPointCap = 2;
+ const static int k_iField_unLastCapRollover = 3;
+ const static int k_iFieldMax = 4;
+};
+
+//-----------------------------------------------------------------------------
+// GameAccountClient
+//
+//-----------------------------------------------------------------------------
+
+class CSchGameAccountClient : public GCSDK::CRecordBase
+{
+public:
+ const static int k_iTable = 1;
+ CSchGameAccountClient();
+ int GetITable() const;
+ CSchGameAccountClient( const CSchGameAccountClient &that );
+ void operator=( const CSchGameAccountClient &that );
+
+ uint32 m_unAccountID; // Item Owner
+
+ static int m_nPrimaryKeyID;
+
+ const static int k_iField_unAccountID = 0;
+ const static int k_iFieldMax = 1;
+};
+
+namespace PORTAL_GCSCHEMA
+{
+// ITABLE_STATS_BEGIN is the number of the first stats table;
+// this should be one more than the number of the last data table.
+const int ITABLE_STATS_BEGIN = 2;
+
+const int k_iTableStatsFirst = -1;
+const int k_iTableStatsMax = -1;
+const int NUM_BASE_STATS_TABLES = 0;
+
+extern void GenerateIntrinsicSQLSchema( GCSDK::CSchemaFull &schemaFull );
+
+}
+#pragma pack(pop)
+#endif // PORTAL_GCSCHEMA_H