Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync to CN 7.01 #21

Open
wants to merge 160 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
160 commits
Select commit Hold shift + click to select a range
91142b1
Sort LineCombatant entries alphabetically (#211)
valarnin May 7, 2023
3df3a1a
Readd "Write cutscene detection log lines". (#209)
ShadyWhite May 7, 2023
62d69c6
Bump version to 0.19.19 (#208)
quisquous May 7, 2023
040c3df
Pick up missed cactbot config logic
sandtechnology May 16, 2023
c48b633
Pick up cactbot local files path missing handling
sandtechnology May 16, 2023
b18c83c
Shared overlay: ngrok update (#212)
Mitalie May 19, 2023
bd1b226
Copy Tech Support: Don't right-pad the last column (#214)
valarnin May 21, 2023
bdc9849
Replace `Clear Cache` overlay button with `Clear CEF Cache` `General`…
valarnin May 21, 2023
1dccbad
Update opcodes for Global 6.4 (#215)
Makar8000 May 23, 2023
4c2941c
Sync translations (#217)
ShadyWhite May 24, 2023
75f1637
Combatant memory for 6.4 (#216)
xpdota May 24, 2023
8f075f5
Bump version to 0.19.20 (#218)
quisquous May 24, 2023
05a5b07
Update opcodes for Global 6.40 Hotfix (#223)
Makar8000 Jun 6, 2023
2f3da45
Shorten ko text to not hide checkbox (#225)
xnuk Jun 14, 2023
81b07d7
Update opcodes for Global 6.41 (#228)
Makar8000 Jun 20, 2023
356e836
Update opcodes and version for KR 6.3 (#230)
Ra-Workspace Jun 29, 2023
f990ab4
i18n: FR missing translations (#229)
mooondark Jun 29, 2023
6212df7
Bump version to 0.19.21 (#233)
xiashtra Jun 30, 2023
e343fd7
CN 6.31
sandtechnology Jul 10, 2023
bb41ee3
cn 6.35
sandtechnology Jul 10, 2023
75c09da
Update opcodes for CN 6.35 (#234)
ShadyWhite Jul 11, 2023
1b2e563
Fix LineCombatant FP decimal separator being locale-dependent. (#224)
xpdota Jul 11, 2023
0afba81
Update opcodes for Global 6.45 (#236)
Makar8000 Jul 18, 2023
09e42f4
Update opcodes for KR 6.31 (#237)
Ra-Workspace Jul 18, 2023
b6ce25f
Update StripFFXIVClientStructs to run on .NET 6.0 (#238)
valarnin Jul 18, 2023
3807f21
Fix lint errors from #238 (#239)
quisquous Jul 18, 2023
9c8f5a5
cn 6.38
sandtechnology Aug 8, 2023
92b0926
Update opcodes for CN 6.38 (#242)
ShadyWhite Aug 8, 2023
23e5895
Update opcodes for Global 6.48 (#243)
Makar8000 Aug 8, 2023
2caa388
Update MapEffect and CEDirector opcodes for KR 6.35 (#245)
Ra-Workspace Aug 30, 2023
cffb2d3
Update RSVData opcode for KR 6.35 (#246)
RyuaNerin Aug 31, 2023
6e73d4a
Remove old 6.2 code in LineFateControl (#247)
RyuaNerin Aug 31, 2023
130a283
cn 6.38
sandtechnology Sep 16, 2023
4bd76fa
Allow non-user event for closing overlay
sandtechnology Sep 16, 2023
7541598
Update opcodes for CN 6.4 (#248)
ShadyWhite Sep 16, 2023
843b478
Merge remote-tracking branch 'cactbot/main'
sandtechnology Sep 18, 2023
d2ba8ab
cn 6.40
sandtechnology Sep 18, 2023
3fed2eb
Bump version and fix build
sandtechnology Sep 19, 2023
afeff7a
Update cactbot to 0.29.25
sandtechnology Sep 19, 2023
6ca3de6
Fix build
sandtechnology Sep 19, 2023
33399f2
Update opcodes for KR 6.38 (#249)
Ra-Workspace Sep 26, 2023
771cc1e
Update opcodes for Global 6.5 (#251)
Makar8000 Oct 3, 2023
6700774
Sync translations from json to resx (#231)
quisquous Oct 3, 2023
49d2eb1
Add CombatantMemory65 for 6.5 global update (#252)
valarnin Oct 4, 2023
74e3d35
Bump version to 0.19.22 (#240)
ffxivvillein Oct 4, 2023
29f5945
Improve the 260 ACT/game InCombat log line (#256)
quisquous Oct 24, 2023
bc7c4e6
Update opcodes for Global 6.51 (#257)
Makar8000 Oct 31, 2023
890310f
Update opcodes for KR 6.4 (#258)
RyuaNerin Nov 2, 2023
ccc28f2
Update opcodes for KR 6.4 hotfix (#260)
RyuaNerin Nov 2, 2023
376872d
Append log text on UI thread via invoke if needed (#261)
valarnin Nov 2, 2023
2c90c5d
Unhook windows events properly on close (#262)
valarnin Nov 2, 2023
f3041ab
Clean up opcodes.jsonc (#263)
valarnin Nov 2, 2023
96d8ddf
Add .editorconfig entry for jsonc (#264)
valarnin Nov 2, 2023
45bff2a
Location/Heading for ActorCast + ActionEffect (#255)
xpdota Nov 2, 2023
d2b8d8d
Add cast target location for location-targeted abilities (#253)
valarnin Nov 2, 2023
eb77d49
Fix race condition with locking `Logs` due to invocation on UI thread…
valarnin Nov 3, 2023
ef60078
Bump KR memory version to 6.4 (#265)
valarnin Nov 3, 2023
a662874
Refactor code to get value from FFXIV_ACT_Plugin IOC (#267)
valarnin Nov 3, 2023
df13e4d
Bump version to 0.19.23.0 (#268)
valarnin Nov 3, 2023
56a5df0
Fix class scoping on classes required for custom log lines (#269)
valarnin Nov 4, 2023
1263521
Fix compile warning for `Exception e` (#270)
quisquous Nov 7, 2023
bd640c0
Update opcodes for Global 6.51 Hotfix (#271)
Makar8000 Nov 14, 2023
03040fa
Fix misnamed custom log line entry (#272)
valarnin Nov 14, 2023
7299cdb
OnPartyChanged event rewrite (#226)
valarnin Nov 15, 2023
5a72f36
Remove dispatchOverlayEvent (#274)
valarnin Nov 19, 2023
e9da228
Remove unused `OnLog` event (#275)
valarnin Nov 19, 2023
9431676
Migrate to SDK project format (#273)
valarnin Nov 29, 2023
f08b303
Fix github version tagging script (#278)
valarnin Nov 29, 2023
0625bac
Remove `tools/set_version.py` as it's no longer needed (#280)
valarnin Nov 30, 2023
91c8b2d
Move code to strip clientstructs to separate powershell script (#281)
valarnin Nov 30, 2023
b0e0312
Convert fetch_deps to powershell (#279)
valarnin Nov 30, 2023
ad1d76b
Update opcodes for CN 6.45 (#285)
ShadyWhite Dec 4, 2023
ca5feb6
Fix clear cache translation
sandtechnology Dec 5, 2023
9add473
bump 23.10.2.0 with Fix spell timer hotkey
sandtechnology Dec 5, 2023
1c6b1f0
Merge with latest upstream 'cactbot/main'
sandtechnology Dec 5, 2023
f57e55d
Fix build and update to cn 6.45
sandtechnology Dec 5, 2023
10d1874
Fix build again and fix deadlock
sandtechnology Dec 5, 2023
0e9591a
Update opcodes for CN 6.45 Hotfix (#286)
ShadyWhite Dec 11, 2023
89e97b1
Add ContentFinderSettings log line (#284)
valarnin Jan 4, 2024
db42042
Bump version to 0.19.24 (#288)
xiashtra Jan 4, 2024
57ea30b
Visual Studio fetch_deps and strip-clientstructs support (#282)
valarnin Jan 7, 2024
2cd61b1
Fix bug in LineInCombat (#291)
valarnin Jan 9, 2024
f2f6776
Added functionality to handle Ngrok access keys (#289)
wbonbon Jan 10, 2024
213b7c9
Sync translations (#292)
ShadyWhite Jan 11, 2024
bba47c8
Bump version to 0.19.25 (#293)
ShadyWhite Jan 11, 2024
2bdfedb
i18n: FR translation update (#296)
mooondark Jan 15, 2024
d3dfd74
Update opcodes for Global 6.55 (#297)
Makar8000 Jan 16, 2024
a7250dd
Fix all party members being considered `inParty` (#295)
valarnin Jan 16, 2024
1702740
Update opcodes for KR 6.45 (#299)
Ra-Workspace Jan 16, 2024
1296211
Bump version to 0.19.26 (#298)
xpdota Jan 16, 2024
19357a7
HttpClient improvement (#302)
wbonbon Jan 24, 2024
c00b682
Update opcodes for Global 6.57 (#303)
Makar8000 Feb 13, 2024
7728ab9
Fix generated overlay URL when using '*' as the websocket bind IP (#305)
xpdota Feb 16, 2024
8c597c7
Also fix generated URL for ipv6 wildcard (#306)
xpdota Feb 16, 2024
2cacafb
Adjust ffxiv clientstructs build (#307)
valarnin Feb 19, 2024
44c8f2d
Fix .NET analyzers and cleanup build warnings (#283)
valarnin Feb 19, 2024
9b4352d
Fix #254 (again) (#308)
valarnin Feb 20, 2024
e540bfd
Fix release workflow (#309)
valarnin Feb 20, 2024
813dafb
Update base README.md (#310)
wexxlee Feb 20, 2024
c24eda1
Add Job Gauge event (#300)
valarnin Feb 23, 2024
d63b939
Sync translations (#311)
valarnin Feb 25, 2024
90ba6ef
Add screen mode & load-order warnings to support info (#314)
wexxlee Feb 26, 2024
452ca89
Add NpcYell and BattleTalk2 lines (#312)
valarnin Feb 26, 2024
6b1b0ef
Add countdown lines (#313)
valarnin Feb 26, 2024
99d192b
Fix countdown seconds prop name (#315)
valarnin Feb 26, 2024
43fb0e0
update BattleTalk2 fields (#317)
wexxlee Mar 2, 2024
3fba74b
Add ActorMove and ActorSetPos lines (#316)
valarnin Mar 2, 2024
db75ce8
Add `ActorControlExtra` and `SpawnNpcExtra` lines (#318)
valarnin Mar 3, 2024
5aa1be8
Update reserved log line logic (#319)
valarnin Mar 3, 2024
2f033c0
Update opcodes for CN 6.5 (#321)
ShadyWhite Mar 4, 2024
f9ad9d1
Version bump to 0.19.27 (#322)
valarnin Mar 5, 2024
f097c6e
cn6.45a
sandtechnology Mar 5, 2024
ef6784b
cleanup
sandtechnology Mar 5, 2024
3bf4e18
Merge remote-tracking branch 'cactbot/main'
sandtechnology Mar 5, 2024
cdf836a
Fix build, WS server UI and update to 6.5
sandtechnology Mar 5, 2024
5455fcb
Fix build annotation warning for tech support screen mode (#324)
wexxlee Mar 10, 2024
ea2d8d1
Revert #324 (#325)
wexxlee Mar 10, 2024
ab5291e
Remove `UnstableNewLogLines` (#323)
valarnin Mar 10, 2024
f278ff7
Fix build annotation warning for tech support screen mode (redo) (#326)
wexxlee Mar 10, 2024
85c0f85
Update opcodes for Global 6.58 (#328)
Makar8000 Mar 19, 2024
4080737
Add elevation info and multiple-instance warnings to support button (…
wexxlee Mar 23, 2024
f6c5141
Update opcodes for Global 6.58 Hotfix (#331)
Makar8000 Apr 2, 2024
51dae88
Update opcodes for KR 6.5 (#332)
Ra-Workspace Apr 2, 2024
8af11a9
Add `ActorControlSelfExtra`, additional categories (#329)
valarnin Apr 2, 2024
3bd0abc
Version bump to 0.19.28 (#333)
xiashtra Apr 3, 2024
0277650
Update opcodes for CN 6.51 (#334)
ShadyWhite Apr 8, 2024
c7f19ea
Fix WS config panel layout
sandtechnology Apr 9, 2024
405f2e0
Merge remote-tracking branch 'cactbot/main' 0277650
sandtechnology Apr 9, 2024
5dfc7e2
Delete DX9 related exe logic
sandtechnology Apr 9, 2024
49efd3f
cn 6.51
sandtechnology Apr 9, 2024
32c66f0
Bump to 24.4.10.0
sandtechnology Apr 9, 2024
74c53a9
Performance:PollingRate 20 -> 100
sandtechnology Apr 9, 2024
43acd0d
Add region to opcode map (#336)
valarnin Apr 10, 2024
978dca7
Bump version to 0.19.29 (#337)
wexxlee Apr 10, 2024
31ac57a
Update opcodes for Global 6.58 Hotfix 2 (#341)
Makar8000 May 7, 2024
ee26dc4
Update opcodes for KR 6.51 (#342)
Ra-Workspace May 7, 2024
c8b65df
Update opcodes for CN 6.55 (#347)
ShadyWhite May 27, 2024
f01f3be
cn 6.55 game version (#348)
ShadyWhite May 27, 2024
2f9cd1d
cn 6.55
sandtechnology May 30, 2024
6fb434a
Update cactbot version
sandtechnology May 30, 2024
a101eca
Revert the cef and asm resolver shutdown code
sandtechnology May 30, 2024
a0fc018
Clean up network packet handling (#345)
valarnin Jun 2, 2024
1329b3c
Add animation lock field to 264 (LineAbilityExtra) (#353)
xpdota Jun 18, 2024
92c5232
Fix anim lock field being off by one position (#354)
xpdota Jun 18, 2024
981b924
Update opcodes for KR 6.55 (#355)
Ra-Workspace Jun 18, 2024
6320cc2
Bump to 24.5.31.0
sandtechnology Jul 2, 2024
9e88ddf
Merge branch 'upsteam_6.5x' (981b92)
sandtechnology Jul 2, 2024
e7b6792
CN 6.58
sandtechnology Aug 6, 2024
5c7a35a
Merge with upstream ba889789
sandtechnology Sep 26, 2024
85a69f6
Update cactbot upstream (b284810)
sandtechnology Sep 26, 2024
71b5992
Fix build
sandtechnology Sep 26, 2024
538ef34
cn 7.0
sandtechnology Sep 27, 2024
8de2c4b
Disable unsupported DpiScale option in act
sandtechnology Sep 27, 2024
5bf7786
Fix bait sig
sandtechnology Sep 29, 2024
2c58fcb
Revert commit 718a366e changes for tab
sandtechnology Sep 29, 2024
1d8d08a
cn 7.01
sandtechnology Oct 23, 2024
b2633ba
Merge pull request #1 from thewakingsands/master
sandtechnology Oct 23, 2024
c351a04
Bump to 24.10.23.0 for cn 7.01
sandtechnology Oct 23, 2024
0861127
fix: 无限重试下载浏览器库的问题
sandtechnology Nov 10, 2024
40f0c24
update cactbot version and opcode for cn 7.05
sandtechnology Nov 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,14 @@ csharp_preserve_single_line_statements = true

end_of_line=lf

[*.jsonc]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

#Don't check library files or autogenerated files
[{OverlayPlugin.Common/TinyIoC.cs,**/*.Designer.cs}]
generated_code = true
34 changes: 15 additions & 19 deletions .github/workflows/build-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:
- 'AddonExample/**'
- 'HtmlRenderer/**'
- 'Overlay*/**'
- 'tools/fetch_deps.py'
- 'DEPS.py'
- 'tools/fetch_deps.ps1'
- 'DEPS.json'
- 'OverlayPlugin.sln'
- 'build.bat'
- 'build.ps1'
Expand All @@ -25,6 +25,10 @@ jobs:
steps:
- uses: actions/checkout@v1

- uses: actions/setup-dotnet@v3
with:
dotnet-version: '7'

- name: Set artifact name
shell: bash
run: |
Expand All @@ -35,21 +39,18 @@ jobs:
id: cache-dependencies
uses: actions/cache@v2
with:
path: ./Thirdparty
key: ${{ runner.os }}-overlayplugin-${{ hashFiles('./tools/fetch_deps.py', './DEPS.py') }}
path: |
./Thirdparty
./OverlayPlugin.Core/Thirdparty
key: ${{ runner.os }}-overlayplugin-${{ hashFiles('./tools/fetch_deps.ps1', './DEPS.json', './tools/StripFFXIVClientStructs/StripFFXIVClientStructs/StripFFXIVClientStructs.cs') }}
restore-keys: |
${{ runner.os }}-overlayplugin-
# Fetch dependencies only if cache-hit is false
- name: Set up Python 3.8
if: steps.cache-dependencies.outputs.cache-hit != 'true'
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Fetch dependencies
if: steps.cache-dependencies.outputs.cache-hit != 'true'
shell: pwsh
run: |
python .\tools\fetch_deps.py
.\tools\fetch_deps.ps1

- name: Set up msbuild
uses: microsoft/[email protected]
Expand All @@ -65,14 +66,9 @@ jobs:
- name: Determine Version
shell: pwsh
run: |
$text = [System.IO.File]::ReadAllText("OverlayPlugin\Properties\AssemblyInfo.cs");
$regex = [regex]::New('\[assembly: AssemblyVersion\("([0-9]+\.[0-9]+\.[0-9]+)\.[0-9]+"\)');
$m = $regex.Match($text);
if (-not $m) {
echo "Error: Version number not found in the AssemblyInfo.cs!"
exit 1
}
$version = $m.Groups[1]
[xml]$csprojcontents = Get-Content -Path "Directory.Build.props";
$version = $csprojcontents.Project.PropertyGroup.AssemblyVersion;
$version = ($version | Out-String).Trim()
echo "version=$version" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append

# Expected "OverlayPlugin" as top level item of .zip
Expand Down
63 changes: 26 additions & 37 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ on:
branches:
- main
paths:
- '**/AssemblyInfo.cs'
- 'Directory.Build.props'

jobs:
validate_tag:
runs-on: windows-latest
outputs:
version: ${{ steps.determine_version.outputs.version }}
do_release: ${{ steps.check_tag.outputs.do_release }}
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -21,64 +22,52 @@ jobs:
id: determine_version
shell: pwsh
run: |
$text = [System.IO.File]::ReadAllText("OverlayPlugin\Properties\AssemblyInfo.cs");
$regex = [regex]::New('\[assembly: AssemblyVersion\("([0-9]+\.[0-9]+\.[0-9]+)\.[0-9]+"\)');
$m = $regex.Match($text);
if (-not $m) {
echo "Error: Version number not found in the AssemblyInfo.cs!"
exit 1
}
$version = $m.Groups[1]
echo "::set-output name=version::$version"
[xml]$csprojcontents = Get-Content -Path "Directory.Build.props";
$version = $csprojcontents.Project.PropertyGroup.AssemblyVersion;
$version = ($version | Out-String).Trim()
echo "version=$version" >> $env:GITHUB_OUTPUT

- name: Check Tag Exists
id: check_tag
shell: bash
run: |
if [ $(git tag -l "v${{ steps.determine_version.outputs.version }}") ]; then
echo "Error: Existing git tag found. Exiting..."
exit 1
echo "Existing git tag found. Exiting..."
echo "do_release=false" >> $GITHUB_OUTPUT
else
echo "Version bump detected - ${{ steps.determine_version.outputs.version }}"
echo "do_release=true" >> $GITHUB_OUTPUT
fi

validate_version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Validate AssemblyInfo Versions
run: |
python tools/validate_versions.py

create_release:
needs: [validate_tag, validate_version]
needs: [validate_tag]
runs-on: windows-latest
if: |
github.repository == 'OverlayPlugin/OverlayPlugin' &&
needs.validate_tag.outputs.do_release == 'true'
steps:
- uses: actions/checkout@v2

- name: Check dependencies cache
id: cache-dependencies
uses: actions/cache@v2
with:
path: ./Thirdparty
key: ${{ runner.os }}-overlayplugin-${{ hashFiles('./tools/fetch_deps.py', './DEPS.py') }}
path: |
./Thirdparty
./OverlayPlugin.Core/Thirdparty
key: ${{ runner.os }}-overlayplugin-${{ hashFiles('./tools/fetch_deps.ps1', './DEPS.json', './tools/StripFFXIVClientStructs/StripFFXIVClientStructs/StripFFXIVClientStructs.cs') }}
restore-keys: |
${{ runner.os }}-overlayplugin-

# Fetch dependencies only if cache-hit is false
- name: Set up Python 3.8
if: steps.cache-dependencies.outputs.cache-hit != 'true'
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Fetch dependencies
if: steps.cache-dependencies.outputs.cache-hit != 'true'
shell: pwsh
run: |
python .\tools\fetch_deps.py
.\tools\fetch_deps.ps1

- uses: actions/setup-dotnet@v3
with:
dotnet-version: '7'

- name: Set up msbuild
uses: microsoft/[email protected]
Expand Down
102 changes: 15 additions & 87 deletions AddonExample/AddonExample.csproj
Original file line number Diff line number Diff line change
@@ -1,120 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B9BBE478-8FD7-43D9-BD50-C806B1EC672F}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AddonExample</RootNamespace>
<AssemblyName>AddonExample</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\out\Debug\addons\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>..\out\Release\addons\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\OverlayPlugin\bin\x86\Debug\addons\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<AssemblyTitle>AddonExample</AssemblyTitle>
<Product>AddonExample</Product>
<Copyright>Copyright © 2015</Copyright>
<OutputPath>..\out\$(Configuration)\addons\</OutputPath>
</PropertyGroup>
<ItemGroup>
<Reference Include="Advanced Combat Tracker">
<HintPath>..\Thirdparty\ACT\Advanced Combat Tracker.exe</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="AddonExampleEventSource.cs" />
<Compile Include="AddonExampleEventSourceConfig.cs" />
<Compile Include="AddonExampleEventSourceConfigPanel.cs">
<Compile Update="AddonExampleEventSourceConfigPanel.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="AddonExampleEventSourceConfigPanel.Designer.cs">
<Compile Update="AddonExampleEventSourceConfigPanel.Designer.cs">
<DependentUpon>AddonExampleEventSourceConfigPanel.cs</DependentUpon>
</Compile>
<Compile Include="AddonExampleOverlay.cs" />
<Compile Include="AddonExampleOverlayConfig.cs" />
<Compile Include="AddonExampleOverlayConfigPanel.cs">
<Compile Update="AddonExampleOverlayConfigPanel.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="AddonExampleOverlayConfigPanel.Designer.cs">
<Compile Update="AddonExampleOverlayConfigPanel.Designer.cs">
<DependentUpon>AddonExampleOverlayConfigPanel.cs</DependentUpon>
</Compile>
<Compile Include="AddonExample.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\OverlayPlugin.Common\OverlayPlugin.Common.csproj">
<Project>{423fcbfc-dd3b-415f-be29-7a4a46614b79}</Project>
<Name>OverlayPlugin.Common</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\OverlayPlugin.Core\OverlayPlugin.Core.csproj">
<Project>{dd6d2a9a-4ad4-47b8-a1d0-c8608ea37092}</Project>
<Name>OverlayPlugin.Core</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\tools\VSBuildDeps\VSBuildDeps.csproj" Private="False" />
<ProjectReference Include="..\OverlayPlugin.Common\OverlayPlugin.Common.csproj" />
<ProjectReference Include="..\OverlayPlugin.Core\OverlayPlugin.Core.csproj" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="AddonExampleEventSourceConfigPanel.resx">
<EmbeddedResource Update="AddonExampleEventSourceConfigPanel.resx">
<DependentUpon>AddonExampleEventSourceConfigPanel.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="AddonExampleOverlayConfigPanel.resx">
<EmbeddedResource Update="AddonExampleOverlayConfigPanel.resx">
<DependentUpon>AddonExampleOverlayConfigPanel.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json">
<Version>13.0.1</Version>
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
9 changes: 7 additions & 2 deletions AddonExample/AddonExampleEventSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,14 @@ protected override void Update()
}));
}

public override void Dispose()
protected override void Dispose(bool disposing)
{
base.Dispose();
if (disposing && originalTimer != null)
{
originalTimer.Dispose();
originalTimer = null;
}
base.Dispose(disposing);
}

// Sends an event called |event_name| to javascript, with an event.detail that contains
Expand Down
36 changes: 0 additions & 36 deletions AddonExample/Properties/AssemblyInfo.cs

This file was deleted.

Loading
Loading