Initial commit: Complete open-source Decal rebuild
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>
This commit is contained in:
commit
d1442e3747
1382 changed files with 170725 additions and 0 deletions
83
Native/DecalFilters/AllegianceInfo.cpp
Normal file
83
Native/DecalFilters/AllegianceInfo.cpp
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
|
||||
#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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue