Wwise 版本
arrow_right 目录
Wwise SDK 2018.1.11
AK.Wwise::ISourceControl类 参考abstract

struct   FilenameToIconMapItem
struct   FilenameToStatusMapItem
class   IFileOperationResult
class   IOperationResult
  The base interface for operations that return information to Wwise 更多...
struct   OperationListItem
  Operation list item. This is the type used in the AK::Wwise::ISourceControl::OperationList SourceControlContainers::IAkList template class. 更多...
class   PluginInfo
  Plug-in information structure. This structure gives a simple overview of the plug-in's capabilities. 更多...

Public 类型

Enumeration types
enum   OperationResult { OperationResult_Succeed = 0, OperationResult_Failed, OperationResult_TimedOut, OperationResult_NotImplemented }
enum   OperationMenuType { OperationMenuType_WorkUnits = 0, OperationMenuType_Sources, OperationMenuType_Explorer }
enum   CreateOrModifyOperation { CreateOrModifyOperation_Create = 1 << 0, CreateOrModifyOperation_Modify = 1 << 1 }
  Pre/PostCreateOrModify Operation flags. These flags represent the operation(s) performed on files. 更多...
enum   OperationEffect { OperationEffect_LocalContentModification = 1 << 0, OperationEffect_ServerContentModification = 1 << 1 }
  The operation's effect on the file(s) involved. 更多...
List types
typedef SourceControlContainers::IAkList< LPCWSTR, LPCWSTR >  StringList
typedef SourceControlContainers::IAkList< GUID >  PluginIDList
typedef SourceControlContainers::IAkList< OperationListItem OperationList
Map types
typedef SourceControlContainers::IAkMap< LPCWSTR, LPCWSTR, FilenameToIconMapItem, const FilenameToIconMapItem & >  FilenameToIconMap
typedef SourceControlContainers::IAkMap< LPCWSTR, LPCWSTR, FilenameToStatusMapItem, const FilenameToStatusMapItem & >  FilenameToStatusMap
Exported functions prototypes
typedef void(__stdcall *  GetSourceControlIDListFuncPtr) (PluginIDList &out_rPluginIDList)
  Gets the plug-in ID list contained by the DLL file. 更多...
typedef void(__stdcall *  GetSourceControlPluginInfoFuncPtr) (const GUID &in_rguidPluginID, PluginInfo &out_rPluginInfo)
  Gets the AK::Wwise::ISourceControl::PluginInfo class associated with a given plug-in ID. 更多...
typedef ISourceControl *(__stdcall *  GetSourceControlInstanceFuncPtr) (const GUID &in_guidPluginID)

Public 成员函数

virtual void  Init (AK::Wwise::ISourceControlUtilities *in_pUtilities, bool in_bAutoAccept)=0
  This function is called when the plug-in is initialized after its creation. 更多...
virtual void  Term ()=0
  This function is called when the plug-in is terminated before its destruction. 更多...
virtual void  Destroy ()=0
  This function destroys the plug-in. The implementation is generally '{ delete this; }'. 更多...
virtual bool  ShowConfigDlg ()=0
virtual AK::Wwise::ISourceControl::OperationResult  GetOperationList (OperationMenuType in_menuType, const StringList &in_rFilenameList, OperationList &out_rOperationList)=0
virtual LPCWSTR  GetOperationName (DWORD in_dwOperationID)=0
  Gets the operation name to display in user interface 更多...
virtual DWORD  GetOperationEffect (DWORD in_dwOperationID)=0
  Gets the operation effect on the file(s) involved in the operation. 更多...
virtual AK::Wwise::ISourceControl::OperationResult  GetFileStatus (const StringList &in_rFilenameList, FilenameToStatusMap &out_rFileStatusMap, DWORD in_dwTimeoutMs=INFINITE)=0
virtual AK::Wwise::ISourceControl::OperationResult  GetFileStatusIcons (const StringList &in_rFilenameList, FilenameToIconMap &out_rFileIconsMap, DWORD in_dwTimeoutMs=INFINITE)=0
virtual AK::Wwise::ISourceControl::OperationResult  GetMissingFilesInDirectories (const StringList &in_rDirectoryList, StringList &out_rFilenameList)=0
virtual IOperationResult DoOperation (DWORD in_dwOperationID, const StringList &in_rFilenameList, const StringList *in_pTargetFilenameList=NULL)=0
virtual AK::Wwise::ISourceControl::OperationResult  PreCreateOrModify (const StringList &in_rFilenameList, CreateOrModifyOperation in_eOperation, bool &out_rContinue)=0
virtual AK::Wwise::ISourceControl::OperationResult  PostCreateOrModify (const StringList &in_rFilenameList, CreateOrModifyOperation in_eOperation, bool &out_rContinue)=0
virtual AK::Wwise::ISourceControl::OperationResult  GetFilesForOperation (DWORD in_dwOperationID, const StringList &in_rFilenameList, StringList &out_rFilenameList, FilenameToStatusMap &out_rFileStatusMap)=0


Wwise source control plug-in interface. This is the interface that the plug-in must implement. It contains all the necessary functions to perform source control operations and manage the Wwise source control UI.

The functions in this interface are not thread-safe, unless stated otherwise.

在文件 ISourceControl.h61 行定义.