Nexus.Client.Games.Morrowind.PluginManagement.Boss.BossSorter.LoadMethods C# (CSharp) Method

LoadMethods() private method

Loads the native BAPI methods.
private LoadMethods ( ) : void
return void
		private void LoadMethods()
		{
			m_dlgGetLastErrorDetails = (GetLastErrorDetailsDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "GetLastErrorDetails"), typeof(GetLastErrorDetailsDelegate));
			m_dlgCreateBossDb = (CreateBossDbDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "CreateBossDb"), typeof(CreateBossDbDelegate));
			m_dlgDestroyBossDb = (DestroyBossDbDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "DestroyBossDb"), typeof(DestroyBossDbDelegate));
			m_dlgLoad = (LoadDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "Load"), typeof(LoadDelegate));
			m_dlgEvalConditionals = (EvalConditionalsDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "EvalConditionals"), typeof(EvalConditionalsDelegate));
			m_dlgUpdateMasterlist = (UpdateMasterlistDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "UpdateMasterlist"), typeof(UpdateMasterlistDelegate));
			m_dlgSortMods = (SortModsDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "SortMods"), typeof(SortModsDelegate));
			m_dlgGetLoadOrder = (GetLoadOrderDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "GetLoadOrder"), typeof(GetLoadOrderDelegate));
			m_dlgSetLoadOrder = (SetLoadOrderDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "SetLoadOrder"), typeof(SetLoadOrderDelegate));
			m_dlgGetActivePlugins = (GetActivePluginsDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "GetActivePlugins"), typeof(GetActivePluginsDelegate));
			m_dlgSetActivePlugins = (SetActivePluginsDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "SetActivePlugins"), typeof(SetActivePluginsDelegate));
			m_dlgGetPluginLoadOrder = (GetPluginLoadOrderDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "GetPluginLoadOrder"), typeof(GetPluginLoadOrderDelegate));
			m_dlgSetPluginLoadOrder = (SetPluginLoadOrderDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "SetPluginLoadOrder"), typeof(SetPluginLoadOrderDelegate));
			m_dlgGetIndexedPlugin = (GetIndexedPluginDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "GetIndexedPlugin"), typeof(GetIndexedPluginDelegate));
			m_dlgSetPluginActive = (SetPluginActiveDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "SetPluginActive"), typeof(SetPluginActiveDelegate));
			m_dlgIsPluginActive = (IsPluginActiveDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "IsPluginActive"), typeof(IsPluginActiveDelegate));
			m_dlgIsMaster = (IsMasterDelegate)Marshal.GetDelegateForFunctionPointer(GetProcAddress(m_ptrBossApi, "IsPluginMaster"), typeof(IsMasterDelegate));
		}