AkWaapiUtils.h 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. /*******************************************************************************
  2. The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
  3. Technology released in source code form as part of the game integration package.
  4. The content of this file may not be used without valid licenses to the
  5. AUDIOKINETIC Wwise Technology.
  6. Note that the use of the game engine is subject to the Unreal(R) Engine End User
  7. License Agreement at https://www.unrealengine.com/en-US/eula/unreal
  8. License Usage
  9. Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
  10. this file in accordance with the end user license agreement provided with the
  11. software or, alternatively, in accordance with the terms contained
  12. in a written agreement between you and Audiokinetic Inc.
  13. Copyright (c) 2023 Audiokinetic Inc.
  14. *******************************************************************************/
  15. /*------------------------------------------------------------------------------------
  16. WwiseUtils.h
  17. ------------------------------------------------------------------------------------*/
  18. #pragma once
  19. #include "Dom/JsonObject.h"
  20. #include "AkWaapiClient.h"
  21. class AKAUDIO_API WwiseWaapiHelper
  22. {
  23. public:
  24. static const FString ACTION;
  25. static const FString ANCESTORS;
  26. static const FString AT;
  27. static const FString AUX_BUSSES;
  28. static const FString BACK_SLASH;
  29. static const FString BANK_DATA;
  30. static const FString BANK_INFO;
  31. static const FString CHILD;
  32. static const FString CHILDREN;
  33. static const FString CHILDREN_COUNT;
  34. static const FString CLASSID;
  35. static const FString COMMAND;
  36. static const FString DATA;
  37. static const FString DELETE_ITEMS;
  38. static const FString DESCENDANTS;
  39. static const FString DISPLAY_NAME;
  40. static const FString DRAG_DROP_ITEMS;
  41. static const FString EVENT;
  42. static const FString EVENTS;
  43. static const FString FILEPATH;
  44. static const FString FILTER;
  45. static const FString FIND_IN_PROJECT_EXPLORER;
  46. static const FString FOLDER;
  47. static const FString FROM;
  48. static const FString ID;
  49. static const FString INCLUSIONS;
  50. static const FString INFO_FILE;
  51. static const FString IS_CONNECTED;
  52. static const FString LANGUAGE;
  53. static const FString LANGUAGES;
  54. static const FString MAX;
  55. static const FString MAX_RADIUS_ATTENUATION;
  56. static const FString MESSSAGE;
  57. static const FString MIN;
  58. static const FString NAME;
  59. static const FString NAMECONTAINS;
  60. static const FString NEW;
  61. static const FString NEW_NAME;
  62. static const FString NOTES;
  63. static const FString OBJECT;
  64. static const FString OBJECTS;
  65. static const FString OF_TYPE;
  66. static const FString OLD_NAME;
  67. static const FString ON_NAME_CONFLICT;
  68. static const FString OPERATION;
  69. static const FString PARENT;
  70. static const FString PATH;
  71. static const FString PHYSICAL_FOLDER;
  72. static const FString PLATFORM;
  73. static const FString PLATFORMS;
  74. static const FString PLAY;
  75. static const FString PLAYING;
  76. static const FString PLAYSTOP;
  77. static const FString PLUGININFO_OPTIONS;
  78. static const FString PLUGININFO_RESPONSE;
  79. static const FString PROJECT;
  80. static const FString PROPERTY;
  81. static const FString RADIUS;
  82. static const FString RANGE;
  83. static const FString REBUILD;
  84. static const FString REBUILD_INIT_BANK;
  85. static const FString REDO;
  86. static const FString RENAME;
  87. static const FString RESTRICTION;
  88. static const FString RETURN;
  89. static const FString SEARCH;
  90. static const FString SELECT;
  91. static const FString SIZE;
  92. static const FString SKIP_LANGUAGES;
  93. static const FString SOUNDBANK_TYPE;
  94. static const FString SOUNDBANK_FIELD;
  95. static const FString SOUNDBANKS;
  96. static const FString STATE;
  97. static const FString STOP;
  98. static const FString STOPPED;
  99. static const FString STRUCTURE;
  100. static const FString TRANSFORM;
  101. static const FString TRANSPORT;
  102. static const FString TYPE;
  103. static const FString UI;
  104. static const FString UNDO;
  105. static const FString VALUE;
  106. static const FString VOLUME;
  107. static const FString WHERE;
  108. static const FString WORKUNIT_TYPE;
  109. static const FString WRITE_TO_DISK;
  110. };
  111. bool CallWappiGetPropertySate(const FString& ItemID, const FString& ItemProperty, TSharedPtr<FJsonObject>& ItemInfoResult);
  112. bool SubscribeToPropertyStateChange(const FString& ItemID, const FString& ItemProperty, WampEventCallback CallBack, uint64& SubscriptionId, TSharedPtr<FJsonObject>& outJsonResult);