Counter Strike : Global Offensive Source Code
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.

25 lines
993 B

  1. //====== Copyright �, Valve Corporation, All rights reserved. =======
  2. //
  3. // Purpose: Provides names for GC message types for inter GC messages
  4. //
  5. //=============================================================================
  6. #include "cbase.h"
  7. #include "shared_gcmessages.h"
  8. // memdbgon must be the last include file in a .cpp file!!!
  9. #include "tier0/memdbgon.h"
  10. //-----------------------------------------------------------------------------
  11. // Purpose: A big array of message types for keeping track of their names
  12. //-----------------------------------------------------------------------------
  13. GCSDK::MsgInfo_t g_SharedMsgInfo[] =
  14. {
  15. DECLARE_GC_MSG( k_EMsgInterGCAchievementAwarded ),
  16. DECLARE_GC_MSG( k_EMsgInterGCAchievementAwardedResponse ),
  17. DECLARE_GC_MSG( k_EMsgInterGCLoadAchievements ),
  18. DECLARE_GC_MSG( k_EMsgInterGCLoadAchievementResponse ),
  19. };
  20. void InitGCSharedMessageTypes()
  21. {
  22. static GCSDK::CMessageListRegistration m_reg( g_SharedMsgInfo, Q_ARRAYSIZE(g_SharedMsgInfo) );
  23. }