forked from AthenaADP/MHGU-ASS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Decoration.h
34 lines (27 loc) · 1.28 KB
/
Decoration.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
34
#pragma once
#include "Common.h"
#include "Skill.h"
ref struct Query;
ref struct Decoration : public AdvancedSearchOptions
{
System::String^ name;
System::String^ jap_name;
System::String^ eng_name;
unsigned hr, elder_star, slots_required, rarity, difficulty, index, ping_index;
bool is_event, hr_or;
List_t< AbilityPair^ > abilities;
List_t< MaterialComponent^ > components, components2;
bool IsBetterThan( Decoration^ other, List_t< Ability^ >^ rel_abilities );
int GetSkillAt( Ability^ ability );
bool MatchesQuery( Query^ query );
static void Load( System::String^ filename );
static void LoadLanguage( System::String^ filename );
static List_t< Decoration^ > static_decorations;
static Map_t< Ability^, List_t< Decoration^ >^ > static_decoration_ability_map;
static Map_t< System::String^, Decoration^ > static_decoration_map;
static Decoration^ FindDecoration( System::String^ name );
static Decoration^ FindDecorationFromString( System::String^ line );
static Decoration^ GetBestDecoration( Ability^ ability, const unsigned max_slots, List_t< List_t< Decoration^ >^ >% rel_deco_map );
static Decoration^ GetBestDecoration( Ability^ ability, const unsigned max_slots, const unsigned hr, const unsigned elder_star );
static void RecheckEfficientDecorations( Query^ query );
};