openDecal/Managed/Decal.SpellFilter/SpellImpl.cs
erik d1442e3747 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>
2026-02-08 18:27:56 +01:00

49 lines
1.8 KiB
C#

using System.Runtime.InteropServices;
using Decal.Interop.SpellFilter;
namespace Decal.SpellFilter
{
[ComVisible(true)]
[Guid("3040368A-B77A-4FE1-B8CC-D77FA3F36A6D")]
[ClassInterface(ClassInterfaceType.None)]
[ProgId("SpellFilter.Spell")]
public class SpellImpl : ISpell
{
public int SpellID { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public int SpellSchool { get; set; }
public int Icon { get; set; }
public int Effect { get; set; }
public int Flags { get; set; }
public int ManaCost { get; set; }
public int Difficulty { get; set; }
public float Economy { get; set; }
public int SpellVersion { get; set; }
public int SpellType { get; set; }
public double Duration { get; set; }
public bool Researchable { get; set; }
public int Component { get; set; }
public int Misc { get; set; }
public float FUnknown1 { get; set; }
public float FUnknown2 { get; set; }
public float FUnknown3 { get; set; }
public int LUnknown1 { get; set; }
public int LUnknown2 { get; set; }
public int LUnknown3 { get; set; }
public int ComponentCount { get; set; }
public int LUnknown4 { get; set; }
public int LUnknown5 { get; set; }
public int LUnknown6 { get; set; }
public int TargetMask { get; set; }
public float RangeBase { get; set; }
public float RangeModifier { get; set; }
public float Speed { get; set; }
public int ID2 { get; set; }
public int SortOrder { get; set; }
public int Misc2 { get; set; }
public int EffectOnCaster { get; set; }
public int EffectOnTarget { get; set; }
public double DurationUnk { get; set; }
}
}