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.

31 lines
1.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: CWAPI code for GC access to the Web API server
  4. //
  5. //=============================================================================
  6. #include "stdafx.h"
  7. #include "gcwebapi.h"
  8. #include "enumutils.h"
  9. // memdbgon must be the last include file in a .cpp file!!!
  10. #include "tier0/memdbgon.h"
  11. CUtlVector< GCWebAPIInterfaceMapCreationFunc_t > & CGCWebAPIInterfaceMapRegistrar::VecInstance()
  12. {
  13. static CUtlVector< GCWebAPIInterfaceMapCreationFunc_t > sm_vecInterfaceFuncs;
  14. return sm_vecInterfaceFuncs;
  15. }
  16. ENUMSTRINGS_START( EWebApiParamType )
  17. { k_EWebApiParamTypeInvalid, "Invalid" },
  18. { k_EWebApiParamTypeInt32, "int32" },
  19. { k_EWebApiParamTypeUInt32, "uint32" },
  20. { k_EWebApiParamTypeInt64, "int64" },
  21. { k_EWebApiParamTypeUInt64, "uint64" },
  22. { k_EWebApiParamTypeFloat, "float" },
  23. { k_EWebApiParamTypeString, "string" },
  24. { k_EWebApiParamTypeBool, "bool" },
  25. { k_EWebApiParamTypeRawBinary, "rawbinary" }
  26. ENUMSTRINGS_REVERSE( EWebApiParamType, k_EWebApiParamTypeInvalid )