소스 검색

Expose some information in EngineFunction exports for better interop capabilities

Lukas Aldershaab 1 년 전
부모
커밋
8748a2cac8
1개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 7 1
      Engine/source/console/engineFunctions.h

+ 7 - 1
Engine/source/console/engineFunctions.h

@@ -298,9 +298,15 @@ class EngineFunctionInfo : public EngineExport
       
       /// Return the vector storing the default argument values.
       const EngineFunctionDefaultArguments* getDefaultArguments() const { return mDefaultArgumentValues; }
-      
+
+      /// Return the pointer to the C-API Function.
+      const void* getAddress() const { return mAddress; }
+
       /// Reset all callout function pointers back to NULL.  This deactivates all callbacks.
       static void resetAllCallouts();
+
+      static const EngineFunctionInfo* getFirstFunction() { return smFirstFunction; }
+      const EngineFunctionInfo* getNextFunction() const { return mNextFunction; }
 };