-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathLoadedData.h
33 lines (24 loc) · 935 Bytes
/
LoadedData.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#pragma once
#include <vcclr.h>
#include "Armor.h"
#include "Decoration.h"
#include "Solution.h"
ref struct SkillTag
{
System::String^ name;
SkillTag( System::String^ s );
static List_t< SkillTag^ > tags;
static SkillTag^ FindTag( System::String^ tag );
static void Load( System::String^ filename );
static void LoadLanguage( System::String^ filename );
};
void AddToList( List_t< Charm^ >^ list, Charm^ charm, List_t< Ability^ >^ rel_abilities, List_t< Charm^ >^ inf_charms, const bool adv );
void AddToList( List_t< Armor^ >^ list, Armor^ armor, List_t< Ability^ >^ rel_abilities, List_t< Armor^ >^ inf_armors, const bool adv );
ref class LoadedData
{
public:
Skill^ FindSkill( const unsigned skill );
void LoadDataFiles();
void GetRelevantData( Query^ query );
void GetRelevantArmors( Query^ query, List_t< Armor^ >^ rel_armor, List_t< Armor^ >^ list, List_t< Armor^ >^ inf_armor, const bool check_disabled );
};