Full Code of LegoFigure11/RaidCrawler for AI

main 2575549f333b cached
129 files
1.2 MB
476.0k tokens
348 symbols
1 requests
Download .txt
Showing preview only (1,259K chars total). Download the full file or copy to clipboard to get everything.
Repository: LegoFigure11/RaidCrawler
Branch: main
Commit: 2575549f333b
Files: 129
Total size: 1.2 MB

Directory structure:
gitextract_kdttnkap/

├── .editorconfig
├── .gitattributes
├── .github/
│   ├── ISSUE_TEMPLATE/
│   │   └── bug_report.md
│   ├── dependabot.yml
│   └── workflows/
│       └── dotnet-desktop.yml
├── .gitignore
├── Directory.Build.props
├── LICENSE
├── README.md
├── RaidCrawler.Core/
│   ├── Connection/
│   │   └── ConnectionWrapper.cs
│   ├── Discord/
│   │   └── NotificationHandler.cs
│   ├── Extensions/
│   │   ├── EncounterExtensions.cs
│   │   └── RaidExtensions.cs
│   ├── Interfaces/
│   │   ├── IDateAdvanceConfig.cs
│   │   └── IWebhookConfig.cs
│   ├── RaidCrawler.Core.csproj
│   ├── Resources/
│   │   ├── Base/
│   │   │   ├── den_locations_base.json
│   │   │   ├── raid_fixed_reward_item_array.json
│   │   │   └── raid_lottery_reward_item_array.json
│   │   ├── Blueberry/
│   │   │   └── den_locations_blueberry.json
│   │   └── Kitakami/
│   │       └── den_locations_kitakami.json
│   ├── Schemas/
│   │   └── raids.fbs
│   └── Structures/
│       ├── Areas.cs
│       ├── FlatBufferStructures/
│       │   ├── DeliveryRaidFixedRewardItem.cs
│       │   ├── DeliveryRaidLotteryRewardItem.cs
│       │   ├── PokeDataBattle.cs
│       │   ├── RaidBossData.cs
│       │   ├── RaidBossSizeData.cs
│       │   ├── RaidEnemyInfo.cs
│       │   └── RaidSerializationFormat.cs
│       ├── FlatbufferDumper.cs
│       ├── ITeraRaid.cs
│       ├── MapMagic.cs
│       ├── Offsets.cs
│       ├── Raid.cs
│       ├── RaidBlock.cs
│       ├── RaidContainer.cs
│       ├── RaidFilter.cs
│       ├── RaidRewards.cs
│       ├── TeraDistribution.cs
│       ├── TeraEncounter.cs
│       └── Utils.cs
├── RaidCrawler.Tests/
│   ├── Blocks/
│   │   ├── anubis_Might_cleared_VL/
│   │   │   ├── base
│   │   │   ├── fixed_reward_item_array
│   │   │   ├── lottery_reward_item_array
│   │   │   ├── raid_enemy_array
│   │   │   └── raid_priority_array
│   │   ├── buddy_12_Distro_noMight_VL/
│   │   │   ├── base
│   │   │   ├── fixed_reward_item_array
│   │   │   ├── lottery_reward_item_array
│   │   │   ├── raid_enemy_array
│   │   │   └── raid_priority_array
│   │   ├── chaos_12_Distro_noMight_VL/
│   │   │   ├── base
│   │   │   ├── fixed_reward_item_array
│   │   │   ├── lottery_reward_item_array
│   │   │   ├── raid_enemy_array
│   │   │   └── raid_priority_array
│   │   ├── lisa_30_449_Gentle_21_31_25_21_8_31_SL/
│   │   │   ├── base
│   │   │   ├── fixed_reward_item_array
│   │   │   ├── lottery_reward_item_array
│   │   │   ├── raid_enemy_array
│   │   │   └── raid_priority_array
│   │   ├── newt_56_761_Calm_4_7_4_3_31_25_VL/
│   │   │   ├── base
│   │   │   ├── fixed_reward_item_array
│   │   │   ├── lottery_reward_item_array
│   │   │   ├── raid_enemy_array
│   │   │   └── raid_priority_array
│   │   ├── senna_9_132_Modest_31_0_31_31_31_31_SL/
│   │   │   ├── base
│   │   │   ├── fixed_reward_item_array
│   │   │   ├── lottery_reward_item_array
│   │   │   ├── raid_enemy_array
│   │   │   └── raid_priority_array
│   │   └── zyro_Inteleon_IL_VL/
│   │       ├── base
│   │       ├── fixed_reward_item_array
│   │       ├── lottery_reward_item_array
│   │       ├── raid_enemy_array
│   │       └── raid_priority_array
│   ├── FilterTests.cs
│   ├── Filters/
│   │   ├── BounsweetShiny.json
│   │   ├── Ditto0Atk.json
│   │   ├── Ditto0Spe.json
│   │   └── IVControl.json
│   ├── RaidCrawler.Tests.csproj
│   ├── RaidReadTests.cs
│   ├── RaidStatTests.cs
│   └── TestUtil.cs
├── RaidCrawler.WinForms/
│   ├── App.config
│   ├── Config.cs
│   ├── ErrorHandler/
│   │   └── ErrorHandler.cs
│   ├── MainWindow.Designer.cs
│   ├── MainWindow.cs
│   ├── MainWindow.resx
│   ├── Program.cs
│   ├── Properties/
│   │   ├── Resources.Designer.cs
│   │   ├── Resources.resx
│   │   ├── Settings.Designer.cs
│   │   └── Settings.settings
│   ├── RaidCrawler.WinForms.csproj
│   └── SubForms/
│       ├── ConfigWindow.Designer.cs
│       ├── ConfigWindow.cs
│       ├── ConfigWindow.resx
│       ├── EmojiConfig.Designer.cs
│       ├── EmojiConfig.cs
│       ├── EmojiConfig.resx
│       ├── FilterSettings.Designer.cs
│       ├── FilterSettings.cs
│       ├── FilterSettings.resx
│       ├── ItemIDs.Designer.cs
│       ├── ItemIDs.cs
│       ├── ItemIDs.resx
│       ├── MapView.Designer.cs
│       ├── MapView.cs
│       ├── MapView.resx
│       ├── RaidBlockViewer.Designer.cs
│       ├── RaidBlockViewer.cs
│       ├── RaidBlockViewer.resx
│       ├── RewardsView.Designer.cs
│       ├── RewardsView.cs
│       ├── RewardsView.resx
│       ├── TeraRaidView.Designer.cs
│       ├── TeraRaidView.cs
│       ├── TeraRaidView.resx
│       ├── TickModifier.Designer.cs
│       ├── TickModifier.cs
│       ├── TickModifier.resx
│       ├── UpdateNotifPopup.Designer.cs
│       ├── UpdateNotifPopup.cs
│       └── UpdateNotifPopup.resx
└── RaidCrawler.sln

================================================
FILE CONTENTS
================================================

================================================
FILE: .editorconfig
================================================
root = true

# All Files
[*]
charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

# Solution Files
[*.sln]
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

# XML Project Files
[*.csproj]
indent_style = space
indent_size = 2

# Code Files
[*.cs]
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
tab_width = 4
end_of_line = crlf
csharp_prefer_braces = when_multiline:warning
dotnet_diagnostic.IDE0047.severity = none
dotnet_diagnostic.IDE0048.severity = none
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:suggest
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:suggest
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:suggest
dotnet_style_parentheses_in_other_operators = always_for_clarity:suggest

[*.{cs,vb}]
#### Naming styles ####

# Naming styles

dotnet_naming_style.begins_with_i.required_prefix = I
dotnet_naming_style.begins_with_i.capitalization = pascal_case


================================================
FILE: .gitattributes
================================================
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs     diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following 
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln       merge=binary
#*.csproj    merge=binary
#*.vbproj    merge=binary
#*.vcxproj   merge=binary
#*.vcproj    merge=binary
#*.dbproj    merge=binary
#*.fsproj    merge=binary
#*.lsproj    merge=binary
#*.wixproj   merge=binary
#*.modelproj merge=binary
#*.sqlproj   merge=binary
#*.wwaproj   merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg   binary
#*.png   binary
#*.gif   binary

###############################################################################
# diff behavior for common document formats
# 
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the 
# entries below.
###############################################################################
#*.doc   diff=astextplain
#*.DOC   diff=astextplain
#*.docx  diff=astextplain
#*.DOCX  diff=astextplain
#*.dot   diff=astextplain
#*.DOT   diff=astextplain
#*.pdf   diff=astextplain
#*.PDF   diff=astextplain
#*.rtf   diff=astextplain
#*.RTF   diff=astextplain


================================================
FILE: .github/ISSUE_TEMPLATE/bug_report.md
================================================
---
name: Bug report
about: Create a report to help us fix incorrect/unexpected behavior or results
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
If applicable, please list the steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen, or what you found in-game.

**Raid Data**
If the result you see in the program does not match what you see in-game, please click "Dump Raid" and replace this text with the bytes in the window that pops up.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.


================================================
FILE: .github/dependabot.yml
================================================
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
  - package-ecosystem: "github-actions" # See documentation for possible values
    directory: "/" # Location of package manifests
    schedule:
      interval: "weekly"


================================================
FILE: .github/workflows/dotnet-desktop.yml
================================================
name: .NET Core Desktop

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:

  build:

    env:
      Configuration: 'Release'

    runs-on: windows-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v6
      with:
        fetch-depth: 0

    - name: Install .NET Core
      uses: actions/setup-dotnet@v5
      with:
        dotnet-version: |
          10.0.x

    - name: Restore the solution
      run: dotnet restore
    
    - name: Publish
      run: |
        dotnet build --configuration $env:Configuration --no-restore
        dotnet publish -c $env:Configuration -r win-x64 --self-contained false

    - name: Archive production artifacts
      if: ${{ success() }}
      uses: actions/upload-artifact@v7
      with:
        name: RaidCrawler
        path: |
          ./RaidCrawler.WinForms/bin/x64/Release/net10.0-windows/win-x64/publish/


================================================
FILE: .gitignore
================================================
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

# Mono auto generated files
mono_crash.*

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Oo]ut/
[Ll]og/
[Ll]ogs/

# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/

# Visual Studio 2017 auto generated files
Generated\ Files/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

# Benchmark Results
BenchmarkDotNet.Artifacts/

# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/

# ASP.NET Scaffolding
ScaffoldingReadMe.txt

# StyleCop
StyleCopReport.xml

# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb

# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap

# Visual Studio Trace Files
*.e2e

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json

# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info

# Visual Studio code coverage results
*.coverage
*.coveragexml

# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj

# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/

# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets

# Microsoft Azure Build Output
csx/
*.build.csdef

# Microsoft Azure Emulator
ecf/
rcf/

# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload

# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/

# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs

# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk

# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak

# SQL Server files
*.mdf
*.ldf
*.ndf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl

# Microsoft Fakes
FakesAssemblies/

# GhostDoc plugin setting file
*.GhostDoc.xml

# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/

# Visual Studio 6 build log
*.plg

# Visual Studio 6 workspace options file
*.opt

# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw

# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions

# Paket dependency manager
.paket/paket.exe
paket-files/

# FAKE - F# Make
.fake/

# CodeRush personal settings
.cr/personal

# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc

# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config

# Tabs Studio
*.tss

# Telerik's JustMock configuration file
*.jmconfig

# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs

# OpenCover UI analysis results
OpenCover/

# Azure Stream Analytics local run output
ASALocalRun/

# MSBuild Binary and Structured Log
*.binlog

# NVidia Nsight GPU debugger configuration file
*.nvuser

# MFractors (Xamarin productivity tool) working folder
.mfractor/

# Local History for Visual Studio
.localhistory/

# BeatPulse healthcheck temp database
healthchecksdb

# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/

# Ionide (cross platform F# VS Code tools) working folder
.ionide/

# Fody - auto-generated XML schema
FodyWeavers.xsd

================================================
FILE: Directory.Build.props
================================================
<Project>
  <PropertyGroup>
    <TargetFramework>net9.0</TargetFramework>
    <RuntimeIdentifier>win-x64</RuntimeIdentifier>
    <LangVersion>13</LangVersion>
    <Nullable>enable</Nullable>
    <NeutralLanguage>en</NeutralLanguage>
    <SelfContained>false</SelfContained>
    <PackageAsSingleFile>true</PackageAsSingleFile>
    <IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
    <SourceRevisionId>$([System.DateTime]::UtcNow.ToString("yyMMddHHmmss"))</SourceRevisionId>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)' == 'Release'">
    <DebugType>none</DebugType>
    <DebugSymbols>false</DebugSymbols>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
    <DebugType>portable</DebugType>
  </PropertyGroup>
</Project>

================================================
FILE: LICENSE
================================================
                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

                            Preamble

  The GNU General Public License is a free, copyleft license for
software and other kinds of works.

  The licenses for most software and other practical works are designed
to take away your freedom to share and change the works.  By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.  We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors.  You can apply it to
your programs, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.

  To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights.  Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received.  You must make sure that they, too, receive
or can get the source code.  And you must show them these terms so they
know their rights.

  Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.

  For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software.  For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.

  Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so.  This is fundamentally incompatible with the aim of
protecting users' freedom to change the software.  The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable.  Therefore, we
have designed this version of the GPL to prohibit the practice for those
products.  If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.

  Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary.  To prevent this, the GPL assures that
patents cannot be used to render the program non-free.

  The precise terms and conditions for copying, distribution and
modification follow.

                       TERMS AND CONDITIONS

  0. Definitions.

  "This License" refers to version 3 of the GNU General Public License.

  "Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.

  "The Program" refers to any copyrightable work licensed under this
License.  Each licensee is addressed as "you".  "Licensees" and
"recipients" may be individuals or organizations.

  To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy.  The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.

  A "covered work" means either the unmodified Program or a work based
on the Program.

  To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy.  Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.

  To "convey" a work means any kind of propagation that enables other
parties to make or receive copies.  Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.

  An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License.  If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.

  1. Source Code.

  The "source code" for a work means the preferred form of the work
for making modifications to it.  "Object code" means any non-source
form of a work.

  A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.

  The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form.  A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.

  The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities.  However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work.  For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.

  The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.

  The Corresponding Source for a work in source code form is that
same work.

  2. Basic Permissions.

  All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met.  This License explicitly affirms your unlimited
permission to run the unmodified Program.  The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work.  This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.

  You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force.  You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright.  Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.

  Conveying under any other circumstances is permitted solely under
the conditions stated below.  Sublicensing is not allowed; section 10
makes it unnecessary.

  3. Protecting Users' Legal Rights From Anti-Circumvention Law.

  No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.

  When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.

  4. Conveying Verbatim Copies.

  You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.

  You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.

  5. Conveying Modified Source Versions.

  You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified
    it, and giving a relevant date.

    b) The work must carry prominent notices stating that it is
    released under this License and any conditions added under section
    7.  This requirement modifies the requirement in section 4 to
    "keep intact all notices".

    c) You must license the entire work, as a whole, under this
    License to anyone who comes into possession of a copy.  This
    License will therefore apply, along with any applicable section 7
    additional terms, to the whole of the work, and all its parts,
    regardless of how they are packaged.  This License gives no
    permission to license the work in any other way, but it does not
    invalidate such permission if you have separately received it.

    d) If the work has interactive user interfaces, each must display
    Appropriate Legal Notices; however, if the Program has interactive
    interfaces that do not display Appropriate Legal Notices, your
    work need not make them do so.

  A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit.  Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.

  6. Conveying Non-Source Forms.

  You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:

    a) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by the
    Corresponding Source fixed on a durable physical medium
    customarily used for software interchange.

    b) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by a
    written offer, valid for at least three years and valid for as
    long as you offer spare parts or customer support for that product
    model, to give anyone who possesses the object code either (1) a
    copy of the Corresponding Source for all the software in the
    product that is covered by this License, on a durable physical
    medium customarily used for software interchange, for a price no
    more than your reasonable cost of physically performing this
    conveying of source, or (2) access to copy the
    Corresponding Source from a network server at no charge.

    c) Convey individual copies of the object code with a copy of the
    written offer to provide the Corresponding Source.  This
    alternative is allowed only occasionally and noncommercially, and
    only if you received the object code with such an offer, in accord
    with subsection 6b.

    d) Convey the object code by offering access from a designated
    place (gratis or for a charge), and offer equivalent access to the
    Corresponding Source in the same way through the same place at no
    further charge.  You need not require recipients to copy the
    Corresponding Source along with the object code.  If the place to
    copy the object code is a network server, the Corresponding Source
    may be on a different server (operated by you or a third party)
    that supports equivalent copying facilities, provided you maintain
    clear directions next to the object code saying where to find the
    Corresponding Source.  Regardless of what server hosts the
    Corresponding Source, you remain obligated to ensure that it is
    available for as long as needed to satisfy these requirements.

    e) Convey the object code using peer-to-peer transmission, provided
    you inform other peers where the object code and Corresponding
    Source of the work are being offered to the general public at no
    charge under subsection 6d.

  A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.

  A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling.  In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage.  For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product.  A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.

  "Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source.  The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.

  If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information.  But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).

  The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed.  Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.

  Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.

  7. Additional Terms.

  "Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law.  If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.

  When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it.  (Additional permissions may be written to require their own
removal in certain cases when you modify the work.)  You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.

  Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the
    terms of sections 15 and 16 of this License; or

    b) Requiring preservation of specified reasonable legal notices or
    author attributions in that material or in the Appropriate Legal
    Notices displayed by works containing it; or

    c) Prohibiting misrepresentation of the origin of that material, or
    requiring that modified versions of such material be marked in
    reasonable ways as different from the original version; or

    d) Limiting the use for publicity purposes of names of licensors or
    authors of the material; or

    e) Declining to grant rights under trademark law for use of some
    trade names, trademarks, or service marks; or

    f) Requiring indemnification of licensors and authors of that
    material by anyone who conveys the material (or modified versions of
    it) with contractual assumptions of liability to the recipient, for
    any liability that these contractual assumptions directly impose on
    those licensors and authors.

  All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10.  If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term.  If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.

  If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.

  Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.

  8. Termination.

  You may not propagate or modify a covered work except as expressly
provided under this License.  Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).

  However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.

  Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.

  Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License.  If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.

  9. Acceptance Not Required for Having Copies.

  You are not required to accept this License in order to receive or
run a copy of the Program.  Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance.  However,
nothing other than this License grants you permission to propagate or
modify any covered work.  These actions infringe copyright if you do
not accept this License.  Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.

  10. Automatic Licensing of Downstream Recipients.

  Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License.  You are not responsible
for enforcing compliance by third parties with this License.

  An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations.  If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.

  You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License.  For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.

  11. Patents.

  A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based.  The
work thus licensed is called the contributor's "contributor version".

  A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version.  For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.

  Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.

  In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement).  To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.

  If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients.  "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.

  If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.

  A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License.  You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.

  Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.

  12. No Surrender of Others' Freedom.

  If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all.  For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.

  13. Use with the GNU Affero General Public License.

  Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work.  The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.

  14. Revised Versions of this License.

  The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

  Each version is given a distinguishing version number.  If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation.  If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.

  If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.

  Later license versions may give you additional or different
permissions.  However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.

  15. Disclaimer of Warranty.

  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

  16. Limitation of Liability.

  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

  17. Interpretation of Sections 15 and 16.

  If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

                     END OF TERMS AND CONDITIONS

            How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

  If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>
    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".

  You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.

  The GNU General Public License does not permit incorporating your program
into proprietary programs.  If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library.  If this is what you want to do, use the GNU Lesser General
Public License instead of this License.  But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.


