All 5 phases of the open-source Decal rebuild: Phase 1: 14 decompiled .NET projects (Interop.*, Adapter, FileService, DecalUtil) Phase 2: 10 native DLLs rewritten as C# COM servers with matching GUIDs - DecalDat, DHS, SpellFilter, DecalInput, DecalNet, DecalFilters - Decal.Core, DecalControls, DecalRender, D3DService Phase 3: C++ shims for Inject.DLL (D3D9 hooking) and LauncherHook.DLL Phase 4: DenAgent WinForms tray application Phase 5: WiX installer and build script 25 C# projects building with 0 errors. Native C++ projects require VS 2022 + Windows SDK (x86). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
83 lines
1.3 KiB
C++
83 lines
1.3 KiB
C++
|
|
#include "stdafx.h"
|
|
#include "DecalFilters.h"
|
|
#include "AllegianceInfo.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
STDMETHODIMP cAllegianceInfo::get_Name(BSTR *pVal)
|
|
{
|
|
*pVal = T2BSTR( m_pAllegiance->Name );
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP cAllegianceInfo::get_GUID(long *pVal)
|
|
{
|
|
*pVal = m_pAllegiance->GUID;
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP cAllegianceInfo::get_TreeParent(long *pVal)
|
|
{
|
|
*pVal = m_pAllegiance->TreeParent;
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP cAllegianceInfo::get_Type(long *pVal)
|
|
{
|
|
*pVal = m_pAllegiance->Type;
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP cAllegianceInfo::get_XP(long *pVal)
|
|
{
|
|
*pVal = m_pAllegiance->XP;
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP cAllegianceInfo::get_Loyalty(long *pVal)
|
|
{
|
|
*pVal = m_pAllegiance->Loyalty;
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP cAllegianceInfo::get_Leadership(long *pVal)
|
|
{
|
|
*pVal = m_pAllegiance->Leadership;
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP cAllegianceInfo::get_Gender(long *pVal)
|
|
{
|
|
*pVal = m_pAllegiance->Gender;
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP cAllegianceInfo::get_Race(long *pVal)
|
|
{
|
|
*pVal = m_pAllegiance->Race;
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP cAllegianceInfo::get_Rank(long *pVal)
|
|
{
|
|
*pVal = m_pAllegiance->Rank;
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP cAllegianceInfo::get_Unknown(double *pVal)
|
|
{
|
|
*pVal = m_pAllegiance->Unknown;
|
|
|
|
return S_OK;
|
|
}
|