-
Notifications
You must be signed in to change notification settings - Fork 5
/
armor.h
51 lines (43 loc) · 1.39 KB
/
armor.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef ARMOR_H
#define ARMOR_H
using namespace std;
#include <regex>
#include <string>
#include <vector>
#include <fstream>
#include <iostream>
#include "PCH.h"
#include "utility.h"
#include "dirent.h"
namespace ARMOR {
struct patch_instruction_armor
{
std::vector<std::string> object;
std::vector<std::string> objectExcluded;
std::vector<std::string> keywords;
std::vector<std::string> keywordsOr;
std::vector<std::string> keywordsExcluded;
std::vector<std::string> damageTypes;
std::vector<float> values1;
std::vector<float> values2;
std::string damageResist;
std::string damageResistMult;
std::string weight;
std::string health;
std::string objectEffect;
std::vector<std::string> setBipedSlot;
std::vector<std::string> removeBipedSlot;
std::vector<std::string> bipedSlot;
std::vector<std::string> bipedSlotOr;
std::vector<std::string> bipedSlotExcluded;
std::vector<std::string> keywordsToAdd;
std::vector<std::string> keywordsToRemove;
std::vector<std::string> attachParentSlotKeywordsToAdd;
std::vector<std::string> attachParentSlotKeywordsToRemove;
std::string fullName;
};
struct patch_instruction_armor create_patch_instruction_armor(const std::string& line);
void process_patch_instructions_armor(const std::list<patch_instruction_armor>& tokens);
void* readConfig(const std::string& folder);
}
#endif // PATCH_INSTRUCTION_ARMOR_H