================================================
FILE: README.md
================================================
# RaidCrawler
![Version](https://img.shields.io/github/v/release/LegoFigure11/RaidCrawler?label=latest%20release)
![Download Count](https://img.shields.io/github/downloads/LegoFigure11/RaidCrawler/total?label=total%20downloads)
[![Build Status](https://img.shields.io/github/actions/workflow/status/LegoFigure11/RaidCrawler/dotnet-desktop.yml?branch=main)](https://nightly.link/LegoFigure11/RaidCrawler/workflows/dotnet-desktop/main/RaidCrawler.zip)

[sys-botbase](https://github.com/LegoFigure11/usb-botbase) client Raid Viewer for Pokémon Scarlet and Violet.

**Basic usage guide:** [Click here](https://billo-guides.github.io/cfw/sv/raidcrawler) (thanks [Billo](https://github.com/Billo-PS)!)

![](https://i.imgur.com/TNOvbdY.png)

Leverages SysBot.Base.dll from [kwsch/SysBot.NET](https://github.com/kwsch/SysBot.NET)


================================================
FILE: RaidCrawler.Core/Connection/ConnectionWrapper.cs
================================================
using PKHeX.Core;
using RaidCrawler.Core.Interfaces;
using RaidCrawler.Core.Structures;
using SysBot.Base;
using System.Net.Sockets;
using System.Text;
using static SysBot.Base.SwitchButton;

namespace RaidCrawler.Core.Connection;

public class ConnectionWrapperAsync(SwitchConnectionConfig Config, Action<string> StatusUpdate) : Offsets
{
    public readonly ISwitchConnectionAsync Connection = Config.Protocol switch
    {
        SwitchProtocol.USB => new SwitchUSBAsync(Config.Port),
        _ => new SwitchSocketAsync(Config),
    };

    public bool Connected => IsConnected;
    private bool IsConnected { get; set; }
    private readonly bool CRLF = Config.Protocol is SwitchProtocol.WiFi;
    private static ulong BaseBlockKeyPointer;

    public async Task<(bool, string)> Connect(CancellationToken token)
    {
        if (Connected)
            return (true, "");

        try
        {
            StatusUpdate("Connecting...");
            Connection.Connect();
            BaseBlockKeyPointer = await Connection
                .PointerAll(BlockKeyPointer.ToArray(), token)
                .ConfigureAwait(false);
            IsConnected = true;
            StatusUpdate("Connected!");
            return (true, "");
        }
        catch (SocketException e)
        {
            IsConnected = false;
            return (false, e.Message);
        }
    }

    public async Task<(bool, string)> DisconnectAsync(CancellationToken token)
    {
        if (!Connected)
            return (true, "");

        try
        {
            StatusUpdate("Disconnecting controller...");
            await Connection
                .SendAsync(SwitchCommand.DetachController(CRLF), token)
                .ConfigureAwait(false);

            StatusUpdate("Disconnecting...");
            Connection.Disconnect();
            IsConnected = false;
            StatusUpdate("Disconnected!");
            return (true, "");
        }
        catch (SocketException e)
        {
            IsConnected = false;
            return (false, e.Message);
        }
    }

    public async Task<int> GetStoryProgress(CancellationToken token)
    {
        for (int i = DifficultyFlags.Length - 1; i >= 0; i--)
        {
            // See https://github.com/Lincoln-LM/sv-live-map/pull/43
            var block = await ReadSaveBlock(DifficultyFlags[i], 1, token).ConfigureAwait(false);
            if (block[0] == 2)
                return i + 1;
        }
        return 0;
    }

    private async Task<byte[]> ReadSaveBlock(uint key, int size, CancellationToken token)
    {
        var block_ofs = await SearchSaveKey(key, token).ConfigureAwait(false);
        var data = await Connection
            .ReadBytesAbsoluteAsync(block_ofs + 8, 0x8, token)
            .ConfigureAwait(false);
        block_ofs = BitConverter.ToUInt64(data, 0);

        var block = await Connection
            .ReadBytesAbsoluteAsync(block_ofs, size, token)
            .ConfigureAwait(false);
        return DecryptBlock(key, block);
    }

    private async Task<byte[]> ReadSaveBlockObject(uint key, CancellationToken token)
    {
        var header_ofs = await SearchSaveKey(key, token).ConfigureAwait(false);
        var data = await Connection
            .ReadBytesAbsoluteAsync(header_ofs + 8, 8, token)
            .ConfigureAwait(false);
        header_ofs = BitConverter.ToUInt64(data);

        var header = await Connection
            .ReadBytesAbsoluteAsync(header_ofs, 5, token)
            .ConfigureAwait(false);
        header = DecryptBlock(key, header);

        var size = BitConverter.ToUInt32(header.AsSpan()[1..]);
        var obj = await Connection
            .ReadBytesAbsoluteAsync(header_ofs, (int)size + 5, token)
            .ConfigureAwait(false);
        return DecryptBlock(key, obj)[5..];
    }

    public async Task<byte[]> ReadBlockDefault(uint key, string? cache, bool force, CancellationToken token)
    {
        var folder = Path.Combine(Directory.GetCurrentDirectory(), "cache");
        Directory.CreateDirectory(folder);

        var path = Path.Combine(folder, cache ?? "");
        if (!force && cache is not null && File.Exists(path))
            return await File.ReadAllBytesAsync(path, token);

        var bin = await ReadSaveBlockObject(key, token).ConfigureAwait(false);
        await File.WriteAllBytesAsync(path, bin, token);
        return bin;
    }

    private async Task<ulong> SearchSaveKey(uint key, CancellationToken token)
    {
        var data = await Connection
            .ReadBytesAbsoluteAsync(BaseBlockKeyPointer + 8, 16, token)
            .ConfigureAwait(false);
        var start = BitConverter.ToUInt64(data.AsSpan()[..8]);
        var end = BitConverter.ToUInt64(data.AsSpan()[8..]);

        while (start < end)
        {
            var block_ct = (end - start) / 48;
            var mid = start + ((block_ct >> 1) * 48);

            data = await Connection.ReadBytesAbsoluteAsync(mid, 4, token).ConfigureAwait(false);
            var found = BitConverter.ToUInt32(data);
            if (found == key)
                return mid;

            if (found >= key)
                end = mid;
            else
                start = mid + 48;
        }
        return start;
    }

    private static byte[] DecryptBlock(uint key, byte[] block)
    {
        var rng = new SCXorShift32(key);
        for (int i = 0; i < block.Length; i++)
            block[i] = (byte)(block[i] ^ rng.Next());
        return block;
    }

    private async Task Click(SwitchButton button, int delay, CancellationToken token)
    {
        await Connection
            .SendAsync(SwitchCommand.Click(button, CRLF), token)
            .ConfigureAwait(false);
        await Task.Delay(delay, token).ConfigureAwait(false);
    }

    private async Task Touch(int x, int y, int hold, int delay, CancellationToken token)
    {
        var command = Encoding.ASCII.GetBytes(
            $"touchHold {x} {y} {hold}{(CRLF ? "\r\n" : "")}"
        );
        await Connection.SendAsync(command, token).ConfigureAwait(false);
        await Task.Delay(delay, token).ConfigureAwait(false);
    }

    private async Task SetStick(
        SwitchStick stick,
        short x,
        short y,
        int hold,
        int delay,
        CancellationToken token
    )
    {
        await Connection
            .SendAsync(SwitchCommand.SetStick(stick, x, y, CRLF), token)
            .ConfigureAwait(false);
        await Task.Delay(hold, token).ConfigureAwait(false);
        await Connection
            .SendAsync(SwitchCommand.SetStick(stick, 0, 0, CRLF), token)
            .ConfigureAwait(false);
        await Task.Delay(delay, token).ConfigureAwait(false);
    }

    private async Task PressAndHold(
        SwitchButton b,
        int hold,
        int delay,
        CancellationToken token
    )
    {
        await Connection.SendAsync(SwitchCommand.Hold(b, CRLF), token).ConfigureAwait(false);
        await Task.Delay(hold, token).ConfigureAwait(false);
        await Connection.SendAsync(SwitchCommand.Release(b, CRLF), token).ConfigureAwait(false);
        await Task.Delay(delay, token).ConfigureAwait(false);
    }

    private async Task SkipHour(int hours, int delay, CancellationToken token)
    {
        var command = Encoding.ASCII.GetBytes($"timeSkipForward{(CRLF ? "\r\n" : "")}");
        for (int i = 0; i < hours; i++)
        {
            await Connection.SendAsync(command, token).ConfigureAwait(false);
            await Task.Delay(delay, token).ConfigureAwait(false);
        }
    }

    public async Task ResetTime(CancellationToken token)
    {
        var command = Encoding.ASCII.GetBytes($"resetTime{(CRLF ? "\r\n" : "")}");
        await Connection.SendAsync(command, token).ConfigureAwait(false);
    }

    public async Task ResetTimeNTP(CancellationToken token)
    {
        var command = Encoding.ASCII.GetBytes($"resetTimeNTP{(CRLF ? "\r\n" : "")}");
        await Connection.SendAsync(command, token).ConfigureAwait(false);
    }

    public async Task<ulong> GetCurrentTime(CancellationToken token)
    {
        var command = Encoding.ASCII.GetBytes($"getCurrentTime{(CRLF ? "\r\n" : "")}");
        var res = await Connection.ReadRaw(command, 17, token).ConfigureAwait(false);
        ulong.TryParse(Encoding.ASCII.GetString(res).Trim('\n'), System.Globalization.NumberStyles.AllowHexSpecifier, null, out var time);
        return time;
    }

    public async Task SetCurrentTime(ulong date, CancellationToken token)
    {
        var command = Encoding.ASCII.GetBytes($"setCurrentTime {date}{(CRLF ? "\r\n" : "")}");
        await Connection.SendAsync(command, token).ConfigureAwait(false);
    }

    // Thank you to Anubis for sharing a more optimized routine, as well as CloseGame(), StartGame(), and SaveGame()!
    public async Task AdvanceDate(
        IDateAdvanceConfig config,
        int skips,
        CancellationToken token,
        Action<int>? action = null
    )
    {
        // Not great, but when adding/removing clicks, make sure to account for command count for an accurate StreamerView progress bar.
        int steps =
            (config.UseTouch ? 19 : 25)
            + (config.UseOvershoot ? 2 : config.SystemDownPresses)
            + (config.DodgeSystemUpdate ? 2 : 0)
            + config.DaysToSkip;

        if (config.ZyroMethod)
            steps = 3;

        StatusUpdate("Changing date...");
        var BaseDelay = config.BaseDelay;

        if (config.ZyroMethod)
        {
            if (skips % 2 == 0)
            {
                await SkipHour(24, 0, token).ConfigureAwait(false);
            }
            else
            {
                await ResetTime(token).ConfigureAwait(false);
            }
            await Task.Delay(3_000, token).ConfigureAwait(false);
        }
        else
        {
            if (!config.UseMapTrick)
            {
                // Sometimes the first command drops, click twice with shorter delays for good measure.
                await Click(B, 0_100, token).ConfigureAwait(false);
                UpdateProgressBar(action, steps);

                await Click(B, 0_100, token).ConfigureAwait(false);
                UpdateProgressBar(action, steps);
            }
            else
            {
                await Click(ZL, 0_100, token).ConfigureAwait(false);
                await Click(ZL, 1_500, token).ConfigureAwait(false);
                UpdateProgressBar(action, steps);

                await Click(ZR, 2_000, token).ConfigureAwait(false);
                UpdateProgressBar(action, steps);
            }

            // HOME Menu
            await Click(HOME, config.OpenHomeDelay + BaseDelay, token).ConfigureAwait(false);
            UpdateProgressBar(action, steps);

            // Navigate to Settings
            if (config.UseTouch)
            {
                await Touch(0_909, 0_540, 0_050, 0, token).ConfigureAwait(false);
                UpdateProgressBar(action, steps);
            }
            else
            {
                await Click(DDOWN, config.NavigateToSettingsDelay + BaseDelay, token)
                    .ConfigureAwait(false);
                UpdateProgressBar(action, steps);

                for (int i = 0; i < 7; i++)
                {
                    await Click(DRIGHT, config.NavigateToSettingsDelay + BaseDelay, token)
                        .ConfigureAwait(false);
                    UpdateProgressBar(action, steps);
                }
            }

            await Click(A, config.OpenSettingsDelay + BaseDelay, token).ConfigureAwait(false);
            UpdateProgressBar(action, steps);

            // Scroll to bottom
            if (config.UseSetStick)
                await SetStick(SwitchStick.LEFT, 0, -30_000, config.HoldDuration, 0_100 + BaseDelay, token).ConfigureAwait(false);
            else
                await PressAndHold(DDOWN, config.HoldDuration, 0_100 + BaseDelay, token).ConfigureAwait(false);
            UpdateProgressBar(action, steps);

            // Navigate to "Date and Time"
            StatusUpdate("Navigating to \"Date and Time\"...");
            await Click(A, 0_300 + BaseDelay, token).ConfigureAwait(false);
            UpdateProgressBar(action, steps);

            // Hold down to overshoot Date/Time by one. DUP to recover.
            if (config.UseOvershoot)
            {
                if (config.UseSetStick)
                    await SetStick(SwitchStick.LEFT, 0, -30_000, config.SystemOvershoot, 0_100 + BaseDelay, token).ConfigureAwait(false);
                else
                    await PressAndHold(DDOWN, config.SystemOvershoot, 0_100 + BaseDelay, token).ConfigureAwait(false);
                UpdateProgressBar(action, steps);

                await Click(DUP, 0_500 + BaseDelay, token).ConfigureAwait(false);
                UpdateProgressBar(action, steps);
            }
            else
            {
                for (int i = 0; i < config.SystemDownPresses; i++)
                {
                    await Click(DDOWN, 0_100 + BaseDelay, token).ConfigureAwait(false);
                    UpdateProgressBar(action, steps);
                }
            }

            // Enter Date/Time
            await Click(A, config.Submenu + BaseDelay, token).ConfigureAwait(false);
            UpdateProgressBar(action, steps);

            // Open Date/Time settings
            if (config.UseTouch)
            {
                await Touch(0_950, 0_400, 0_050, 0, token).ConfigureAwait(false);
                UpdateProgressBar(action, steps);
            }
            else
            {
                for (int i = 0; i < 2; i++)
                {
                    await Click(DDOWN, 0_100 + BaseDelay, token).ConfigureAwait(false);
                    UpdateProgressBar(action, steps);
                }
            }

            await Click(A, config.DateChange + BaseDelay, token).ConfigureAwait(false);
            UpdateProgressBar(action, steps);

            for (int i = 0; i < config.DaysToSkip; i++)
            {
                await Click(DUP, 0_100 + BaseDelay, token).ConfigureAwait(false);
                UpdateProgressBar(action, steps);
            }

            for (int i = 0; i < 6; i++)
            {
                await Click(DRIGHT, (i < 5 ? 0_050 : 0_100) + BaseDelay, token)
                    .ConfigureAwait(false);
                UpdateProgressBar(action, steps);
            }

            await Click(A, 0_150 + config.DateChange + BaseDelay, token).ConfigureAwait(false);
            UpdateProgressBar(action, steps);

            // Return to game
            await Click(HOME, config.ReturnHomeDelay + BaseDelay, token).ConfigureAwait(false);
            UpdateProgressBar(action, steps);

            await Click(HOME, (config.DodgeSystemUpdate ? 0_500 : config.ReturnGameDelay) + BaseDelay, token).ConfigureAwait(false);
            UpdateProgressBar(action, steps);

            if (config.DodgeSystemUpdate)
            {
                // Attempt to dodge an update prompt.
                await Click(DUP, 0_600 + BaseDelay, token).ConfigureAwait(false);
                UpdateProgressBar(action, steps);

                await Click(A, config.ReturnGameDelay + BaseDelay, token).ConfigureAwait(false);
                UpdateProgressBar(action, steps);
            }

            StatusUpdate("Back in the game...");
        }
    }

    public async Task CloseGame(CancellationToken token)
    {
        // Close out of the game
        StatusUpdate("Closing the game!");
        await Click(B, 0_500, token).ConfigureAwait(false);
        await Click(HOME, 2_000, token).ConfigureAwait(false);
        await Click(X, 1_000, token).ConfigureAwait(false);
        await Click(A, 5_500, token).ConfigureAwait(false);
        StatusUpdate("Closed out of the game!");
    }

    public async Task StartGame(IDateAdvanceConfig config, CancellationToken token)
    {
        // Open game.
        StatusUpdate("Starting the game!");
        await Click(A, 1_000, token).ConfigureAwait(false);

        // Attempt to dodge an update prompt;
        await Click(DUP, 0_600, token).ConfigureAwait(false);
        await Click(A, 1_000, token).ConfigureAwait(false);

        // Allow time for profile check if required
        await Task.Delay(config.RelaunchDelay, token).ConfigureAwait(false);

        // If they have DLC on the system and can't use it, requires an UP + A to start the game.
        // Should be harmless otherwise since they'll be in loading screen.
        await Click(DUP, 0_600, token).ConfigureAwait(false);
        await Click(A, 0_600, token).ConfigureAwait(false);

        // Switch Logo and game load screen
        await Task.Delay(17_000, token).ConfigureAwait(false);

        for (int i = 0; i < 20; i++)
            await Click(A, 1_000, token).ConfigureAwait(false);

        // Particularly slow switches need more time to load the overworld
        await Task.Delay(config.ExtraOverworldWait, token).ConfigureAwait(false);

        StatusUpdate("Back in the overworld! Refreshing the base block key pointer...");
        BaseBlockKeyPointer = await Connection
            .PointerAll(BlockKeyPointer.ToArray(), token)
            .ConfigureAwait(false);
    }

    public async Task SaveGame(IDateAdvanceConfig config, CancellationToken token)
    {
        StatusUpdate("Saving the game...");
        // B out in case we're in some menu.
        for (int i = 0; i < 4; i++)
            await Click(B, 0_500, token).ConfigureAwait(false);

        // Open the menu and save.
        await Click(X, 1_000, token).ConfigureAwait(false);
        await Click(R, 1_000, token).ConfigureAwait(false);
        await Click(A, 1_000, token).ConfigureAwait(false);
        await Click(A, 1_000, token).ConfigureAwait(false);
        await Click(A, 3_000 + config.SaveGameDelay, token).ConfigureAwait(false);

        // Return to overworld.
        for (int i = 0; i < 4; i++)
            await Click(B, 0_500, token).ConfigureAwait(false);
        StatusUpdate("Game saved!");
    }

    private static void UpdateProgressBar(Action<int>? action, int steps) => action?.Invoke(steps);
}


================================================
FILE: RaidCrawler.Core/Discord/NotificationHandler.cs
================================================
using PKHeX.Core;
using RaidCrawler.Core.Interfaces;
using RaidCrawler.Core.Structures;
using SysBot.Base;
using System.Globalization;
using System.Text;
using System.Text.Json;

namespace RaidCrawler.Core.Discord;

public class NotificationHandler(IWebhookConfig config)
{
    private readonly HttpClient _client = new();
    private readonly string[]? DiscordWebhooks = config.EnableNotification ? config.DiscordWebhook.Split(',') : null;

    public async Task SendNotification(ITeraRaid encounter, Raid raid, RaidFilter filter, string time, IReadOnlyList<(int, int, int)> RewardsList,
        string hexColor, string spriteName, CancellationToken token
    )
    {
        if (DiscordWebhooks is null || !config.EnableNotification)
            return;

        var webhook = GenerateWebhook(encounter, raid, filter, time, RewardsList, hexColor, spriteName);
        var content = new StringContent(JsonSerializer.Serialize(webhook), Encoding.UTF8, "application/json");
        foreach (var url in DiscordWebhooks)
            await _client.PostAsync(url.Trim(), content, token).ConfigureAwait(false);
    }

    public async Task SendErrorNotification(string error, string caption, CancellationToken token)
    {
        if (DiscordWebhooks is null || !config.EnableNotification)
            return;

        var instance = config.InstanceName != "" ? $"RaidCrawler {config.InstanceName}" : "RaidCrawler";
        var webhook = new
        {
            username = instance,
            avatar_url = "https://www.serebii.net/scarletviolet/ribbons/mightiestmark.png",
            content = config.DiscordMessageContent,
            embeds = new List<object>
            {
                new
                {
                    title = caption != "" ? caption : "RaidCrawler Error",
                    description = error,
                    color = 0xf7262a,
                },
            },
        };

        var content = new StringContent(JsonSerializer.Serialize(webhook), Encoding.UTF8, "application/json");
        foreach (var url in DiscordWebhooks)
            await _client.PostAsync(url.Trim(), content, token).ConfigureAwait(false);
    }

    public async Task SendScreenshot(ISwitchConnectionAsync nx, CancellationToken token)
    {
        if (DiscordWebhooks is null || !config.EnableNotification)
            return;

        var data = await nx.PixelPeek(token).ConfigureAwait(false);
        var content = new MultipartFormDataContent();
        var info = new
        {
            username = "RaidCrawler",
            avatar_url = "https://www.serebii.net/scarletviolet/ribbons/mightiestmark.png",
            content = "Switch Screenshot",
        };

        var basic_info = new StringContent(JsonSerializer.Serialize(info), Encoding.UTF8, "application/json");
        content.Add(basic_info, "payload_json");
        content.Add(new ByteArrayContent(data), "screenshot.jpg", "screenshot.jpg");
        foreach (var url in DiscordWebhooks)
            await _client.PostAsync(url.Trim(), content, token).ConfigureAwait(false);
    }

    private object GenerateWebhook(ITeraRaid encounter, Raid raid, RaidFilter filter, string time, IReadOnlyList<(int, int, int)> rewardsList, string hexColor, string spriteName)
    {
        var strings = GameInfo.GetStrings("en");
        var param = encounter.GetParam();
        var blank = new PK9 { Species = encounter.Species, Form = encounter.Form };

        raid.GenerateDataPK9(blank, param, encounter.Shiny, raid.Seed);

        var form = Utils.GetFormString(blank.Species, blank.Form, strings);
        var species = $"{strings.Species[encounter.Species]}{form}";
        var difficulty = Difficulty(encounter.Stars, raid.IsEvent);
        var nature = $"{strings.Natures[(int)blank.Nature]}";
        var ability = $"{strings.Ability[blank.Ability]}";
        var shiny = Shiny(raid.CheckIsShiny(encounter), ShinyExtensions.IsSquareShinyExist(blank));
        var gender = GenderEmoji(blank.Gender);
        var teratype = raid.GetTeraType(encounter);
        var tera = $"{strings.types[teratype]}";
        var teraemoji = TeraEmoji(strings.types[teratype]);
        Span<int> _ivs = stackalloc int[6];
        blank.GetIVs(_ivs);
        var ivs = IVsStringEmoji(ToSpeedLast(_ivs));
        ushort[] moves =
        [
            encounter.Move1,
            encounter.Move2,
            encounter.Move3,
            encounter.Move4,
        ];
        var movestr = string.Concat(moves.Where(z => z != 0).Select(z => $"{strings.Move[z]}ㅤ\n")).Trim();
        var extramoves = string.Concat(encounter.ExtraMoves.Where(z => z != 0).Select(z => $"{strings.Move[z]}ㅤ\n")).Trim();
        var area = $"{Areas.GetArea((int)(raid.Area - 1), raid.MapParent)}" + (config.ToggleDen ? $" [Den {raid.Den}]ㅤ" : "ㅤ");
        var rewards = GetRewards(rewardsList);
        var SuccessWebHook = new
        {
            username = "RaidCrawler " + config.InstanceName,
            avatar_url = "https://www.serebii.net/scarletviolet/ribbons/mightiestmark.png",
            content = config.DiscordMessageContent,
            embeds = new List<object>
            {
                new
                {
                    title = $"{shiny} {species} {gender} {teraemoji}",
                    description = "",
                    color = int.Parse(hexColor, NumberStyles.HexNumber),
                    thumbnail = new
                    {
                        url = $"https://github.com/kwsch/PKHeX/blob/master/PKHeX.Drawing.PokeSprite/Resources/img/Artwork%20Pokemon%20Sprites/a{spriteName}.png?raw=true",
                    },
                    fields = new List<object>
                    {
                        new
                        {
                            name = "Difficultyㅤㅤㅤㅤㅤㅤ",
                            value = difficulty,
                            inline = true,
                        },
                        new
                        {
                            name = "Natureㅤㅤㅤ",
                            value = nature,
                            inline = true,
                        },
                        new
                        {
                            name = "Ability",
                            value = ability,
                            inline = true,
                        },
                        new
                        {
                            name = "IVs",
                            value = ivs,
                            inline = true,
                        },
                        new
                        {
                            name = "Moves",
                            value = movestr,
                            inline = true,
                        },
                        new
                        {
                            name = "Extra Moves",
                            value = extramoves.Length == 0 ? "None" : extramoves,
                            inline = true,
                        },
                        new
                        {
                            name = "Location󠀠󠀠󠀠",
                            value = area,
                            inline = true,
                        },
                        new
                        {
                            name = "Search Time󠀠󠀠󠀠",
                            value = time,
                            inline = true,
                        },
                        new
                        {
                            name = "Filter Name",
                            value = filter.Name,
                            inline = true,
                        },
                        new
                        {
                            name = rewards != "" ? "Rewards" : "",
                            value = rewards,
                            inline = false,
                        },
                    },
                },
            },
        };
        return SuccessWebHook;
    }

    private string Difficulty(byte stars, bool isEvent)
    {
        string emoji = GetGlyph(stars, isEvent);
        return string.Concat(Enumerable.Repeat(emoji, stars));
    }

    private string GetGlyph(byte stars, bool isEvent)
    {
        if (!config.EnableEmoji)
            return ":star:";
        if (stars == 7)
            return config.Emoji["7 Star"];
        if (isEvent)
            return config.Emoji["Event Star"];
        return config.Emoji["Star"];
    }

    private string GenderEmoji(int genderInt) => genderInt switch
    {
        (int)Gender.Male => config.EnableEmoji ? config.Emoji["Male"] : ":male_sign:",
        (int)Gender.Female => config.EnableEmoji ? config.Emoji["Female"] : ":female_sign:",
        _ => "",
    };

    private string GetRewards(IReadOnlyList<(int, int, int)> rewards)
    {
        string s = string.Empty;
        int abilitycapsule = 0;
        int bottlecap = 0;
        int abilitypatch = 0;
        int sweetherba = 0;
        int saltyherba = 0;
        int sourherba = 0;
        int bitterherba = 0;
        int spicyherba = 0;

        for (int i = 0; i < rewards.Count; i++)
        {
            switch (rewards[i].Item1)
            {
                case 0645: abilitycapsule++; break;
                case 0795: bottlecap++; break;
                case 1606: abilitypatch++; break;
                case 1904: sweetherba++; break;
                case 1905: saltyherba++; break;
                case 1906: sourherba++; break;
                case 1907: bitterherba++; break;
                case 1908: spicyherba++; break;
            }
        }

        bool emoji = config.EnableEmoji;
        s += (abilitycapsule <= 0) ? "" : (emoji ? $"`{abilitycapsule}`{config.Emoji["Ability Capsule"]} " : $"`{abilitycapsule}` Ability Capsule  ");
        s += (bottlecap <= 0)      ? "" : (emoji ? $"`{bottlecap}`{config.Emoji["Bottle Cap"]} "           : $"`{bottlecap}` Bottle Cap  ");
        s += (abilitypatch <= 0)   ? "" : (emoji ? $"`{abilitypatch}`{config.Emoji["Ability Patch"]} "     : $"`{abilitypatch}` Ability Patch  ");
        s += (sweetherba <= 0)     ? "" : (emoji ? $"`{sweetherba}`{config.Emoji["Sweet Herba"]} "         : $"`{sweetherba}` Sweet Herba  ");
        s += (saltyherba <= 0)     ? "" : (emoji ? $"`{saltyherba}`{config.Emoji["Salty Herba"]} "         : $"`{saltyherba}` Salty Herba  ");
        s += (sourherba <= 0)      ? "" : (emoji ? $"`{sourherba}`{config.Emoji["Sour Herba"]} "           : $"`{sourherba}` Sour Herba  ");
        s += (bitterherba <= 0)    ? "" : (emoji ? $"`{bitterherba}`{config.Emoji["Bitter Herba"]} "       : $"`{bitterherba}` Bitter Herba  ");
        s += (spicyherba <= 0)     ? "" : (emoji ? $"`{spicyherba}`{config.Emoji["Spicy Herba"]} "         : $"`{spicyherba}` Spicy Herba  ");
        return s;
    }

    private string IVsStringEmoji(ReadOnlySpan<int> ivs)
    {
        string s = string.Empty;
        bool emoji = config.EnableEmoji;
        bool verbose = config.VerboseIVs;
        var stats = new[] { "HP", "Atk", "Def", "SpA", "SpD", "Spe" };
        string[] iv0 =
        [
            config.Emoji["Health 0"],
            config.Emoji["Attack 0"],
            config.Emoji["Defense 0"],
            config.Emoji["SpAttack 0"],
            config.Emoji["SpDefense 0"],
            config.Emoji["Speed 0"],
        ];
        string[] iv31 =
        [
            config.Emoji["Health 31"],
            config.Emoji["Attack 31"],
            config.Emoji["Defense 31"],
            config.Emoji["SpAttack 31"],
            config.Emoji["SpDefense 31"],
            config.Emoji["Speed 31"],
        ];
        for (int i = 0; i < ivs.Length; i++)
        {
            switch (config.IVsStyle)
            {
                case 0:
                {
                    s += ivs[i] switch
                    {
                        00 => emoji ? $"{iv0 [i]}{(verbose ? " " + stats[i] : string.Empty)}" : $"`✓`{(verbose ? " " + stats[i] : string.Empty)}",
                        31 => emoji ? $"{iv31[i]}{(verbose ? " " + stats[i] : string.Empty)}" : $"`✓`{(verbose ? " " + stats[i] : string.Empty)}",
                        _  =>         $"`{ivs[i]}`{(verbose ? " " + stats[i] : string.Empty)}",
                    };

                    if (i < 5)
                        s += " / ";
                    break;
                }
                case 1:
                {
                    s += $"`{ivs[i]:D}`{(verbose ? " " + stats[i] : string.Empty)}";
                    if (i < 5)
                        s += " / ";
                    break;
                }
                case 2:
                {
                    s += $"{ivs[i]:D}{(verbose ? " " + stats[i] : string.Empty)}";
                    if (i < 5)
                        s += " / ";
                    break;
                }
            }
        }
        return s;
    }

    private string Shiny(bool shiny, bool square)
    {
        if (!shiny)
            return "";

        bool emoji = config.EnableEmoji;
        if (square)
            return $"{(emoji ? config.Emoji["Square Shiny"] : "Square shiny")}";
        return $"{(emoji ? config.Emoji["Shiny"] : "Shiny")}";
    }

    private static int[] ToSpeedLast(ReadOnlySpan<int> ivs)
    {
        var res = new int[6];
        res[0] = ivs[0];
        res[1] = ivs[1];
        res[2] = ivs[2];
        res[3] = ivs[4];
        res[4] = ivs[5];
        res[5] = ivs[3];
        return res;
    }

    private string TeraEmoji(string tera) => config.EnableEmoji ? config.Emoji[tera] : tera;
}


================================================
FILE: RaidCrawler.Core/Extensions/EncounterExtensions.cs
================================================
using PKHeX.Core;

namespace RaidCrawler.Core.Structures;

public static class EncounterExtensions
{
    public static List<(int, int, int)> GetRewards(this ITeraRaid encounter, RaidContainer container, Raid raid, int sandwich_boost) => encounter switch
    {
        TeraDistribution d => TeraDistribution.GetRewards(d, raid.Seed, raid.GetTeraType(d), container.DeliveryRaidFixedRewards, container.DeliveryRaidLotteryRewards, sandwich_boost),
        TeraMight m        => TeraMight.GetRewards(m, raid.Seed, raid.GetTeraType(m), container.DeliveryRaidFixedRewards, container.DeliveryRaidLotteryRewards, sandwich_boost),
        TeraEncounter e    => TeraEncounter.GetRewards(e, raid.Seed, raid.GetTeraType(e), container.BaseFixedRewards, container.BaseLotteryRewards, sandwich_boost),
        _ => throw new NotImplementedException($"Unknown encounter for rewards: {encounter.GetType()}"),
    };

    public static GenerateParam9 GetParam(this ITeraRaid encounter)
    {
        var gender = GetGender(encounter);
        if (encounter is TeraMight { Entity: { } em })
        {
            return new GenerateParam9(em.Species, gender, em.FlawlessIVCount, 1, 0, 0,
                em.ScaleType, em.Scale, em.Ability, em.Shiny, em.Nature, em.IVs);
        }
        if (encounter is TeraDistribution dist)
        {
            return new GenerateParam9(dist.Species, gender, dist.FlawlessIVCount, 1, 0, 0,
                SizeType9.RANDOM, 0, dist.Ability, dist.Shiny, dist.Nature, dist.IVs);
        }

        return new GenerateParam9(encounter.Species, gender, encounter.FlawlessIVCount, 1, 0, 0,
            SizeType9.RANDOM, 0, encounter.Ability, encounter.Shiny);
    }

    private static byte GetGender(ISpeciesForm enc) => enc switch
    {
        TeraMight { Entity.Gender: < 2 } tm => tm.Entity.Gender switch
        {
            0 => PersonalInfo.RatioMagicMale,
            1 => PersonalInfo.RatioMagicFemale,
            _ => PersonalInfo.RatioMagicGenderless,
        },
        _ => PersonalTable.SV.GetFormEntry(enc.Species, enc.Form).Gender,
    };
}


================================================
FILE: RaidCrawler.Core/Extensions/RaidExtensions.cs
================================================
using PKHeX.Core;
using pkNX.Structures.FlatBuffers.Gen9;

namespace RaidCrawler.Core.Structures;

public static class RaidExtensions
{
    public static ITeraRaid? GetTeraEncounter(this Raid raid, RaidContainer container, int progress, int id)
    {
        if (raid.IsEvent)
            return raid.GetDistributionEncounter(container, progress, raid.Flags == 3, id);
        return raid.MapParent switch
        {
            TeraRaidMapParent.Paldea => raid.GetEncounterBase(container, progress, raid.IsBlack),
            TeraRaidMapParent.Kitakami => raid.GetEncounterKitakami(container, progress, raid.IsBlack),
            _ => raid.GetEncounterBlueberry(container, progress, raid.IsBlack),
        };
    }

    public static ITeraRaid? GetEncounterBase(this Raid raid, RaidContainer container, int progress, bool isBlack)
    {
        var clone = new Xoroshiro128Plus(raid.Seed);
        var starCount = isBlack
            ? 6
            : raid.GetStarCount((uint)clone.NextInt(100), progress, false);
        var total =
            container.Game == "Scarlet"
                ? GetRateTotalBaseSL(starCount)
                : GetRateTotalBaseVL(starCount);
        var speciesRoll = clone.NextInt((ulong)total);
        if (container.GemTeraRaidsBase is not null)
        {
            foreach (TeraEncounter enc in container.GemTeraRaidsBase)
            {
                if (enc.Stars != starCount)
                    continue;

                var minimum =
                    container.Game == "Scarlet"
                        ? enc.Entity.RandRateMinScarlet
                        : enc.Entity.RandRateMinViolet;
                if (minimum >= 0 && (uint)((int)speciesRoll - minimum) < enc.Entity.RandRate)
                    return enc;
            }
        }
        return null;
    }

    public static ITeraRaid? GetEncounterKitakami(this Raid raid, RaidContainer container, int progress, bool isBlack)
    {
        var clone = new Xoroshiro128Plus(raid.Seed);
        var starCount = isBlack
            ? 6
            : raid.GetStarCount((uint)clone.NextInt(100), progress, false);
        var total =
            container.Game == "Scarlet"
                ? GetRateTotalKitakamiSL(starCount)
                : GetRateTotalKitakamiVL(starCount);
        var speciesRoll = clone.NextInt((ulong)total);
        if (container.GemTeraRaidsKitakami is not null)
        {
            foreach (TeraEncounter enc in container.GemTeraRaidsKitakami)
            {
                if (enc.Stars != starCount)
                    continue;

                var minimum =
                    container.Game == "Scarlet"
                        ? enc.Entity.RandRateMinScarlet
                        : enc.Entity.RandRateMinViolet;
                if (minimum >= 0 && (uint)((int)speciesRoll - minimum) < enc.Entity.RandRate)
                    return enc;
            }
        }
        return null;
    }

    public static ITeraRaid? GetEncounterBlueberry(this Raid raid, RaidContainer container, int progress, bool isBlack)
    {
        var clone = new Xoroshiro128Plus(raid.Seed);
        var starCount = isBlack
            ? 6
            : raid.GetStarCount((uint)clone.NextInt(100), progress, false);
        var total = GetRateTotalBlueberry(starCount);
        var speciesRoll = clone.NextInt((ulong)total);
        if (container.GemTeraRaidsBlueberry is not null)
        {
            foreach (TeraEncounter enc in container.GemTeraRaidsBlueberry)
            {
                if (enc.Stars != starCount)
                    continue;

                var minimum =
                    container.Game == "Scarlet"
                        ? enc.Entity.RandRateMinScarlet
                        : enc.Entity.RandRateMinViolet;
                if (minimum >= 0 && (uint)((int)speciesRoll - minimum) < enc.Entity.RandRate)
                    return enc;
            }
        }
        return null;
    }

    public static ITeraRaid? GetDistributionEncounter(this Raid raid, RaidContainer container, int progress, bool isFixed, int groupID)
    {
        if (progress < 0)
            return null;

        if (!isFixed)
        {
            if (container.DistTeraRaids == null)
                return null;

            foreach (TeraDistribution enc in container.DistTeraRaids)
            {
                if (enc.DeliveryGroupID != groupID)
                    continue;

                var total =
                    container.Game == "Scarlet"
                        ? enc.Entity.GetRandRateTotalScarlet(progress)
                        : enc.Entity.GetRandRateTotalViolet(progress);
                if (total > 0)
                {
                    var rand = new Xoroshiro128Plus(raid.Seed);
                    _ = rand.NextInt(100);
                    var val = rand.NextInt(total);
                    var min =
                        container.Game == "Scarlet"
                            ? enc.Entity.GetRandRateMinScarlet(progress)
                            : enc.Entity.GetRandRateMinViolet(progress);
                    if ((uint)((int)val - min) < enc.RandRate)
                        return enc;
                }
            }
        }
        else
        {
            if (container.MightTeraRaids == null)
                return null;

            foreach (TeraMight enc in container.MightTeraRaids)
            {
                if (enc.DeliveryGroupID != groupID)
                    continue;

                var total =
                    container.Game == "Scarlet"
                        ? enc.Entity.GetRandRateTotalScarlet(progress)
                        : enc.Entity.GetRandRateTotalViolet(progress);
                if (total > 0)
                    return enc;
            }
        }
        return null;
    }

    public static (int delivery, int encounter) ReadAllRaids(this RaidContainer container, byte[] data, int storyPrg, int eventPrg, int boost, TeraRaidMapParent type)
    {
        var dbgFile = $"raid_dbg_{type}.txt";
        if (File.Exists(dbgFile))
            File.Delete(dbgFile);

        var count = data.Length / Raid.SIZE;
        List<int> possibleGroups = [];
        if (container.DistTeraRaids is not null)
        {
            foreach (TeraDistribution e in container.DistTeraRaids)
            {
                if (TeraDistribution.AvailableInGame(e.Entity, container.Game) && !possibleGroups.Contains(e.DeliveryGroupID))
                    possibleGroups.Add(e.DeliveryGroupID);
            }
        }

        if (container.MightTeraRaids is not null)
        {
            foreach (TeraMight e in container.MightTeraRaids)
            {
                if (TeraMight.AvailableInGame(e.Entity, container.Game) && !possibleGroups.Contains(e.DeliveryGroupID))
                    possibleGroups.Add(e.DeliveryGroupID);
            }
        }

        (int delivery, int encounter) failed = (0, 0);
        List<Raid> newRaids = [];
        List<ITeraRaid> newTera = [];
        List<List<(int, int, int)>> newRewards = [];
        int eventCount = 0;
        for (int i = 0; i < count; i++)
        {
            var slice = data.AsSpan(i * Raid.SIZE, Raid.SIZE);
            var raid = new Raid(slice, type);

            if (raid.Den == 0)
            {
                eventCount++;
                continue;
            }

            if (!raid.IsValid)
                continue;

            var progress = raid.IsEvent ? eventPrg : storyPrg;
            var raidDeliveryGroupID = -1;
            try
            {
                raidDeliveryGroupID = raid.GetDeliveryGroupID(container.DeliveryRaidPriority, possibleGroups, eventCount);
            }
            catch (Exception ex)
            {
                var extra = $"Group ID: {raidDeliveryGroupID}\nisFixed: {raid.Flags == 3}\nisBlack: {raid.IsBlack}\nisEvent: {raid.IsEvent}\n\n";
                var msg = $"{ex.Message}\nDen: {raid.Den}\nProgress: {progress}\nDifficulty: {raid.Difficulty}\n{extra}";
                File.AppendAllText(dbgFile, msg);
                failed.delivery++;
                continue;
            }

            var encounter = raid.GetTeraEncounter(container, progress, raidDeliveryGroupID);
            if (encounter is null)
            {
                var extra = $"Group ID: {raidDeliveryGroupID}\nisFixed: {raid.Flags == 3}\nisBlack: {raid.IsBlack}\nisEvent: {raid.IsEvent}\n\n";
                var msg = $"No encounters found.\nDen: {raid.Den}\nProgress: {progress}\nDifficulty: {raid.Difficulty}\n{extra}";
                File.AppendAllText(dbgFile, msg);
                failed.encounter++;
                continue;
            }

            if (raid.IsEvent)
                eventCount++;

            newRaids.Add(raid);
            newTera.Add(encounter);
            newRewards.Add(encounter.GetRewards(container, raid, boost));
        }

        container.SetRaids(newRaids);
        container.SetEncounters(newTera);
        container.SetRewards(newRewards);
        return failed;
    }

    public static bool CheckIsShiny(this Raid raid, ITeraRaid? enc)
    {
        if (enc is null)
            return raid.IsShiny;

        if (enc.Shiny == Shiny.Never)
            return false;

        if (enc.Shiny.IsShiny())
            return true;
        return raid.IsShiny;
    }

    public static int GetTeraType(this Raid raid, ITeraRaid? encounter)
    {
        if (encounter is null)
            return raid.TeraType;

        if (encounter is TeraDistribution { Entity: ITeraRaid9 d })
            return (int)d.TeraType > 1 ? (int)d.TeraType - 2 : raid.TeraType;

        if (encounter is TeraMight { Entity: ITeraRaid9 m })
            return (int)m.TeraType > 1 ? (int)m.TeraType - 2 : raid.TeraType;

        return raid.TeraType;
    }

    public static int GetStarCount(this Raid _, uint difficulty, int progress, bool isBlack)
    {
        if (isBlack)
            return 6;

        return GetStarCount(difficulty, progress);
    }

    private static int GetStarCount(uint difficulty, int progress) => progress switch
    {
        0 => difficulty switch
        {
            > 80 => 2,
            _ => 1,
        },
        1 => difficulty switch
        {
            > 70 => 3,
            > 30 => 2,
            _ => 1,
        },
        2 => difficulty switch
        {
            > 70 => 4,
            > 40 => 3,
            > 20 => 2,
            _ => 1,
        },
        3 => difficulty switch
        {
            > 75 => 5,
            > 40 => 4,
            _ => 3,
        },
        4 => difficulty switch
        {
            > 70 => 5,
            > 30 => 4,
            _ => 3,
        },
        _ => 1,
    };

    public static int GetDeliveryGroupID(this Raid raid, DeliveryGroupID ids, List<int> possibleGroups, int eventCount)
    {
        if (!raid.IsEvent)
            return -1;

        // WW/IL re-run has DeliveryGroupID = 3, having a Might7 alongside it conflicts.
        var groups = ids.GroupID;

        for (int i = 0; i < groups.Table_Length; i++)
        {
            var count = groups.Table(i);
            if (!possibleGroups.Contains(i + 1))
                continue;
            if (eventCount < count)
                return i + 1;
            eventCount -= count;
        }
        throw new Exception("Found event out of priority range.");
    }

    private static short GetRateTotalBaseSL(int star) => star switch
    {
        1 => 5800,
        2 => 5300,
        3 => 7400,
        4 => 8800, // Scarlet has one more encounter.
        5 => 9100,
        6 => 6500,
        _ => 0,
    };

    private static short GetRateTotalBaseVL(int star) => star switch
    {
        1 => 5800,
        2 => 5300,
        3 => 7400,
        4 => 8700, // Violet has one less encounter.
        5 => 9100,
        6 => 6500,
        _ => 0,
    };

    private static short GetRateTotalKitakamiSL(int star) => star switch
    {
        1 => 1500,
        2 => 1500,
        3 => 2500,
        4 => 2100,
        5 => 2250,
        6 => 2475, // Scarlet has one less encounter
        _ => 0,
    };

    private static short GetRateTotalKitakamiVL(int star) => star switch
    {
        1 => 1500,
        2 => 1500,
        3 => 2500,
        4 => 2100,
        5 => 2250,
        6 => 2574, // Violet has one more encounter
        _ => 0,
    };

    private static short GetRateTotalBlueberry(int star) => star switch
    {
        // Both games have the same number of encounters
        1 => 1100,
        2 => 1100,
        3 => 2000,
        4 => 1900,
        5 => 2100,
        6 => 2600,
        _ => 0,
    };
}


================================================
FILE: RaidCrawler.Core/Interfaces/IDateAdvanceConfig.cs
================================================
namespace RaidCrawler.Core.Interfaces;

public interface IDateAdvanceConfig
{
    bool UseTouch { get; set; }
    bool UseOvershoot { get; set; }
    bool DodgeSystemUpdate { get; set; }
    bool UseSetStick { get; set; }
    bool UseMapTrick { get; set; }
    bool ZyroMethod { get; set; }

    int OpenHomeDelay { get; set; }
    int NavigateToSettingsDelay { get; set; }
    int OpenSettingsDelay { get; set; }
    int HoldDuration { get; set; }
    int SystemDownPresses { get; set; }
    int SystemOvershoot { get; set; }
    int Submenu { get; set; }
    int DateChange { get; set; }
    int DaysToSkip { get; set; }
    int ReturnHomeDelay { get; set; }
    int ReturnGameDelay { get; set; }
    int BaseDelay { get; set; }
    int SaveGameDelay { get; set; }
    int RelaunchDelay { get; set; }
    int ExtraOverworldWait { get; set; }
}


================================================
FILE: RaidCrawler.Core/Interfaces/IWebhookConfig.cs
================================================
using SysBot.Base;

namespace RaidCrawler.Core.Interfaces;

public interface IWebhookConfig
{
    SwitchProtocol Protocol { get; set; }
    bool EnableNotification { get; set; }
    bool ToggleDen { get; set; }
    string InstanceName { get; set; }
    string DiscordWebhook { get; set; }
    string DiscordMessageContent { get; set; }

    bool EnableEmoji { get; set; }
    Dictionary<string, string> Emoji { get; set; }

    bool VerboseIVs { get; set; }
    int IVsStyle { get; set; }
}


================================================
FILE: RaidCrawler.Core/RaidCrawler.Core.csproj
================================================
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <ImplicitUsings>enable</ImplicitUsings>
	<Platforms>x64</Platforms>
  </PropertyGroup>

  <ItemGroup>
	<PackageReference Include="FlatSharp.Compiler" Version="7.4.0">
	  <PrivateAssets>all</PrivateAssets>
	  <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
	</PackageReference>
	<PackageReference Include="FlatSharp.Runtime" Version="7.4.0" />
    <PackageReference Include="LibUsbDotNet" Version="2.2.29" />
    <PackageReference Include="PKHeX.Core" Version="25.6.9" />
	<Reference Include="SysBot.Base">
	  <HintPath>deps\SysBot.Base.dll</HintPath>
	</Reference>
	<FlatSharpSchema Include="Schemas\*.fbs" />
  </ItemGroup>

  <ItemGroup>
    <None Remove="Resources\Base\den_locations_base.json" />
    <None Remove="Resources\Base\paldea.png" />
    <None Remove="Resources\Base\raid_enemy_01_array.bin" />
    <None Remove="Resources\Base\raid_enemy_02_array.bin" />
    <None Remove="Resources\Base\raid_enemy_03_array.bin" />
    <None Remove="Resources\Base\raid_enemy_04_array.bin" />
    <None Remove="Resources\Base\raid_enemy_05_array.bin" />
    <None Remove="Resources\Base\raid_enemy_06_array.bin" />
    <None Remove="Resources\Base\raid_fixed_reward_item_array.json" />
    <None Remove="Resources\Base\raid_lottery_reward_item_array.json" />
    <None Remove="Resources\Blueberry\blueberry.png" />
    <None Remove="Resources\Blueberry\den_locations_blueberry.json" />
    <None Remove="Resources\Blueberry\su2_raid_enemy_01_array.bin" />
    <None Remove="Resources\Blueberry\su2_raid_enemy_02_array.bin" />
    <None Remove="Resources\Blueberry\su2_raid_enemy_03_array.bin" />
    <None Remove="Resources\Blueberry\su2_raid_enemy_04_array.bin" />
    <None Remove="Resources\Blueberry\su2_raid_enemy_05_array.bin" />
    <None Remove="Resources\Blueberry\su2_raid_enemy_06_array.bin" />
    <None Remove="Resources\Kitakami\den_locations_kitakami.json" />
    <None Remove="Resources\Kitakami\kitakami.png" />
    <None Remove="Resources\Kitakami\su1_raid_enemy_01_array.bin" />
    <None Remove="Resources\Kitakami\su1_raid_enemy_02_array.bin" />
    <None Remove="Resources\Kitakami\su1_raid_enemy_03_array.bin" />
    <None Remove="Resources\Kitakami\su1_raid_enemy_04_array.bin" />
    <None Remove="Resources\Kitakami\su1_raid_enemy_05_array.bin" />
    <None Remove="Resources\Kitakami\su1_raid_enemy_06_array.bin" />
  </ItemGroup>

  <ItemGroup>
    <EmbeddedResource Include="Resources\Base\den_locations_base.json" />
    <EmbeddedResource Include="Resources\Base\paldea.png" />
    <EmbeddedResource Include="Resources\Base\raid_enemy_01_array.bin" />
    <EmbeddedResource Include="Resources\Base\raid_enemy_02_array.bin" />
    <EmbeddedResource Include="Resources\Base\raid_enemy_03_array.bin" />
    <EmbeddedResource Include="Resources\Base\raid_enemy_04_array.bin" />
    <EmbeddedResource Include="Resources\Base\raid_enemy_05_array.bin" />
    <EmbeddedResource Include="Resources\Base\raid_enemy_06_array.bin" />
    <EmbeddedResource Include="Resources\Base\raid_fixed_reward_item_array.json" />
    <EmbeddedResource Include="Resources\Base\raid_lottery_reward_item_array.json" />
    <EmbeddedResource Include="Resources\Blueberry\blueberry.png" />
    <EmbeddedResource Include="Resources\Blueberry\den_locations_blueberry.json" />
    <EmbeddedResource Include="Resources\Blueberry\su2_raid_enemy_01_array.bin" />
    <EmbeddedResource Include="Resources\Blueberry\su2_raid_enemy_02_array.bin" />
    <EmbeddedResource Include="Resources\Blueberry\su2_raid_enemy_03_array.bin" />
    <EmbeddedResource Include="Resources\Blueberry\su2_raid_enemy_04_array.bin" />
    <EmbeddedResource Include="Resources\Blueberry\su2_raid_enemy_05_array.bin" />
    <EmbeddedResource Include="Resources\Blueberry\su2_raid_enemy_06_array.bin" />
    <EmbeddedResource Include="Resources\Kitakami\den_locations_kitakami.json" />
    <EmbeddedResource Include="Resources\Kitakami\kitakami.png" />
    <EmbeddedResource Include="Resources\Kitakami\su1_raid_enemy_01_array.bin" />
    <EmbeddedResource Include="Resources\Kitakami\su1_raid_enemy_02_array.bin" />
    <EmbeddedResource Include="Resources\Kitakami\su1_raid_enemy_03_array.bin" />
    <EmbeddedResource Include="Resources\Kitakami\su1_raid_enemy_04_array.bin" />
    <EmbeddedResource Include="Resources\Kitakami\su1_raid_enemy_05_array.bin" />
    <EmbeddedResource Include="Resources\Kitakami\su1_raid_enemy_06_array.bin" />
  </ItemGroup>

</Project>


================================================
FILE: RaidCrawler.Core/Resources/Base/den_locations_base.json
================================================
{
  "1-1-1": [ 2845.467, 36.614, -1038.485 ],
  "1-1-2": [ 2843.5623, 50.538624, -1155.899 ],
  "1-1-3": [ 2995.64, 50.029, -1044.8 ],
  "1-1-4": [ 3026.123, 59.19, -863.263 ],
  "1-1-5": [ 3027.5466, 47.98538, -828.203 ],
  "1-1-6": [ 2706.321, 38.522, -897.694 ],
  "1-1-7": [ 2756.0642, 53.07718, -947.225 ],
  "1-1-8": [ 2939.2195, 51.645695, -890.802 ],
  "1-1-9": [ 2901.67, 43.51155, -956.14 ],
  "1-1-10": [ 2758.1775, 28.147131, -885.512 ],
  "1-1-11": [ 2695.9585, 74.89077, -1059.758 ],
  "4-1-1": [ 1899.0006, 131.19034, -1733.894 ],
  "4-1-2": [ 1769.4475, 170.525, -1850.895 ],
  "4-1-3": [ 1790.6346, 170.37459, -1970.455 ],
  "4-1-4": [ 1637.4147, 150.9245, -1935.294 ],
  "4-1-5": [ 1553.4471, 102.529, -1471.282 ],
  "4-1-6": [ 1835.2953, 119.064, -1423.519 ],
  "4-1-7": [ 1629.2001, 123.859, -1500.295 ],
  "4-1-8": [ 1640.544, 122.431, -1662.441 ],
  "4-1-9": [ 1475.2063, 124.439, -1912.936 ],
  "4-1-10": [ 1812.5724, 137, -1500.554 ],
  "4-1-11": [ 1771.2521, 100.215, -1351.323 ],
  "4-1-12": [ 1982.5543, 125.65, -1594.889 ],
  "5-1-1": [ 1866.6323, 123.882, -1160.349 ],
  "5-1-2": [ 2002.1222, 122.804, -1165.878 ],
  "5-1-3": [ 2141.4495, 154.78429, -1306.902 ],
  "5-1-4": [ 1913.426, 102.891, -1263.081 ],
  "5-1-5": [ 1703.3937, 100.295, -1271.364 ],
  "5-1-6": [ 1513.5747, 102.454, -1339.542 ],
  "5-1-7": [ 1379.3215, 99.85946, -1414.994 ],
  "5-1-8": [ 1158.9136, 104.006, -1401.035 ],
  "5-1-9": [ 1356.9264, 125.62, -1445.842 ],
  "5-1-10": [ 1118.2214, 124.987, -1513.141 ],
  "5-1-11": [ 1385.0574, 182.036, -1206.406 ],
  "5-1-12": [ 1493.3928, 137.195, -1212.87 ],
  "5-1-13": [ 1571.0824, 119.819, -1123.577 ],
  "5-1-14": [ 1657.7124, 123.919716, -1120.022 ],
  "5-1-15": [ 1757.7255, 119.836, -1176.093 ],
  "5-1-16": [ 1897.7378, 77.31867, -1010.904 ],
  "5-1-17": [ 1933.3049, 62.684, -864.692 ],
  "5-1-18": [ 1817.5621, 50.726524, -1021.676 ],
  "5-1-19": [ 1712.4163, 51.856, -984.328 ],
  "5-1-20": [ 1741.8289, 27.366, -908.355 ],
  "5-1-21": [ 2310.3599, 102.35688, -867.754 ],
  "6-1-1": [ 1216.1168, 439.182, -1256.351 ],
  "6-1-2": [ 1135.6335, 408.106, -1138.885 ],
  "6-1-3": [ 1011.4375, 324.1062, -1120.552 ],
  "6-1-4": [ 793.2703, 304.927, -958.951 ],
  "6-1-5": [ 678.807, 303.461, -1164.414 ],
  "6-1-6": [ 851.7057, 300.354, -1259.222 ],
  "6-1-7": [ 697.38544, 289.631, -1281.583 ],
  "6-1-8": [ 1251.8801, 376.138, -1133.998 ],
  "6-1-9": [ 757.57587, 277.555, -1449.904 ],
  "6-1-10": [ 704.53284, 49.696716, -1508.669 ],
  "6-1-11": [ 618.2202, 30.289415, -1322.722 ],
  "7-1-1": [ 3260.4072, 139.058, -1666.307 ],
  "7-1-2": [ 3164.0479, 117.136, -1504.806 ],
  "7-1-3": [ 2902.9255, 126.495, -1408.005 ],
  "7-1-4": [ 3300.0713, 100.29469, -1387.432 ],
  "7-1-5": [ 3395.081, 301.49, -1423.474 ],
  "7-1-6": [ 3611.139, 313.481, -1467.221 ],
  "7-1-7": [ 3639.874, 295.442, -1282.592 ],
  "7-1-8": [ 2745.1975, 89.859, -1134.795 ],
  "7-1-9": [ 2726.992, 126.88671, -1355.929 ],
  "7-1-10": [ 3134.3804, 84.294914, -1131.999 ],
  "7-1-11": [ 3096.0142, 97.01546, -960.987 ],
  "7-1-12": [ 3232.408, 60.313, -958.541 ],
  "7-1-13": [ 3220.125, 50.347, -1204.109 ],
  "8-1-1": [ 2789.0913, 118.99999, -1643.126 ],
  "8-1-2": [ 2705.5635, 100.009, -1768.12 ],
  "8-1-3": [ 2827.2507, 110.617, -1629.134 ],
  "8-1-4": [ 2844.7065, 116.506, -1647.88 ],
  "8-1-5": [ 2897.6675, 135.298, -1628.299 ],
  "8-1-6": [ 2938.5251, 119.78288, -1624.612 ],
  "8-1-7": [ 2870.8196, 149.477, -1748.421 ],
  "8-1-8": [ 2857.5256, 153.582, -1713.734 ],
  "8-1-9": [ 2945.535, 144.44276, -1706.932 ],
  "8-1-10": [ 2778.236, 108.903, -1815.592 ],
  "8-1-11": [ 3044.518, 153.905, -1805.803 ],
  "8-1-12": [ 3112.402, 132.59032, -1872.252 ],
  "8-1-13": [ 3156.5232, 100.069, -1759.778 ],
  "8-1-14": [ 3329.499, 159.417, -1927.745 ],
  "8-1-15": [ 3119.92, 110.42, -1934.241 ],
  "8-1-16": [ 3227.864, 160.062, -1981.746 ],
  "8-1-17": [ 3450.6865, 156.95605, -1868.286 ],
  "8-1-18": [ 3603.3108, 159.98636, -1845 ],
  "8-1-19": [ 3543.5562, 125.17, -1749.021 ],
  "8-1-20": [ 3440.8494, 114.854, -1718.778 ],
  "9-1-1": [ 1136.7812, 150.49757, -2016.167 ],
  "9-1-2": [ 1198.0536, 160.16187, -1937.424 ],
  "9-1-3": [ 1160.7703, 156.032, -1682.58 ],
  "9-1-4": [ 1081.689, 191.825, -2092.869 ],
  "9-1-5": [ 947.6973, 205.406, -2092.656 ],
  "9-1-6": [ 1270.208, 274.854, -2192.344 ],
  "9-1-7": [ 1037.17, 158.25974, -1761.818 ],
  "9-1-8": [ 1698.0283, 299.58, -2470.444 ],
  "9-1-9": [ 1401.9097, 155.203, -1984.84 ],
  "9-1-10": [ 1854.1393, 153.98119, -2018.318 ],
  "9-1-11": [ 1518.1447, 202.65892, -2222.884 ],
  "9-1-12": [ 1049.826, 219.624, -1841.302 ],
  "9-1-13": [ 740.9347, 276.129, -1975.816 ],
  "9-1-14": [ 977.81, 231.772, -1448.517 ],
  "9-1-15": [ 902.24927, 202.204, -1486.805 ],
  "9-1-16": [ 552.87463, 310.0584, -2123.151 ],
  "9-1-17": [ 526.2075, 257.5541, -1978.386 ],
  "9-1-18": [ 516.06586, 258.93277, -1988.088 ],
  "9-1-19": [ 406.85233, 345.942, -2296.848 ],
  "9-1-20": [ 461.65933, 261.267, -2430.324 ],
  "9-1-21": [ 615.57446, 204.40112, -2567.678 ],
  "9-2-1": [ 703.6389, 317.623, -2203.918 ],
  "9-2-2": [ 904.748, 280.404, -2198.13 ],
  "9-2-3": [ 807.161, 261.463, -2294.684 ],
  "9-2-4": [ 726.8064, 250.554, -2313.824 ],
  "9-2-5": [ 1541.4001, 254.81822, -2677.292 ],
  "9-2-6": [ 1289.9803, 236.96513, -2473.336 ],
  "9-2-7": [ 1613.5505, 194.594, -3008.886 ],
  "9-2-8": [ 1091.2606, 283.35077, -2288.283 ],
  "9-2-9": [ 1121.5624, 247.51, -2441.588 ],
  "9-2-10": [ 1135.403, 200.28, -2657.236 ],
  "9-2-11": [ 1393.0848, 241.63, -2588.953 ],
  "10-1-1": [ 1355.4225, 154.228, -3070.513 ],
  "10-1-2": [ 932.8021, 154.328, -3069.857 ],
  "10-1-3": [ 1088.3599, 150.072, -3039.058 ],
  "10-1-4": [ 1168.1425, 165.906, -2810.181 ],
  "10-1-5": [ 967.2324, 154.021, -2574.592 ],
  "10-1-6": [ 969.512, 205.849, -2746.752 ],
  "10-1-7": [ 752.812, 149.851, -2982.663 ],
  "10-1-8": [ 708.866, 151.058, -2632.248 ],
  "10-1-9": [ 407.1229, 153.71, -2811.957 ],
  "10-1-10": [ 796.517, 206.454, -2833.264 ],
  "11-1-1": [ 680.07526, 72.338, -3022.125 ],
  "11-1-2": [ 758.8083, 97.049, -3209.514 ],
  "11-1-3": [ 457.581, 28.332, -3201.192 ],
  "11-1-4": [ 577.3071, 27.293, -3590.295 ],
  "11-1-5": [ 641.5924, 52.289223, -3604.116 ],
  "11-1-6": [ 914.7816, 69.557, -3469.828 ],
  "11-1-7": [ 1080.179, 68.4, -3506.444 ],
  "11-1-8": [ 980.33856, 100.343, -3298.26 ],
  "11-1-9": [ 1281.2114, 72.793, -3441.391 ],
  "11-1-10": [ 1404.0607, 106.93168, -3595.316 ],
  "11-1-11": [ 1420.5525, 108.026, -3379.739 ],
  "12-1-1": [ 1619.1842, 151.259, -3349.24 ],
  "12-1-2": [ 1491.2551, 126.809, -3376.43 ],
  "12-1-3": [ 1730.0283, 102.642, -3721.919 ],
  "12-1-4": [ 1842.9199, 100.34152, -3608.054 ],
  "12-1-5": [ 2055.4146, 150.636, -3465.063 ],
  "12-1-6": [ 1876.1418, 150.488, -3344.767 ],
  "12-1-7": [ 2240.985, 163.175, -3496.316 ],
  "12-1-8": [ 2155.9333, 153.8733, -3913.194 ],
  "12-1-9": [ 2256.0447, 181.19315, -3807.589 ],
  "12-1-10": [ 2204.459, 200.011, -3210.86 ],
  "12-1-11": [ 2104.338, 200.007, -3112.235 ],
  "12-1-12": [ 2155.035, 184.779, -3240.255 ],
  "12-1-13": [ 1967.685, 228.104, -2885.821 ],
  "12-1-14": [ 1788.2504, 198.625, -2889.617 ],
  "12-1-15": [ 1826.5359, 160.854, -3002.231 ],
  "12-1-16": [ 1691.5563, 155.739, -3033.022 ],
  "12-1-17": [ 1518.1082, 162.791, -3265.582 ],
  "13-1-1": [ 3528.1975, 165.69916, -3543.603 ],
  "13-1-2": [ 3416.95, 165.057, -3545.65 ],
  "13-1-3": [ 3213.6755, 164.828, -3475.689 ],
  "13-1-4": [ 3339.4155, 149.762, -3180.274 ],
  "13-1-5": [ 3116.5674, 139, -3315.564 ],
  "14-1-1": [ 4159.2573, 75.513, -2840.708 ],
  "14-1-2": [ 4236.472, 113.233, -2890.783 ],
  "14-1-3": [ 4254.321, 98.49, -3073.784 ],
  "14-1-4": [ 4556.84, 131.992, -3100.284 ],
  "14-1-5": [ 4473.559, 97.826, -3155.787 ],
  "14-1-6": [ 4079.3474, 151.717, -3083.227 ],
  "14-1-7": [ 4064.9348, 175.008, -3205.413 ],
  "14-1-8": [ 3910.8123, 110.285385, -2703.162 ],
  "14-1-9": [ 3733.5237, 152.13, -2828.176 ],
  "14-1-10": [ 3670.5334, 150.04924, -3302.292 ],
  "14-1-11": [ 3501.2812, 139.998, -3187.655 ],
  "14-1-12": [ 3494.993, 171.523, -2944.775 ],
  "14-1-13": [ 3425.9077, 154.61, -2858.815 ],
  "14-1-14": [ 3197.446, 139.996, -2965.349 ],
  "14-1-15": [ 3221.556, 137.094, -2717.948 ],
  "15-1-1": [ 3949.057, 128.4627, -1753.7886 ],
  "15-1-2": [ 3939.1145, 118.467, -1903.497 ],
  "15-1-3": [ 4222.742, 100.08929, -1788.447 ],
  "15-1-4": [ 3994.504, 106.69571, -2075.471 ],
  "15-1-5": [ 4091.4172, 78.9, -2141.472 ],
  "15-1-6": [ 4182.6772, 100.57541, -1999.694 ],
  "15-1-7": [ 4199.1963, 101.61066, -2063.68 ],
  "15-1-8": [ 4347.587, 101.947, -2055.755 ],
  "15-1-9": [ 4450.8774, 39.89622, -1995.672 ],
  "15-1-10": [ 4308.0854, 82.694, -2248.658 ],
  "15-2-1": [ 3507.103, 114.158, -2304.367 ],
  "15-2-2": [ 3371.768, 131.414, -2431.5 ],
  "15-2-3": [ 3315.8464, 136.56921, -2553.919 ],
  "15-2-4": [ 3286.927, 136.706, -2209.562 ],
  "15-2-5": [ 3210.6985, 200.413, -2638.92 ],
  "15-2-6": [ 3257.0085, 199.8879, -2352.739 ],
  "15-2-7": [ 3042.08, 200.078, -2326.545 ],
  "15-2-8": [ 3141.9746, 200.00513, -2207.734 ],
  "15-2-9": [ 3482.535, 150.15349, -2140.363 ],
  "15-2-10": [ 3382.6587, 175.42473, -2025.202 ],
  "15-2-11": [ 3075.128, 171.15794, -2083.704 ],
  "16-1-1": [ 3634.7349, 103.697, -2249.59 ],
  "16-1-2": [ 3913.9048, 87.313, -2159.184 ],
  "16-1-3": [ 3990.8743, 68.22058, -2368.99 ],
  "16-1-4": [ 4097.5396, 40.483, -2342.001 ],
  "16-1-5": [ 4283.13, 27.846, -2320.806 ],
  "16-1-6": [ 4022.277, 28.308, -2546.425 ],
  "16-1-7": [ 3662.312, 101.794, -2399.427 ],
  "16-1-8": [ 3548.7634, 116.26001, -2507.5374 ],
  "16-1-9": [ 3579.2812, 133.791, -2361.305 ],
  "16-1-10": [ 3465.717, 122.248, -2659.646 ],
  "17-1-1": [ 2902.689, 200.399, -3093.951 ],
  "17-1-2": [ 2720.5022, 280.556, -3201.56 ],
  "17-1-3": [ 2593.317, 350.688, -3282.014 ],
  "17-1-4": [ 2598.9983, 350.08722, -3411.557 ],
  "17-1-5": [ 2427.9685, 252.528, -3461.893 ],
  "17-1-6": [ 2286.5273, 273.911, -3154.17 ],
  "17-1-7": [ 2467.979, 307.236, -3187.504 ],
  "17-1-8": [ 3303.539, 457.404, -3817.721 ],
  "17-1-9": [ 3153.672, 549.903, -3887.176 ],
  "17-1-10": [ 3058.9521, 529.29065, -3661.263 ],
  "17-1-11": [ 2941.3628, 199.929, -2807.215 ],
  "17-1-12": [ 3018.6382, 200.228, -2661.028 ],
  "18-1-1": [ 583.49615, 51.777, -3722.577 ],
  "18-1-2": [ 762.9055, 83.263, -4136.542 ],
  "18-1-3": [ 538.15045, 59.128, -4297.462 ],
  "18-1-4": [ 841.52344, 72.244, -4295.059 ],
  "18-1-5": [ 789.033, 30.452, -4485.728 ],
  "18-1-6": [ 881.5492, 96.926, -4443.855 ],
  "18-1-7": [ 1156.5724, 105.646, -4630.291 ],
  "18-1-8": [ 1315.9452, 112.47854, -4411.718 ],
  "18-1-9": [ 1507.038, 107.434, -4404.618 ],
  "18-1-10": [ 1639.128, 134.847, -4364.72 ],
  "18-1-11": [ 2002.7728, 143.998, -4004.138 ],
  "18-1-12": [ 2070.937, 140.65634, -3938.287 ],
  "18-1-13": [ 1629.3771, 52.345, -3997.327 ],
  "18-1-14": [ 1061.734, 54.03, -4230.546 ],
  "18-1-15": [ 853.741, 57.159, -3998.338 ],
  "19-1-1": [ 1904.9739, 302.13, -4476.627 ],
  "19-1-2": [ 2075.4602, 196.94385, -4453.186 ],
  "19-1-3": [ 2175.288, 258.987, -3962.343 ],
  "19-1-4": [ 2357.263, 292.974, -4154.987 ],
  "19-1-5": [ 2517.7583, 312.382, -4327.555 ],
  "19-1-6": [ 2388.8801, 193.7364, -4379.883 ],
  "19-1-7": [ 2493.558, 380.4853, -4159.183 ],
  "19-1-8": [ 2539.19, 314.32626, -3934.373 ],
  "19-1-9": [ 2708.6387, 543.1926, -3815.269 ],
  "19-1-10": [ 2551.8943, 459.3, -3786.567 ],
  "19-1-11": [ 2636.6562, 474.08127, -4080.359 ],
  "19-1-12": [ 2079.422, 250.6066, -4261.153 ],
  "19-2-1": [ 2980.5945, 468.246, -4081.9 ],
  "19-2-2": [ 3065.717, 335.63928, -4264.309 ],
  "19-2-3": [ 3215.0225, 249.41417, -4426.817 ],
  "19-2-4": [ 3334.752, 290.42, -4284.607 ],
  "19-2-5": [ 3287.9968, 409.532, -4120.064 ],
  "19-2-6": [ 3185.0469, 124.804085, -4674.016 ],
  "19-2-7": [ 2925.784, 37.782, -4819.091 ],
  "19-2-8": [ 2934.2034, 294.876, -4491.229 ],
  "19-2-9": [ 2776.519, 166.26, -4744.95 ],
  "19-2-10": [ 2566.431, 113.238, -4671.11 ],
  "20-1-1": [ 2158.8896, 75.773, -4624.578 ],
  "20-1-2": [ 2095.613, 30.714, -4826.774 ],
  "20-1-3": [ 2266.1736, 27.36, -4888.04 ],
  "20-1-4": [ 2404.1516, 38.995, -4739.097 ],
  "20-1-5": [ 2636.8281, 31.877356, -4766.172 ],
  "20-1-6": [ 1967.109, 107.087, -4706.695 ],
  "20-1-7": [ 1888.2545, 27.66, -4804.205 ],
  "21-1-1": [ 3547.085, 248.378, -4267.11 ],
  "21-1-2": [ 3516.266, 27.53, -4551.839 ],
  "21-1-3": [ 3715.373, 30.22447, -4396.859 ],
  "21-1-4": [ 3664.97, 250.417, -3851.387 ],
  "21-1-5": [ 3782.5044, 215.215, -3940.288 ],
  "21-1-6": [ 4238.2163, 200.163, -4023.547 ],
  "21-1-7": [ 4037.2893, 308.365, -3874.302 ],
  "21-1-8": [ 3804.4255, 249.465, -3744.459 ],
  "21-1-9": [ 3681.3413, 250.90479, -3523.232 ],
  "21-1-10": [ 3438.491, 200.681, -3586.808 ],
  "21-1-11": [ 3528.0413, 252.9267, -3701.859 ],
  "21-1-12": [ 3611.6423, 302.471, -4050.048 ],
  "21-1-13": [ 3970.3142, 206.68, -4036.144 ],
  "22-1-1": [ 3862.4924, 220.02588, -3742.104 ],
  "22-1-2": [ 3949.528, 220.012, -3740.621 ],
  "22-1-3": [ 3997.943, 220.031, -3641.878 ],
  "22-1-4": [ 4003.7307, 248.957, -3800.467 ],
  "22-1-5": [ 4149.172, 249.902, -3794.919 ],
  "22-1-6": [ 4211.662, 309.788, -3789.485 ],
  "22-1-7": [ 4275.8936, 299.654, -3730.387 ],
  "22-1-8": [ 4209.848, 230.012, -3633.816 ],
  "22-1-9": [ 4233.2744, 230.314, -3483.836 ],
  "22-1-10": [ 4041.568, 250.111, -3479.939 ],
  "22-1-11": [ 3749.4216, 250.14, -3441.497 ],
  "22-1-12": [ 3870.1, 250.021, -3419.277 ],
  "22-1-13": [ 3945.9397, 250.30798, -3403.474 ],
  "22-1-14": [ 4040.2236, 302.19217, -3358.449 ],
  "22-1-15": [ 4109.605, 230.034, -3350.393 ],
  "22-1-16": [ 4250.147, 333.989, -3342.715 ],
  "22-1-17": [ 4200.3525, 250.453, -3387.742 ],
  "22-1-18": [ 4399.146, 294.83286, -3413.392 ],
  "22-1-19": [ 4382.4756, 318.88, -3327.004 ],
  "22-1-20": [ 4421.354, 250.189, -3664.857 ],
  "22-1-21": [ 4658.1436, 202.46548, -3247.712 ],
  "22-1-22": [ 4379.2666, 250.25455, -3478.503 ]
}

================================================
FILE: RaidCrawler.Core/Resources/Base/raid_fixed_reward_item_array.json
================================================
[
  {
    "TableName": 12665484173717205406,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 4,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 1,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem03": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem04": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem05": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem06": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 971768233462174768,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1124,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 566,
      "Num": 1
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem05": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem06": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 13967968057318937848,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1124,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 567,
      "Num": 1
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem05": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem06": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 13964306683597752118,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1124,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 565,
      "Num": 1
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem05": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem06": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 4079204644669103737,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1124,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 568,
      "Num": 1
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem05": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem06": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 4461632780080010991,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1124,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 569,
      "Num": 1
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem05": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem06": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 1453407049952680673,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1124,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 570,
      "Num": 1
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem05": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem06": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 13962751043364178541,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 3
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 566,
      "Num": 1
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem05": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem06": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 7425207459411916467,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 3
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 567,
      "Num": 1
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem05": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem06": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 7413752747271484969,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 3
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 565,
      "Num": 1
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem05": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem06": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 18330603432922962524,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 3
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 568,
      "Num": 1
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem05": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem06": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 4252614494071568324,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 3
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 569,
      "Num": 1
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem05": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem06": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 2509815283604296356,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 3
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 570,
      "Num": 1
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem05": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem06": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 8835428215795829081,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1126,
      "Num": 2
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 566,
      "Num": 2
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 8835424917260944448,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1126,
      "Num": 2
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 567,
      "Num": 2
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 8835426016772572659,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1126,
      "Num": 2
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 565,
      "Num": 2
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 8835431514330713714,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1126,
      "Num": 2
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 568,
      "Num": 2
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 8835432613842341925,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1126,
      "Num": 2
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 569,
      "Num": 2
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 8835429315307457292,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1125,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1126,
      "Num": 2
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 570,
      "Num": 2
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 6567691901553146942,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1126,
      "Num": 2
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 4
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 566,
      "Num": 2
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 6567690802041518731,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1126,
      "Num": 2
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 4
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 567,
      "Num": 2
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 6567689702529890520,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1126,
      "Num": 2
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 4
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 565,
      "Num": 2
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 6567697399111287997,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1126,
      "Num": 2
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 4
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 568,
      "Num": 2
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 6567696299599659786,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1126,
      "Num": 2
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 4
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 569,
      "Num": 2
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 6567695200088031575,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1126,
      "Num": 2
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 4
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 570,
      "Num": 2
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 1
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 11960178471819505075,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1128,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 5
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 566,
      "Num": 3
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 11960179571331133286,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1128,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 5
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 567,
      "Num": 3
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 11960180670842761497,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1128,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 5
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 565,
      "Num": 3
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 11960181770354389708,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1128,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 5
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 568,
      "Num": 3
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 11960182869866017919,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1128,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 5
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 569,
      "Num": 3
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 11960183969377646130,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 1
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1128,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 5
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 570,
      "Num": 3
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 2
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 8092679411244492160,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 4
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1128,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 5
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 566,
      "Num": 3
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 8092682709779376793,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 4
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1128,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 5
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 567,
      "Num": 3
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 8092681610267748582,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 4
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1128,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 5
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 565,
      "Num": 3
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 8092684908802633215,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 4
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1128,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 5
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 568,
      "Num": 3
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 8092683809291005004,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 4
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1128,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 5
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 569,
      "Num": 3
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  },
  {
    "TableName": 8092687107825889637,
    "RewardItem00": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1127,
      "Num": 4
    },
    "RewardItem01": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 1128,
      "Num": 1
    },
    "RewardItem02": {
      "Category": 1,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 5
    },
    "RewardItem03": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 570,
      "Num": 3
    },
    "RewardItem04": {
      "Category": 1,
      "SubjectType": 2,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem05": {
      "Category": 2,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem06": {
      "Category": 2,
      "SubjectType": 1,
      "ItemID": 0,
      "Num": 3
    },
    "RewardItem07": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem08": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem09": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem10": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem11": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem12": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem13": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    },
    "RewardItem14": {
      "Category": 0,
      "SubjectType": 0,
      "ItemID": 0,
      "Num": 0
    }
  }
]

================================================
FILE: RaidCrawler.Core/Resources/Base/raid_lottery_reward_item_array.json
================================================
[
  {
    "TableName": 12665484173717205406,
    "RewardItem00": {
      "Category": 0,
      "ItemID": 1124,
      "Num": 1,
      "Rate": 50,
      "RareItemFlag": false
    },
    "RewardItem01": {
      "Category": 0,
      "ItemID": 1125,
      "Num": 1,
      "Rate": 50,
      "RareItemFlag": false
    },
    "RewardItem02": {
      "Category": 0,
      "ItemID": 4,
      "Num": 100,
      "Rate": 500,
      "RareItemFlag": true
    },
    "RewardItem03": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem04": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem05": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem06": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem07": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem08": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem09": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem10": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem11": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem12": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem13": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem14": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem15": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem16": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem17": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem18": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem19": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem20": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem21": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem22": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem23": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem24": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem25": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem26": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem27": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem28": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem29": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    }
  },
  {
    "TableName": 12768795081099901129,
    "RewardItem00": {
      "Category": 0,
      "ItemID": 1124,
      "Num": 1,
      "Rate": 2200,
      "RareItemFlag": false
    },
    "RewardItem01": {
      "Category": 0,
      "ItemID": 1125,
      "Num": 1,
      "Rate": 850,
      "RareItemFlag": false
    },
    "RewardItem02": {
      "Category": 0,
      "ItemID": 566,
      "Num": 1,
      "Rate": 850,
      "RareItemFlag": false
    },
    "RewardItem03": {
      "Category": 0,
      "ItemID": 155,
      "Num": 1,
      "Rate": 800,
      "RareItemFlag": false
    },
    "RewardItem04": {
      "Category": 0,
      "ItemID": 151,
      "Num": 2,
      "Rate": 800,
      "RareItemFlag": false
    },
    "RewardItem05": {
      "Category": 0,
      "ItemID": 152,
      "Num": 1,
      "Rate": 800,
      "RareItemFlag": false
    },
    "RewardItem06": {
      "Category": 0,
      "ItemID": 88,
      "Num": 1,
      "Rate": 3000,
      "RareItemFlag": false
    },
    "RewardItem07": {
      "Category": 1,
      "ItemID": 0,
      "Num": 1,
      "Rate": 700,
      "RareItemFlag": false
    },
    "RewardItem08": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem09": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem10": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem11": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem12": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem13": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem14": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem15": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem16": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem17": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem18": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem19": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem20": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem21": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem22": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem23": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem24": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem25": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem26": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem27": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem28": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem29": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    }
  },
  {
    "TableName": 668479594417095103,
    "RewardItem00": {
      "Category": 0,
      "ItemID": 1124,
      "Num": 1,
      "Rate": 2200,
      "RareItemFlag": false
    },
    "RewardItem01": {
      "Category": 0,
      "ItemID": 1125,
      "Num": 1,
      "Rate": 850,
      "RareItemFlag": false
    },
    "RewardItem02": {
      "Category": 0,
      "ItemID": 567,
      "Num": 1,
      "Rate": 850,
      "RareItemFlag": false
    },
    "RewardItem03": {
      "Category": 0,
      "ItemID": 149,
      "Num": 1,
      "Rate": 800,
      "RareItemFlag": false
    },
    "RewardItem04": {
      "Category": 0,
      "ItemID": 151,
      "Num": 2,
      "Rate": 800,
      "RareItemFlag": false
    },
    "RewardItem05": {
      "Category": 0,
      "ItemID": 152,
      "Num": 1,
      "Rate": 800,
      "RareItemFlag": false
    },
    "RewardItem06": {
      "Category": 0,
      "ItemID": 90,
      "Num": 1,
      "Rate": 3000,
      "RareItemFlag": false
    },
    "RewardItem07": {
      "Category": 1,
      "ItemID": 0,
      "Num": 1,
      "Rate": 700,
      "RareItemFlag": false
    },
    "RewardItem08": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem09": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem10": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem11": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem12": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem13": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem14": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem15": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem16": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem17": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem18": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem19": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem20": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem21": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem22": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem23": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem24": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem25": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem26": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem27": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem28": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem29": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    }
  },
  {
    "TableName": 679833151487731189,
    "RewardItem00": {
      "Category": 0,
      "ItemID": 1124,
      "Num": 1,
      "Rate": 2200,
      "RareItemFlag": false
    },
    "RewardItem01": {
      "Category": 0,
      "ItemID": 1125,
      "Num": 1,
      "Rate": 850,
      "RareItemFlag": false
    },
    "RewardItem02": {
      "Category": 0,
      "ItemID": 565,
      "Num": 1,
      "Rate": 850,
      "RareItemFlag": false
    },
    "RewardItem03": {
      "Category": 0,
      "ItemID": 151,
      "Num": 1,
      "Rate": 800,
      "RareItemFlag": false
    },
    "RewardItem04": {
      "Category": 0,
      "ItemID": 152,
      "Num": 2,
      "Rate": 800,
      "RareItemFlag": false
    },
    "RewardItem05": {
      "Category": 0,
      "ItemID": 153,
      "Num": 1,
      "Rate": 800,
      "RareItemFlag": false
    },
    "RewardItem06": {
      "Category": 0,
      "ItemID": 86,
      "Num": 1,
      "Rate": 3000,
      "RareItemFlag": false
    },
    "RewardItem07": {
      "Category": 1,
      "ItemID": 0,
      "Num": 1,
      "Rate": 700,
      "RareItemFlag": false
    },
    "RewardItem08": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem09": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem10": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem11": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem12": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem13": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem14": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem15": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem16": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem17": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem18": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem19": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem20": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem21": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem22": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem23": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem24": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem25": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem26": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem27": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem28": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem29": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    }
  },
  {
    "TableName": 17668059097480846072,
    "RewardItem00": {
      "Category": 0,
      "ItemID": 1124,
      "Num": 1,
      "Rate": 2200,
      "RareItemFlag": false
    },
    "RewardItem01": {
      "Category": 0,
      "ItemID": 1125,
      "Num": 1,
      "Rate": 850,
      "RareItemFlag": false
    },
    "RewardItem02": {
      "Category": 0,
      "ItemID": 568,
      "Num": 1,
      "Rate": 850,
      "RareItemFlag": false
    },
    "RewardItem03": {
      "Category": 0,
      "ItemID": 152,
      "Num": 1,
      "Rate": 800,
      "RareItemFlag": false
    },
    "RewardItem04": {
      "Category": 0,
      "ItemID": 153,
      "Num": 2,
      "Rate": 800,
      "RareItemFlag": false
    },
    "RewardItem05": {
      "Category": 0,
      "ItemID": 150,
      "Num": 1,
      "Rate": 800,
      "RareItemFlag": false
    },
    "RewardItem06": {
      "Category": 0,
      "ItemID": 88,
      "Num": 1,
      "Rate": 3000,
      "RareItemFlag": false
    },
    "RewardItem07": {
      "Category": 1,
      "ItemID": 0,
      "Num": 1,
      "Rate": 700,
      "RareItemFlag": false
    },
    "RewardItem08": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem09": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem10": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem11": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem12": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem13": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem14": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem15": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem16": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem17": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem18": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem19": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem20": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem21": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem22": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem23": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem24": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem25": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem26": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem27": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem28": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    },
    "RewardItem29": {
      "Category": 0,
      "ItemID": 0,
      "Num": 0,
      "Rate": 0,
      "RareItemFlag": false
    }
  },
  {
    "TableName": 16164448039046184704,
    "RewardItem00": {
      "Category": 0,
      "ItemID": 1124,
      "Num": 1,
      "Rate": 2200,
      "RareItemFlag": false
    },
    "RewardItem01": {
      "Category": 0,
      "ItemID": 1125,
      "Num": 1,
      "Rate": 850,
      "RareItemFlag": false
    },
Download .txt
gitextract_kdttnkap/

├── .editorconfig
├── .gitattributes
├── .github/
│   ├── ISSUE_TEMPLATE/
│   │   └── bug_report.md
│   ├── dependabot.yml
│   └── workflows/
│       └── dotnet-desktop.yml
├── .gitignore
├── Directory.Build.props
├── LICENSE
├── README.md
├── RaidCrawler.Core/
│   ├── Connection/
│   │   └── ConnectionWrapper.cs
│   ├── Discord/
│   │   └── NotificationHandler.cs
│   ├── Extensions/
│   │   ├── EncounterExtensions.cs
│   │   └── RaidExtensions.cs
│   ├── Interfaces/
│   │   ├── IDateAdvanceConfig.cs
│   │   └── IWebhookConfig.cs
│   ├── RaidCrawler.Core.csproj
│   ├── Resources/
│   │   ├── Base/
│   │   │   ├── den_locations_base.json
│   │   │   ├── raid_fixed_reward_item_array.json
│   │   │   └── raid_lottery_reward_item_array.json
│   │   ├── Blueberry/
│   │   │   └── den_locations_blueberry.json
│   │   └── Kitakami/
│   │       └── den_locations_kitakami.json
│   ├── Schemas/
│   │   └── raids.fbs
│   └── Structures/
│       ├── Areas.cs
│       ├── FlatBufferStructures/
│       │   ├── DeliveryRaidFixedRewardItem.cs
│       │   ├── DeliveryRaidLotteryRewardItem.cs
│       │   ├── PokeDataBattle.cs
│       │   ├── RaidBossData.cs
│       │   ├── RaidBossSizeData.cs
│       │   ├── RaidEnemyInfo.cs
│       │   └── RaidSerializationFormat.cs
│       ├── FlatbufferDumper.cs
│       ├── ITeraRaid.cs
│       ├── MapMagic.cs
│       ├── Offsets.cs
│       ├── Raid.cs
│       ├── RaidBlock.cs
│       ├── RaidContainer.cs
│       ├── RaidFilter.cs
│       ├── RaidRewards.cs
│       ├── TeraDistribution.cs
│       ├── TeraEncounter.cs
│       └── Utils.cs
├── RaidCrawler.Tests/
│   ├── Blocks/
│   │   ├── anubis_Might_cleared_VL/
│   │   │   ├── base
│   │   │   ├── fixed_reward_item_array
│   │   │   ├── lottery_reward_item_array
│   │   │   ├── raid_enemy_array
│   │   │   └── raid_priority_array
│   │   ├── buddy_12_Distro_noMight_VL/
│   │   │   ├── base
│   │   │   ├── fixed_reward_item_array
│   │   │   ├── lottery_reward_item_array
│   │   │   ├── raid_enemy_array
│   │   │   └── raid_priority_array
│   │   ├── chaos_12_Distro_noMight_VL/
│   │   │   ├── base
│   │   │   ├── fixed_reward_item_array
│   │   │   ├── lottery_reward_item_array
│   │   │   ├── raid_enemy_array
│   │   │   └── raid_priority_array
│   │   ├── lisa_30_449_Gentle_21_31_25_21_8_31_SL/
│   │   │   ├── base
│   │   │   ├── fixed_reward_item_array
│   │   │   ├── lottery_reward_item_array
│   │   │   ├── raid_enemy_array
│   │   │   └── raid_priority_array
│   │   ├── newt_56_761_Calm_4_7_4_3_31_25_VL/
│   │   │   ├── base
│   │   │   ├── fixed_reward_item_array
│   │   │   ├── lottery_reward_item_array
│   │   │   ├── raid_enemy_array
│   │   │   └── raid_priority_array
│   │   ├── senna_9_132_Modest_31_0_31_31_31_31_SL/
│   │   │   ├── base
│   │   │   ├── fixed_reward_item_array
│   │   │   ├── lottery_reward_item_array
│   │   │   ├── raid_enemy_array
│   │   │   └── raid_priority_array
│   │   └── zyro_Inteleon_IL_VL/
│   │       ├── base
│   │       ├── fixed_reward_item_array
│   │       ├── lottery_reward_item_array
│   │       ├── raid_enemy_array
│   │       └── raid_priority_array
│   ├── FilterTests.cs
│   ├── Filters/
│   │   ├── BounsweetShiny.json
│   │   ├── Ditto0Atk.json
│   │   ├── Ditto0Spe.json
│   │   └── IVControl.json
│   ├── RaidCrawler.Tests.csproj
│   ├── RaidReadTests.cs
│   ├── RaidStatTests.cs
│   └── TestUtil.cs
├── RaidCrawler.WinForms/
│   ├── App.config
│   ├── Config.cs
│   ├── ErrorHandler/
│   │   └── ErrorHandler.cs
│   ├── MainWindow.Designer.cs
│   ├── MainWindow.cs
│   ├── MainWindow.resx
│   ├── Program.cs
│   ├── Properties/
│   │   ├── Resources.Designer.cs
│   │   ├── Resources.resx
│   │   ├── Settings.Designer.cs
│   │   └── Settings.settings
│   ├── RaidCrawler.WinForms.csproj
│   └── SubForms/
│       ├── ConfigWindow.Designer.cs
│       ├── ConfigWindow.cs
│       ├── ConfigWindow.resx
│       ├── EmojiConfig.Designer.cs
│       ├── EmojiConfig.cs
│       ├── EmojiConfig.resx
│       ├── FilterSettings.Designer.cs
│       ├── FilterSettings.cs
│       ├── FilterSettings.resx
│       ├── ItemIDs.Designer.cs
│       ├── ItemIDs.cs
│       ├── ItemIDs.resx
│       ├── MapView.Designer.cs
│       ├── MapView.cs
│       ├── MapView.resx
│       ├── RaidBlockViewer.Designer.cs
│       ├── RaidBlockViewer.cs
│       ├── RaidBlockViewer.resx
│       ├── RewardsView.Designer.cs
│       ├── RewardsView.cs
│       ├── RewardsView.resx
│       ├── TeraRaidView.Designer.cs
│       ├── TeraRaidView.cs
│       ├── TeraRaidView.resx
│       ├── TickModifier.Designer.cs
│       ├── TickModifier.cs
│       ├── TickModifier.resx
│       ├── UpdateNotifPopup.Designer.cs
│       ├── UpdateNotifPopup.cs
│       └── UpdateNotifPopup.resx
└── RaidCrawler.sln
Download .txt
SYMBOL INDEX (348 symbols across 57 files)

FILE: RaidCrawler.Core/Connection/ConnectionWrapper.cs
  class ConnectionWrapperAsync (line 11) | public class ConnectionWrapperAsync(SwitchConnectionConfig Config, Actio...
    method Connect (line 24) | public async Task<(bool, string)> Connect(CancellationToken token)
    method DisconnectAsync (line 47) | public async Task<(bool, string)> DisconnectAsync(CancellationToken to...
    method GetStoryProgress (line 72) | public async Task<int> GetStoryProgress(CancellationToken token)
    method ReadSaveBlock (line 84) | private async Task<byte[]> ReadSaveBlock(uint key, int size, Cancellat...
    method ReadSaveBlockObject (line 98) | private async Task<byte[]> ReadSaveBlockObject(uint key, CancellationT...
    method ReadBlockDefault (line 118) | public async Task<byte[]> ReadBlockDefault(uint key, string? cache, bo...
    method SearchSaveKey (line 132) | private async Task<ulong> SearchSaveKey(uint key, CancellationToken to...
    method DecryptBlock (line 158) | private static byte[] DecryptBlock(uint key, byte[] block)
    method Click (line 166) | private async Task Click(SwitchButton button, int delay, CancellationT...
    method Touch (line 174) | private async Task Touch(int x, int y, int hold, int delay, Cancellati...
    method SetStick (line 183) | private async Task SetStick(
    method PressAndHold (line 202) | private async Task PressAndHold(
    method SkipHour (line 215) | private async Task SkipHour(int hours, int delay, CancellationToken to...
    method ResetTime (line 225) | public async Task ResetTime(CancellationToken token)
    method ResetTimeNTP (line 231) | public async Task ResetTimeNTP(CancellationToken token)
    method GetCurrentTime (line 237) | public async Task<ulong> GetCurrentTime(CancellationToken token)
    method SetCurrentTime (line 245) | public async Task SetCurrentTime(ulong date, CancellationToken token)
    method AdvanceDate (line 252) | public async Task AdvanceDate(
    method CloseGame (line 424) | public async Task CloseGame(CancellationToken token)
    method StartGame (line 435) | public async Task StartGame(IDateAdvanceConfig config, CancellationTok...
    method SaveGame (line 468) | public async Task SaveGame(IDateAdvanceConfig config, CancellationToke...
    method UpdateProgressBar (line 488) | private static void UpdateProgressBar(Action<int>? action, int steps) ...

FILE: RaidCrawler.Core/Discord/NotificationHandler.cs
  class NotificationHandler (line 11) | public class NotificationHandler(IWebhookConfig config)
    method SendNotification (line 16) | public async Task SendNotification(ITeraRaid encounter, Raid raid, Rai...
    method SendErrorNotification (line 29) | public async Task SendErrorNotification(string error, string caption, ...
    method SendScreenshot (line 56) | public async Task SendScreenshot(ISwitchConnectionAsync nx, Cancellati...
    method GenerateWebhook (line 77) | private object GenerateWebhook(ITeraRaid encounter, Raid raid, RaidFil...
    method Difficulty (line 194) | private string Difficulty(byte stars, bool isEvent)
    method GetGlyph (line 200) | private string GetGlyph(byte stars, bool isEvent)
    method GenderEmoji (line 211) | private string GenderEmoji(int genderInt) => genderInt switch
    method GetRewards (line 218) | private string GetRewards(IReadOnlyList<(int, int, int)> rewards)
    method IVsStringEmoji (line 257) | private string IVsStringEmoji(ReadOnlySpan<int> ivs)
    method Shiny (line 317) | private string Shiny(bool shiny, bool square)
    method ToSpeedLast (line 328) | private static int[] ToSpeedLast(ReadOnlySpan<int> ivs)
    method TeraEmoji (line 340) | private string TeraEmoji(string tera) => config.EnableEmoji ? config.E...

FILE: RaidCrawler.Core/Extensions/EncounterExtensions.cs
  class EncounterExtensions (line 5) | public static class EncounterExtensions
    method GetRewards (line 7) | public static List<(int, int, int)> GetRewards(this ITeraRaid encounte...
    method GetParam (line 15) | public static GenerateParam9 GetParam(this ITeraRaid encounter)
    method GetGender (line 33) | private static byte GetGender(ISpeciesForm enc) => enc switch

FILE: RaidCrawler.Core/Extensions/RaidExtensions.cs
  class RaidExtensions (line 6) | public static class RaidExtensions
    method GetTeraEncounter (line 8) | public static ITeraRaid? GetTeraEncounter(this Raid raid, RaidContaine...
    method GetEncounterBase (line 20) | public static ITeraRaid? GetEncounterBase(this Raid raid, RaidContaine...
    method GetEncounterKitakami (line 49) | public static ITeraRaid? GetEncounterKitakami(this Raid raid, RaidCont...
    method GetEncounterBlueberry (line 78) | public static ITeraRaid? GetEncounterBlueberry(this Raid raid, RaidCon...
    method GetDistributionEncounter (line 104) | public static ITeraRaid? GetDistributionEncounter(this Raid raid, Raid...
    method ReadAllRaids (line 158) | public static (int delivery, int encounter) ReadAllRaids(this RaidCont...
    method CheckIsShiny (line 242) | public static bool CheckIsShiny(this Raid raid, ITeraRaid? enc)
    method GetTeraType (line 255) | public static int GetTeraType(this Raid raid, ITeraRaid? encounter)
    method GetStarCount (line 269) | public static int GetStarCount(this Raid _, uint difficulty, int progr...
    method GetStarCount (line 277) | private static int GetStarCount(uint difficulty, int progress) => prog...
    method GetDeliveryGroupID (line 312) | public static int GetDeliveryGroupID(this Raid raid, DeliveryGroupID i...
    method GetRateTotalBaseSL (line 332) | private static short GetRateTotalBaseSL(int star) => star switch
    method GetRateTotalBaseVL (line 343) | private static short GetRateTotalBaseVL(int star) => star switch
    method GetRateTotalKitakamiSL (line 354) | private static short GetRateTotalKitakamiSL(int star) => star switch
    method GetRateTotalKitakamiVL (line 365) | private static short GetRateTotalKitakamiVL(int star) => star switch
    method GetRateTotalBlueberry (line 376) | private static short GetRateTotalBlueberry(int star) => star switch

FILE: RaidCrawler.Core/Interfaces/IDateAdvanceConfig.cs
  type IDateAdvanceConfig (line 3) | public interface IDateAdvanceConfig

FILE: RaidCrawler.Core/Interfaces/IWebhookConfig.cs
  type IWebhookConfig (line 5) | public interface IWebhookConfig

FILE: RaidCrawler.Core/Structures/Areas.cs
  class Areas (line 5) | public static class Areas
    method GetArea (line 60) | public static string GetArea(int index, TeraRaidMapParent type) => typ...

FILE: RaidCrawler.Core/Structures/FlatBufferStructures/DeliveryRaidFixedRewardItem.cs
  class DeliveryRaidFixedRewardItem (line 4) | public partial class DeliveryRaidFixedRewardItem
    method GetReward (line 8) | public RaidFixedRewardItemInfo GetReward(int index) => index switch

FILE: RaidCrawler.Core/Structures/FlatBufferStructures/DeliveryRaidLotteryRewardItem.cs
  class DeliveryRaidLotteryRewardItem (line 4) | public partial class DeliveryRaidLotteryRewardItem
    method GetRewardItem (line 9) | public RaidLotteryRewardItemInfo GetRewardItem(int index) => index switch

FILE: RaidCrawler.Core/Structures/FlatBufferStructures/PokeDataBattle.cs
  class PokeDataBattle (line 6) | public partial class PokeDataBattle
    method SerializePKHeX (line 8) | public void SerializePKHeX(BinaryWriter bw, sbyte captureLv, RaidSeria...
    method AssertRegularFormat (line 44) | private void AssertRegularFormat()

FILE: RaidCrawler.Core/Structures/FlatBufferStructures/RaidBossData.cs
  class RaidBossData (line 4) | public partial class RaidBossData
    method SerializePKHeX (line 6) | public void SerializePKHeX(BinaryWriter bw)

FILE: RaidCrawler.Core/Structures/FlatBufferStructures/RaidBossSizeData.cs
  class RaidBossSizeData (line 4) | public partial class RaidBossSizeData
    method SerializePKHeX (line 6) | public void SerializePKHeX()

FILE: RaidCrawler.Core/Structures/FlatBufferStructures/RaidEnemyInfo.cs
  class RaidEnemyInfo (line 4) | public partial class RaidEnemyInfo
    method SerializePKHeX (line 6) | public void SerializePKHeX(
    method SerializeDistribution (line 22) | public void SerializeDistribution(BinaryWriter bw)
    method SerializeMight (line 40) | public void SerializeMight(BinaryWriter bw)

FILE: RaidCrawler.Core/Structures/FlatBufferStructures/RaidSerializationFormat.cs
  type RaidSerializationFormat (line 3) | public enum RaidSerializationFormat

FILE: RaidCrawler.Core/Structures/FlatbufferDumper.cs
  class FlatbufferDumper (line 7) | public static class FlatbufferDumper
    method DumpBaseROMRaids (line 9) | public static byte[][] DumpBaseROMRaids(ReadOnlySpan<string> paths)
    method DumpDistributionRaids (line 77) | public static byte[][] DumpDistributionRaids(ReadOnlyMemory<byte> enco...
    method DumpLotteryRewards (line 120) | public static List<DeliveryRaidLotteryRewardItem> DumpLotteryRewards(R...
    method DumpFixedRewards (line 126) | public static List<DeliveryRaidFixedRewardItem> DumpFixedRewards(ReadO...
    method DumpDeliveryPriorities (line 132) | public static (DeliveryGroupID, int) DumpDeliveryPriorities(ReadOnlyMe...
    method AddToList (line 154) | private static void AddToList(IReadOnlyCollection<DeliveryRaidEnemyTab...
    method TryAddToPickle (line 203) | private static void TryAddToPickle(RaidEnemyInfo enc, ICollection<byte...
    type RaidStorage (line 242) | private record RaidStorage(RaidEnemyTable Enemy, int File)

FILE: RaidCrawler.Core/Structures/ITeraRaid.cs
  type ITeraRaid (line 5) | public interface ITeraRaid : ISpeciesForm

FILE: RaidCrawler.Core/Structures/MapMagic.cs
  class MapMagic (line 5) | public class MapMagic
    method ConvertWidth (line 10) | public double ConvertWidth(double s) => (512 / ScaleX) * s;
    method ConvertHeight (line 11) | public double ConvertHeight(double s) => (512 / ScaleZ) * s;
    method ConvertX (line 12) | public double ConvertX(double x) => (512 / ScaleX) * x;
    method ConvertZ (line 13) | public double ConvertZ(double z) => (512 / ScaleZ) * (z + OffsetZ);
    method GetMapMagic (line 15) | public static MapMagic GetMapMagic(TeraRaidMapParent parent) => parent...

FILE: RaidCrawler.Core/Structures/Offsets.cs
  class Offsets (line 3) | public abstract class Offsets

FILE: RaidCrawler.Core/Structures/Raid.cs
  class Raid (line 9) | public class Raid(Span<byte> Data, TeraRaidMapParent MapParent = TeraRai...
    method GetData (line 35) | public byte[] GetData()  => Data;
    method Validate (line 37) | private bool Validate()
    method IsValidMap (line 48) | private bool IsValidMap()
    method GetTeraType (line 59) | private static int GetTeraType(uint Seed)
    method GenerateGenericRaidData (line 65) | private static uint[] GenerateGenericRaidData(uint Seed)
    method GetDifficulty (line 76) | private static uint GetDifficulty(uint Seed)
    method GenerateDataPK9 (line 82) | public void GenerateDataPK9(PK9 pk, GenerateParam9 param, Shiny isShin...

FILE: RaidCrawler.Core/Structures/RaidBlock.cs
  class RaidBlock (line 3) | public static class RaidBlock

FILE: RaidCrawler.Core/Structures/RaidContainer.cs
  type RaidContainer (line 7) | public record RaidContainer

FILE: RaidCrawler.Core/Structures/RaidFilter.cs
  class RaidFilter (line 6) | public class RaidFilter
    method IsFilterSet (line 28) | public bool IsFilterSet() => Species != null
    method IsSpeciesSatisfied (line 41) | public bool IsSpeciesSatisfied(ushort species)
    method IsFormSatisfied (line 49) | public bool IsFormSatisfied(byte form)
    method IsStarsSatisfied (line 57) | public bool IsStarsSatisfied(ITeraRaid enc)
    method IsRewardsSatisfied (line 73) | public bool IsRewardsSatisfied(RaidContainer container, ITeraRaid enc,...
    method IsShinySatisfied (line 91) | public bool IsShinySatisfied(PK9 blank)
    method IsSquareSatisfied (line 99) | public bool IsSquareSatisfied(PK9 blank)
    method IsRareECSatisfied (line 107) | public bool IsRareECSatisfied(PK9 blank)
    method IsTeraTypeSatisfied (line 115) | public bool IsTeraTypeSatisfied(Raid raid, ITeraRaid enc)
    method IsNatureSatisfied (line 123) | public bool IsNatureSatisfied(int nature)
    method IsIVsSatisfied (line 131) | public bool IsIVsSatisfied(PK9 blank)
    method IsValidIV (line 152) | private static bool IsValidIV(int ivcomp, ReadOnlySpan<int> ivs, int i...
    method IsGenderSatisfied (line 162) | public bool IsGenderSatisfied(ITeraRaid encounter, int gender)
    method IsBatchFilterSatisfied (line 170) | public bool IsBatchFilterSatisfied(PK9 blank)
    method FilterSatisfied (line 183) | public bool FilterSatisfied(
    method FilterSatisfied (line 210) | public bool FilterSatisfied(

FILE: RaidCrawler.Core/Structures/RaidRewards.cs
  class Rewards (line 8) | public static class Rewards
    method GetRewardCount (line 56) | public static int GetRewardCount(int random, int stars) => random switch
    method ReorderRewards (line 65) | public static List<(int, int, int)> ReorderRewards(List<(int, int, int...
    method IsTM (line 80) | public static bool IsTM(int item) => item switch
    method GetNameTM (line 89) | public static string GetNameTM(int item, IReadOnlyList<string> items, ...
    method GetTeraShard (line 97) | public static int GetTeraShard(int type) => (MoveType)type switch
    method GetMaterial (line 120) | public static int GetMaterial(int species) => (Species)species switch
  class RaidFixedRewards (line 366) | public class RaidFixedRewards
    method GetReward (line 387) | public RaidFixedRewardItemInfo? GetReward(int index) => index switch
  class RaidLotteryRewards (line 408) | public class RaidLotteryRewards
    method GetRewardItem (line 445) | public RaidLotteryRewardItemInfo? GetRewardItem(int index) => index sw...
  class RaidLotteryRewardItemInfo (line 481) | [JsonSerializable(typeof(RaidLotteryRewardItemInfo))]
  class RaidFixedRewardItemInfo (line 501) | [JsonSerializable(typeof(RaidFixedRewardItemInfo))]

FILE: RaidCrawler.Core/Structures/TeraDistribution.cs
  class TeraDistribution (line 8) | public class TeraDistribution : ITeraRaid
    method AvailableInGame (line 33) | public static bool AvailableInGame(ITeraRaid9 enc, string game) => enc...
    method TeraDistribution (line 50) | public TeraDistribution(EncounterDist9 enc, ulong fixedRewards, ulong ...
    method GetAllEncounters (line 64) | public static TeraDistribution[] GetAllEncounters(ReadOnlyMemory<byte>...
    method GetRewardTables (line 82) | public static (ulong, ulong)[] GetRewardTables(ReadOnlySpan<byte> rewa...
    method GetExtraMoves (line 95) | public static ushort[] GetExtraMoves(ReadOnlySpan<byte> extra)
    method GetRewards (line 103) | public static List<(int, int, int)> GetRewards(
    method GetActualItemID (line 169) | private static int GetActualItemID(ISpeciesForm enc, int teraType, pkN...
  class TeraMight (line 179) | public class TeraMight : ITeraRaid
    method AvailableInGame (line 204) | public static bool AvailableInGame(ITeraRaid9 enc, string game) => enc...
    method TeraMight (line 221) | public TeraMight(EncounterMight9 enc, ulong fixedRewards, ulong lotter...
    method GetAllEncounters (line 235) | public static TeraMight[] GetAllEncounters(ReadOnlyMemory<byte> encoun...
    method GetRewardTables (line 253) | public static (ulong, ulong)[] GetRewardTables(ReadOnlySpan<byte> rewa...
    method GetExtraMoves (line 266) | public static ushort[] GetExtraMoves(ReadOnlySpan<byte> extra)
    method GetRewards (line 274) | public static List<(int, int, int)> GetRewards(TeraMight enc, uint see...
    method GetActualItemID (line 332) | private static int GetActualItemID(ISpeciesForm enc, int teraType, pkN...

FILE: RaidCrawler.Core/Structures/TeraEncounter.cs
  class TeraEncounter (line 7) | public class TeraEncounter : ITeraRaid
    method TeraEncounter (line 28) | public TeraEncounter(
    method GetAllEncounters (line 46) | public static TeraEncounter[] GetAllEncounters(string[] resources, Ter...
    method GetRewards (line 63) | public static List<(int, int, int)> GetRewards(TeraEncounter enc, uint...

FILE: RaidCrawler.Core/Structures/Utils.cs
  class Utils (line 7) | public static class Utils
    method Utils (line 12) | static Utils()
    method BuildLookup (line 18) | private static Dictionary<string, string> BuildLookup(IReadOnlyCollect...
    method GetFileName (line 29) | private static string GetFileName(string resName)
    method GetBinaryResource (line 41) | public static byte[] GetBinaryResource(string name)
    method GetStringResource (line 55) | public static string? GetStringResource(string name)
    method GetLatestVersion (line 68) | public static Version? GetLatestVersion()
    method GetFormString (line 92) | public static string GetFormString(ushort species, byte form, GameStri...
    method ToSpeedLast (line 100) | public static int[] ToSpeedLast(ReadOnlySpan<int> ivs) => [ivs[0], ivs...

FILE: RaidCrawler.Tests/FilterTests.cs
  class FilterTests (line 7) | public class FilterTests : TestUtil
    method FilterTest (line 20) | [Theory]

FILE: RaidCrawler.Tests/RaidReadTests.cs
  class RaidReadTests (line 7) | public class RaidReadTests : TestUtil
    method RaidReadTest (line 14) | [Theory]

FILE: RaidCrawler.Tests/RaidStatTests.cs
  class RaidStatTests (line 10) | public class RaidStatTests : TestUtil
    method StatsCorrect (line 16) | [Theory]

FILE: RaidCrawler.Tests/TestUtil.cs
  class TestUtil (line 7) | public class TestUtil
    method TestUtil (line 11) | public TestUtil()
    method GetGame (line 16) | private static string GetGame(string resource) =>
    method GetTestResourceName (line 19) | private static string GetTestResourceName(string name, string resource...
    method GetBinaryTestResource (line 22) | private byte[] GetBinaryTestResource(string name)
    method GetStringTestResource (line 29) | private string GetStringTestResource(string name)
    method GetRaidContainer (line 36) | public ((int delivery, int enc), RaidContainer?) GetRaidContainer(stri...
    method GetRaidFilter (line 78) | public IReadOnlyList<RaidFilter> GetRaidFilter(string path)

FILE: RaidCrawler.WinForms/Config.cs
  class ClientConfig (line 6) | public class ClientConfig : IDateAdvanceConfig, IWebhookConfig

FILE: RaidCrawler.WinForms/ErrorHandler/ErrorHandler.cs
  class ErrorHandler (line 5) | public static class ErrorHandler
    method DisplayMessageBox (line 7) | public static async Task DisplayMessageBox(this Form form, Notificatio...

FILE: RaidCrawler.WinForms/MainWindow.Designer.cs
  class MainWindow (line 3) | partial class MainWindow
    method Dispose (line 14) | protected override void Dispose(bool disposing)
    method InitializeComponent (line 29) | private void InitializeComponent()

FILE: RaidCrawler.WinForms/MainWindow.cs
  class MainWindow (line 15) | public partial class MainWindow : Form
    method MainWindow (line 67) | public MainWindow()
    method UpdateStatus (line 144) | private void UpdateStatus(string status)
    method ButtonEnable (line 149) | private void ButtonEnable(bool enable, params object[] obj)
    method ShowDialog (line 168) | private void ShowDialog(object obj)
    method GetRaidBoost (line 181) | private int GetRaidBoost()
    method GetStatDaySkipTries (line 188) | public int GetStatDaySkipTries() => StatDaySkipTries;
    method GetStatDaySkipSuccess (line 190) | public int GetStatDaySkipSuccess() => StatDaySkipSuccess;
    method MainWindow_Load (line 192) | private void MainWindow_Load(object sender, EventArgs e)
    method InputSwitchIP_Changed (line 203) | private void InputSwitchIP_Changed(object sender, EventArgs e)
    method USB_Port_Changed (line 210) | private void USB_Port_Changed(object sender, EventArgs e)
    method ButtonConnect_Click (line 226) | private void ButtonConnect_Click(object sender, EventArgs e)
    method Connect (line 238) | private void Connect(CancellationToken token)
    method Disconnect_Click (line 366) | private void Disconnect_Click(object sender, EventArgs e)
    method Disconnect (line 377) | private void Disconnect(CancellationToken token)
    method ButtonPrevious_Click (line 409) | private void ButtonPrevious_Click(object sender, EventArgs e)
    method ButtonNext_Click (line 442) | private void ButtonNext_Click(object sender, EventArgs e)
    method ButtonAdvanceDate_Click (line 464) | private void ButtonAdvanceDate_Click(object sender, EventArgs e)
    method AdvanceDateClick (line 474) | private async Task AdvanceDateClick(CancellationToken token)
    method StopAdvanceButton_Click (line 645) | private void StopAdvanceButton_Click(object sender, EventArgs e)
    method ButtonReadRaids_Click (line 657) | private void ButtonReadRaids_Click(object sender, EventArgs e)
    method ReadRaidsAsync (line 662) | private async Task ReadRaidsAsync(CancellationToken token)
    method ViewRAM_Click (line 693) | private void ViewRAM_Click(object sender, EventArgs e)
    method StopFilter_Click (line 740) | private void StopFilter_Click(object sender, EventArgs e)
    method DownloadEvents_Click (line 746) | private void DownloadEvents_Click(object sender, EventArgs e)
    method DownloadEventsAsync (line 760) | private async Task DownloadEventsAsync(CancellationToken token)
    method Seed_Click (line 783) | private void Seed_Click(object sender, EventArgs e)
    method ConfigSettings_Click (line 798) | private void ConfigSettings_Click(object sender, EventArgs e)
    method EnableFilters_Click (line 804) | private void EnableFilters_Click(object sender, EventArgs e)
    method MainWindow_FormClosing (line 810) | private void MainWindow_FormClosing(object sender, FormClosingEventArg...
    method ReadEventRaids (line 835) | private async Task ReadEventRaids(CancellationToken token, bool force ...
    method DisplayRaid (line 909) | private void DisplayRaid()
    method GetDisplayGemImage (line 996) | private static Image? GetDisplayGemImage(int teratype, Raid raid)
    method DisplayPrettyRaid (line 1053) | private void DisplayPrettyRaid()
    method GetPIDString (line 1309) | private string GetPIDString(Raid raid, ITeraRaid? enc)
    method IVsString (line 1319) | private static string IVsString(ReadOnlySpan<int> ivs, bool verbose = ...
    method ApplyTeraColor (line 1332) | private static Image ApplyTeraColor(byte elementalType, Image img, Spr...
    method ApplyColor (line 1341) | private static Image ApplyColor(Image img, SpriteBackgroundType type, ...
    method GenerateMap (line 1364) | private static Bitmap? GenerateMap(Raid raid, int teratype)
    method GetCoordinate (line 1403) | private static (double x, double y) GetCoordinate(Raid raid, IReadOnly...
    method StopAdvanceDate (line 1412) | private bool StopAdvanceDate(IEnumerable<uint> previousSeeds)
    method ReadRaids (line 1437) | private async Task ReadRaids(CancellationToken token)
    method Game_SelectedIndexChanged (line 1595) | public void Game_SelectedIndexChanged(string name)
    method Protocol_SelectedIndexChanged (line 1603) | public void Protocol_SelectedIndexChanged(SwitchProtocol protocol)
    method DisplayMap (line 1625) | private void DisplayMap(object sender, EventArgs e)
    method Rewards_Click (line 1648) | private void Rewards_Click(object sender, EventArgs e)
    method RaidBoost_SelectedIndexChanged (line 1667) | private void RaidBoost_SelectedIndexChanged(object sender, EventArgs e)
    method Move_Clicked (line 1683) | private void Move_Clicked(object sender, EventArgs e)
    method ComboIndex_SelectedIndexChanged (line 1718) | private void ComboIndex_SelectedIndexChanged(object sender, EventArgs e)
    method SendScreenshot_Click (line 1728) | private void SendScreenshot_Click(object sender, EventArgs e)
    method SearchTimer_Elapsed (line 1745) | private void SearchTimer_Elapsed(object sender, EventArgs e)
    method TestWebhook (line 1758) | public void TestWebhook() => Task.Run(async () => await TestWebhookAsy...
    method TestWebhookAsync (line 1760) | private async Task TestWebhookAsync(CancellationToken token)
    method ToggleStreamerView (line 1793) | public void ToggleStreamerView()
    method GetSpriteNameForUrl (line 1807) | private static string GetSpriteNameForUrl(PK9 pk, bool shiny)
    method B_DateTools_Click (line 1814) | private void B_DateTools_Click(object sender, EventArgs e)
    method CheckForUpdates (line 1832) | private void CheckForUpdates()
    method NotifyNewVersionAvailable (line 1853) | private void NotifyNewVersionAvailable(Version version)

FILE: RaidCrawler.WinForms/Program.cs
  class Program (line 3) | internal static class Program
    method Main (line 8) | [STAThread]

FILE: RaidCrawler.WinForms/Properties/Resources.Designer.cs
  class Resources (line 22) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resource...
    method Resources (line 31) | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Mic...

FILE: RaidCrawler.WinForms/Properties/Settings.Designer.cs
  class Settings (line 14) | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]

FILE: RaidCrawler.WinForms/SubForms/ConfigWindow.Designer.cs
  class ConfigWindow (line 5) | partial class ConfigWindow
    method Dispose (line 16) | protected override void Dispose(bool disposing)
    method InitializeComponent (line 31) | private void InitializeComponent()

FILE: RaidCrawler.WinForms/SubForms/ConfigWindow.cs
  class ConfigWindow (line 5) | public partial class ConfigWindow : Form
    method ConfigWindow (line 9) | public ConfigWindow(ClientConfig c)
    method EnableAlert_CheckedChanged (line 90) | private void EnableAlert_CheckedChanged(object sender, EventArgs e)
    method EnableDiscordNotifications_Click (line 95) | private void EnableDiscordNotifications_Click(object sender, EventArgs e)
    method Config_Closing (line 103) | private void Config_Closing(object sender, EventArgs e)
    method UseOvershoot_CheckedChanged (line 162) | private void UseOvershoot_CheckedChanged(object sender, EventArgs e)
    method UseSetStick_CheckedChanged (line 168) | private void UseSetStick_CheckedChanged(object sender, EventArgs e)
    method SaveGame_CheckedChanged (line 173) | private void SaveGame_CheckedChanged(object sender, EventArgs e)
    method BtnTestWebHook_Click (line 178) | private void BtnTestWebHook_Click(object sender, EventArgs e)
    method LinkLabel1_LinkClicked (line 191) | private void LinkLabel1_LinkClicked(object sender, LinkLabelLinkClicke...
    method Game_SelectedIndexChanged (line 201) | private void Game_SelectedIndexChanged(object sender, EventArgs e)
    method EmojiConfig_Click (line 208) | private void EmojiConfig_Click(object sender, EventArgs e)
    method Protocol_Changed (line 215) | private void Protocol_Changed(object sender, EventArgs e)
    method StreamerView_Clicked (line 222) | private void StreamerView_Clicked(object sender, EventArgs e)

FILE: RaidCrawler.WinForms/SubForms/EmojiConfig.Designer.cs
  class EmojiConfig (line 3) | partial class EmojiConfig
    method Dispose (line 14) | protected override void Dispose(bool disposing)
    method InitializeComponent (line 29) | private void InitializeComponent()

FILE: RaidCrawler.WinForms/SubForms/EmojiConfig.cs
  class EmojiConfig (line 5) | public partial class EmojiConfig : Form
    method EmojiConfig (line 9) | public EmojiConfig(ClientConfig c)
    method EmojiLoad (line 16) | private static DataTable EmojiLoad(Dictionary<string, string> emoji)
    method EmojiGrid_Changed (line 26) | private void EmojiGrid_Changed(object sender, EventArgs e)

FILE: RaidCrawler.WinForms/SubForms/FilterSettings.Designer.cs
  class FilterSettings (line 3) | partial class FilterSettings
    method Dispose (line 14) | protected override void Dispose(bool disposing)
    method InitializeComponent (line 29) | private void InitializeComponent()

FILE: RaidCrawler.WinForms/SubForms/FilterSettings.cs
  class FilterSettings (line 7) | public partial class FilterSettings : Form
    method FilterSettings (line 12) | public FilterSettings(ref List<RaidFilter> filters)
    method ResetActiveFilters (line 40) | public void ResetActiveFilters()
    method SelectFilter (line 56) | public void SelectFilter(RaidFilter filter)
    method Add_Filter_Click (line 135) | private void Add_Filter_Click(object sender, EventArgs e)
    method ToInt (line 212) | private static int ToInt(bool b) => b ? 1 : 0;
    method SpeciesCheck_CheckedChanged (line 214) | private void SpeciesCheck_CheckedChanged(object sender, EventArgs e)
    method FormCheck_CheckedChanged (line 219) | private void FormCheck_CheckedChanged(object sender, EventArgs e)
    method NatureCheck_CheckedChanged (line 224) | private void NatureCheck_CheckedChanged(object sender, EventArgs e)
    method StarCheck_CheckedChanged (line 229) | private void StarCheck_CheckedChanged(object sender, EventArgs e)
    method TeraCheck_CheckedChanged (line 235) | private void TeraCheck_CheckedChanged(object sender, EventArgs e)
    method GenderCheck_CheckedChanged (line 240) | private void GenderCheck_CheckedChanged(object sender, EventArgs e)
    method HP_CheckedChanged (line 245) | private void HP_CheckedChanged(object sender, EventArgs e)
    method Atk_CheckedChanged (line 251) | private void Atk_CheckedChanged(object sender, EventArgs e)
    method Def_CheckedChanged (line 257) | private void Def_CheckedChanged(object sender, EventArgs e)
    method SpA_CheckedChanged (line 263) | private void SpA_CheckedChanged(object sender, EventArgs e)
    method SpD_CheckedChanged (line 269) | private void SpD_CheckedChanged(object sender, EventArgs e)
    method Spe_CheckedChanged (line 275) | private void Spe_CheckedChanged(object sender, EventArgs e)
    method FilterSettings_FormClosing (line 281) | private void FilterSettings_FormClosing(object sender, EventArgs e)
    method Remove_Click (line 293) | private void Remove_Click(object sender, EventArgs e)
    method ActiveFilters_SelectedIndexChanged (line 303) | private void ActiveFilters_SelectedIndexChanged(object sender, EventAr...
    method ActiveFilters_ItemCheck (line 311) | private void ActiveFilters_ItemCheck(object sender, ItemCheckEventArgs e)
    method FilterName_TextChanged (line 316) | private void FilterName_TextChanged(object sender, EventArgs e)
    method CheckRewards_CheckedChanged (line 324) | private void CheckRewards_CheckedChanged(object sender, EventArgs e)
    method ButtonOpenRewardsList_Click (line 332) | private void ButtonOpenRewardsList_Click(object sender, EventArgs e)
    method ActiveFilters_DrawItem (line 359) | private void ActiveFilters_DrawItem(object sender, DrawItemEventArgs e)
    method ShinyCheck_CheckedChanged (line 380) | private void ShinyCheck_CheckedChanged(object sender, EventArgs e)

FILE: RaidCrawler.WinForms/SubForms/ItemIDs.Designer.cs
  class ItemIDs (line 3) | partial class ItemIDs
    method Dispose (line 14) | protected override void Dispose(bool disposing)
    method InitializeComponent (line 29) | private void InitializeComponent()

FILE: RaidCrawler.WinForms/SubForms/ItemIDs.cs
  class ItemIDs (line 3) | public partial class ItemIDs : Form
    method ItemIDs (line 5) | public ItemIDs(List<int> IDs)

FILE: RaidCrawler.WinForms/SubForms/MapView.Designer.cs
  class MapView (line 3) | partial class MapView
    method Dispose (line 14) | protected override void Dispose(bool disposing)
    method InitializeComponent (line 29) | private void InitializeComponent()

FILE: RaidCrawler.WinForms/SubForms/MapView.cs
  class MapView (line 3) | public partial class MapView : Form
    method MapView (line 5) | public MapView(Image map)

FILE: RaidCrawler.WinForms/SubForms/RaidBlockViewer.Designer.cs
  class RaidBlockViewer (line 3) | partial class RaidBlockViewer
    method Dispose (line 14) | protected override void Dispose(bool disposing)
    method InitializeComponent (line 29) | private void InitializeComponent()

FILE: RaidCrawler.WinForms/SubForms/RaidBlockViewer.cs
  class RaidBlockViewer (line 3) | public partial class RaidBlockViewer : Form
    method RaidBlockViewer (line 5) | public RaidBlockViewer(byte[] data, ulong offset)

FILE: RaidCrawler.WinForms/SubForms/RewardsView.Designer.cs
  class RewardsView (line 3) | partial class RewardsView
    method Dispose (line 14) | protected override void Dispose(bool disposing)
    method InitializeComponent (line 29) | private void InitializeComponent()

FILE: RaidCrawler.WinForms/SubForms/RewardsView.cs
  class RewardsView (line 6) | public partial class RewardsView : Form
    method RewardsView (line 8) | public RewardsView(IReadOnlyList<string> itemStrings, IReadOnlyList<st...
    method GetItem (line 57) | private static Image? GetItem(IReadOnlyList<(int, int, int)> rewards, ...
    method GetItemResourceName (line 66) | private static (bool rc, string item) GetItemResourceName(int id) => i...

FILE: RaidCrawler.WinForms/SubForms/TeraRaidView.Designer.cs
  class TeraRaidView (line 3) | partial class TeraRaidView
    method Dispose (line 14) | protected override void Dispose(bool disposing)
    method InitializeComponent (line 29) | private void InitializeComponent()

FILE: RaidCrawler.WinForms/SubForms/TeraRaidView.cs
  class TeraRaidView (line 3) | public partial class TeraRaidView : Form
    method TeraRaidView (line 17) | public TeraRaidView()
    method UpdateProgressBar (line 28) | public void UpdateProgressBar(int steps)
    method ResetProgressBar (line 63) | public void ResetProgressBar()
    method TeraRaidView_MouseDown (line 84) | private void TeraRaidView_MouseDown(object sender, MouseEventArgs e)
    method TeraRaidView_MouseMove (line 90) | private void TeraRaidView_MouseMove(object sender, MouseEventArgs e)
    method Rewards_TextChanged (line 98) | private void Rewards_TextChanged(object sender, EventArgs e)
    method TeraRaidView_MouseUp (line 109) | private void TeraRaidView_MouseUp(object sender, MouseEventArgs e) => ...
    method TeraRaidView_DoubleClick (line 110) | private void TeraRaidView_DoubleClick(object sender, EventArgs e) => C...

FILE: RaidCrawler.WinForms/SubForms/TickModifier.Designer.cs
  class TickModifier (line 3) | partial class TickModifier
    method Dispose (line 14) | protected override void Dispose(bool disposing)
    method InitializeComponent (line 29) | private void InitializeComponent()

FILE: RaidCrawler.WinForms/SubForms/TickModifier.cs
  class TickModifier (line 6) | public partial class TickModifier : Form
    method TickModifier (line 11) | public TickModifier(ulong tick, ConnectionWrapperAsync connectionWrapp...
    method B_Read_Click (line 20) | private async void B_Read_Click(object sender, EventArgs e)
    method B_NTP_Click (line 37) | private async void B_NTP_Click(object sender, EventArgs e)
    method B_Write_Click (line 50) | private async void B_Write_Click(object sender, EventArgs e)

FILE: RaidCrawler.WinForms/SubForms/UpdateNotifPopup.Designer.cs
  class UpdateNotifPopup (line 3) | partial class UpdateNotifPopup
    method Dispose (line 14) | protected override void Dispose(bool disposing)
    method InitializeComponent (line 29) | private void InitializeComponent()

FILE: RaidCrawler.WinForms/SubForms/UpdateNotifPopup.cs
  class UpdateNotifPopup (line 3) | public partial class UpdateNotifPopup : Form
    method UpdateNotifPopup (line 7) | public UpdateNotifPopup(Version currentVersion, Version newVersion)
    method UpdateNotifPopup_Load (line 14) | private void UpdateNotifPopup_Load(object sender, EventArgs e)
Condensed preview — 129 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (1,304K chars).
[
  {
    "path": ".editorconfig",
    "chars": 1110,
    "preview": "root = true\n\n# All Files\n[*]\ncharset = utf-8\nindent_style = space\nindent_size = 4\ninsert_final_newline = true\ntrim_trail"
  },
  {
    "path": ".gitattributes",
    "chars": 2518,
    "preview": "###############################################################################\n# Set default behavior to automatically "
  },
  {
    "path": ".github/ISSUE_TEMPLATE/bug_report.md",
    "chars": 810,
    "preview": "---\nname: Bug report\nabout: Create a report to help us fix incorrect/unexpected behavior or results\ntitle: ''\nlabels: bu"
  },
  {
    "path": ".github/dependabot.yml",
    "chars": 513,
    "preview": "# To get started with Dependabot version updates, you'll need to specify which\n# package ecosystems to update and where "
  },
  {
    "path": ".github/workflows/dotnet-desktop.yml",
    "chars": 898,
    "preview": "name: .NET Core Desktop\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n\n  build:\n\n   "
  },
  {
    "path": ".gitignore",
    "chars": 6223,
    "preview": "## Ignore Visual Studio temporary files, build results, and\n## files generated by popular Visual Studio add-ons.\n##\n## G"
  },
  {
    "path": "Directory.Build.props",
    "chars": 803,
    "preview": "<Project>\n  <PropertyGroup>\n    <TargetFramework>net9.0</TargetFramework>\n    <RuntimeIdentifier>win-x64</RuntimeIdentif"
  },
  {
    "path": "LICENSE",
    "chars": 35149,
    "preview": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
  },
  {
    "path": "README.md",
    "chars": 822,
    "preview": "# RaidCrawler\n![Version](https://img.shields.io/github/v/release/LegoFigure11/RaidCrawler?label=latest%20release)\n![Down"
  },
  {
    "path": "RaidCrawler.Core/Connection/ConnectionWrapper.cs",
    "chars": 18156,
    "preview": "using PKHeX.Core;\nusing RaidCrawler.Core.Interfaces;\nusing RaidCrawler.Core.Structures;\nusing SysBot.Base;\nusing System."
  },
  {
    "path": "RaidCrawler.Core/Discord/NotificationHandler.cs",
    "chars": 13609,
    "preview": "using PKHeX.Core;\nusing RaidCrawler.Core.Interfaces;\nusing RaidCrawler.Core.Structures;\nusing SysBot.Base;\nusing System."
  },
  {
    "path": "RaidCrawler.Core/Extensions/EncounterExtensions.cs",
    "chars": 2074,
    "preview": "using PKHeX.Core;\n\nnamespace RaidCrawler.Core.Structures;\n\npublic static class EncounterExtensions\n{\n    public static L"
  },
  {
    "path": "RaidCrawler.Core/Extensions/RaidExtensions.cs",
    "chars": 12639,
    "preview": "using PKHeX.Core;\nusing pkNX.Structures.FlatBuffers.Gen9;\n\nnamespace RaidCrawler.Core.Structures;\n\npublic static class R"
  },
  {
    "path": "RaidCrawler.Core/Interfaces/IDateAdvanceConfig.cs",
    "chars": 846,
    "preview": "namespace RaidCrawler.Core.Interfaces;\n\npublic interface IDateAdvanceConfig\n{\n    bool UseTouch { get; set; }\n    bool U"
  },
  {
    "path": "RaidCrawler.Core/Interfaces/IWebhookConfig.cs",
    "chars": 491,
    "preview": "using SysBot.Base;\n\nnamespace RaidCrawler.Core.Interfaces;\n\npublic interface IWebhookConfig\n{\n    SwitchProtocol Protoco"
  },
  {
    "path": "RaidCrawler.Core/RaidCrawler.Core.csproj",
    "chars": 4547,
    "preview": "<Project Sdk=\"Microsoft.NET.Sdk\">\n\n  <PropertyGroup>\n    <ImplicitUsings>enable</ImplicitUsings>\n\t<Platforms>x64</Platf"
  },
  {
    "path": "RaidCrawler.Core/Resources/Base/den_locations_base.json",
    "chars": 13969,
    "preview": "{\n  \"1-1-1\": [ 2845.467, 36.614, -1038.485 ],\n  \"1-1-2\": [ 2843.5623, 50.538624, -1155.899 ],\n  \"1-1-3\": [ 2995.64, 50.0"
  },
  {
    "path": "RaidCrawler.Core/Resources/Base/raid_fixed_reward_item_array.json",
    "chars": 61924,
    "preview": "[\n  {\n    \"TableName\": 12665484173717205406,\n    \"RewardItem00\": {\n      \"Category\": 0,\n      \"SubjectType\": 0,\n      \"I"
  },
  {
    "path": "RaidCrawler.Core/Resources/Base/raid_lottery_reward_item_array.json",
    "chars": 147847,
    "preview": "[\n  {\n    \"TableName\": 12665484173717205406,\n    \"RewardItem00\": {\n      \"Category\": 0,\n      \"ItemID\": 1124,\n      \"Num"
  },
  {
    "path": "RaidCrawler.Core/Resources/Blueberry/den_locations_blueberry.json",
    "chars": 11667,
    "preview": "{\n    \"1-1-1\": [ 1419.0885, 148.04196, -392.419 ],\n    \"1-1-2\": [ 1423.5548, 148.04231, -424.686 ],\n    \"1-1-3\": [ 1410."
  },
  {
    "path": "RaidCrawler.Core/Resources/Kitakami/den_locations_kitakami.json",
    "chars": 18991,
    "preview": "{\n  \"1-1-1\": [ 846.22974, 114.42846, -373.968 ],\n  \"1-1-2\": [ 798.17694, 102.75056, -313.234 ],\n  \"1-1-3\": [ 855.7787, 1"
  },
  {
    "path": "RaidCrawler.Core/Schemas/raids.fbs",
    "chars": 6161,
    "preview": "namespace pkNX.Structures.FlatBuffers.Gen9;\nattribute \"fs_vector\";\nattribute \"fs_serializer\";\nattribute \"fs_valueStruct\""
  },
  {
    "path": "RaidCrawler.Core/Structures/Areas.cs",
    "chars": 1721,
    "preview": "using PKHeX.Core;\n\nnamespace RaidCrawler.Core.Structures;\n\npublic static class Areas\n{\n    private static readonly strin"
  },
  {
    "path": "RaidCrawler.Core/Structures/FlatBufferStructures/DeliveryRaidFixedRewardItem.cs",
    "chars": 773,
    "preview": "namespace pkNX.Structures.FlatBuffers.Gen9;\n\n// ReSharper disable once ClassNeverInstantiated.Global\npublic partial clas"
  },
  {
    "path": "RaidCrawler.Core/Structures/FlatBufferStructures/DeliveryRaidLotteryRewardItem.cs",
    "chars": 1245,
    "preview": "namespace pkNX.Structures.FlatBuffers.Gen9;\n\n// ReSharper disable once ClassNeverInstantiated.Global\npublic partial clas"
  },
  {
    "path": "RaidCrawler.Core/Structures/FlatBufferStructures/PokeDataBattle.cs",
    "chars": 2217,
    "preview": "using PKHeX.Core;\n\nnamespace pkNX.Structures.FlatBuffers.Gen9;\n\n// ReSharper disable once ClassNeverInstantiated.Global\n"
  },
  {
    "path": "RaidCrawler.Core/Structures/FlatBufferStructures/RaidBossData.cs",
    "chars": 433,
    "preview": "namespace pkNX.Structures.FlatBuffers.Gen9;\n\n// ReSharper disable once ClassNeverInstantiated.Global\npublic partial clas"
  },
  {
    "path": "RaidCrawler.Core/Structures/FlatBufferStructures/RaidBossSizeData.cs",
    "chars": 447,
    "preview": "namespace pkNX.Structures.FlatBuffers.Gen9;\n\n// ReSharper disable once ClassNeverInstantiated.Global\npublic partial clas"
  },
  {
    "path": "RaidCrawler.Core/Structures/FlatBufferStructures/RaidEnemyInfo.cs",
    "chars": 1917,
    "preview": "namespace pkNX.Structures.FlatBuffers.Gen9;\n\n// ReSharper disable once ClassNeverInstantiated.Global\npublic partial clas"
  },
  {
    "path": "RaidCrawler.Core/Structures/FlatBufferStructures/RaidSerializationFormat.cs",
    "chars": 332,
    "preview": "namespace pkNX.Structures.FlatBuffers.Gen9;\n\npublic enum RaidSerializationFormat\n{\n    /// <summary>\n    /// Base ROM Ra"
  },
  {
    "path": "RaidCrawler.Core/Structures/FlatbufferDumper.cs",
    "chars": 9588,
    "preview": "using FlatSharp;\nusing pkNX.Structures.FlatBuffers.Gen9;\nusing System.Diagnostics;\n\nnamespace RaidCrawler.Core.Structure"
  },
  {
    "path": "RaidCrawler.Core/Structures/ITeraRaid.cs",
    "chars": 440,
    "preview": "using PKHeX.Core;\n\nnamespace RaidCrawler.Core.Structures;\n\npublic interface ITeraRaid : ISpeciesForm\n{\n    ushort[] Extr"
  },
  {
    "path": "RaidCrawler.Core/Structures/MapMagic.cs",
    "chars": 1232,
    "preview": "using PKHeX.Core;\n\nnamespace RaidCrawler.Core.Structures\n{\n    public class MapMagic\n    {\n        private double ScaleX"
  },
  {
    "path": "RaidCrawler.Core/Structures/Offsets.cs",
    "chars": 972,
    "preview": "namespace RaidCrawler.Core.Structures;\n\npublic abstract class Offsets\n{\n    public const string ScarletID = \"0100A3D008C"
  },
  {
    "path": "RaidCrawler.Core/Structures/Raid.cs",
    "chars": 3160,
    "preview": "using PKHeX.Core;\nusing static System.Buffers.Binary.BinaryPrimitives;\n\nnamespace RaidCrawler.Core.Structures;\n\n/// <sum"
  },
  {
    "path": "RaidCrawler.Core/Structures/RaidBlock.cs",
    "chars": 462,
    "preview": "namespace RaidCrawler.Core.Structures;\n\npublic static class RaidBlock\n{\n    public const uint HEADER_SIZE = 0x10;\n\n    p"
  },
  {
    "path": "RaidCrawler.Core/Structures/RaidContainer.cs",
    "chars": 3598,
    "preview": "using PKHeX.Core;\nusing pkNX.Structures.FlatBuffers.Gen9;\nusing System.Text.Json;\n\nnamespace RaidCrawler.Core.Structures"
  },
  {
    "path": "RaidCrawler.Core/Structures/RaidFilter.cs",
    "chars": 6428,
    "preview": "using PKHeX.Core;\nusing System.Diagnostics.Metrics;\n\nnamespace RaidCrawler.Core.Structures;\n\npublic class RaidFilter\n{\n "
  },
  {
    "path": "RaidCrawler.Core/Structures/RaidRewards.cs",
    "chars": 22263,
    "preview": "using FlatSharp.Attributes;\nusing PKHeX.Core;\nusing System.ComponentModel;\nusing System.Text.Json.Serialization;\n\nnamesp"
  },
  {
    "path": "RaidCrawler.Core/Structures/TeraDistribution.cs",
    "chars": 13127,
    "preview": "using PKHeX.Core;\nusing pkNX.Structures.FlatBuffers.Gen9;\nusing System.Diagnostics;\nusing static System.Buffers.Binary.B"
  },
  {
    "path": "RaidCrawler.Core/Structures/TeraEncounter.cs",
    "chars": 4763,
    "preview": "using PKHeX.Core;\nusing pkNX.Structures.FlatBuffers.Gen9;\nusing System.Diagnostics;\n\nnamespace RaidCrawler.Core.Structu"
  },
  {
    "path": "RaidCrawler.Core/Structures/Utils.cs",
    "chars": 3509,
    "preview": "using PKHeX.Core;\nusing System.Numerics;\nusing System.Reflection;\n\nnamespace RaidCrawler.Core.Structures;\n\npublic static"
  },
  {
    "path": "RaidCrawler.Tests/FilterTests.cs",
    "chars": 2215,
    "preview": "using FluentAssertions;\nusing System.ComponentModel;\nusing Xunit;\n\nnamespace RaidCrawler.Tests;\n\npublic class FilterTest"
  },
  {
    "path": "RaidCrawler.Tests/Filters/BounsweetShiny.json",
    "chars": 280,
    "preview": "[{\"Name\":\"BounsweetShiny\",\"Species\":761,\"Form\":null,\"Stars\":null,\"StarsComp\":0,\"Shiny\":true,\"Square\":false,\"Nature\":20,\""
  },
  {
    "path": "RaidCrawler.Tests/Filters/Ditto0Atk.json",
    "chars": 277,
    "preview": "[{\"Name\":\"Ditto0Atk\",\"Species\":132,\"Form\":null,\"Stars\":null,\"StarsComp\":0,\"Shiny\":false,\"Square\":false,\"Nature\":15,\"Tera"
  },
  {
    "path": "RaidCrawler.Tests/Filters/Ditto0Spe.json",
    "chars": 278,
    "preview": "[{\"Name\":\"Ditto0Spe\",\"Species\":null,\"Form\":null,\"Stars\":null,\"StarsComp\":0,\"Shiny\":false,\"Square\":false,\"Nature\":null,\"T"
  },
  {
    "path": "RaidCrawler.Tests/Filters/IVControl.json",
    "chars": 279,
    "preview": "[{\"Name\":\"IVControl\",\"Species\":null,\"Form\":null,\"Stars\":null,\"StarsComp\":0,\"Shiny\":false,\"Square\":false,\"Nature\":null,\"T"
  },
  {
    "path": "RaidCrawler.Tests/RaidCrawler.Tests.csproj",
    "chars": 7501,
    "preview": "<Project Sdk=\"Microsoft.NET.Sdk\">\n\n  <PropertyGroup>\n    <ImplicitUsings>enable</ImplicitUsings>\n    <Nullable>enable</N"
  },
  {
    "path": "RaidCrawler.Tests/RaidReadTests.cs",
    "chars": 1425,
    "preview": "using FluentAssertions;\nusing System.ComponentModel;\nusing Xunit;\n\nnamespace RaidCrawler.Tests;\n\npublic class RaidReadT"
  },
  {
    "path": "RaidCrawler.Tests/RaidStatTests.cs",
    "chars": 2015,
    "preview": "using FluentAssertions;\nusing PKHeX.Core;\nusing RaidCrawler.Core.Structures;\nusing System.ComponentModel;\nusing System.D"
  },
  {
    "path": "RaidCrawler.Tests/TestUtil.cs",
    "chars": 2920,
    "preview": "using RaidCrawler.Core.Structures;\nusing System.Reflection;\nusing System.Text.Json;\n\nnamespace RaidCrawler.Tests;\n\npubl"
  },
  {
    "path": "RaidCrawler.WinForms/App.config",
    "chars": 116,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<configuration>\n    <configSections>\n    </configSections>\n</configuration>"
  },
  {
    "path": "RaidCrawler.WinForms/Config.cs",
    "chars": 5265,
    "preview": "using RaidCrawler.Core.Interfaces;\nusing SysBot.Base;\n\nnamespace RaidCrawler.WinForms;\n\npublic class ClientConfig : IDat"
  },
  {
    "path": "RaidCrawler.WinForms/ErrorHandler/ErrorHandler.cs",
    "chars": 619,
    "preview": "using RaidCrawler.Core.Discord;\n\nnamespace RaidCrawler.WinForms;\n\npublic static class ErrorHandler\n{\n    public static a"
  },
  {
    "path": "RaidCrawler.WinForms/MainWindow.Designer.cs",
    "chars": 34176,
    "preview": "namespace RaidCrawler.WinForms\n{\n    partial class MainWindow\n    {\n        /// <summary>\n        ///  Required designe"
  },
  {
    "path": "RaidCrawler.WinForms/MainWindow.cs",
    "chars": 71306,
    "preview": "using PKHeX.Core;\nusing PKHeX.Drawing;\nusing PKHeX.Drawing.PokeSprite;\nusing RaidCrawler.Core.Connection;\nusing RaidCraw"
  },
  {
    "path": "RaidCrawler.WinForms/MainWindow.resx",
    "chars": 10172,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n  <!--\n    Microsoft ResX Schema \n\n    Version 2.0\n\n    The primary goals"
  },
  {
    "path": "RaidCrawler.WinForms/Program.cs",
    "chars": 468,
    "preview": "namespace RaidCrawler.WinForms;\n\ninternal static class Program\n{\n    /// <summary>\n    ///  The main entry point for the"
  },
  {
    "path": "RaidCrawler.WinForms/Properties/Resources.Designer.cs",
    "chars": 28328,
    "preview": "//------------------------------------------------------------------------------\n// <auto-generated>\n//     This code w"
  },
  {
    "path": "RaidCrawler.WinForms/Properties/Resources.resx",
    "chars": 22734,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n  <!-- \n    Microsoft ResX Schema \n    \n    Version 2.0\n    \n    The prim"
  },
  {
    "path": "RaidCrawler.WinForms/Properties/Settings.Designer.cs",
    "chars": 1073,
    "preview": "//------------------------------------------------------------------------------\n// <auto-generated>\n//     This code w"
  },
  {
    "path": "RaidCrawler.WinForms/Properties/Settings.settings",
    "chars": 194,
    "preview": "<?xml version='1.0' encoding='utf-8'?>\n<SettingsFile xmlns=\"http://schemas.microsoft.com/VisualStudio/2004/01/settings\""
  },
  {
    "path": "RaidCrawler.WinForms/RaidCrawler.WinForms.csproj",
    "chars": 10280,
    "preview": "<Project Sdk=\"Microsoft.NET.Sdk\">\n\n  <PropertyGroup>\n    <OutputType>WinExe</OutputType>\n    <TargetFramework>net10.0-wi"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/ConfigWindow.Designer.cs",
    "chars": 52795,
    "preview": "using SysBot.Base;\n\nnamespace RaidCrawler.WinForms.SubForms\n{\n    partial class ConfigWindow\n    {\n        /// <summary"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/ConfigWindow.cs",
    "chars": 8615,
    "preview": "using System.Text.Json;\n\nnamespace RaidCrawler.WinForms.SubForms;\n\npublic partial class ConfigWindow : Form\n{\n    privat"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/ConfigWindow.resx",
    "chars": 5858,
    "preview": "<root>\n  <xsd:schema id=\"root\" xmlns=\"\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:msdata=\"urn:schemas-microsof"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/EmojiConfig.Designer.cs",
    "chars": 2534,
    "preview": "namespace RaidCrawler.WinForms.SubForms\n{\n    partial class EmojiConfig\n    {\n        /// <summary>\n        /// Require"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/EmojiConfig.cs",
    "chars": 944,
    "preview": "using System.Data;\n\nnamespace RaidCrawler.WinForms.SubForms;\n\npublic partial class EmojiConfig : Form\n{\n    private read"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/EmojiConfig.resx",
    "chars": 2755,
    "preview": "<root>\n  <xsd:schema id=\"root\" xmlns=\"\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:msdata=\"urn:schemas-microsof"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/FilterSettings.Designer.cs",
    "chars": 29507,
    "preview": "namespace RaidCrawler.WinForms.SubForms\n{\n    partial class FilterSettings\n    {\n        /// <summary>\n        /// Requ"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/FilterSettings.cs",
    "chars": 13266,
    "preview": "using PKHeX.Core;\nusing RaidCrawler.Core.Structures;\nusing System.Text.Json;\n\nnamespace RaidCrawler.WinForms.SubForms;\n\n"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/FilterSettings.resx",
    "chars": 3245,
    "preview": "<root>\n  <xsd:schema id=\"root\" xmlns=\"\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:msdata=\"urn:schemas-microsof"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/ItemIDs.Designer.cs",
    "chars": 13685,
    "preview": "namespace RaidCrawler.WinForms.SubForms\n{\n    partial class ItemIDs\n    {\n        /// <summary>\n        /// Required de"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/ItemIDs.cs",
    "chars": 1577,
    "preview": "namespace RaidCrawler.WinForms.SubForms;\n\npublic partial class ItemIDs : Form\n{\n    public ItemIDs(List<int> IDs)\n    {\n"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/ItemIDs.resx",
    "chars": 2755,
    "preview": "<root>\n  <xsd:schema id=\"root\" xmlns=\"\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:msdata=\"urn:schemas-microsof"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/MapView.Designer.cs",
    "chars": 1904,
    "preview": "namespace RaidCrawler.WinForms.SubForms\n{\n    partial class MapView\n    {\n        /// <summary>\n        /// Required de"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/MapView.cs",
    "chars": 180,
    "preview": "namespace RaidCrawler.WinForms.SubForms;\n\npublic partial class MapView : Form\n{\n    public MapView(Image map)\n    {\n   "
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/MapView.resx",
    "chars": 5632,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n  <!--\n    Microsoft ResX Schema \n\n    Version 2.0\n\n    The primary goals"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/RaidBlockViewer.Designer.cs",
    "chars": 4333,
    "preview": "namespace RaidCrawler.WinForms.SubForms\n{\n    partial class RaidBlockViewer\n    {\n        /// <summary>\n        /// Req"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/RaidBlockViewer.cs",
    "chars": 308,
    "preview": "namespace RaidCrawler.WinForms.SubForms;\n\npublic partial class RaidBlockViewer : Form\n{\n    public RaidBlockViewer(byte["
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/RaidBlockViewer.resx",
    "chars": 9410,
    "preview": "<root>\n  <xsd:schema id=\"root\" xmlns=\"\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:msdata=\"urn:schemas-microsof"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/RewardsView.Designer.cs",
    "chars": 1577,
    "preview": "namespace RaidCrawler.WinForms.SubForms\n{\n    partial class RewardsView\n    {\n        /// <summary>\n        /// Require"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/RewardsView.cs",
    "chars": 3008,
    "preview": "using PKHeX.Drawing;\nusing RaidCrawler.Core.Structures;\n\nnamespace RaidCrawler.WinForms.SubForms;\n\npublic partial class "
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/RewardsView.resx",
    "chars": 2755,
    "preview": "<root>\n  <xsd:schema id=\"root\" xmlns=\"\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:msdata=\"urn:schemas-microsof"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/TeraRaidView.Designer.cs",
    "chars": 41964,
    "preview": "namespace RaidCrawler.WinForms.SubForms\n{\n    partial class TeraRaidView\n    {\n        /// <summary>\n        /// Requir"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/TeraRaidView.cs",
    "chars": 3175,
    "preview": "namespace RaidCrawler.WinForms.SubForms;\n\npublic partial class TeraRaidView : Form\n{\n    private readonly object _lock ="
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/TeraRaidView.resx",
    "chars": 358909,
    "preview": "<root>\n  <xsd:schema id=\"root\" xmlns=\"\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:msdata=\"urn:schemas-microsof"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/TickModifier.Designer.cs",
    "chars": 3753,
    "preview": "namespace RaidCrawler.WinForms.SubForms\n{\n    partial class TickModifier\n    {\n        /// <summary>\n        /// Requir"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/TickModifier.cs",
    "chars": 2474,
    "preview": "using RaidCrawler.Core.Connection;\nusing RaidCrawler.Core.Discord;\n\nnamespace RaidCrawler.WinForms.SubForms\n{\n    public"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/TickModifier.resx",
    "chars": 5632,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n  <!--\n    Microsoft ResX Schema \n\n    Version 2.0\n\n    The primary goals"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/UpdateNotifPopup.Designer.cs",
    "chars": 3721,
    "preview": "namespace RaidCrawler.WinForms.SubForms\n{\n    partial class UpdateNotifPopup\n    {\n        /// <summary>\n        /// Req"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/UpdateNotifPopup.cs",
    "chars": 555,
    "preview": "namespace RaidCrawler.WinForms.SubForms;\n\npublic partial class UpdateNotifPopup : Form\n{\n    private Version cv;\n    pri"
  },
  {
    "path": "RaidCrawler.WinForms/SubForms/UpdateNotifPopup.resx",
    "chars": 5626,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n  <!--\n    Microsoft ResX Schema\n\n    Version 2.0\n\n    The primary goals o"
  },
  {
    "path": "RaidCrawler.sln",
    "chars": 3362,
    "preview": "\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio Version 17\nVisualStudioVersion = 17.3.3281"
  }
]

// ... and 35 more files (download for full content)

About this extraction

This page contains the full source code of the LegoFigure11/RaidCrawler GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 129 files (1.2 MB), approximately 476.0k tokens, and a symbol index with 348 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!