text
stringlengths
8
6.88M
#include "skipUicGen.hpp" #include "ui_uigen2.h" void skipGen() { }
#include <iostream> #include <boost/graph/adjacency_list.hpp> #include <fstream> #include <boost/algorithm/string.hpp> #include <unordered_set> #include <time.h> #include <boost/range/adaptors.hpp> #include <boost/range/algorithm.hpp> #include <boost/graph/topological_sort.hpp> #include <unordered_map> #include <ctime> #include <tuple> using namespace std; struct vertex_info {int label;}; typedef boost::adjacency_list <boost::vecS, boost::vecS, boost::bidirectionalS> DiGraph; typedef boost::adjacency_list <boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info> SubGraph; typedef boost::graph_traits<SubGraph>::vertex_descriptor vertex_t; typedef boost::graph_traits<SubGraph>::edge_descriptor edge_t; typedef boost::graph_traits<DiGraph>::vertex_iterator vertex_iter; typedef boost::graph_traits<DiGraph>::edge_iterator edge_iter; typedef boost::graph_traits<DiGraph>::out_edge_iterator out_edge_iter; typedef boost::graph_traits<DiGraph>::in_edge_iterator in_edge_iter; typedef boost::unordered_map<pair<int, int>, double> edge_prob; typedef map<edge_t, double> prob_e; typedef vector<tuple<int, int, double> > edge_info; void print_vertices(DiGraph G) { pair<vertex_iter, vertex_iter> vp; for (vp = boost::vertices(G); vp.first != vp.second; ++vp.first) cout << *vp.first << " " << *vp.second << endl; cout << endl; } void print_edges(DiGraph G) { edge_iter ei, edge_end; for (boost::tie(ei, edge_end) = edges(G); ei != edge_end; ++ei) { cout << source(*ei, G) << " " << target(*ei, G) << endl; } } void print_degree(DiGraph G) { vertex_iter vi, v_end; int out_d, in_d, count=0; for (boost::tie(vi, v_end) = boost::vertices(G); vi != v_end; ++vi) { in_d = boost::in_degree(*vi, G); out_d = boost::out_degree(*vi, G); cout << *vi << " " << out_d << " " << in_d << endl; } } void print_node_edges(DiGraph G) { out_edge_iter ei, e_end; in_edge_iter qi, q_end; vertex_iter vi, v_end; for (boost::tie(vi, v_end) = boost::vertices(G); vi != v_end; ++vi) { cout << *vi << "--->"; for (boost::tie(ei, e_end) = out_edges(*vi, G); ei!=e_end; ++ei) { cout << target(*ei, G) << " "; } cout << endl; cout << *vi << "<---"; for (boost::tie(qi, q_end) = in_edges(*vi, G); qi!=q_end; ++qi) { cout << source(*qi, G) << " "; } cout << endl; cout << endl; } } void print_size(DiGraph G) { cout << num_vertices(G) << endl; cout << num_edges(G) << endl; } DiGraph read_graph(string graph_filename) { cout << graph_filename << endl; ifstream infile(graph_filename); if (infile==NULL){ cout << "Unable to open the input file\n"; } unordered_map<int, int> unordered_mapped; int u, v; int node_count=0; pair<DiGraph::edge_descriptor, bool> edge_insertion; DiGraph G; while (infile >> u >> v) { if (unordered_mapped.find(u) == unordered_mapped.end()) { unordered_mapped[u] = node_count; node_count++; } if (unordered_mapped.find(v) == unordered_mapped.end()) { unordered_mapped[v] = node_count; node_count++; } edge_insertion=boost::add_edge(unordered_mapped[u], unordered_mapped[v], G); if (!edge_insertion.second) { std::cout << "Unable to insert edge\n"; } } return G; } void read_features(string feature_filename, DiGraph G, unordered_map<int, vector<int> > &Nf, unordered_map<int, vector<pair<int, int> > > &Ef) { string line; vector<string> line_splitted; int u, f; in_edge_iter ei, e_end; ifstream infile(feature_filename); if (infile==NULL){ cout << "Unable to open the input file\n"; } while(getline(infile, line)) { boost::split(line_splitted, line, boost::is_any_of(" ")); u = stoi(line_splitted[0]); vector<int> u_features; for (int i=1; i < line_splitted.size(); ++i) { f = stoi(line_splitted[i]); u_features.push_back(f); } for (auto & feat: u_features) { for (boost::tie(ei, e_end) = in_edges(u, G); ei!=e_end; ++ei) { Ef[feat].push_back(make_pair(source(*ei, G), target(*ei, G))); } } Nf[u] = u_features; } } void read_probabilities(string prob_filename, edge_prob &P) { ifstream infile(prob_filename); if (infile==NULL){ cout << "Unable to open the input file\n"; } int u, v; double p; while (infile >> u >> v >> p) { P[make_pair(u, v)] = p; } } void read_probabilities2 (string prob_filename, vector<pair<int, int> > &order, vector<double> &P) { vector<vector<double> > edges; ifstream infile(prob_filename); if (infile==NULL){ cout << "Unable to open the input file\n"; } double u, v, p; while (infile >> u >> v >> p) { edges.push_back({u, v, p}); } sort(edges.begin(), edges.end()); for (auto &edge: edges) { order.push_back(make_pair((int) edge[0], (int) edge[1])); P.push_back(edge[2]); } } void read_groups(string group_filename, unordered_map<int, unordered_set<int> > &groups) { ifstream infile(group_filename); if (infile==NULL){ cout << "Unable to open the input file\n"; } string line; vector<string> line_splitted; while (getline(infile, line)) { boost::split(line_splitted, line, boost::is_any_of(" ")); unordered_set<int> nodes; for (int i = 1; i < line_splitted.size(); ++i) { nodes.insert(stoi(line_splitted[i])); } groups[stoi(line_splitted[0])] = nodes; } } void read_seeds(string seeds_filename, unordered_set<int> &S, int length) { ifstream infile(seeds_filename); if (infile==NULL){ cout << "Unable to open the input file\n"; } int node, i=0; while (infile >> node and i < length) { S.insert(node); i++; } } edge_prob increase_probabilities(DiGraph G, edge_prob B, edge_prob Q, unordered_map<int, vector<int> > Nf, vector<int> F, vector<pair<int, int> > E, edge_prob &P) { edge_prob changed; double q,b,h; int target; double intersect; vector<int> F_target; for (auto &edge: E) { changed[edge] = P[edge]; q = Q[edge]; b = B[edge]; target = edge.second; F_target = Nf[target]; sort(F_target.begin(), F_target.end()); sort(F.begin(), F.end()); unordered_set<int> s(F_target.begin(), F_target.end()); intersect = count_if(F.begin(), F.end(), [&](int k) {return s.find(k) != s.end();}); h = intersect/F_target.size(); P[edge] = h*q + b; } return changed; } void decrease_probabilities(edge_prob changed, edge_prob &P) { for (auto &item: changed) { pair<int, int> edge = item.first; double p = item.second; P[edge] = p; } } double calculate_spread (DiGraph G, edge_prob B, edge_prob Q, unordered_map<int, vector<int> > Nf, unordered_set<int> S, vector<int> F, unordered_map<int, vector<pair<int, int> > > Ef, int I) { edge_prob Prob; Prob.insert(B.begin(), B.end()); vector<pair<int, int> > E; for (int i =0; i<F.size(); ++i) { for (int j=0; j < Ef[F[i]].size(); ++j) { E.push_back(Ef[F[i]][j]); } } increase_probabilities(G, B, Q, Nf, F, E, Prob); double spread=0; pair<vertex_iter, vertex_iter> vp; unordered_map<int, bool> activated; vector<int> T; int u, v; double p; out_edge_iter ei, e_end; for (int it=0; it < I; ++it) { for (vp = boost::vertices(G); vp.first != vp.second; ++vp.first) { u = (int)*vp.first; activated[u] = false; } for (auto &node: S) { activated[node] = false; T.push_back(node); } int count = 0; while (count < T.size()) { u = T[count]; for (boost::tie(ei, e_end) = out_edges(u, G); ei!=e_end; ++ei) { v = target(*ei, G); if (not activated[v]) { p = Prob[make_pair(u, v)]; double r = ((double) rand() / (RAND_MAX)); if (r < p) { activated[v] = true; T.push_back(v); } } } ++count; } spread += T.size(); T.clear(); } return spread/I; } pair<vector<int>, unordered_map<int, double> > greedy(DiGraph G, edge_prob B, edge_prob Q, unordered_set<int> S, unordered_map<int, vector<int> > Nf, unordered_map<int, vector<pair<int, int> > > Ef, vector<int> Phi, int K, int I) { vector<int> F; edge_prob P; unordered_map<int, bool> selected; edge_prob changed; double spread, max_spread; int max_feature; unordered_map<int, double> influence; P.insert(B.begin(), B.end()); while (F.size() < K) { max_spread = -1; printf("it = %i; ", (int)F.size() + 1); fflush(stdout); for (auto &f: Phi) { cout << f << " "; fflush(stdout); if (not selected[f]) { F.push_back(f); changed = increase_probabilities(G, B, Q, Nf, F, Ef[f], P); spread = calculate_spread(G, B, Q, Nf, S, F, Ef, I); if (spread > max_spread) { max_spread = spread; max_feature = f; } decrease_probabilities(changed, P); F.pop_back(); } } F.push_back(max_feature); selected[max_feature] = true; printf("f = %i; spread = %.2f\n", max_feature, max_spread); increase_probabilities(G, B, Q, Nf, F, Ef[max_feature], P); influence[F.size()] = max_spread; } return make_pair(F, influence); } unordered_map<int, set<pair<int, int> > > explore(DiGraph G, edge_prob P, unordered_set<int> S, double theta) { double max_num = numeric_limits<double>::max(); double min_dist; pair<int, int> min_edge, mip_edge; pair<DiGraph::edge_descriptor, bool> edge_insertion; int V = num_vertices(G); map<pair<int, int>, double> edge_weights; out_edge_iter ei, e_end; in_edge_iter qi, q_end; unordered_map<int, double> dist; set<pair<int, int> > crossing_edges; unordered_map<int, vector<pair<int, int> > > MIPs; unordered_map<int, set<pair<int, int> > > Ain_edges; for (auto &v: S) { MIPs[v] = {}; dist[v] = 0; for (boost::tie(ei, e_end) = out_edges(v, G); ei!=e_end; ++ei) { crossing_edges.insert(make_pair(source(*ei, G), target(*ei, G))); } while (true) { if (crossing_edges.size() == 0) break; min_dist = max_num; min_edge = make_pair(V+1, V+1); for (auto &edge: crossing_edges) { if (edge_weights.find(edge) == edge_weights.end()) { edge_weights[edge] = -log(P[edge]); } if (edge_weights[edge] + dist[edge.first] < min_dist or (edge_weights[edge] + dist[edge.first] == min_dist and edge <= min_edge)) { min_dist = edge_weights[edge] + dist[edge.first]; min_edge = edge; } } if (min_dist <= -log(theta)) { dist[min_edge.second] = min_dist; MIPs[min_edge.second] = MIPs[min_edge.first]; MIPs[min_edge.second].push_back(min_edge); for (auto &edge: MIPs[min_edge.second]) { Ain_edges[min_edge.second].insert(edge); } for (boost::tie(qi, q_end) = in_edges(min_edge.second, G); qi!=q_end; ++qi) { crossing_edges.erase(make_pair(source(*qi, G), target(*qi, G))); } for (boost::tie(ei, e_end) = out_edges(min_edge.second, G); ei!=e_end; ++ei) { int end2 = target(*ei, G); if (MIPs.find(end2) == MIPs.end()) { crossing_edges.insert(make_pair(min_edge.second, end2)); } } } else break; } dist.clear(); crossing_edges.clear(); MIPs.clear(); } return Ain_edges; } SubGraph make_subgraph(set<pair<int, int> > Ain_edges_v, int root) { SubGraph Ain_v; int u, v, count=0; unordered_map<int, int> unordered_mapped; edge_t e; bool b; vertex_t vertex; unordered_mapped[root] = count; vertex = boost::add_vertex(Ain_v); Ain_v[vertex].label = root; count++; for (auto &edge: Ain_edges_v) { u = edge.first; v = edge.second; if (unordered_mapped.find(u) == unordered_mapped.end()) { unordered_mapped[u] = count; vertex = boost::add_vertex(Ain_v); Ain_v[vertex].label = u; count++; } if (unordered_mapped.find(v) == unordered_mapped.end()) { unordered_mapped[v] = count; vertex = boost::add_vertex(Ain_v); Ain_v[vertex].label = v; count++; } boost::tie(e, b) = boost::add_edge(unordered_mapped[u], unordered_mapped[v], Ain_v); if (not b) cout << "Unable to insert an edge in Ain_v" << endl; } return Ain_v; } double calculate_ap(vertex_t u, SubGraph Ain_v, unordered_set<int> S, edge_prob P) { if (S.find(Ain_v[u].label) != S.end()) return 1; else { double prod = 1, ap_node, p; in_edge_iter qi, q_end; vertex_t node; clock_t start, finish; for (boost::tie(qi, q_end)=in_edges(u, Ain_v); qi!=q_end; ++qi) { node = source(*qi, Ain_v); ap_node = calculate_ap(node, Ain_v, S, P); p = P[make_pair(Ain_v[node].label, Ain_v[u].label)]; prod *= (1 - ap_node*p); } return 1 - prod; } } double calculate_ap2(SubGraph Ain_v, unordered_set<int> S, edge_prob P) { vector<vertex_t> topology; unordered_map<vertex_t, double> ap; double prod; in_edge_iter qi, q_end; topological_sort(Ain_v, back_inserter(topology)); clock_t start = clock(); for (vector<vertex_t>::reverse_iterator ii=topology.rbegin(); ii!=topology.rend(); ++ii) { if (S.find(Ain_v[*ii].label) != S.end()) { ap[*ii] = 1; } else { prod = 1; for (boost::tie(qi, q_end)=in_edges(*ii, Ain_v); qi!=q_end; ++qi) { prod *= (1 - ap[source(*qi, Ain_v)]*P[make_pair(Ain_v[source(*qi, Ain_v)].label, Ain_v[*ii].label)]); } ap[*ii] = 1 - prod; } } return 1 - prod; } double calculate_ap3(set<pair<int, int> >& Ain_edges_v, unordered_set<int> S, edge_prob P, int node, unordered_map<int, double> & ap_values) { if (S.find(node) != S.end()) return 1; else { double prod = 1, ap_node; for (auto &edge: Ain_edges_v) { if (edge.second == node) { if (ap_values.find(edge.first) != ap_values.end()) { ap_node = ap_values[edge.first]; } else { ap_node = calculate_ap3(Ain_edges_v, S, P, edge.first, ap_values); } prod *= (1 - ap_node*P[edge]); Ain_edges_v.erase(edge); } } ap_values[node] = 1 - prod; return 1 - prod; } } double update(unordered_map<int, set<pair<int, int> > > Ain_edges, unordered_set<int> S, edge_prob P) { double total = 0, count=0, path_prob; unordered_set<int> mip; bool pathed; unordered_map <int, double> ap_values; for (auto &item: Ain_edges) { pathed = true; path_prob = 1; set<pair<int, int> > edges = item.second; for (const auto &e: edges) { if (mip.find(e.second) != mip.end()) { pathed = false; break; } else { mip.insert(e.second); path_prob *= P[e]; } } if (pathed) { count++; total += path_prob; } else { SubGraph Ain_v = make_subgraph(Ain_edges[item.first], item.first); total += calculate_ap2(Ain_v, S, P); } } return total; } set<pair<int, int> > get_pi(DiGraph G, unordered_map<int, set<pair<int, int> > > Ain_edges, unordered_set<int> S) { set<pair<int, int> > Pi; out_edge_iter ei, e_end; in_edge_iter qi, q_end; vertex_iter vi, v_end; set<int> Pi_nodes; Pi_nodes.insert(S.begin(), S.end()); for (auto &item: Ain_edges) { Pi_nodes.insert(item.first); } for (auto &node: Pi_nodes) { for (boost::tie(ei, e_end) = out_edges(node, G); ei!=e_end; ++ei) { Pi.insert(make_pair(source(*ei, G), target(*ei, G))); } for (boost::tie(qi, q_end) = in_edges(node, G); qi!=q_end; ++qi) { Pi.insert(make_pair(source(*qi, G), target(*qi, G))); } } return Pi; } vector<int> explore_update(DiGraph G, edge_prob B, edge_prob Q, edge_prob P, unordered_set<int> S, unordered_map<int,vector<int> > Nf, unordered_map<int, vector<pair<int, int> > > Ef, vector<int> Phi, int K, double theta) { vector<int> F; unordered_map<int, set<pair<int, int> > > Ain_edges; set<pair<int, int> > Pi; int max_feature; double max_spread, spread; unordered_map<int, bool> selected; bool intersected; edge_prob changed; int omissions = 0; clock_t begin, finish; cout << "Starting Explore-Update.\nInitializing..." << endl; Ain_edges = explore(G, P, S, theta); Pi = get_pi(G, Ain_edges, S); cout << "Finished initializiation.\nStart selecting features..." << endl; while (F.size() < K) { cout << F.size() << ": "; fflush(stdout); max_feature = -1; max_spread = -1; int count = 0; begin = clock(); for (auto &f: Phi) { if (count%100 == 0) { cout << count << " "; fflush(stdout); } count++; if (not selected[f]) { intersected = false; for (auto &edge: Ef[f]) { if (Pi.find(edge) != Pi.end()) { intersected = true; break; } } if (intersected) { F.push_back(f); changed = increase_probabilities(G, B, Q, Nf, F, Ef[f], P); Ain_edges = explore(G, P, S, theta); spread = update(Ain_edges, S, P); if (spread > max_spread) { max_spread = spread; max_feature = f; } decrease_probabilities(changed, P); F.pop_back(); } else { ++omissions; } } } finish = clock(); cout << (double) (finish - begin)/CLOCKS_PER_SEC; cout << endl; F.push_back(max_feature); selected[max_feature] = true; increase_probabilities(G, B, Q, Nf, F, Ef[max_feature], P); } cout << "Total number of omissions: " << omissions << endl; return F; } vector<int> top_edges(unordered_map<int, vector<pair<int, int> > > Ef, int K) { vector<pair<int, int> > tuples; int len; for (auto &item: Ef) { len = item.second.size(); tuples.push_back(make_pair(item.first, len)); } sort(tuples.begin(), tuples.end(), [](const pair<int,int> &left, const pair<int,int> &right) { return left.second > right.second; }); vector<int> F; for (auto &t: tuples) { F.push_back(t.first); if (F.size() == K) return F; } } vector<int> top_nodes(unordered_map<int, vector<int> > Nf, int K) { vector<int> F; unordered_map<int, int> degrees; vector<int> nodes;vector<pair<int, int> > tuples; int len; for (auto &item: Nf) { for (int i=0; i<item.second.size(); ++i) { ++degrees[item.second[i]]; } } for (auto &item: degrees) { tuples.push_back(item); } sort(tuples.begin(), tuples.end(), [](const pair<int,int> &left, const pair<int,int> &right) { return left.second > right.second; }); for (auto &t: tuples) { F.push_back(t.first); if (F.size() == K) return F; } } double test(SubGraph Ain_v, edge_prob P, unordered_set<int> S) { vector<vertex_t> topology; unordered_map<vertex_t, double> ap; double prod=1, p, active_p; in_edge_iter qi, q_end; pair<int, int> e; clock_t start, finish; topological_sort(Ain_v, back_inserter(topology)); for (vector<vertex_t>::reverse_iterator ii=topology.rbegin(); ii!=topology.rend(); ++ii) { if (S.find(Ain_v[*ii].label) != S.end()) { ap[*ii] = 1; } else { for (boost::tie(qi, q_end) = in_edges(*ii, Ain_v); qi != q_end; ++qi) { start = clock(); e = make_pair(Ain_v[source(*qi, Ain_v)].label, Ain_v[*ii].label); finish = clock(); start = clock(); p = P[e]; finish = clock(); start = clock(); active_p = ap[source(*qi, Ain_v)]; finish = clock(); prod *= (1 - active_p*p); } ap[*ii] = 1 - prod; } } return 1 - prod; } int main(int argc, char* argv[]) { // srand(time(NULL)); unordered_map<int, vector<int> > Nf; unordered_map<int, vector<pair<int, int> > > Ef; edge_prob B, Q, P; unordered_map<int, unordered_set<int> > groups; vector<int> F; unordered_set<int> S; int I, K, group_number; unordered_map<int, double> influence; double theta = 1./40, spread=0; in_edge_iter qi, q_end; clock_t start, finish; string dataset_file, probs_file, features_file, groups_file, out_features_file, out_results_file, seeds_file; // read parameters from command-line if (argc > 1) { cout << "Got parameters..." << endl; string setup_file = argv[1]; cout << setup_file << endl; ifstream infile(setup_file); if (infile==NULL){ cout << "Unable to open the input file\n"; } getline(infile, dataset_file); getline(infile, probs_file); getline(infile, features_file); getline(infile, groups_file); getline(infile, seeds_file); string line; getline(infile, line); group_number = stoi(line); getline(infile, line); K = stoi(line); getline(infile, line); I = stoi(line); cout << "Input:" << endl; cout << dataset_file << " " << probs_file << " " << features_file << " " << groups_file << endl; cout << group_number << " " << K << " " << I << endl; } else { cout << "Something went wrong! Exiting!" << endl; return 1; } DiGraph G = read_graph(dataset_file); read_features(features_file, G, Nf, Ef); read_probabilities(probs_file, B); read_probabilities(probs_file, Q); read_probabilities(probs_file, P); read_groups(groups_file, groups); vector<int> Phi; for (auto &item: Ef) { Phi.push_back(item.first); } // SPECIFY SEEDS read_seeds(seeds_file, S, 15); // for VK network // S = groups[group_number]; // for Gnutella network cout << "S: "; for (auto &node: S) { cout << node << " "; } cout << endl; for (auto &node: S) { boost::clear_in_edges(node, G); } cout << "I: " << I << endl; cout << "K: " << K << endl; FILE *results_f, *outfile; cout << "Start greedy algorithm..." << endl; start = clock(); boost::tie(F, influence) = greedy(G, B, Q, S, Nf, Ef, Phi, K, I); finish = clock(); // writing selected features, time, and spread outfile = fopen("greedy_features.txt", "w"); // SPECIFY OUTPUT FILE FOR FEATURES cout << "Features: "; for (auto &f: F) { fprintf(outfile, "%i ", f); cout << f << " "; } fclose(outfile); cout << endl; results_f = fopen("greedy_results.txt", "w"); // SPECIFY OUTPUT FILE FOR TIME AND INFLUENCE SPREAD fprintf(results_f, "%f\n", (double) (finish - start)/CLOCKS_PER_SEC); cout << (double) (finish - start)/CLOCKS_PER_SEC << " sec." << endl; for (int num = 1; num <= K; ++num) { fprintf(results_f, "%f\n", influence[num]); cout << num << ": " << influence[num] << " spread" << endl; } fclose(results_f); cout << endl; // top-edges heuristic cout << "Start Top-Edges..." << endl; F.clear(); start = clock(); F = top_edges(Ef, K); finish = clock(); results_f = fopen("tope_results.txt", "w"); // SPECIFY OUTPUT FILE FOR TIME AND INFLUENCE SPREAD fprintf(results_f, "%f\n", (double) (finish - start)/CLOCKS_PER_SEC); cout << (double) (finish - start)/CLOCKS_PER_SEC << " sec." << endl; for (int num = 1; num <= K; num+=5) { vector<int> subv(F.begin(), F.begin()+num); spread = calculate_spread(G, B, Q, Nf, S, subv, Ef, I); fprintf(results_f, "%f\n", spread); cout << num << ": " << spread << endl; } fclose(results_f); cout << endl; sort(F.begin(), F.end()); outfile = fopen("tope_features.txt", "w"); // SPECIFY OUTPUT FILE FOR FEATURES cout << "Features: "; for (auto &f: F) { fprintf(outfile, "%i ", f); cout << f << " "; } fclose(outfile); cout << endl; // top-nodes heuristic cout << "Start Top-Nodes..." << endl; F.clear(); start = clock(); F = top_nodes(Nf, K); finish = clock(); results_f = fopen("topn_results.txt", "w"); // SPECIFY OUTPUT FILE FOR TIME AND INFLUENCE SPREAD fprintf(results_f, "%f\n", (double) (finish - start)/CLOCKS_PER_SEC); cout << (double) (finish - start)/CLOCKS_PER_SEC << " sec." << endl; for (int num = 1; num <= K; num+=5) { vector<int> subv(F.begin(), F.begin()+num); spread = calculate_spread(G, B, Q, Nf, S, subv, Ef, I); fprintf(results_f, "%f\n", spread); cout << num << ": " << spread << endl; } fclose(results_f); cout << endl; sort(F.begin(), F.end()); outfile = fopen("topn_features.txt", "w"); // SPECIFY OUTPUT FILE FOR FEATURES cout << "Features: "; for (auto &f: F) { fprintf(outfile, "%i ", f); cout << f << " "; } fclose(outfile); cout << endl; // Explore-Update algorithm // if features are stored in the file (copy this, instead of calculating features, for other heuristics too). // string filename; // ifstream infile; // int f; // filename = "results/experiment1_10000/mv/gnutella_eu_features.txt"; // infile.open(filename); // if (infile == NULL) // cout << "Cannot open file" << endl; // while (infile >> f) { // F.push_back(f); // } // infile.close(); // if features should be calculated here cout << "Start explore-update" << endl; F.clear(); start = clock(); F = explore_update(G, B, Q, P, S, Nf, Ef, Phi, K, theta); finish = clock(); results_f = fopen("eu_results.txt", "w"); // SPECIFY OUTPUT FILE FOR TIME AND INFLUENCE SPREAD fprintf(results_f, "%f\n", (double) (finish - start)/CLOCKS_PER_SEC); cout << (double) (finish - start)/CLOCKS_PER_SEC << " sec." << endl; for (int num = 1; num <= K; num+=5) { vector<int> subv(F.begin(), F.begin()+num); spread = calculate_spread(G, B, Q, Nf, S, subv, Ef, I); fprintf(results_f, "%f\n", spread); cout << num << ": " << spread << endl; } fclose(results_f); cout << endl; sort(F.begin(), F.end()); outfile = fopen("eu_features.txt", "w"); // SPECIFY OUTPUT FILE FOR FEATURES cout << "Features: "; for (auto &f: F) { fprintf(outfile, "%i ", f); cout << f << " "; } fclose(outfile); cout << endl; return 0; }
#include <Stepper.h> #include <Servo.h> int inByte = 0; char inData[5] = {0}; //int inData[0]Count = 0; int index = 0; int controlLRModifier; char alt = 1; int chargepos = 0; int triggerpos = 0; unsigned long time = 0; int state = 0; const int stepsPerRevolution = 500; Stepper lemotor(stepsPerRevolution, 8,11,12,13); //Stepper landscape(stepsPerRevolution, 8,11,12,13); //Stepper portrait(stepsPerRevolution, 8,11,12,13); Servo charger; Servo trigger; void setup(){ charger.attach(14); //Digital Pin 1 trigger.attach(15); //Digital Pin 2 lemotor.setSpeed(60); Serial.begin(9600); pinMode(9,OUTPUT); pinMode(10,OUTPUT); digitalWrite(9,HIGH); digitalWrite(10,HIGH); } void loop() { // charger.write(180); while(Serial.available() > 0 && Serial.peek() != '#') { inByte = Serial.read(); inData[index] = inByte; Serial.println(inData[index]); index++; inData[index] = '0'; } Serial.read(); if (inData[1] == '0') {alt = 1;} else {alt = inData[1] - '0';} if (index > 1) { if (index = 2) { controlLRModifier = inData[1] - '0'; } while(inData[index] != '\0') { Serial.println(controlLRModifier); controlLRModifier = (controlLRModifier * 10 + inData[index] - '0'); index++; } Serial.println(controlLRModifier); } index = 0; // Serial.println("Indata: "); // Serial.println(inData[0]); // Serial.println("inData[0]Count: "); // Serial.println(inData[0]Count); // // if (inData[0] == 'c') { // charger.attach(14); // if (state == 1) { // time = millis(); // state = 2; // } // charger.writeMicroseconds(1000); // if (millis() - time > 300) { // inData[0] = 0; // state = 3; // } // // charger.write(180); // inData[0] = '0'; // } else if (inData[0] == 'l') { lemotor.step(stepsPerRevolution * 6 / alt / 10); inData[0] ='0'; } else if (inData[0] == 'r') { lemotor.step(-stepsPerRevolution * 6 / alt / 10); inData[0] ='0'; } else if (inData[0] == 's' && state == 0) { charger.attach(14); if (state == 0) { time = millis(); state = 1; } } else if (state != 0) { if (state == 1) { charger.writeMicroseconds(1000); } if (millis() - time > 1000 && state == 1) { state = 2; } if (state == 2) { time = millis(); state = 3; } if (state == 3) { charger.writeMicroseconds(2000); } if (millis() - time > 200 && state == 3) { charger.writeMicroseconds(1500); charger.detach(); inData[0] = 0; state = 0; } // } else if (inData[0] == 'u') { // charger.attach(14); // if (state == 4) { // time = millis(); // state = 5; // } // charger.writeMicroseconds(2000); // if (millis() - time > 200) { // inData[0] = 0; // state = 6; // } // charger.attach(14); // charger.writeMicroseconds(2000); // charger.write(0); // inData[0] = '0'; } else { // charger.write(90); charger.writeMicroseconds(1500); charger.detach(); } // Serial.flush(); }
//--------------------------------------------------------------------------- #pragma hdrstop #include "blockclient.h" #include "commfunc.h" //--------------------------------------------------------------------------- #pragma package(smart_init) //--------------------------------------------------------------------------- CBlockSocket::CBlockSocket() { WSAStartup(MAKEWORD(2, 0), &wsaData); Init(); RecvTimeOut = 30000; } //--------------------------------------------------------------------------- CBlockSocket::~CBlockSocket() { WSACleanup(); } //--------------------------------------------------------------------------- void CBlockSocket::Init() { m_Connected = false; m_SocketID = INVALID_SOCKET; LastError = ""; } //--------------------------------------------------------------------------- bool CBlockSocket::Connect(String HostIP,WORD Port) { SOCKADDR_IN sockAddr; if(m_SocketID != INVALID_SOCKET || m_Connected) { LastError=FormatStr("socket is active:%d", m_SocketID); return false; } m_SocketID = socket(AF_INET, SOCK_STREAM, 0); if(m_SocketID == INVALID_SOCKET) { LastError=FormatStr("socket() generated error %d\n",WSAGetLastError()); return false; } sockAddr.sin_family = AF_INET; sockAddr.sin_port = htons(Port); sockAddr.sin_addr.s_addr = inet_addr(HostIP.c_str()); if (sockAddr.sin_addr.s_addr ==INADDR_NONE) { hostent * host = gethostbyname(HostIP.c_str()); if (host==NULL) { LastError=FormatStr("socket() generated error %d\n",WSAGetLastError()); Close(); return false; } CopyMemory(&sockAddr.sin_addr,host->h_addr_list[0],host->h_length); } if(connect(m_SocketID,(sockaddr FAR *)&sockAddr,sizeof(sockAddr)) == SOCKET_ERROR) { LastError = FormatStr("connect() generated error %d\n",WSAGetLastError()); Close(); return false; } setsockopt(m_SocketID,SOL_SOCKET,SO_RCVTIMEO,(const char *)&RecvTimeOut,sizeof(RecvTimeOut)); m_Connected = true; return true; } //--------------------------------------------------------------------------- int CBlockSocket::SendBuf(void * lpData,int Len) { if (!IsActive()) { LastError = "not connected"; return -1; } return send(m_SocketID,(char *)lpData,Len,0); } //--------------------------------------------------------------------------- int CBlockSocket::RecvBuf(void * lpData,int Len) { if (!IsActive()) { LastError = "not connected"; return -1; } return recv(m_SocketID,(char *)lpData,Len,0); } //--------------------------------------------------------------------------- void CBlockSocket::Close() { if (m_SocketID != INVALID_SOCKET) { closesocket(m_SocketID); } m_SocketID = INVALID_SOCKET; m_Connected = false; }
#include "AddUserView.h" #include <QDate> #include "Entities/Gender/Gender.h" #include "Forms/PersonalDataForm/PersonalDataForm.h" #include "Forms/UserDataForm/UserDataForm.h" // :: Constants :: const QString TITLE = "Создание учётной записи"; // :: Lifecycle :: AddUserView::AddUserView(QWidget *parent) : TemplateUserForm(new UserDataForm, new PersonalDataForm, parent) { setTitle(TITLE); initUserDataForm(); initPersonalDataForm(); } // :: Public accessors :: // :: Login :: QString AddUserView::getLogin() const { return getUserDataForm()->getLogin(); } // :: Password :: QString AddUserView::getPassword() const { return getUserDataForm()->getPassword(); } // :: Repeat password :: QString AddUserView::getRepeatPassword() const { return getUserDataForm()->getRepeatPassword(); } // :: Role :: UserRole AddUserView::getRole() const { return getUserDataForm()->getRole(); } // :: Name :: QString AddUserView::getName() const { return getPersonalDataForm()->getName(); } // :: Gender :: Gender AddUserView::getGender() const { return getPersonalDataForm()->getGender(); } // :: Birtdate :: QDate AddUserView::getBirthdate() const { return getPersonalDataForm()->getBirthdate(); } // :: Profession :: QString AddUserView::getProfession() const { return getPersonalDataForm()->getProfession(); } // :: Expert assessment :: int AddUserView::getExpertAssessment() const { return getPersonalDataForm()->getExpertAssessment(); } // :: Passwords hint :: void AddUserView::setPasswordsHintStatus(PasswordsHintStatus status) { getUserDataForm()->setPasswordsHintStatus(status); } // :: Birthdate range :: void AddUserView::setMaximumBirtdate(const QDate &maxDate) { getPersonalDataForm()->setMaximumBirtdate(maxDate); } void AddUserView::setMinimumBirtdate(const QDate &minDate) { getPersonalDataForm()->setMinimumBirtdate(minDate); } // :: Expert assessment range :: void AddUserView::setMaximumExpertAssessment(int maxAssessment) { getPersonalDataForm()->setMaximumExpertAssessment(maxAssessment); } void AddUserView::setMinimumExpertAssessment(int minAssessment) { getPersonalDataForm()->setMinimumExpertAssessment(minAssessment); } // :: Professions model :: QStringList AddUserView::getProfessions() const { return getPersonalDataForm()->getProfessions(); } void AddUserView::setProfessions(const QStringList &professions) { getPersonalDataForm()->setProfessions(professions); } void AddUserView::setUserExcludedFromAsstimationMessageVisibility(bool visible) { getPersonalDataForm() ->setUserExcludedFromAsstimationMessageVisibility(visible); } // :: Private methods :: inline void AddUserView::initUserDataForm() { connect(getUserDataForm(), &UserDataForm::loginChanged, this, &AddUserView::loginChanged); connect(getUserDataForm(), &UserDataForm::passwordChanged, this, &AddUserView::passwordChanged); connect(getUserDataForm(), &UserDataForm::repeatPasswordChanged, this, &AddUserView::repeatPasswordChanged); } inline void AddUserView::initPersonalDataForm() { connect(getPersonalDataForm(), &PersonalDataForm::expertAssessmentChanged, this, &AddUserView::expertAssessmentChanged); } inline UserDataForm *AddUserView::getUserDataForm() const { return dynamic_cast<UserDataForm *>(getUserDataWidget()); } inline PersonalDataForm *AddUserView::getPersonalDataForm() const { return dynamic_cast<PersonalDataForm *>(getPersonalDataWidget()); }
#include "CClientLog.h" #include <QtCore/QCoreApplication> #include <QDebug> CClientLog::CClientLog(QObject *parent) : LogBase(qApp) { } CClientLog::~CClientLog() { qDebug() << "~CClientLog()"; } CClientLog* CClientLog::m_Instance = NULL; CClientLog* CClientLog::Instance() { if (NULL == m_Instance) { m_Instance = new CClientLog(); Q_ASSERT(m_Instance); } return m_Instance; }
/* @author Aytaç Kahveci */ #include <kuka_hw_cart/kuka_hardware_interface_cart.h> #include <kuka_ros_open_comm/KRLPos.h> #include <kuka_ros_open_comm/KRLE6Pos.h> #include <unistd.h> int main(int argc, char **argv) { ROS_INFO_STREAM_NAMED("hardware_interface", "Starting hardware interface..."); ros::init(argc, argv, "kuka_hardware_interface"); ros::AsyncSpinner spinner(1); spinner.start(); ros::NodeHandle nh; kuka_hw_interface::kukaHardwareInterface robot; ros::Time timestamp; timestamp = ros::Time::now(); ros::Rate loop_rate(100); controller_manager::ControllerManager controller_manager(&robot, nh); robot.start(); sleep(1); while(ros::ok()) { ros::Duration period = ros::Time::now() - timestamp; robot.read(); timestamp = ros::Time::now(); controller_manager.update(timestamp, period); robot.write(); //usleep(100); loop_rate.sleep(); } spinner.stop(); ROS_INFO_STREAM_NAMED("hardware_interface", "Shutting down."); return 0; }
//auteur : Pierre Morcello #ifndef EASYDEFINES_H #define EASYDEFINES_H #include <sstream> #include <iostream> // affiche une message box // exemple d'usage : // MBOX("value of x "<< x <<" and things "); #define MBOX(X) {std::stringstream box__ss; box__ss << X ; EasyDefines::showMessageBox(box__ss.str());} // exemple d'usage: // MWARNING("there is something wrong with "<< element.getName() ); // remarque : si __FUNCTION__ n'est pas portable, dans <boost/current_function.hpp>, BOOST_CURRENT_FUNCTION par contre l'est plus. #ifndef MWARNING #define MWARNING(X) { \ MBOX('['<<__FILE__<<':'<<__LINE__<<']'<< X); \ std::cout<< '['<<__FILE__<<':'<<__LINE__<< ']' << '('<<__FUNCTION__<<')'<< X << std::endl; \ } #endif // usage : // dans une fonction, on assert X sans envoyer d'exception : // Si X est faux on affiche un warning, logue, et return Y. // exemple : // int division(int n, int d) //{ // MTEST(n!=0, 1); // si le test echoue, cela renvoie 1. // return n/d; //} #ifndef MTEST #define MTEST(X,Y){ if(!(X)){ MWARNING( "assert echoue : " << #X ); return Y;} } #endif // pour avoir un message de todo affichable dans visual studio. // exemple d'usage : // MTODO("ajouter les asserts"); #ifndef MTODO #define MTODO(X) message(__FILE__ ", TODO : " X ) #endif // pour logguer des informations // exemple d'usage : // MLOG( "test des resources "<<nomResourceA<<" et "<<3.0f ); #ifndef MLOG #define MLOG(X) { std::stringstream log__ss; log__ss<<X; EasyDefines::LogHlp::log( log__ss.str() );} #endif /// pour loguer uniquement en debug. #ifndef MDEBUGLOG #ifdef _DEBUG #define MDEBUGLOG MLOG #else #define MDEBUGLOG(X) ; #endif #endif // met a 0 le pointeur, puis detruit ce vers quoi il pointe. // ne pas l'utiliser sur des tableaux, juste sur des pointeurs simples. #ifndef MSAFEDELETE #define MSAFEDELETE(X) { auto ttemp4del = X; X = NULL; delete ttemp4del; ttemp4del = NULL; } #endif // anti-copy et anti-assignation. #ifndef MANTICOPYCONSTRUCTOR #define MANTICOPYCONSTRUCTOR(X) \ X(const X&) = delete; \ X& operator=(const X&) = delete; #endif namespace EasyDefines { /// affiche une box avec le message et attend l'utilisateur. void showMessageBox(std::string pText); /// attend l'utilisateur (appuyer sur entrée..). void waitForUser(); /// classe permettant d'ecrire du texte dans un fichier (principe de log) /// note : aucune fonction avancee de log, c'est tres basique. class LogHlp { public: /// nom du log (selectionnable uniquement au tout debut) static std::string sLogName; /// pour ajouter dans un fichier de log les informations static void log(const std::string pString); }; } #endif
#ifndef RAYSCENEQUERY_H #define RAYSCENEQUERY_H #include <vector> #include "mathlib.h" namespace HW{ class SceneManager; class Movable; struct RaySceneQueryResultElement { float distance; Movable * movable; bool operator < (const RaySceneQueryResultElement & rhs) const { return distance < rhs.distance; } }; typedef std::vector<RaySceneQueryResultElement> RaySceneQueryResult; class RaySceneQuery { protected: Ray mRay; bool mSortByDist; SceneManager * msceneMgr; RaySceneQueryResult mResult; public: RaySceneQuery(SceneManager * sceneMgr) { msceneMgr = sceneMgr; mSortByDist = true; } ~RaySceneQuery(){} void setRay(Ray & ray) { mRay = ray; } const Ray& getRay() const { return mRay; } void setSortByDistance(bool sort) { mSortByDist = sort; } RaySceneQueryResult & getResult() { return mResult; } RaySceneQueryResult & execute(); }; } #endif
// // Created by 钟奇龙 on 2019-05-18. // #include <iostream> #include <map> using namespace std; class Node{ public: Node *front; Node *next; int value; Node(int x):value(x),front(NULL),next(NULL){ } }; class NodeDoubleLinkedList{ private: Node *head; Node *tail; public: NodeDoubleLinkedList():head(NULL),tail(NULL){ } void addNode(Node *newNode){ if(!newNode) return; if(this->head == NULL){ this->head = newNode; this->tail = newNode; }else{ this->tail->next = newNode; newNode->front = this->tail; this->tail = newNode; } } Node* deleteHead(){ if(this->head == NULL) return NULL; Node *res = this->head; if(this->head == this->tail){ this->head = NULL; this->tail = NULL; }else{ this->head = res->next; this->head->front = NULL; res->next = NULL; } return res; } void moveNodeToTail(Node *node){ if(!node) return; if(this->tail == node) return; if(this->head == node){ this->head = node->next; this->head->front = NULL; }else{ node->front->next = node->next; node->next->front = node->front; } this->tail->next = node; node->front = this->tail; node->next = NULL; this->tail = node; } }; class MyCache{ private: map<int,Node*> keyNodeMap; map<Node*,int> nodeKeyMap; NodeDoubleLinkedList *nodeList; int capacity; public: MyCache(int capacity){ if(capacity < 1){ cout<<"capacity should greater than 0"; } this->capacity = capacity; this->nodeList = new NodeDoubleLinkedList(); } int get(int key){ if(this->keyNodeMap.find(key) != this->keyNodeMap.end()){ Node *node = keyNodeMap[key]; this->nodeList->moveNodeToTail(node); return node->value; }else{ return INT_MIN; } } void set(int key,int value){ if(this->keyNodeMap.find(key) != this->keyNodeMap.end()){ Node *node = keyNodeMap[key]; node->value = value; this->nodeList->moveNodeToTail(node); }else{ Node *newNode = new Node(value); this->keyNodeMap[key] = newNode; this->nodeKeyMap[newNode] = key; this->nodeList->addNode(newNode); if(this->keyNodeMap.size() == this->capacity + 1){ Node *deleteNode = this->nodeList->deleteHead(); int deleteKey = this->nodeKeyMap[deleteNode]; this->keyNodeMap.erase(this->keyNodeMap.find(deleteKey)); this->nodeKeyMap.erase(this->nodeKeyMap.find(deleteNode)); } } } }; int main(){ MyCache *cache = new MyCache(3); cache->set('A',1); cache->set('B',2); cache->set('C',3); cout<<cache->get('A')<<endl; cache->set('D',4); return 0; }
#include <stdio.h> #include <stdlib.h> #include <time.h> #define MAX_SIZE 50 int findTheKthSmallNumber(int arr[], const int begin, const int end, const int k); inline void swap(int& a, int& b) { int temp = a; a = b; b = temp; } int main() { int arr[MAX_SIZE]; for (int i = 0; i < MAX_SIZE; i++) { arr[i] = rand() % 21; printf("%d ", arr[i]); } putchar('\n'); int k = 0; int res = findTheKthSmallNumber(arr, 0, MAX_SIZE - 1, k); printf("The %d small number is %d\n", k + 1, res); return 0; } int findTheKthSmallNumber(int arr[], const int begin, const int end, const int k) { if (begin == end) return arr[begin]; else if (begin > end) { printf("wrong"); } int r = rand() % (end - begin + 2) + begin; int pivoit = arr[r]; swap(arr[begin], arr[r]); int i, j; for (i = begin, j = begin + 1; j <= end; j++) { if (arr[j] <= pivoit) { swap(arr[j], arr[++i]); } } swap(arr[i], arr[begin]); if (arr[i] > arr[k])//the rth small number is bigger then kth number { findTheKthSmallNumber(arr, begin, i - 1, k); } else if (arr[i] < arr[k])//the rth small number is smaller than kth number { findTheKthSmallNumber(arr, i + 1, end, k); } else { return arr[i]; } }
// 0922_4.cpp : 定义控制台应用程序的入口点。 //绝对值排序 //输入n(n<=100)个整数,按照绝对值从大到小排序后输出。 //题目保证对于每一个测试实例,所有的数的绝对值都不相等。 //输入数据有多组,每组占一行,每行的第一个数字为n,接着是n个整数,n=0表示输入数据的结束,不做处理。 #include <iostream> using namespace std; int main() { int n; const int size = 100; while (cin >> n) { if (n <= 0 ||n>100) break; int a[size]; int i, j; for (i = 0; i < n; i++) cin >> a[i]; for (i = 0; i < n - 1; i++) { for (j = 0; j < n - 1 - i; j++) { int temp; if (abs(a[j]) < abs(a[j + 1])) { temp = a[j]; a[j] = a[j + 1]; a[j + 1] = temp; } } } int flag = 0; for (i = 0; i < n; i++) { if (flag) cout << ' '<<a[i]; else { cout << a[i]; flag = 1; } } cout << endl; } return 0; }
#include "../../idlib/precompiled.h" #pragma hdrstop #include "../Game_local.h" #define MAX_SECTOR_DEPTH 12 #define MAX_SECTORS ((1<<(MAX_SECTOR_DEPTH+1))-1) // RAVEN BEGIN // ddynerman: SD's clip sector code typedef struct clipSector_s { int contents; int dynamicContents; struct clipLink_s * clipLinks; } clipSector_t; // RAVEN END typedef struct clipLink_s { idClipModel * clipModel; struct clipSector_s * sector; struct clipLink_s * prevInSector; struct clipLink_s * nextInSector; struct clipLink_s * nextLink; } clipLink_t; typedef struct trmCache_s { idTraceModel trm; int refCount; float volume; idVec3 centerOfMass; idMat3 inertiaTensor; const idMaterial * material; idCollisionModel * collisionModel; int hash; // only used to identify non-hashed trm's in a save. } trmCache_t; idVec3 vec3_boxEpsilon( CM_BOX_EPSILON, CM_BOX_EPSILON, CM_BOX_EPSILON ); // RAVEN BEGIN // jnewquist: Mark memory tags for idBlockAlloc idBlockAlloc<clipLink_t, 1024, MA_PHYSICS> clipLinkAllocator; // RAVEN END typedef enum { CPT_NONE = -1, CPT_TRANSLATION, CPT_CONTACTS, CPT_CONTENTS, CPT_MAX_TYPES } CLIP_PROFILE_TYPES; #if 0 static idTimer clipProfileTimer[ CPT_MAX_TYPES ]; static CLIP_PROFILE_TYPES currentProfileType = CPT_NONE; static int clipProfileDepth = 0; static void BeginClipProfile( CLIP_PROFILE_TYPES type ) { clipProfileDepth++; if ( clipProfileDepth == 1 ) { clipProfileTimer[ type ].Start(); currentProfileType = type; } } static void EndClipProfile( CLIP_PROFILE_TYPES type ) { clipProfileDepth--; if ( clipProfileDepth == 0 ) { clipProfileTimer[ currentProfileType ].Stop(); currentProfileType = CPT_NONE; } } void ClearClipProfile( void ) { for( int i = 0; i < CPT_MAX_TYPES; i++ ) { clipProfileTimer[ i ].Clear(); } } void DisplayClipProfile( void ) { for( int i = 0; i < CPT_MAX_TYPES; i++ ) { common->Printf( "%d:%d ", i, ( int )clipProfileTimer[ i ].Milliseconds() ); } common->Printf( "\n" ); } #else #define BeginClipProfile( type ) #define EndClipProfile( type ) #endif /* =============================================================== idClipModel trace model cache =============================================================== */ static idList<trmCache_s*> traceModelCache; static idHashIndex traceModelHash; /* =============== idClipModel::ClearTraceModelCache =============== */ void idClipModel::ClearTraceModelCache( void ) { int i; for ( i = 0; i < traceModelCache.Num(); i++ ) { collisionModelManager->FreeModel( traceModelCache[i]->collisionModel ); traceModelCache[i]->collisionModel = NULL; } traceModelCache.DeleteContents( true ); traceModelHash.Free(); } /* =============== idClipModel::CacheCollisionModels =============== */ void idClipModel::CacheCollisionModels( void ) { int i; for ( i = 0; i < traceModelCache.Num(); i++ ) { if ( traceModelCache[i]->collisionModel == NULL ) { traceModelCache[i]->collisionModel = collisionModelManager->ModelFromTrm( gameLocal.GetMapName(), va( "traceModel%d", i ), traceModelCache[i]->trm, traceModelCache[i]->material ); } } } /* =============== idClipModel::TraceModelCacheSize =============== */ int idClipModel::TraceModelCacheSize( void ) { return traceModelCache.Num() * sizeof( idTraceModel ); } /* =============== idClipModel::AllocTraceModel =============== */ int idClipModel::AllocTraceModel( const idTraceModel &trm, const idMaterial *material, bool notHashed ) { int i, hashKey, traceModelIndex; trmCache_t *entry; if ( notHashed ) { hashKey = 0xffffffff; } else { hashKey = GetTraceModelHashKey( trm ); for ( i = traceModelHash.First( hashKey ); i >= 0; i = traceModelHash.Next( i ) ) { if ( traceModelCache[i]->trm == trm ) { traceModelCache[i]->refCount++; return i; } } } entry = new trmCache_t; entry->trm = trm; entry->trm.GetMassProperties( 1.0f, entry->volume, entry->centerOfMass, entry->inertiaTensor ); entry->refCount = 1; entry->material = material; entry->hash = hashKey; traceModelIndex = traceModelCache.Append( entry ); if ( !notHashed ) { traceModelHash.Add( hashKey, traceModelIndex ); } entry->collisionModel = collisionModelManager->ModelFromTrm( gameLocal.GetMapName(), va( "traceModel%d", traceModelIndex ), trm, material ); return traceModelIndex; } /* =============== idClipModel::Replace =============== */ void idClipModel::ReplaceTraceModel( int index, const idTraceModel &trm, const idMaterial *material, bool notHashed ) { if ( !notHashed ) { common->Error( "ReplaceTraceModel was misused. Replace can only be used on non-hashed models right now.\n" ); return; } trmCache_t *entry = traceModelCache[ index ]; entry->trm = trm; entry->trm.GetMassProperties( 1.0f, entry->volume, entry->centerOfMass, entry->inertiaTensor ); entry->refCount = 1; entry->hash = 0xffffffff; entry->material = material; if(entry->collisionModel) { collisionModelManager->FreeModel( entry->collisionModel ); } entry->collisionModel = collisionModelManager->ModelFromTrm( gameLocal.GetMapName(), va( "traceModel%d", index ), trm, material ); } /* =============== idClipModel::FreeTraceModel =============== */ void idClipModel::FreeTraceModel( int traceModelIndex ) { if ( traceModelIndex < 0 || traceModelIndex >= traceModelCache.Num() || traceModelCache[traceModelIndex]->refCount <= 0 ) { gameLocal.Warning( "idClipModel::FreeTraceModel: tried to free uncached trace model" ); return; } traceModelCache[traceModelIndex]->refCount--; } /* =============== idClipModel::CopyTraceModel =============== */ int idClipModel::CopyTraceModel( const int traceModelIndex ) { if ( traceModelIndex < 0 || traceModelIndex >= traceModelCache.Num() || traceModelCache[traceModelIndex]->refCount <= 0 ) { gameLocal.Warning( "idClipModel::CopyTraceModel: tried to copy an uncached trace model" ); return -1; } traceModelCache[traceModelIndex]->refCount++; return traceModelIndex; } /* =============== idClipModel::GetCachedTraceModel =============== */ idTraceModel *idClipModel::GetCachedTraceModel( int traceModelIndex ) { return &traceModelCache[traceModelIndex]->trm; } /* =============== idClipModel::GetCachedTraceModel =============== */ idCollisionModel *idClipModel::GetCachedCollisionModel( int traceModelIndex ) { return traceModelCache[traceModelIndex]->collisionModel; } /* =============== idClipModel::GetTraceModelHashKey =============== */ int idClipModel::GetTraceModelHashKey( const idTraceModel &trm ) { const idVec3 &v = trm.bounds[0]; return ( trm.type << 8 ) ^ ( trm.numVerts << 4 ) ^ ( trm.numEdges << 2 ) ^ ( trm.numPolys << 0 ) ^ idMath::FloatHash( v.ToFloatPtr(), v.GetDimension() ); } /* =============== idClipModel::SaveTraceModels =============== */ void idClipModel::SaveTraceModels( idSaveGame *savefile ) { int i; savefile->WriteInt( traceModelCache.Num() ); for ( i = 0; i < traceModelCache.Num(); i++ ) { trmCache_t *entry = traceModelCache[i]; savefile->Write( &entry->trm, sizeof( entry->trm ) ); savefile->WriteFloat( entry->volume ); savefile->WriteVec3( entry->centerOfMass ); savefile->WriteMat3( entry->inertiaTensor ); savefile->WriteMaterial( entry->material ); savefile->WriteInt( entry->hash ); } } /* =============== idClipModel::RestoreTraceModels =============== */ void idClipModel::RestoreTraceModels( idRestoreGame *savefile ) { int i, num; ClearTraceModelCache(); savefile->ReadInt( num ); traceModelCache.SetNum( num ); for ( i = 0; i < num; i++ ) { trmCache_t *entry = new trmCache_t; savefile->Read( &entry->trm, sizeof( entry->trm ) ); savefile->ReadFloat( entry->volume ); savefile->ReadVec3( entry->centerOfMass ); savefile->ReadMat3( entry->inertiaTensor ); savefile->ReadMaterial( entry->material ); savefile->ReadInt( entry->hash ); entry->refCount = 0; entry->collisionModel = NULL; traceModelCache[i] = entry; if ( entry->hash != 0xffffffff ) { traceModelHash.Add( GetTraceModelHashKey( entry->trm ), i ); } } CacheCollisionModels(); } /* =============================================================== idClipModel =============================================================== */ /* ================ idClipModel::FreeModel ================ */ void idClipModel::FreeModel( void ) { if ( traceModelIndex != -1 ) { FreeTraceModel( traceModelIndex ); traceModelIndex = -1; } if ( collisionModel != NULL ) { collisionModelManager->FreeModel( collisionModel ); collisionModel = NULL; } renderModelHandle = -1; } // RAVEN BEGIN // ddynerman: SD's clip sector code /* ================ idClipModel::UpdateDynamicContents ================ */ void idClipModel::UpdateDynamicContents( void ) { idClip::UpdateDynamicContents( this ); } // RAVEN END /* ================ idClipModel::LoadModel ================ */ bool idClipModel::LoadModel( const char *name ) { FreeModel(); collisionModel = collisionModelManager->LoadModel( gameLocal.GetMapName(), name ); if ( collisionModel != NULL ) { collisionModel->GetBounds( bounds ); collisionModel->GetContents( contents ); return true; } else { bounds.Zero(); return false; } } /* ================ idClipModel::LoadModel ================ */ void idClipModel::LoadModel( const idTraceModel &trm, const idMaterial *material, bool notHashed ) { if ( !notHashed || traceModelIndex == -1 ) { FreeModel(); traceModelIndex = AllocTraceModel( trm, material, notHashed ); } else { ReplaceTraceModel( traceModelIndex, trm, material, notHashed ); } bounds = trm.bounds; } /* ================ idClipModel::LoadModel ================ */ void idClipModel::LoadModel( const int renderModelHandle ) { FreeModel(); this->renderModelHandle = renderModelHandle; if ( renderModelHandle != -1 ) { const renderEntity_t *renderEntity = gameRenderWorld->GetRenderEntity( renderModelHandle ); if ( renderEntity ) { bounds = renderEntity->bounds; } } } /* ================ idClipModel::Init ================ */ void idClipModel::Init( void ) { enabled = true; entity = NULL; id = 0; owner = NULL; origin.Zero(); axis.Identity(); bounds.Zero(); absBounds.Zero(); contents = CONTENTS_BODY; collisionModel = NULL; renderModelHandle = -1; traceModelIndex = -1; clipLinks = NULL; touchCount = -1; // RAVEN BEGIN // ddynerman: SD's clip sector code checked = false; // RAVEN END } /* ================ idClipModel::idClipModel ================ */ idClipModel::idClipModel( void ) { Init(); } /* ================ idClipModel::idClipModel ================ */ idClipModel::idClipModel( const char *name ) { Init(); LoadModel( name ); } /* ================ idClipModel::idClipModel ================ */ idClipModel::idClipModel( const idTraceModel &trm, const idMaterial *material ) { Init(); LoadModel( trm, material ); } /* ================ idClipModel::idClipModel ================ */ idClipModel::idClipModel( const int renderModelHandle ) { Init(); contents = CONTENTS_RENDERMODEL; LoadModel( renderModelHandle ); } /* ================ idClipModel::idClipModel ================ */ idClipModel::idClipModel( const idClipModel *model ) { enabled = model->enabled; entity = model->entity; id = model->id; owner = model->owner; origin = model->origin; axis = model->axis; bounds = model->bounds; absBounds = model->absBounds; contents = model->contents; collisionModel = NULL; if ( model->collisionModel != NULL ) { collisionModel = collisionModelManager->LoadModel( gameLocal.GetMapName(), model->collisionModel->GetName() ); } traceModelIndex = -1; if ( model->traceModelIndex != -1 ) { traceModelIndex = CopyTraceModel( model->traceModelIndex ); } renderModelHandle = model->renderModelHandle; clipLinks = NULL; touchCount = -1; // RAVEN BEGIN // ddynerman: SD's clip sector code checked = false; // RAVEN END } /* ================ idClipModel::~idClipModel ================ */ idClipModel::~idClipModel( void ) { // make sure the clip model is no longer linked Unlink(); FreeModel(); } /* ================ idClipModel::Save ================ */ void idClipModel::Save( idSaveGame *savefile ) const { savefile->WriteBool( enabled ); savefile->WriteObject( entity ); savefile->WriteInt( id ); savefile->WriteObject( owner ); savefile->WriteVec3( origin ); savefile->WriteMat3( axis ); savefile->WriteBounds( bounds ); savefile->WriteBounds( absBounds ); savefile->WriteInt( contents ); if ( collisionModel != NULL ) { savefile->WriteString( collisionModel->GetName() ); } else { savefile->WriteString( "" ); } savefile->WriteInt( traceModelIndex ); savefile->WriteInt( renderModelHandle ); savefile->WriteBool( clipLinks != NULL ); savefile->WriteInt( touchCount ); savefile->WriteBool ( checked ); // cnicholson: Added unsaved var } /* ================ idClipModel::Restore ================ */ void idClipModel::Restore( idRestoreGame *savefile ) { idStr collisionModelName; bool linked; savefile->ReadBool( enabled ); savefile->ReadObject( reinterpret_cast<idClass *&>( entity ) ); savefile->ReadInt( id ); savefile->ReadObject( reinterpret_cast<idClass *&>( owner ) ); savefile->ReadVec3( origin ); savefile->ReadMat3( axis ); savefile->ReadBounds( bounds ); savefile->ReadBounds( absBounds ); savefile->ReadInt( contents ); savefile->ReadString( collisionModelName ); if ( collisionModelName.Length() ) { collisionModel = collisionModelManager->LoadModel( gameLocal.GetMapName(), collisionModelName ); } else { collisionModel = NULL; } savefile->ReadInt( traceModelIndex ); if ( traceModelIndex >= 0 ) { traceModelCache[traceModelIndex]->refCount++; } savefile->ReadInt( renderModelHandle ); savefile->ReadBool( linked ); savefile->ReadInt( touchCount ); savefile->ReadBool ( checked ); // cnicholson: Added unrestored var // the render model will be set when the clip model is linked renderModelHandle = -1; clipLinks = NULL; touchCount = -1; if ( linked ) { // RAVEN BEGIN // ddynerman: multiple clip worlds Link( entity, id, origin, axis, renderModelHandle ); // RAVEN END } } /* ================ idClipModel::SetPosition ================ */ void idClipModel::SetPosition( const idVec3 &newOrigin, const idMat3 &newAxis ) { if ( clipLinks ) { Unlink(); // unlink from old position } origin = newOrigin; axis = newAxis; } /* ================ idClipModel::GetCollisionModel ================ */ idCollisionModel * idClipModel::GetCollisionModel( void ) const { assert( renderModelHandle == -1 ); if ( collisionModel != NULL ) { return collisionModel; } else if ( traceModelIndex != -1 ) { return GetCachedCollisionModel( traceModelIndex ); } else { // this happens in multiplayer on the combat models if ( entity ) { gameLocal.Warning( "idClipModel::GetCollisionModel: clip model %d on '%s' (%x) is not a collision or trace model", id, entity->name.c_str(), entity->entityNumber ); } return 0; } } /* ================ idClipModel::GetMassProperties ================ */ void idClipModel::GetMassProperties( const float density, float &mass, idVec3 &centerOfMass, idMat3 &inertiaTensor ) const { if ( traceModelIndex == -1 ) { gameLocal.Error( "idClipModel::GetMassProperties: clip model %d on '%s' is not a trace model\n", id, entity->name.c_str() ); } trmCache_t *entry = traceModelCache[traceModelIndex]; mass = entry->volume * density; centerOfMass = entry->centerOfMass; inertiaTensor = density * entry->inertiaTensor; } /* =============== idClipModel::Unlink =============== */ void idClipModel::Unlink( void ) { clipLink_t *link; for ( link = clipLinks; link; link = clipLinks ) { clipLinks = link->nextLink; if ( link->prevInSector ) { link->prevInSector->nextInSector = link->nextInSector; } else { link->sector->clipLinks = link->nextInSector; } if ( link->nextInSector ) { link->nextInSector->prevInSector = link->prevInSector; } // RAVEN BEGIN // ddynerman: SD's clip sector code idClip::UpdateDynamicContents( link->sector ); // RAVEN END clipLinkAllocator.Free( link ); } } /* =============== idClipModel::Link =============== */ // RAVEN BEGIN // ddynerman: multiple clip worlds void idClipModel::Link( void ) { assert( idClipModel::entity ); if ( !idClipModel::entity ) { return; } idClip* clp = gameLocal.GetEntityClipWorld( idClipModel::entity ); if ( clipLinks ) { Unlink(); // unlink from old position } if ( bounds.IsCleared() ) { return; } // set the abs box if ( axis.IsRotated() ) { // expand for rotation absBounds.FromTransformedBounds( bounds, origin, axis ); } else { // normal absBounds[0] = bounds[0] + origin; absBounds[1] = bounds[1] + origin; } // because movement is clipped an epsilon away from an actual edge, // we must fully check even when bounding boxes don't quite touch absBounds[0] -= vec3_boxEpsilon; absBounds[1] += vec3_boxEpsilon; // RAVEN BEGIN // ddynerman: SD's clip sector code int coords[ 4 ]; clp->CoordsForBounds( coords, absBounds ); int x, y; for( x = coords[ 0 ]; x < coords[ 2 ]; x++ ) { for( y = coords[ 1 ]; y < coords[ 3 ]; y++ ) { clipSector_t* sector = &clp->clipSectors[ x + ( y << CLIPSECTOR_DEPTH ) ]; sector->dynamicContents |= GetContents(); clipLink_t* link = clipLinkAllocator.Alloc(); link->clipModel = this; link->sector = sector; link->nextInSector = sector->clipLinks; link->prevInSector = NULL; if ( sector->clipLinks ) { sector->clipLinks->prevInSector = link; } sector->clipLinks = link; link->nextLink = clipLinks; clipLinks = link; } } // RAVEN END } /* =============== idClipModel::Link =============== */ // RAVEN BEGIN // ddynerman: multiple clip worlds void idClipModel::Link( idEntity *ent, int newId, const idVec3 &newOrigin, const idMat3 &newAxis, int renderModelHandle ) { this->entity = ent; this->id = newId; this->origin = newOrigin; this->axis = newAxis; if ( renderModelHandle != -1 ) { this->renderModelHandle = renderModelHandle; const renderEntity_t *renderEntity = gameRenderWorld->GetRenderEntity( renderModelHandle ); if ( renderEntity ) { this->bounds = renderEntity->bounds; } } this->Link(); } // RAVEN END /* =============================================================== idClip =============================================================== */ // RAVEN BEGIN // ddynerman: change to static idClipModel idClip::defaultClipModel; idClipModel *idClip::DefaultClipModel( void ) { // initialize a default clip model if( defaultClipModel.traceModelIndex == -1 ) { defaultClipModel.LoadModel( idTraceModel( idBounds( idVec3( 0, 0, 0 ) ).Expand( 8 ) ), NULL ); } return &defaultClipModel; } void idClip::FreeDefaultClipModel( void ) { if ( defaultClipModel.traceModelIndex != -1 ) { idClipModel::FreeTraceModel( defaultClipModel.traceModelIndex ); defaultClipModel.traceModelIndex = -1; } } // RAVEN END /* =============== idClip::idClip =============== */ idClip::idClip( void ) { clipSectors = NULL; world = NULL; worldBounds.Zero(); numRotations = numTranslations = numMotions = numRenderModelTraces = numContents = numContacts = 0; } /* =============== idClip::CreateClipSectors_r Builds a uniformly subdivided tree for the given world size =============== */ clipSector_t *idClip::CreateClipSectors_r( const int depth, const idBounds &bounds, idVec3 &maxSector ) { // RAVEN BEGIN // ddynerman: SD's clip sector code if( clipSectors ) { delete[] clipSectors; clipSectors = NULL; } nodeOffsetVisual = bounds[ 0 ]; int i; for( i = 0; i < 3; i++ ) { //jshepard: this crashes too often #ifdef _DEBUG if( bounds[ 1 ][ i ] - bounds[ 0 ][ i ] ) { nodeScale[ i ] = depth / ( bounds[ 1 ][ i ] - bounds[ 0 ][ i ] ); } else { gameLocal.Error("zero size bounds while creating clipsectors"); nodeScale[ i ] = depth; } if( nodeScale[ i ] ) { nodeOffset[ i ] = nodeOffsetVisual[ i ] + ( 0.5f / nodeScale[ i ] ); } else { gameLocal.Error("zero size nodeScale while creating clipsectors"); nodeOffset[ i] = nodeOffset[ i] + 0.5f; } #else nodeScale[ i ] = depth / ( bounds[ 1 ][ i ] - bounds[ 0 ][ i ] ); nodeOffset[ i ] = nodeOffsetVisual[ i ] + ( 0.5f / nodeScale[ i ] ); #endif } clipSectors = new clipSector_t[ Square( depth ) ]; memset( clipSectors, 0, Square( depth ) * sizeof( clipSector_t ) ); return clipSectors; // RAVEN END } /* =============== idClip::Init =============== */ void idClip::Init( void ) { idVec3 size, maxSector = vec3_origin; // get world map bounds world = collisionModelManager->LoadModel( gameLocal.GetMapName(), WORLD_MODEL_NAME ); world->GetBounds( worldBounds ); // create world sectors // RAVEN BEGIN // mwhitlock: Dynamic memory consolidation RV_PUSH_HEAP_MEM(this); // ddynerman: SD's clip sector code CreateClipSectors_r( CLIPSECTOR_WIDTH, worldBounds, maxSector ); GetClipSectorsStaticContents(); // mwhitlock: Dynamic memory consolidation RV_POP_HEAP(); // RAVEN END size = worldBounds[1] - worldBounds[0]; gameLocal.Printf( "map bounds are (%1.1f, %1.1f, %1.1f)\n", size[0], size[1], size[2] ); gameLocal.Printf( "max clip sector is (%1.1f, %1.1f, %1.1f)\n", maxSector[0], maxSector[1], maxSector[2] ); // set counters to zero numRotations = numTranslations = numMotions = numRenderModelTraces = numContents = numContacts = 0; } /* =============== idClip::Shutdown =============== */ void idClip::Shutdown( void ) { delete[] clipSectors; clipSectors = NULL; // free the trace model used for the temporaryClipModel if ( temporaryClipModel.traceModelIndex != -1 ) { idClipModel::FreeTraceModel( temporaryClipModel.traceModelIndex ); temporaryClipModel.traceModelIndex = -1; } clipLinkAllocator.Shutdown(); } /* ==================== idClip::ClipModelsTouchingBounds_r ==================== */ typedef struct listParms_s { idBounds bounds; int contentMask; idClipModel ** list; int count; int maxCount; } listParms_t; /* ================ idClip::ClipModelsTouchingBounds ================ */ int idClip::ClipModelsTouchingBounds( const idBounds &bounds, int contentMask, idClipModel **clipModelList, int maxCount ) const { listParms_t parms; // RAVEN BEGIN // ddynerman: SD's clip sector code int clipCount = 0; static idClipModel* clipModels[ MAX_GENTITIES ]; assert( maxCount <= MAX_GENTITIES ); if( maxCount > MAX_GENTITIES ) { maxCount = MAX_GENTITIES; } // RAVEN END if ( bounds[0][0] > bounds[1][0] || bounds[0][1] > bounds[1][1] || bounds[0][2] > bounds[1][2] ) { // we should not go through the tree for degenerate or backwards bounds assert( false ); return 0; } parms.bounds[0] = bounds[0] - vec3_boxEpsilon; parms.bounds[1] = bounds[1] + vec3_boxEpsilon; parms.contentMask = contentMask; parms.list = clipModelList; parms.count = 0; parms.maxCount = maxCount; // RAVEN BEGIN // ddynerman: SD's clip sector code int coords[ 4 ]; CoordsForBounds( coords, parms.bounds ); int x, y; for( x = coords[ 0 ]; x < coords[ 2 ]; x++ ) { for( y = coords[ 1 ]; y < coords[ 3 ]; y++ ) { clipSector_t* sector = &clipSectors[ x + ( y << CLIPSECTOR_DEPTH ) ]; if( !( sector->dynamicContents & contentMask ) ) { continue; } for ( clipLink_t* link = sector->clipLinks; link && clipCount < MAX_GENTITIES; link = link->nextInSector ) { idClipModel* model = link->clipModel; if( model->checked || !model->enabled || !( model->GetContents() & contentMask ) ) { continue; } model->checked = true; clipModels[ clipCount++ ] = model; } } } for( x = 0; x < clipCount; x++ ) { clipModels[ x ]->checked = false; } for( x = 0; x < clipCount; x++ ) { idClipModel* model = clipModels[ x ]; // if the bounds really do overlap if ( model->absBounds[0].x > parms.bounds[1].x || model->absBounds[1].x < parms.bounds[0].x || model->absBounds[0].y > parms.bounds[1].y || model->absBounds[1].y < parms.bounds[0].y || model->absBounds[0].z > parms.bounds[1].z || model->absBounds[1].z < parms.bounds[0].z ) { continue; } if( parms.count >= parms.maxCount ) { // gameLocal.Warning( "idClip::ClipModelsTouchingBounds Max Count Hit\n" ); break; } parms.list[ parms.count++ ] = model; } // RAVEN END return parms.count; } /* ================ idClip::EntitiesTouchingBounds ================ */ int idClip::EntitiesTouchingBounds( const idBounds &bounds, int contentMask, idEntity **entityList, int maxCount ) const { idClipModel *clipModelList[MAX_GENTITIES]; int i, j, count, entCount; count = idClip::ClipModelsTouchingBounds( bounds, contentMask, clipModelList, MAX_GENTITIES ); entCount = 0; for ( i = 0; i < count; i++ ) { // entity could already be in the list because an entity can use multiple clip models for ( j = 0; j < entCount; j++ ) { if ( entityList[j] == clipModelList[i]->entity ) { break; } } if ( j >= entCount ) { if ( entCount >= maxCount ) { gameLocal.Warning( "idClip::EntitiesTouchingBounds: max count" ); return entCount; } entityList[entCount] = clipModelList[i]->entity; entCount++; } } return entCount; } // RAVEN BEGIN // ddynerman: MP helper function /* ================ idClip::PlayersTouchingBounds ================ */ int idClip::PlayersTouchingBounds( const idBounds &bounds, int contentMask, idPlayer **playerList, int maxCount ) const { idClipModel *clipModelList[MAX_GENTITIES]; int i, j, count, playerCount; count = idClip::ClipModelsTouchingBounds( bounds, contentMask, clipModelList, MAX_GENTITIES ); playerCount = 0; for ( i = 0; i < count; i++ ) { // entity could already be in the list because an entity can use multiple clip models for ( j = 0; j < playerCount; j++ ) { if ( playerList[j] == clipModelList[i]->entity ) { break; } } if ( j >= playerCount ) { if ( playerCount >= maxCount ) { gameLocal.Warning( "idClip::EntitiesTouchingBounds: max count" ); return playerCount; } // RAVEN BEGIN // jnewquist: Use accessor for static class type if ( clipModelList[i]->entity->IsType( idPlayer::GetClassType() ) ) { // RAVEN END playerList[playerCount] = static_cast<idPlayer*>(clipModelList[i]->entity); playerCount++; } } } return playerCount; } // RAVEN END // RAVEN BEGIN // ddynerman: SD's clip sector code /* ==================== idClip::DrawAreaClipSectors ==================== */ void idClip::DrawAreaClipSectors( float range ) const { idClipModel* clipModels[ MAX_GENTITIES ]; idPlayer* player = gameLocal.GetLocalPlayer(); if ( !player ) { return; } idBounds bounds; bounds[0] = player->GetPhysics()->GetOrigin() - idVec3( range, range, range ); bounds[1] = player->GetPhysics()->GetOrigin() + idVec3( range, range, range ); int count = ClipModelsTouchingBounds( bounds, MASK_ALL, clipModels, MAX_GENTITIES ); int i; for ( i = 0; i < count; i++ ) { idEntity* owner = clipModels[ i ]->GetEntity(); const idVec3& org = clipModels[ i ]->GetOrigin(); const idBounds& bounds = clipModels[ i ]->GetBounds(); gameRenderWorld->DebugBounds( colorCyan, bounds, org ); gameRenderWorld->DrawText( owner->GetClassname(), org, 0.5f, colorCyan, player->viewAngles.ToMat3(), 1 ); } } /* ==================== idClip::DrawClipSectors ==================== */ void idClip::DrawClipSectors( void ) const { idBounds bounds; idPlayer* player = gameLocal.GetLocalPlayer(); if ( !player ) { return; } int i; idVec3 inverseNodeScale; for( i = 0; i < 3; i++ ) { inverseNodeScale[ i ] = 1 / nodeScale[ i ]; } const char* filter = g_showClipSectorFilter.GetString(); idTypeInfo* type = idClass::GetClass( filter ); int x; for( x = 0; x < CLIPSECTOR_WIDTH; x++ ) { int y; for( y = 0; y < CLIPSECTOR_WIDTH; y++ ) { // idWinding w( 4 ); bounds[ 0 ].x = ( inverseNodeScale.x * x ) + nodeOffsetVisual.x + 1; bounds[ 0 ].y = ( inverseNodeScale.y * y ) + nodeOffsetVisual.y + 1; bounds[ 0 ].z = player->GetPhysics()->GetBounds()[0].z; bounds[ 1 ].x = ( inverseNodeScale.x * ( x + 1 ) ) + nodeOffsetVisual.x - 1; bounds[ 1 ].y = ( inverseNodeScale.y * ( y + 1 ) ) + nodeOffsetVisual.y - 1; bounds[ 1 ].z = player->GetPhysics()->GetBounds()[1].z; idVec3 point; point.x = ( bounds[ 0 ].x + bounds[ 1 ].x ) * 0.5f; point.y = ( bounds[ 0 ].y + bounds[ 1 ].y ) * 0.5f; point.z = 0.f; /* point.x = bounds[ 0 ].x; point.y = bounds[ 0 ].y; w.AddPoint( point ); point.x = bounds[ 1 ].x; point.y = bounds[ 0 ].y; w.AddPoint( point ); point.x = bounds[ 1 ].x; point.y = bounds[ 1 ].y; w.AddPoint( point ); point.x = bounds[ 0 ].x; point.y = bounds[ 1 ].y; w.AddPoint( point );*/ clipSector_t* sector = &clipSectors[ x + ( y << CLIPSECTOR_DEPTH ) ]; clipLink_t* link = sector->clipLinks; while ( link ) { if ( type && !link->clipModel->GetEntity()->IsType( *type ) ) { link = link->nextInSector; } else { break; } } if( link ) { gameRenderWorld->DrawText( link->clipModel->GetEntity()->GetClassname(), point, 0.5f, colorCyan, player->viewAngles.ToMat3(), 1 ); gameRenderWorld->DebugBounds( colorMagenta, bounds ); gameRenderWorld->DebugBounds( colorYellow, link->clipModel->GetBounds(), link->clipModel->GetOrigin() ); } else { // gameRenderWorld->DrawText( sector->clipLinks->clipModel->GetEntity()->GetClassname(), point, 0.08f, colorCyan, gameLocal.GetLocalPlayer()->viewAngles.ToMat3(), 1 ); } } } } /* ==================== idClip::GetClipSectorsStaticContents ==================== */ void idClip::GetClipSectorsStaticContents( void ) { idBounds bounds; bounds[ 0 ].x = 0; bounds[ 0 ].y = 0; bounds[ 0 ].z = worldBounds[ 0 ].z; bounds[ 1 ].x = 1 / nodeScale.x; bounds[ 1 ].y = 1 / nodeScale.y; bounds[ 1 ].z = worldBounds[ 1 ].z; idTraceModel* trm = new idTraceModel( bounds ); idVec3 org; org.z = 0; int x; for( x = 0; x < CLIPSECTOR_WIDTH; x++ ) { int y; for( y = 0; y < CLIPSECTOR_WIDTH; y++ ) { org.x = ( x / nodeScale.x ) + nodeOffset.x; org.y = ( y / nodeScale.y ) + nodeOffset.y; int contents = collisionModelManager->Contents( org, trm, mat3_identity, -1, world, vec3_origin, mat3_default ); clipSectors[ x + ( y << CLIPSECTOR_DEPTH ) ].contents = contents; } } // mwhitlock: Fix leak in SD's code. delete trm; } // RAVEN END /* ==================== idClip::GetTraceClipModels an ent will be excluded from testing if: cm->entity == passEntity ( don't clip against the pass entity ) cm->entity == passOwner ( missiles don't clip with owner ) cm->owner == passEntity ( don't interact with your own missiles ) cm->owner == passOwner ( don't interact with other missiles from same owner ) ==================== */ // RAVEN BEGIN // nmckenzie: had to add a second pass entity so we can safely ignore both a guy and his target in some cases int idClip::GetTraceClipModels( const idBounds &bounds, int contentMask, const idEntity *passEntity, idClipModel **clipModelList, const idEntity *passEntity2 ) const { // RAVEN END int i, num; idClipModel *cm; idEntity *passOwner; num = ClipModelsTouchingBounds( bounds, contentMask, clipModelList, MAX_GENTITIES ); if ( !passEntity ) { return num; } if ( passEntity->GetPhysics()->GetNumClipModels() > 0 ) { passOwner = passEntity->GetPhysics()->GetClipModel()->GetOwner(); } else { passOwner = NULL; } for ( i = 0; i < num; i++ ) { cm = clipModelList[i]; // check if we should ignore this entity if ( cm->entity == passEntity ) { clipModelList[i] = NULL; // don't clip against the pass entity } // RAVEN BEGIN // nmckenzie: we have cases where both a guy and his target need to be ignored by a translation else if ( cm->entity == passEntity2 ){ clipModelList[i] = NULL; // RAVEN END } else if ( cm->entity == passOwner ) { clipModelList[i] = NULL; // missiles don't clip with their owner } else if ( cm->owner ) { if ( cm->owner == passEntity ) { clipModelList[i] = NULL; // don't clip against own missiles } else if ( cm->owner == passOwner ) { clipModelList[i] = NULL; // don't clip against other missiles from same owner } } } return num; } /* ============ idClip::TraceRenderModel ============ */ void idClip::TraceRenderModel( trace_t &trace, const idVec3 &start, const idVec3 &end, const float radius, const idMat3 &axis, idClipModel *touch ) const { trace.fraction = 1.0f; // if the trace is passing through the bounds if ( touch->absBounds.Expand( radius ).LineIntersection( start, end ) ) { modelTrace_t modelTrace; // test with exact render model and modify trace_t structure accordingly if ( gameRenderWorld->ModelTrace( modelTrace, touch->renderModelHandle, start, end, radius ) ) { trace.fraction = modelTrace.fraction; trace.endAxis = axis; trace.endpos = modelTrace.point; trace.c.normal = modelTrace.normal; trace.c.dist = modelTrace.point * modelTrace.normal; trace.c.point = modelTrace.point; trace.c.type = CONTACT_TRMVERTEX; trace.c.modelFeature = 0; trace.c.trmFeature = 0; trace.c.contents = modelTrace.material->GetContentFlags(); trace.c.material = modelTrace.material; // RAVEN BEGIN // jscott: for material types trace.c.materialType = modelTrace.materialType; // RAVEN END // NOTE: trace.c.id will be the joint number touch->id = JOINT_HANDLE_TO_CLIPMODEL_ID( modelTrace.jointNumber ); } } } /* ============ idClip::TraceModelForClipModel ============ */ const idTraceModel *idClip::TraceModelForClipModel( const idClipModel *mdl ) const { if ( !mdl ) { return NULL; } else { if ( !mdl->IsTraceModel() ) { if ( mdl->GetEntity() ) { gameLocal.Error( "TraceModelForClipModel: clip model %d on '%s' is not a trace model\n", mdl->GetId(), mdl->GetEntity()->name.c_str() ); } else { gameLocal.Error( "TraceModelForClipModel: clip model %d is not a trace model\n", mdl->GetId() ); } } return idClipModel::GetCachedTraceModel( mdl->traceModelIndex ); } } /* ============ idClip::TestHugeTranslation ============ */ ID_INLINE bool TestHugeTranslation( trace_t &results, const idClipModel *mdl, const idVec3 &start, const idVec3 &end, const idMat3 &trmAxis ) { if ( mdl != NULL && ( end - start ).LengthSqr() > Square( CM_MAX_TRACE_DIST ) ) { assert( 0 ); results.fraction = 0.0f; results.endpos = start; results.endAxis = trmAxis; memset( &results.c, 0, sizeof( results.c ) ); results.c.point = start; results.c.entityNum = ENTITYNUM_WORLD; if ( mdl->GetEntity() ) { gameLocal.Printf( "huge translation for clip model %d on entity %d '%s'\n", mdl->GetId(), mdl->GetEntity()->entityNumber, mdl->GetEntity()->GetName() ); } else { gameLocal.Printf( "huge translation for clip model %d\n", mdl->GetId() ); } return true; } return false; } /* ============ idClip::TranslationEntities ============ */ // RAVEN BEGIN // nmckenzie: had to add a second pass entity so we can safely ignore both a guy and his target in some cases void idClip::TranslationEntities( trace_t &results, const idVec3 &start, const idVec3 &end, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, const idEntity *passEntity, const idEntity *passEntity2 ) { // RAVEN END int i, num; idClipModel *touch, *clipModelList[MAX_GENTITIES]; idBounds traceBounds; float radius; trace_t trace; const idTraceModel *trm; if ( TestHugeTranslation( results, mdl, start, end, trmAxis ) ) { return; } trm = TraceModelForClipModel( mdl ); results.fraction = 1.0f; results.endpos = end; results.endAxis = trmAxis; if ( !trm ) { traceBounds.FromPointTranslation( start, end - start ); radius = 0.0f; } else { traceBounds.FromBoundsTranslation( trm->bounds, start, trmAxis, end - start ); radius = trm->bounds.GetRadius(); } // RAVEN BEGIN // nmckenzie: had to add a second pass entity so we can safely ignore both a guy and his target in some cases num = GetTraceClipModels( traceBounds, contentMask, passEntity, clipModelList, passEntity2 ); // RAVEN END for ( i = 0; i < num; i++ ) { touch = clipModelList[i]; if ( !touch ) { continue; } if ( touch->renderModelHandle != -1 ) { idClip::numRenderModelTraces++; TraceRenderModel( trace, start, end, radius, trmAxis, touch ); } else { idClip::numTranslations++; collisionModelManager->Translation( &trace, start, end, trm, trmAxis, contentMask, touch->GetCollisionModel(), touch->origin, touch->axis ); } if ( trace.fraction < results.fraction ) { results = trace; results.c.entityNum = touch->entity->entityNumber; results.c.id = touch->id; if ( results.fraction == 0.0f ) { break; } } } } /* ============ idClip::Translation ============ */ // RAVEN BEGIN // nmckenzie: we have cases where both a guy and his target need to be ignored by a translation bool idClip::Translation( trace_t &results, const idVec3 &start, const idVec3 &end, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, const idEntity *passEntity, const idEntity *passEntity2 ) { // RAVEN END BeginClipProfile( CPT_TRANSLATION ); int i, num; idClipModel *touch, *clipModelList[MAX_GENTITIES]; idBounds traceBounds; float radius; trace_t trace; const idTraceModel *trm; // RAVEN BEGIN // rjohnson: added debug line drawing for traces if ( g_showCollisionTraces.GetInteger() >= 2 && !g_stopTime.GetBool() ) { gameRenderWorld->DebugLine( colorCyan, start, end, 1000 ); } // RAVEN END if ( TestHugeTranslation( results, mdl, start, end, trmAxis ) ) { EndClipProfile( CPT_TRANSLATION ); return true; } trm = TraceModelForClipModel( mdl ); if ( !passEntity || passEntity->entityNumber != ENTITYNUM_WORLD ) { // test world idClip::numTranslations++; collisionModelManager->Translation( &results, start, end, trm, trmAxis, contentMask, world, vec3_origin, mat3_default ); results.c.entityNum = results.fraction != 1.0f ? ENTITYNUM_WORLD : ENTITYNUM_NONE; if ( results.fraction == 0.0f ) { EndClipProfile( CPT_TRANSLATION ); return true; // blocked immediately by the world } } else { memset( &results, 0, sizeof( results ) ); results.fraction = 1.0f; results.endpos = end; results.endAxis = trmAxis; } if ( !trm ) { traceBounds.FromPointTranslation( start, results.endpos - start ); radius = 0.0f; } else { traceBounds.FromBoundsTranslation( trm->bounds, start, trmAxis, results.endpos - start ); radius = trm->bounds.GetRadius(); } // RAVEN BEGIN // nmckenzie: we have cases where both a guy and his target need to be ignored by a translation num = GetTraceClipModels( traceBounds, contentMask, passEntity, clipModelList, passEntity2 ); // RAVEN END for ( i = 0; i < num; i++ ) { touch = clipModelList[i]; if ( !touch ) { continue; } if ( touch->renderModelHandle != -1 ) { idClip::numRenderModelTraces++; TraceRenderModel( trace, start, end, radius, trmAxis, touch ); } else { idClip::numTranslations++; collisionModelManager->Translation( &trace, start, end, trm, trmAxis, contentMask, touch->GetCollisionModel(), touch->origin, touch->axis ); } if ( trace.fraction < results.fraction ) { results = trace; results.c.entityNum = touch->entity->entityNumber; results.c.id = touch->id; // RAVEN BEGIN // jscott: for material types results.c.materialType = trace.c.materialType; // mekberg: copy contents if ( touch->IsTraceModel( ) ) { results.c.contents = touch->GetContents( ); } // RAVEN END if ( results.fraction == 0.0f ) { break; } } } EndClipProfile( CPT_TRANSLATION ); return ( results.fraction < 1.0f ); } /* ============ idClip::Rotation ============ */ bool idClip::Rotation( trace_t &results, const idVec3 &start, const idRotation &rotation, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, const idEntity *passEntity ) { int i, num; idClipModel *touch, *clipModelList[MAX_GENTITIES]; idBounds traceBounds; trace_t trace; const idTraceModel *trm; trm = TraceModelForClipModel( mdl ); if ( !passEntity || passEntity->entityNumber != ENTITYNUM_WORLD ) { // test world idClip::numRotations++; collisionModelManager->Rotation( &results, start, rotation, trm, trmAxis, contentMask, world, vec3_origin, mat3_default ); results.c.entityNum = results.fraction != 1.0f ? ENTITYNUM_WORLD : ENTITYNUM_NONE; if ( results.fraction == 0.0f ) { return true; // blocked immediately by the world } } else { memset( &results, 0, sizeof( results ) ); results.fraction = 1.0f; results.endpos = start; results.endAxis = trmAxis * rotation.ToMat3(); } if ( !trm ) { traceBounds.FromPointRotation( start, rotation ); } else { traceBounds.FromBoundsRotation( trm->bounds, start, trmAxis, rotation ); } num = GetTraceClipModels( traceBounds, contentMask, passEntity, clipModelList ); for ( i = 0; i < num; i++ ) { touch = clipModelList[i]; if ( !touch ) { continue; } // no rotational collision with render models if ( touch->renderModelHandle != -1 ) { continue; } idClip::numRotations++; collisionModelManager->Rotation( &trace, start, rotation, trm, trmAxis, contentMask, touch->GetCollisionModel(), touch->origin, touch->axis ); if ( trace.fraction < results.fraction ) { results = trace; results.c.entityNum = touch->entity->entityNumber; results.c.id = touch->id; if ( results.fraction == 0.0f ) { break; } } } return ( results.fraction < 1.0f ); } /* ============ idClip::Motion ============ */ bool idClip::Motion( trace_t &results, const idVec3 &start, const idVec3 &end, const idRotation &rotation, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, const idEntity *passEntity ) { int i, num; idClipModel *touch, *clipModelList[MAX_GENTITIES]; idVec3 dir, endPosition; idBounds traceBounds; float radius; trace_t translationalTrace, rotationalTrace, trace; idRotation endRotation; const idTraceModel *trm; assert( rotation.GetOrigin() == start ); if ( TestHugeTranslation( results, mdl, start, end, trmAxis ) ) { return true; } if ( mdl != NULL && rotation.GetAngle() != 0.0f && rotation.GetVec() != vec3_origin ) { // if no translation if ( start == end ) { // pure rotation return Rotation( results, start, rotation, mdl, trmAxis, contentMask, passEntity ); } } else if ( start != end ) { // pure translation return Translation( results, start, end, mdl, trmAxis, contentMask, passEntity ); } else { // no motion results.fraction = 1.0f; results.endpos = start; results.endAxis = trmAxis; return false; } trm = TraceModelForClipModel( mdl ); radius = trm->bounds.GetRadius(); if ( !passEntity || passEntity->entityNumber != ENTITYNUM_WORLD ) { // translational collision with world idClip::numTranslations++; collisionModelManager->Translation( &translationalTrace, start, end, trm, trmAxis, contentMask, world, vec3_origin, mat3_default ); translationalTrace.c.entityNum = translationalTrace.fraction != 1.0f ? ENTITYNUM_WORLD : ENTITYNUM_NONE; } else { memset( &translationalTrace, 0, sizeof( translationalTrace ) ); translationalTrace.fraction = 1.0f; translationalTrace.endpos = end; translationalTrace.endAxis = trmAxis; } if ( translationalTrace.fraction != 0.0f ) { traceBounds.FromBoundsRotation( trm->bounds, start, trmAxis, rotation ); dir = translationalTrace.endpos - start; for ( i = 0; i < 3; i++ ) { if ( dir[i] < 0.0f ) { traceBounds[0][i] += dir[i]; } else { traceBounds[1][i] += dir[i]; } } num = GetTraceClipModels( traceBounds, contentMask, passEntity, clipModelList ); for ( i = 0; i < num; i++ ) { touch = clipModelList[i]; if ( !touch ) { continue; } if ( touch->renderModelHandle != -1 ) { idClip::numRenderModelTraces++; TraceRenderModel( trace, start, end, radius, trmAxis, touch ); } else { idClip::numTranslations++; collisionModelManager->Translation( &trace, start, end, trm, trmAxis, contentMask, touch->GetCollisionModel(), touch->origin, touch->axis ); } if ( trace.fraction < translationalTrace.fraction ) { translationalTrace = trace; translationalTrace.c.entityNum = touch->entity->entityNumber; translationalTrace.c.id = touch->id; if ( translationalTrace.fraction == 0.0f ) { break; } } } } else { num = -1; } endPosition = translationalTrace.endpos; endRotation = rotation; endRotation.SetOrigin( endPosition ); if ( !passEntity || passEntity->entityNumber != ENTITYNUM_WORLD ) { // rotational collision with world idClip::numRotations++; collisionModelManager->Rotation( &rotationalTrace, endPosition, endRotation, trm, trmAxis, contentMask, world, vec3_origin, mat3_default ); rotationalTrace.c.entityNum = rotationalTrace.fraction != 1.0f ? ENTITYNUM_WORLD : ENTITYNUM_NONE; } else { memset( &rotationalTrace, 0, sizeof( rotationalTrace ) ); rotationalTrace.fraction = 1.0f; rotationalTrace.endpos = endPosition; rotationalTrace.endAxis = trmAxis * rotation.ToMat3(); } if ( rotationalTrace.fraction != 0.0f ) { if ( num == -1 ) { traceBounds.FromBoundsRotation( trm->bounds, endPosition, trmAxis, endRotation ); num = GetTraceClipModels( traceBounds, contentMask, passEntity, clipModelList ); } for ( i = 0; i < num; i++ ) { touch = clipModelList[i]; if ( !touch ) { continue; } // no rotational collision detection with render models if ( touch->renderModelHandle != -1 ) { continue; } idClip::numRotations++; collisionModelManager->Rotation( &trace, endPosition, endRotation, trm, trmAxis, contentMask, touch->GetCollisionModel(), touch->origin, touch->axis ); if ( trace.fraction < rotationalTrace.fraction ) { rotationalTrace = trace; rotationalTrace.c.entityNum = touch->entity->entityNumber; rotationalTrace.c.id = touch->id; if ( rotationalTrace.fraction == 0.0f ) { break; } } } } if ( rotationalTrace.fraction < 1.0f ) { results = rotationalTrace; } else { results = translationalTrace; results.endAxis = rotationalTrace.endAxis; } results.fraction = Max( translationalTrace.fraction, rotationalTrace.fraction ); return ( translationalTrace.fraction < 1.0f || rotationalTrace.fraction < 1.0f ); } /* ============ idClip::Contacts ============ */ int idClip::Contacts( contactInfo_t *contacts, const int maxContacts, const idVec3 &start, const idVec6 &dir, const float depth, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, const idEntity *passEntity ) { BeginClipProfile( CPT_CONTACTS ); int i, j, num, n, numContacts; idClipModel *touch, *clipModelList[MAX_GENTITIES]; idBounds traceBounds; const idTraceModel *trm; trm = TraceModelForClipModel( mdl ); if ( !passEntity || passEntity->entityNumber != ENTITYNUM_WORLD ) { // test world idClip::numContacts++; numContacts = collisionModelManager->Contacts( contacts, maxContacts, start, dir, depth, trm, trmAxis, contentMask, world, vec3_origin, mat3_default ); } else { numContacts = 0; } for ( i = 0; i < numContacts; i++ ) { contacts[i].entityNum = ENTITYNUM_WORLD; contacts[i].id = 0; } if ( numContacts >= maxContacts ) { EndClipProfile( CPT_CONTACTS ); return numContacts; } if ( !trm ) { traceBounds = idBounds( start ).Expand( depth ); } else { traceBounds.FromTransformedBounds( trm->bounds, start, trmAxis ); traceBounds.ExpandSelf( depth ); } num = GetTraceClipModels( traceBounds, contentMask, passEntity, clipModelList ); for ( i = 0; i < num; i++ ) { touch = clipModelList[i]; if ( !touch ) { continue; } // no contacts with render models if ( touch->renderModelHandle != -1 ) { continue; } idClip::numContacts++; n = collisionModelManager->Contacts( contacts + numContacts, maxContacts - numContacts, start, dir, depth, trm, trmAxis, contentMask, touch->GetCollisionModel(), touch->origin, touch->axis ); for ( j = 0; j < n; j++ ) { contacts[numContacts].entityNum = touch->entity->entityNumber; contacts[numContacts].id = touch->id; numContacts++; } if ( numContacts >= maxContacts ) { break; } } EndClipProfile( CPT_CONTACTS ); return numContacts; } /* ============ idClip::Contents ============ */ // RAVEN BEGIN // AReis: Added ability to get the entity that was touched as well. int idClip::Contents( const idVec3 &start, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, const idEntity *passEntity, idEntity **touchedEntity ) { // RAVEN END BeginClipProfile( CPT_CONTENTS ); int i, num, contents; idClipModel *touch, *clipModelList[MAX_GENTITIES]; idBounds traceBounds; const idTraceModel *trm; trm = TraceModelForClipModel( mdl ); if ( !passEntity || passEntity->entityNumber != ENTITYNUM_WORLD ) { // test world idClip::numContents++; contents = collisionModelManager->Contents( start, trm, trmAxis, contentMask, world, vec3_origin, mat3_default ); } else { contents = 0; } if ( !trm ) { traceBounds[0] = start; traceBounds[1] = start; } else if ( trmAxis.IsRotated() ) { traceBounds.FromTransformedBounds( trm->bounds, start, trmAxis ); } else { traceBounds[0] = trm->bounds[0] + start; traceBounds[1] = trm->bounds[1] + start; } num = GetTraceClipModels( traceBounds, -1, passEntity, clipModelList ); for ( i = 0; i < num; i++ ) { touch = clipModelList[i]; if ( !touch ) { continue; } // no contents test with render models if ( touch->renderModelHandle != -1 ) { continue; } // if the entity does not have any contents we are looking for if ( ( touch->contents & contentMask ) == 0 ) { continue; } // if the entity has no new contents flags if ( ( touch->contents & contents ) == touch->contents ) { continue; } idClip::numContents++; if ( collisionModelManager->Contents( start, trm, trmAxis, contentMask, touch->GetCollisionModel(), touch->origin, touch->axis ) ) { contents |= ( touch->contents & contentMask ); } // RAVEN BEGIN // Only sends back one entity for now. Ahh well, if this is a problem, have it send back a list... if ( touchedEntity ) { *touchedEntity = touch->GetEntity(); } // RAVEN END } EndClipProfile( CPT_CONTENTS ); return contents; } /* ============ idClip::TranslationModel ============ */ void idClip::TranslationModel( trace_t &results, const idVec3 &start, const idVec3 &end, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, idCollisionModel *model, const idVec3 &modelOrigin, const idMat3 &modelAxis ) { const idTraceModel *trm = TraceModelForClipModel( mdl ); idClip::numTranslations++; collisionModelManager->Translation( &results, start, end, trm, trmAxis, contentMask, model, modelOrigin, modelAxis ); } /* ============ idClip::RotationModel ============ */ void idClip::RotationModel( trace_t &results, const idVec3 &start, const idRotation &rotation, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, idCollisionModel *model, const idVec3 &modelOrigin, const idMat3 &modelAxis ) { const idTraceModel *trm = TraceModelForClipModel( mdl ); idClip::numRotations++; collisionModelManager->Rotation( &results, start, rotation, trm, trmAxis, contentMask, model, modelOrigin, modelAxis ); } /* ============ idClip::ContactsModel ============ */ int idClip::ContactsModel( contactInfo_t *contacts, const int maxContacts, const idVec3 &start, const idVec6 &dir, const float depth, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, idCollisionModel *model, const idVec3 &modelOrigin, const idMat3 &modelAxis ) { const idTraceModel *trm = TraceModelForClipModel( mdl ); idClip::numContacts++; return collisionModelManager->Contacts( contacts, maxContacts, start, dir, depth, trm, trmAxis, contentMask, model, modelOrigin, modelAxis ); } /* ============ idClip::ContentsModel ============ */ int idClip::ContentsModel( const idVec3 &start, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, idCollisionModel *model, const idVec3 &modelOrigin, const idMat3 &modelAxis ) { const idTraceModel *trm = TraceModelForClipModel( mdl ); idClip::numContents++; return collisionModelManager->Contents( start, trm, trmAxis, contentMask, model, modelOrigin, modelAxis ); } /* ============ idClip::GetModelContactFeature ============ */ bool idClip::GetModelContactFeature( const contactInfo_t &contact, const idClipModel *clipModel, idFixedWinding &winding ) const { int i; idCollisionModel *model; idVec3 start, end; model = NULL; winding.Clear(); if ( clipModel == NULL ) { model = NULL; } else { if ( clipModel->renderModelHandle != -1 ) { winding += contact.point; return true; } else if ( clipModel->traceModelIndex != -1 ) { model = idClipModel::GetCachedCollisionModel( clipModel->traceModelIndex ); } else { model = clipModel->collisionModel; } } // if contact with a collision model if ( model != NULL ) { switch( contact.type ) { case CONTACT_EDGE: { // the model contact feature is a collision model edge model->GetEdge( contact.modelFeature, start, end ); winding += start; winding += end; break; } case CONTACT_MODELVERTEX: { // the model contact feature is a collision model vertex model->GetVertex( contact.modelFeature, start ); winding += start; break; } case CONTACT_TRMVERTEX: { // the model contact feature is a collision model polygon model->GetPolygon( contact.modelFeature, winding ); break; } } } // transform the winding to world space if ( clipModel ) { for ( i = 0; i < winding.GetNumPoints(); i++ ) { winding[i].ToVec3() *= clipModel->axis; winding[i].ToVec3() += clipModel->origin; } } return true; } /* ============ idClip::PrintStatistics ============ */ void idClip::PrintStatistics( void ) { // RAVEN BEGIN // rjohnson: added trace model cache size gameLocal.Printf( "t=%-3d, r=%-3d, m=%-3d, render=%-3d, contents=%-3d, contacts=%-3d, cache=%d\n", numTranslations, numRotations, numMotions, numRenderModelTraces, numContents, numContacts, traceModelCache.Num() * sizeof( idTraceModel ) ); // RAVEN END } /* ============ idClip::DrawClipModels ============ */ void idClip::DrawClipModels( const idVec3 &eye, const float radius, const idEntity *passEntity, const idTypeInfo* type ) { int i, num; idBounds bounds; idClipModel *clipModelList[MAX_GENTITIES]; idClipModel *clipModel; bounds = idBounds( eye ).Expand( radius ); num = idClip::ClipModelsTouchingBounds( bounds, -1, clipModelList, MAX_GENTITIES ); for ( i = 0; i < num; i++ ) { clipModel = clipModelList[i]; if ( clipModel->GetEntity() == passEntity ) { continue; } if ( type && !clipModel->GetEntity()->IsType( *type ) ) { continue; } if ( clipModel->renderModelHandle != -1 ) { gameRenderWorld->DebugBounds( colorCyan, clipModel->GetAbsBounds() ); continue; } idCollisionModel *model = clipModel->GetCollisionModel(); if ( model != NULL ) { collisionModelManager->DrawModel( model, clipModel->GetOrigin(), clipModel->GetAxis(), eye, mat3_identity, radius ); } } } /* ============ idClip::DrawModelContactFeature ============ */ bool idClip::DrawModelContactFeature( const contactInfo_t &contact, const idClipModel *clipModel, int lifetime ) const { int i; idMat3 axis; idFixedWinding winding; if ( !GetModelContactFeature( contact, clipModel, winding ) ) { return false; } axis = contact.normal.ToMat3(); if ( winding.GetNumPoints() == 1 ) { gameRenderWorld->DebugLine( colorCyan, winding[0].ToVec3(), winding[0].ToVec3() + 2.0f * axis[0], lifetime ); gameRenderWorld->DebugLine( colorWhite, winding[0].ToVec3() - 1.0f * axis[1], winding[0].ToVec3() + 1.0f * axis[1], lifetime ); gameRenderWorld->DebugLine( colorWhite, winding[0].ToVec3() - 1.0f * axis[2], winding[0].ToVec3() + 1.0f * axis[2], lifetime ); } else { for ( i = 0; i < winding.GetNumPoints(); i++ ) { gameRenderWorld->DebugLine( colorCyan, winding[i].ToVec3(), winding[(i+1)%winding.GetNumPoints()].ToVec3(), lifetime ); } } axis[0] = -axis[0]; axis[2] = -axis[2]; gameRenderWorld->DrawText( contact.material->GetName(), winding.GetCenter() - 4.0f * axis[2], 0.1f, colorWhite, axis, 1, 5000 ); return true; } // RAVEN BEGIN // rjohnson: added debug hud support void idClip::DebugHudStatistics( void ) { gameDebug.SetInt( "physics_translations", numTranslations ); gameDebug.SetInt( "physics_rotations", numRotations ); gameDebug.SetInt( "physics_motions", numMotions ); gameDebug.SetInt( "physics_render_model_traces", numRenderModelTraces ); gameDebug.SetInt( "physics_contents", numContents ); gameDebug.SetInt( "physics_contacts", numContacts ); } void idClip::ClearStatistics( void ) { numRotations = numTranslations = numMotions = numRenderModelTraces = numContents = numContacts = 0; } // RAVEN END // RAVEN BEGIN // ddynerman: SD's clip sector code /* ============ idClip::UpdateDynamicContents ============ */ void idClip::UpdateDynamicContents( clipSector_t* sector ) { sector->dynamicContents = 0; clipLink_t* link; for( link = sector->clipLinks; link; link = link->nextInSector ) { sector->dynamicContents |= link->clipModel->GetContents(); } } /* ============ idClip::UpdateDynamicContents ============ */ void idClip::UpdateDynamicContents( idClipModel* clipModel ) { clipLink_s* link = clipModel->clipLinks; while ( link ) { idClip::UpdateDynamicContents( link->sector ); link = link->nextLink; } } // RAVEN END
#pragma once #include <memory> #include <string> class TimeStamp { public: TimeStamp(); ~TimeStamp(); bool parseValue(const std::string value); std::shared_ptr<unsigned long long int> getValue(); private: std::shared_ptr<unsigned long long int> _timeStamp; }; TimeStamp::TimeStamp() {} TimeStamp::~TimeStamp() {} bool TimeStamp::parseValue(const std::string value) { if (value.length() < 12) { _timeStamp = std::make_shared<unsigned long long int>(std::stoull(value.c_str())); if (_timeStamp >= 0) return true; } std::cerr << "ERROR!!! TimeStamp: " << value << std::endl; return false; } std::shared_ptr<unsigned long long int> TimeStamp::getValue() { return _timeStamp; }
#pragma once #include <map> #include <list> #include "GameObject.h" #include "Player.h" #include "Bullet.h" #include "../Shared/NetworkDefinitions.h" #include "ClientHandler.h" #include "Enemy.h" class World { public: World(); ~World(); void create_players(std::list<ClientId > clients); bool upd_players_from_packs(std::map<ClientId, ClientHandler*>* clients); void update_objects(sf::Time time); sf::Packet create_game_state(); void delete_disconnected(std::list<ClientId> disconnected); void generator(sf::Time time); private: std::map<ClientId, Player*> players; std::list<GameObject*> objects; std::list<Bullet*> disactive_bullets; int enemies; int counter; int wave; Bullet* get_bullet(sf::Vector2f pos, conf::Dir dir_, Player* creator); void make_shoot(Player* player); };
//=========================================================================== //! @file gpu_buffer.h //! @brief GPUバッファー //=========================================================================== #pragma once #include "system/directX.h" // DirectX11 //=========================================================================== //! @namespace gpu //=========================================================================== namespace gpu { //=========================================================================== //! @class Buffer //=========================================================================== class Buffer { public: //----------------------------------------------------------------------- //! @name 初期化 //----------------------------------------------------------------------- //@{ //! @brief コンストラクタ Buffer() = default; //! @brief デストラクタ virtual ~Buffer() = default; //@} //----------------------------------------------------------------------- //! @name タスク //----------------------------------------------------------------------- //@{ //----------------------------------------------------------------------- //! @brief 初期化 //! @param [in] size バッファサイズ(単位:byte) //! @param [in] usage 用途 //! @param [in] bindFlags 設定先属性 //! @param [in] initialData 初期データー(nullptrの場合はなし) //! @return true 正常終了 //! @return false エラー終了 //----------------------------------------------------------------------- bool initialize(size_t size, D3D11_USAGE usage, D3D11_BIND_FLAG bindFlags, const void* initialData = nullptr); //@} //----------------------------------------------------------------------- //! @name 取得 //----------------------------------------------------------------------- //@{ //----------------------------------------------------------------------- //! @brief D3Dバッファを取得 //! @return バッファの生ポインタ //----------------------------------------------------------------------- ID3D11Buffer* getD3DBuffer() const { return d3dBuffer_.Get(); } //@} private: com_ptr<ID3D11Buffer> d3dBuffer_; //!< バッファ保存用 }; //=========================================================================== //! @class ConstantBuffer //=========================================================================== template<typename T> class ConstantBuffer final : public Buffer { public: //----------------------------------------------------------------------- //! @name 初期化 //----------------------------------------------------------------------- //@{ //! @brief コンストラクタ ConstantBuffer() = default; //! @brief デストラクタ ~ConstantBuffer() override = default; //----------------------------------------------------------------------- //! @name タスク //----------------------------------------------------------------------- //@{ //! @brief 更新開始 T* begin() { // 初回実行時はバッファを作成 if(!getD3DBuffer()) { create(); } // バッファをmapする auto d3dBuffer = getD3DBuffer(); D3D11_MAPPED_SUBRESOURCE data; device::D3DContext()->Map(d3dBuffer, 0, D3D11_MAP_WRITE_DISCARD, 0, &data); return reinterpret_cast<T*>(data.pData); } //! @brief 更新終了 void end() { // バッファをunmapする auto d3dBuffer = getD3DBuffer(); device::D3DContext()->Unmap(d3dBuffer, 0); }; private: //! @brief バッファ作成 bool create() { auto size = (sizeof(T) + 15) & 0xfffffff0UL; // 16の倍数に切り上げ if(!initialize(size, D3D11_USAGE_DYNAMIC, D3D11_BIND_CONSTANT_BUFFER)) { return false; } return true; } //@} }; } // namespace gpu
#ifndef _BASE_VECTOR_2 #define _BASE_VECTOR_2 #ifdef _PSP_VER #include <libgum.h> #else #include <D3dx9math.h> #endif class BaseVector2 { protected: BaseVector2(void) {} public: virtual ~BaseVector2(void) {} public: #ifdef _PSP_VER ScePspFVector2& GetVector(void) { return _vec; } const ScePspFVector2& GetVector(void) const { return _vec; } protected: ScePspFVector2 _vec; #else D3DXVECTOR2& GetVector(void) { return _vec; } const D3DXVECTOR2& GetVector(void) const { return _vec; } protected: D3DXVECTOR2 _vec; #endif }; #endif
#include<iostream> using namespace std; int linear_search(int *arr,int i,int n,int x) { if(arr[i]==x) return i; if(i==n) return -1; return linear_search(arr,i+1,n,x); } int main() { int n; cin>>n; int arr[n]; for(int i=0;i<n;i++) cin>>arr[i]; int x; cin>>x; cout<<linear_search(arr,0,n,x); }
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include <set> #include <memory> #include <vespa/vespalib/stllike/string.h> namespace document { class GlobalId; } namespace proton { class IGidToLidChangeListener; /* * Interface class for registering listeners that get notification when * gid to lid mapping changes. */ class IGidToLidChangeHandler { public: virtual ~IGidToLidChangeHandler() { } virtual void addListener(std::unique_ptr<IGidToLidChangeListener> listener) = 0; virtual void removeListeners(const vespalib::string &docTypeName, const std::set<vespalib::string> &keepNames) = 0; virtual void notifyGidToLidChange(document::GlobalId gid, uint32_t lid) = 0; }; } // namespace proton
#include "../DetectMemoryLeak.h" #include "../WeaponInfo/Rifle.h" #include "../WeaponManager.h" #include "GraphicsManager.h" #include "RenderHelper.h" #include "MeshBuilder.h" #include "../Projectile/ProjectileManager.h" Rifle::Rifle(GenericEntity::OBJECT_TYPE _bulletType) : CWeaponInfo(_bulletType) { WeaponManager::GetInstance()->addWeapon(this); } Rifle::~Rifle() { } // Initialise this instance to default values void Rifle::Init(void) { // Call the parent's Init method CWeaponInfo::Init(); // The number of ammunition in a magazine for this weapon magRounds = 30; // The maximum number of ammunition for this magazine for this weapon maxMagRounds = 30; // The current total number of rounds currently carried by this player totalRounds = 150; // The max total number of rounds currently carried by this player maxTotalRounds = 150; // The time between shots timeBetweenShots = 0.05; // The elapsed time (between shots) elapsedTime = 0.05; // Boolean flag to indicate if weapon can fire now bFire = false; // Weapon Damage m_fWeaponDamage = 3; // boolean flag for dots m_bDots = false; // Player/enemy angle to rotate m_fRotateAngle = 0.f; // projectile scale scale.Set(0.3, 0.3, 0.3); // projectile ricochet m_bRicochet = false; // is laserBeam m_bLaserBeam = false; // projectile speed m_fSpeed = 15.f; // is active m_bActive = false; // rotate angle m_fRotateAngle = 0; // num of bullet m_iNumBullet = 1; } void Rifle::Render() { float rotate = Math::RadianToDegree(atan2(gunDir.y, gunDir.x)); //std::cout << rotate << std::endl; if (rotate < 120 && rotate > -120) //right side { MS& modelStack = GraphicsManager::GetInstance()->GetModelStack(); modelStack.PushMatrix(); modelStack.Translate(gunPos.x + 0.5, gunPos.y, gunPos.z - 1); modelStack.Rotate(rotate, 0, 0, 1); modelStack.Scale(1.5, 1.5, 1.5); RenderHelper::RenderMesh(MeshList::GetInstance()->GetMesh("rifle")); modelStack.PopMatrix(); } else//left side { MS& modelStack = GraphicsManager::GetInstance()->GetModelStack(); modelStack.PushMatrix(); modelStack.Translate(gunPos.x - 0.5, gunPos.y, gunPos.z - 1); modelStack.Rotate(rotate, 0, 0, 1); modelStack.Scale(-1.5, -1.5, 1.5); RenderHelper::RenderMesh(MeshList::GetInstance()->GetMesh("rifleLeft")); modelStack.PopMatrix(); } } void Rifle::Discharge(Vector3 position, Vector3 target) { if (bFire) { // If there is still ammo in the magazine, then fire if (magRounds > 0) { // Create a projectile with a cube mesh. Its position and direction is same as the player. // It will last for 3.0 seconds and travel at 500 units per second generateBullet(position, target, m_iNumBullet); bFire = false; if (bulletType == GenericEntity::PLAYER_BULLET) --magRounds; AudioEngine::GetInstance()->PlayASound("rifle", false); } } } Mesh * Rifle::GetMesh() { return MeshList::GetInstance()->GetMesh("rifle"); } void Rifle::generateBullet(Vector3 position, Vector3 target, const int numBullet, const float angle) { if (numBullet < 0) return; //float totalAngle = numBullet * angle * 0.5; //half the total angle for rotation //Vector3 temp = target; //float tempSpeed = 15.0f; for (int i = 0;i < numBullet;++i) { //rotate vector //negative angle counter clockwise positive angle clockwise //target = rotateDirection(temp, totalAngle); //totalAngle -= angle; CProjectile* projectile = ProjectileManager::GetInstance()->FetchProjectile(); Mesh* mesh = MeshList::GetInstance()->GetMesh("rifleBullet"); projectile->SetProjectileMesh(mesh); projectile->SetIsActive(true); projectile->SetPosition(position); projectile->SetDirection(target.Normalized()); projectile->SetScale(scale); projectile->SetLifetime(2.f); projectile->SetSpeed(m_fSpeed); projectile->type = bulletType; projectile->setProjectileDamage(m_fWeaponDamage / numBullet); projectile->setIsDots(m_bDots); projectile->setIsRicochet(m_bRicochet); projectile->setIsLaserbeam(m_bLaserBeam); projectile->type = bulletType; projectile->projectileType = CProjectile::BULLET; /*CProjectile* aProjectile = Create::Projectile("cube", position, target.Normalized(), scale, 2.0f, m_fSpeed); m_fSpeed += 3.f; aProjectile->type = bulletType; aProjectile->setProjectileDamage(m_fWeaponDamage / numBullet); aProjectile->setIsDots(m_bDots); aProjectile->setIsRicochet(m_bRicochet); aProjectile->setIsLaserbeam(m_bLaserBeam); aProjectile->SetIsActive(true);*/ } m_fSpeed = 15.f; }
#include "Replace.h" std::string Replace::execute(std::string& text) { size_t pos = text.find(word1); while (pos != std::string::npos) { text.replace(pos, word1.length(), word2); pos = text.find(word1); } return text; }
/* -*- Mode: c++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- ** ** ** Copyright (C) 1995-2004 Opera Software AS. All rights reserved. ** ** This file is part of the Opera web browser. It may not be distributed ** under any circumstances. ** */ #include "core/pch.h" #include "modules/doc/frm_doc.h" #include "modules/dochand/win.h" // Include win.h for core-2 #include "modules/layout/box/box.h" #include "modules/layout/content/content.h" #include "modules/layout/layout.h" #include "modules/spatial_navigation/sn_util.h" #include "modules/spatial_navigation/navigation_api.h" // DIR_RIGHT, DIR_LEFT, etc. #ifdef SPATIAL_NAVIGATION_ALGORITHM void SnUtil::Transpose(INT32 direction, OpRect& rect) { SnUtil::Transpose(direction, rect.x, rect.y, rect.width, rect.height); } void SnUtil::Transpose(INT32 direction, INT32& x, INT32& y, INT32& w, INT32& h) { INT32 newX; INT32 newY; INT32 newW; INT32 newH; switch (direction) { case DIR_RIGHT: newX = -y-h; newY = x; newW = h; newH = w; break; case DIR_UP: newX = -x-w; newY = -y-h; newW = w; newH = h; break; case DIR_LEFT: newX = y; newY = -x-w; newW = h; newH = w; break; case DIR_DOWN: default: return; } x = newX; y = newY; w = newW; h = newH; } /* void SnUtil::UnTranspose(INT32 direction, OpRect& rect) { SnUtil::UnTranspose(direction, rect.x, rect.y, rect.width, rect.height); } void SnUtil::UnTranspose(INT32 direction, INT32& x, INT32& y, INT32& w, INT32& h) { switch (direction) { case DIR_RIGHT: SnUtil::Transpose(DIR_LEFT, x, y, w, h); break; case DIR_UP: SnUtil::Transpose(DIR_UP, x, y, w, h); break; case DIR_LEFT: SnUtil::Transpose(DIR_RIGHT, x, y, w, h); break; case DIR_DOWN: default: return; } } */ BOOL SnUtil::Intersect(INT32 a1, INT32 a2, INT32 b1, INT32 b2) { if (a2 <= a1 || b2 <= b1) return FALSE; if ( a2 <= b1 || b2 <= a1 ) return FALSE; // No overlap. else return TRUE; // Some overlap } BOOL SnUtil::IsPartiallyInView(const OpRect &element, const OpRect &view) { return SnUtil::IsPartiallyInView(element.x, element.y, element.width, element.height, view.x, view.y, view.width, view.height); } BOOL SnUtil::IsPartiallyInView(const OpRect &element, FramesDocument* doc, const RECT* iframe_rect) { OpRect visible; GetVisibleDocumentPart(visible, doc, iframe_rect); return !visible.IsEmpty() && IsPartiallyInView(element.x, element.y, element.width, element.height, visible.x, visible.y, visible.width, visible.height); } BOOL SnUtil::IsPartiallyInView(const RECT &element, FramesDocument* doc, const RECT* iframe_rect) { OpRect visible; GetVisibleDocumentPart(visible, doc, iframe_rect); return !visible.IsEmpty() && Intersect(element.left, element.right, visible.x, visible.x + visible.width) && Intersect(element.top, element.bottom, visible.y, visible.y + visible.height); } BOOL SnUtil::IsFullyInView(const RECT &element, FramesDocument* doc, const RECT* iframe_rect) { OpRect visible; GetVisibleDocumentPart(visible, doc, iframe_rect); return SnUtil::IsInView(OpRect(&element), visible); } BOOL SnUtil::FitsComfortably(const RECT& rect, FramesDocument* doc, const RECT* iframe_rect) { // An element fits comfortably if it takes less or equal to 50% of height and width // Does not consider if it is actually inside the area now, just if it could fit // Because viewport dimensions may vary depending on situation (e.g. zoom level, part of iframe is not in view), // we have to calculate it on the fly, basing on visible document part OpRect visible_rect; GetVisibleDocumentPart(visible_rect, doc, iframe_rect); if ((rect.right - rect.left) > (visible_rect.width / 2)) return FALSE; if ((rect.bottom - rect.top) > (visible_rect.height / 2)) return FALSE; return TRUE; } BOOL SnUtil::CanScroll(INT32 direction, FramesDocument* document, const RECT* iframe_rect) { OpRect visual_viewport; GetVisibleDocumentPart(visual_viewport, document, iframe_rect); switch (direction) { case DIR_LEFT: return visual_viewport.x > -document->NegativeOverflow(); case DIR_UP: return visual_viewport.y > 0; case DIR_RIGHT: return visual_viewport.x + visual_viewport.width < document->Width(); case DIR_DOWN: return visual_viewport.y + visual_viewport.height < document->Height(); default: OP_ASSERT(!"Illegal scroll direction"); } return TRUE; } void SnUtil::GetVisibleDocumentPart(OpRect &visible, FramesDocument* doc, const RECT* iframe_rect /*= NULL*/) { if (doc->IsInlineFrame() && iframe_rect) { FramesDocument *parentDoc = doc->GetParentDoc(); OpRect parentViewport; RECT iframe_rect_adjusted = *iframe_rect; FramesDocument *grandParentDoc = parentDoc->GetParentDoc(); if (grandParentDoc && grandParentDoc->IsFrameDoc() && SnUtil::HasSpecialFrames(grandParentDoc)) { FramesDocElm* parentDocElm = grandParentDoc->GetFrmDocElm(parentDoc->GetSubWinId()); OP_ASSERT(parentDocElm); parentViewport = grandParentDoc->GetVisualViewport(); iframe_rect_adjusted.left += parentDocElm->GetAbsX(); iframe_rect_adjusted.right += parentDocElm->GetAbsX(); iframe_rect_adjusted.top += parentDocElm->GetAbsY(); iframe_rect_adjusted.bottom += parentDocElm->GetAbsY(); } else { parentViewport = parentDoc->GetVisualViewport(); } if (!IsPartiallyInView(iframe_rect->left,iframe_rect->top,iframe_rect->right-iframe_rect->left,iframe_rect->bottom-iframe_rect->top, parentViewport.x,parentViewport.y,parentViewport.width,parentViewport.height)) //If iframe is invisible in parent view { visible.Set(0,0,0,0); return; } visible = doc->GetVisualViewport(); INT32 leftCut = parentViewport.x - iframe_rect_adjusted.left , rightCut = iframe_rect_adjusted.right - parentViewport.Right() , topCut = parentViewport.y - iframe_rect_adjusted.top , bottomCut = iframe_rect_adjusted.bottom - parentViewport.Bottom(); if (leftCut > 0) { visible.x += leftCut; visible.width -= leftCut; } if (rightCut > 0) visible.width -= rightCut; if(topCut > 0) { visible.y += topCut; visible.height -= topCut; } if (bottomCut) visible.height -= bottomCut; } else { /* If this fails, it means that we are trying to get the visible rectangle of an iframe, but we don't have a valid iframe_rect. Please contact the module owner or describe your case in CORE-36894. */ OP_ASSERT(!doc->IsInlineFrame()); FramesDocument *parentDoc = doc->GetParentDoc(); if (parentDoc && parentDoc->IsFrameDoc() && SnUtil::HasSpecialFrames(parentDoc)) { FramesDocElm* currentElm = parentDoc->GetFrmDocElm(doc->GetSubWinId()); OpRect frameDocRect; visible = parentDoc->GetVisualViewport(); OP_ASSERT(currentElm); frameDocRect.Set(currentElm->GetAbsX(),currentElm->GetAbsY(),currentElm->GetWidth(),currentElm->GetHeight()); visible.IntersectWith(frameDocRect); visible.OffsetBy(-frameDocRect.x,-frameDocRect.y); } else { visible = doc->GetVisualViewport(); } } } BOOL SnUtil::IsPartiallyInView(INT32 x, INT32 y, INT32 w, INT32 h, INT32 viewX, INT32 viewY, INT32 viewWidth, INT32 viewHeight) { OP_NEW_DBG("SnUtil::IsPartiallyInView", "spatnav-view"); OP_DBG(("Is (%d-%d, %d-%d) inside (%d-%d, %d-%d)", x, x+w, y, y+h, viewX, viewX+viewWidth, viewY, viewY+viewHeight)); BOOL ret = (SnUtil::Intersect(x, x+w, viewX, viewX+viewWidth) && SnUtil::Intersect(y, y+h, viewY, viewY+viewHeight)); if (ret) OP_DBG(("yes")); else OP_DBG(("no")); return ret; } BOOL SnUtil::IsInView(const OpRect &element, const OpRect &view) { return SnUtil::IsInView(element.x, element.y, element.width, element.height, view.x, view.y, view.width, view.height); } BOOL SnUtil::IsInView(INT32 x, INT32 y, INT32 w, INT32 h, INT32 viewX, INT32 viewY, INT32 viewWidth, INT32 viewHeight) { OP_NEW_DBG("SnUtil::IsInView", "spatnav-view"); OP_DBG(("Is (%d-%d, %d-%d) inside (%d-%d, %d-%d)", x, x+w, y, y+h, viewX, viewX+viewWidth, viewY, viewY+viewHeight)); if ((x < viewX) || (y < viewY) || (x+w > viewX+viewWidth) || (y+h > viewY+viewHeight) || (x==viewX && y==viewY && w==viewWidth && h==viewHeight)) { OP_DBG(("no")); return FALSE; } OP_DBG(("yes")); return TRUE; } /* INT32 SnUtil::DistancePointToRect(INT32 x, INT32 y, INT32 w, INT32 h, INT32 xRef, INT32 yRef) { if (x <= xRef && x+w >= xRef) { if (y <= yRef && y+h >= yRef) // Point is within rect return 0; // Distance from point to rect is in y direction if (y < yRef) return yRef-y-h; else return y-yRef; } if (y <= yRef && y+h >= yRef) { // Distance from point to rect is in x direction if (x < xRef) return xRef-x-w; else return x-xRef; } // One of the corners of the rect are closest INT32 xDistance = 0; INT32 yDistance = 0; if (x < xRef) xDistance = xRef-x-w; else xDistance = x-xRef; if (y < yRef) yDistance = yRef-y-h; else yDistance = y-yRef; return static_cast<INT32>(op_sqrt(double(xDistance*xDistance+yDistance*yDistance))); } */ BOOL SnUtil::HasSpecialFrames(FramesDocument* frmDoc) { return frmDoc->GetFramesStacked() || frmDoc->GetSmartFrames(); } FramesDocument* SnUtil::GetDocToScroll(FramesDocument* frmDoc) { if (!HasSpecialFrames(frmDoc)) return frmDoc; if (frmDoc->IsFrameDoc() || frmDoc->GetParentDoc()) return frmDoc->GetTopFramesDoc(); else return frmDoc->GetWindow()->DocManager()->GetCurrentDoc(); } BOOL SnUtil::HasEventHandler(FramesDocument* doc, HTML_Element* hElm, HTML_Element** html_elm) { HTML_Element* handling_elm = hElm; BOOL has_handler = hElm->HasEventHandler(doc, ONCLICK, TRUE) || hElm->HasEventHandler(doc, ONMOUSEOVER, TRUE) || hElm->HasEventHandler(doc, ONMOUSEENTER, TRUE); if (has_handler) { // Do something clever, like look at handling_elm's Frame and see if // it is much larger than hElm's, in that case, the event handler might // not be just for hElm. // Perhaps check if handling_elm has more leaves than this? if (html_elm) *html_elm = handling_elm; return TRUE; } else return FALSE; } /* short SnUtil::RestrictedTo(short value, short lower_limit, short upper_limit) { OP_ASSERT(lower_limit <= upper_limit); if (value < lower_limit) return lower_limit; else if (value > upper_limit) return upper_limit; return value; } int SnUtil::RestrictedTo(int value, int lower_limit, int upper_limit) { OP_ASSERT(lower_limit <= upper_limit); if (value < lower_limit) return lower_limit; else if (value > upper_limit) return upper_limit; return value; } */ long SnUtil::RestrictedTo(long value, long lower_limit, long upper_limit) { OP_ASSERT(lower_limit <= upper_limit); if (value < lower_limit) return lower_limit; else if (value > upper_limit) return upper_limit; return value; } BOOL SnUtil::GetImageMapAreaRect(HTML_Element* areaElm, HTML_Element* mapElm, const RECT& mapRect, RECT& rect) { if (areaElm->GetAREA_Shape() == AREA_SHAPE_DEFAULT) { rect.left = mapRect.left; rect.right = mapRect.right; rect.top = mapRect.top; rect.bottom = mapRect.bottom; } else { CoordsAttr* ca = (CoordsAttr*)areaElm->GetAttr(ATTR_COORDS, ITEM_TYPE_COORDS_ATTR, (void*)0); if (!ca) return FALSE; int coords_len = ca->GetLength(); int* coords = ca->GetCoords(); int width_scale = (int)mapElm->GetSpecialNumAttr(Markup::LAYOUTA_IMAGEMAP_WIDTH_SCALE, SpecialNs::NS_LAYOUT, 1000); int height_scale = (int)mapElm->GetSpecialNumAttr(Markup::LAYOUTA_IMAGEMAP_HEIGHT_SCALE, SpecialNs::NS_LAYOUT, 1000); switch (areaElm->GetAREA_Shape()) { case AREA_SHAPE_CIRCLE: { if (coords_len < 3) return FALSE; int radius_scale = MIN(width_scale, height_scale); int radius = coords[2]*radius_scale/1000; rect.left = mapRect.left + coords[0]*width_scale/1000-radius; rect.right = mapRect.left + coords[0]*width_scale/1000+radius; rect.top = mapRect.top + coords[1]*height_scale/1000-radius; rect.bottom = mapRect.top + coords[1]*height_scale/1000+radius; break; } case AREA_SHAPE_POLYGON: { int counter = 0; rect.left = LONG_MAX; rect.right = LONG_MIN; rect.top = LONG_MAX; rect.bottom = LONG_MIN; while (counter < coords_len) { if (coords[counter] < rect.left) rect.left = coords[counter]; if (coords[counter] > rect.right) rect.right = coords[counter]; if (coords[counter+1] < rect.top) rect.top = coords[counter+1]; if (coords[counter+1] > rect.bottom) rect.bottom = coords[counter+1]; counter = counter + 2; } rect.left *= width_scale; rect.left /= 1000; rect.right *= width_scale; rect.right /= 1000; rect.top *= height_scale; rect.top /= 1000; rect.bottom *= height_scale; rect.bottom /= 1000; rect.left += mapRect.left; rect.right += mapRect.left; rect.top += mapRect.top; rect.bottom += mapRect.top; break; } case AREA_SHAPE_RECT: { if (coords_len < 4) return FALSE; if (coords[2] >= coords[0]) { // Normal case rect.left = mapRect.left + coords[0]*width_scale/1000; rect.right = mapRect.left + coords[2]*width_scale/1000; } else { // Coords are swapped rect.left = mapRect.left + coords[2]*width_scale/1000; rect.right = mapRect.left + coords[0]*width_scale/1000; } if (coords[3] >= coords[1]) { // Normal case rect.top = mapRect.top + coords[1]*height_scale/1000; rect.bottom = mapRect.top + coords[3]*height_scale/1000; } else { // Coords are swapped rect.top = mapRect.top + coords[3]*height_scale/1000; rect.bottom = mapRect.top + coords[1]*height_scale/1000; } break; } default: OP_ASSERT(!"Unknown image map area type!"); return FALSE; } } return TRUE; } HTML_Element* SnUtil::GetScrollableAncestor(HTML_Element* helm, FramesDocument *doc, OpRect* scrollableRect) { HTML_Element* scrollable_element = NULL; while ((helm = helm->Parent()) != NULL) if (Box* box = helm->GetLayoutBox()) if (Content* content = box->GetContent()) if (ScrollableArea *scrollable = content->GetScrollable()) { BOOL overflowed_x = scrollable->IsOverflowedX(); BOOL overflowed_y = scrollable->IsOverflowedY(); if (overflowed_x || overflowed_y) #ifndef SN_SCROLL_OVERFLOW_HIDDEN // Additional requirement - we must have a scrollbar where the content overflows. if (overflowed_x && scrollable->HasHorizontalScrollbar() || overflowed_y && scrollable->HasVerticalScrollbar()) #endif // !SN_SCROLL_OVERFLOW_HIDDEN { scrollable_element = helm; break; } } #ifdef PAGED_MEDIA_SUPPORT else if (PagedContainer* paged = content->GetPagedContainer()) if (paged->GetTotalPageCount() > 1) { scrollable_element = helm; break; } #endif // PAGED_MEDIA_SUPPORT if (scrollable_element && scrollableRect) GetScrollableElementRect(scrollable_element->GetLayoutBox()->GetContent(), doc, *scrollableRect); return scrollable_element; } void SnUtil::GetScrollableElementRect(Content* content, FramesDocument *doc, OpRect& scrollableRect) { RECT rect; content->GetPlaceholder()->GetRect(doc, PADDING_BOX, rect); scrollableRect.Set(rect.left,rect.top,rect.right-rect.left,rect.bottom-rect.top); if (ScrollableArea* scrollable = content->GetScrollable()) { if (scrollable->HasVerticalScrollbar()) { UINT32 scrollbarWidth = scrollable->GetVerticalScrollbarWidth(); if (scrollable->LeftHandScrollbar()) scrollableRect.x += scrollbarWidth; scrollableRect.width -= scrollbarWidth; } if (scrollable->HasHorizontalScrollbar()) scrollableRect.height -= scrollable->GetHorizontalScrollbarWidth(); } #ifdef PAGED_MEDIA_SUPPORT else if (PagedContainer* paged = content->GetPagedContainer()) scrollableRect.height -= paged->GetPageControlHeight(); #endif // PAGED_MEDIA_SUPPORT else OP_ASSERT(!"Unknown container type"); } BOOL ElementTypeCheck::IsFormObject(HTML_Element* element, FramesDocument* doc) { if (element->Type() == HE_SELECT) // only focus select boxes with at least one enabeled option { HTML_Element* stop = element->LastLeaf(); if (stop) stop = stop->Next(); for (HTML_Element* he = element->FirstChild(); he && he != stop; he = he->Next()) if (he->Type() == HE_OPTION && !he->GetBoolAttr(ATTR_DISABLED)) return TRUE; // found an enabeled option return FALSE; // a select box with all options disabeled } if (element->GetFormObject() && !element->GetBoolAttr(ATTR_DISABLED)) return TRUE; if (element->GetInputType() == INPUT_IMAGE) return TRUE; if (!element->IsDisabled(doc) && FormManager::IsButton(element) && element->GetLayoutBox()) return TRUE; return FALSE; } BOOL3 ElementTypeCheck::IsTabbable(HTML_Element* element) { INT tabindex = element->GetTabIndex(); if (tabindex == -1) return MAYBE; if (tabindex < 0) return NO; return YES; } BOOL ElementTypeCheck::IsClickable(HTML_Element* element, FramesDocument* doc) { if (element->IsDisabled(doc)) return FALSE; return (IsLink(element, doc) || IsFormObject(element, doc) || (SnUtil::HasEventHandler(doc, element) && element->Type() != HE_BODY && element->Type() != HE_DOC_ROOT)) || IsTabbable(element) == YES; } BOOL ElementTypeCheck::IsHeading(HTML_Element* element, FramesDocument* doc) { if (element->Type() >= HE_H1 && element->Type() <= HE_H6) return TRUE; return FALSE; } BOOL ElementTypeCheck::IsParagraph(HTML_Element* element, FramesDocument* doc) { return element->Type() == HE_P; } BOOL ElementTypeCheck::IsImage(HTML_Element* element, FramesDocument* doc) { return element->Type() == HE_IMG; } BOOL ElementTypeCheck::IsLink(HTML_Element* element, FramesDocument* doc) { if (element->Type() == HE_AREA) return TRUE; if (element->GetA_HRef(doc)) return TRUE; #ifdef _WML_SUPPORT_ else if (IsWMLLink(element, doc)) return TRUE; #endif // _WML_SUPPORT_ // Elements which have a width of 0 are not considered for navigation. // But such elements could still be links, so if this element is not // a link, check if any of its parents are. for (HTML_Element* elem = element->Parent(); elem; elem = elem->Parent()) { Box* box = elem->GetLayoutBox(); if (box) { // only need to search until finding first element with a width // (and a layout box) if (box->GetWidth() != 0) break; if (elem->GetA_HRef(doc)) return TRUE; #ifdef _WML_SUPPORT_ else if (IsWMLLink(elem, doc)) return TRUE; #endif // _WML_SUPPORT_ } } return FALSE; } #ifdef _WML_SUPPORT_ BOOL ElementTypeCheck::IsWMLLink(HTML_Element* element, FramesDocument* doc) { if (element->GetNsType() == NS_WML) { switch ((WML_ElementType) element->Type()) { case WE_DO: case WE_ANCHOR: return TRUE; } } return FALSE; } #endif // _WML_SUPPORT_ BOOL ElementTypeCheck::IsSpecificLink(HTML_Element* element, const uni_char* protocol_prefix) { if (!element->HasAttr(ATTR_HREF)) return FALSE; const uni_char* href = element->GetA_HRef(NULL); if (!href) return FALSE; return uni_strni_eq(href, protocol_prefix, uni_strlen(protocol_prefix)); } BOOL ElementTypeCheck::IsMailtoLink(HTML_Element* element, FramesDocument* ) { return IsSpecificLink(element, UNI_L("mailto:")); } BOOL ElementTypeCheck::IsTelLink(HTML_Element* element, FramesDocument* doc) { return IsSpecificLink(element, UNI_L("tel:")); } BOOL ElementTypeCheck::IsWtaiLink(HTML_Element* element, FramesDocument* doc) { return IsSpecificLink(element, UNI_L("wtai:")); } BOOL ElementTypeCheck::IsIFrameElement(HTML_Element* elm, LogicalDocument* logdoc) { if (!elm) return FALSE; if (elm->Type() == HE_IFRAME) return TRUE; if (logdoc && elm->Type() == HE_OBJECT) { URL* inline_url = NULL; HTML_ElementType element_type = elm->Type(); inline_url = elm->GetUrlAttr(ATTR_DATA, NS_IDX_HTML, logdoc); OP_BOOLEAN resolve_status = elm->GetResolvedObjectType(inline_url, element_type, logdoc); if (resolve_status == OpBoolean::IS_TRUE && element_type == HE_IFRAME) return TRUE; } return FALSE; } #ifdef _PLUGIN_NAVIGATION_SUPPORT_ BOOL ElementTypeCheck::IsNavigatePlugin(HTML_Element* helm) { Box* box = helm ? helm->GetLayoutBox() : NULL; if (box && box->IsContentEmbed() && ((EmbedContent *) ((Content_Box *) box)->GetContent())->GetOpNS4Plugin()) return TRUE; return FALSE; } #endif // _PLUGIN_NAVIGATION_SUPPORT_ #endif // SPATIAL_NAVIGATION_ALGORITHM
#include "proto/data_actor.pb.h" #include "config/utils.hpp" #include "config/buff_ptts.hpp" #include "config/common_ptts.hpp" #include "config/actor_ptts.hpp" #include <map> #include <mutex> #include <string> using namespace std; namespace pd = proto::data; namespace nora { namespace scene { uint32_t calc_zhanli_by_attrs(const map<pd::actor::attr_type, int64_t>& attrs) { static const map<pd::actor::attr_type, double> attr2factor_ { { pd::actor::HP, 0.1 }, { pd::actor::ATTACK, 1.0 }, { pd::actor::PHYSICAL_DEFENCE, 0.5 }, { pd::actor::MAGICAL_DEFENCE, 0.5 }, { pd::actor::HIT_RATE, 8.0 }, { pd::actor::DODGE_RATE, 8.0 }, { pd::actor::BOOM_RATE, 4.0 }, { pd::actor::ANTI_BOOM, 4.0 }, { pd::actor::BOOM_DAMAGE, 1.6 }, { pd::actor::OUT_DAMAGE_PERCENT, 9.6 }, { pd::actor::IN_DAMAGE_PERCENT, 9.6 }, { pd::actor::OUT_HEAL_PERCENT, 9.6 }, { pd::actor::IN_HEAL_PERCENT, 6 }, }; double ret = 0.0; for (const auto& i : attrs) { switch (i.first) { case pd::actor::HP: case pd::actor::ATTACK: case pd::actor::PHYSICAL_DEFENCE: case pd::actor::MAGICAL_DEFENCE: case pd::actor::BOOM_RATE: case pd::actor::ANTI_BOOM: case pd::actor::DODGE_RATE: case pd::actor::BOOM_DAMAGE: case pd::actor::HIT_RATE: case pd::actor::OUT_DAMAGE_PERCENT: case pd::actor::IN_DAMAGE_PERCENT: case pd::actor::OUT_HEAL_PERCENT: case pd::actor::IN_HEAL_PERCENT: ret += i.second * attr2factor_.at(i.first); break; default: break; } } return static_cast<uint32_t>(ret); } const set<string>& forbid_names() { static set<string> ret; static mutex lock; lock_guard<mutex> lk(lock); if (ret.empty()) { const auto& ptt = PTTS_GET(common, 1); for (auto i : ptt.forbid_name_actors()) { const auto& actor_ptt = PTTS_GET(actor, i); ret.insert(actor_ptt.name()); } } return ret; } } }
#include "SendProto.h" using namespace CPPClient::Net::Cmd; lspb::CliReq *SendProto::CreateCliReq(lspb::ClientMsgType methodId, int userId, lspb::ModuleId moduleId) { lspb::CliReq *req = new lspb::CliReq; req->set_methodid(methodId); req->set_userid(userId); req->set_moduleid(moduleId); return req; } void SendProto::CliEnterRoom(int roomId, string name, int userId, lspb::ModuleId moduleId) { lspb::CliEnterRoom *cliEnterRoom = new lspb::CliEnterRoom; cliEnterRoom->set_roomid(roomId); cliEnterRoom->set_name(name); string *output = new string; lspb::CliReq *req = CreateCliReq(lspb::ClientMsgType::cliEnterRoom, userId, moduleId); req->set_allocated_clienterroom(cliEnterRoom); req->SerializeToString(output); int err = UdpSocket::send(output->c_str(), 8); if (err < 0) { printf("client send error %d\n", err); } else { delete req; req = nullptr; delete output; output = nullptr; } } void SendProto::CliOperate(string direction, bool isFire, int userId, lspb::ModuleId moduleId) { lspb::CliOperate *cliOperate = new lspb::CliOperate; cliOperate->set_direction(direction); cliOperate->set_isfire(isFire); string *output = new string; lspb::CliReq *req = CreateCliReq(lspb::ClientMsgType::cliOperate, userId, moduleId); req->set_allocated_clioperate(cliOperate); req->SerializeToString(output); int err = UdpSocket::send(output->c_str(), 8); if (err < 0) { printf("client send error %d\n", err); } else { delete req; req = nullptr; delete output; output = nullptr; } } void SendProto::CliInitOver(int userId, lspb::ModuleId moduleId) { lspb::CliInitOver *cliInitOver = new lspb::CliInitOver; string *output = new string; lspb::CliReq *req = CreateCliReq(lspb::ClientMsgType::cliInitOver, userId, moduleId); req->set_allocated_cliinitover(cliInitOver); req->SerializeToString(output); int err = UdpSocket::send(output->c_str(), 8); if (err < 0) { printf("client send error %d\n", err); } else { delete req; req = nullptr; delete output; output = nullptr; } }
#ifndef STUBS_HPP #define STUBS_HPP #include "interfaces.hpp" #include <stdexcept> #include <iostream> using namespace std; // Declara��o de classe stub da interface ISAutenticacao. class StubSAutenticacao : public ISAutenticacao { public: // Defini��es de valores a serem usados como gatilhos para notifica��es de erros. const string TRIGGER_FALHA = "falha@auth.com"; const string TRIGGER_ERRO_SISTEMA = "sistema@auth.com"; // Declara��o de m�todo previsto na interface. bool autenticar(const Email&, const Senha&, Usuario *) throw(runtime_error); }; class StubSUsuario : public ISUsuario { public: // Defini��es de valores a serem usados como gatilhos para notifica��es de erros. //O gatilho em usu�rio ser� o nome const string TRIGGER_FALHA_CAD = "Falha"; const string TRIGGER_ERRO_SISTEMA_CAD = "Erro"; //O gatilho em usu�rio ser� o e-mail const string TRIGGER_FALHA_EXC = "falha@erro.com"; const string TRIGGER_ERRO_SISTEMA_EXC = "sistema@erro.com"; //Declara��es de m�todos previstos na interface bool cadastrar(Usuario&, Conta&) throw(runtime_error); bool excluir(Usuario&) throw(runtime_error); }; class StubSCarona : public ISCarona { public: // Definicoes de valores a serem usados como gatilhos para notificacoes de erros. // Gatilho para cadastramento sera o codigo de carona const string TRIGGER_FALHA_CAD = "9999"; const string TRIGGER_ERRO_SISTEMA_CAD = "0000"; // Gatilho para Pesquisa ser� Cidade de partida const string TRIGGER_FALHA_PES = "Formosa"; const string TRIGGER_ERRO_SISTEMA_PES = "Sobradinho"; // Gatilho para Reserva de carona ser� c�digo de carona const string TRIGGER_FALHA_RES = "1111"; const string TRIGGER_ERRO_SISTEMA_RES = "2222"; // Gatilho para cancelar reserva de carona ser� c�digo da reserva const string TRIGGER_FALHA_CAN = "00000"; const string TRIGGER_ERRO_SISTEMA_CAN = "99999"; // Gatilho para excluir carona ser� c�digo da carona const string TRIGGER_FALHA_DEL = "5555"; const string TRIGGER_ERRO_SISTEMA_DEL = "4444"; bool cadastrar(Carona&, Usuario&) throw(runtime_error); bool pesquisar(Carona&, vector<Carona>*, vector<Usuario>*) throw(runtime_error); bool reservar(Reserva*, Codigo_de_carona&, Usuario&, Conta*) throw(runtime_error); bool pesquisarReservas(Codigo_de_carona&, vector<Reserva> *, vector<Usuario> *) throw(runtime_error); bool cancelar(Codigo_de_reserva&, Usuario&) throw(runtime_error); bool excluir(Codigo_de_carona&, Usuario&) throw(runtime_error); }; #endif // STUBS_HPP
// Created by: NW,JPB,CAL // Copyright (c) 1991-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #ifndef _Quantity_Color_HeaderFile #define _Quantity_Color_HeaderFile #include <Standard.hxx> #include <Standard_DefineAlloc.hxx> #include <Standard_Handle.hxx> #include <Standard_ShortReal.hxx> #include <Quantity_NameOfColor.hxx> #include <Quantity_TypeOfColor.hxx> #include <NCollection_Vec4.hxx> //! This class allows the definition of an RGB color as triplet of 3 normalized floating point values (red, green, blue). //! //! Although Quantity_Color can be technically used for pass-through storage of RGB triplet in any color space, //! other OCCT interfaces taking/returning Quantity_Color would expect them in linear space. //! Therefore, take a look into methods converting to and from non-linear sRGB color space, if needed; //! for instance, application usually providing color picking within 0..255 range in sRGB color space. class Quantity_Color { public: DEFINE_STANDARD_ALLOC //! Creates Quantity_NOC_YELLOW color (for historical reasons). Quantity_Color() : myRgb (valuesOf (Quantity_NOC_YELLOW, Quantity_TOC_RGB)) {} //! Creates the color from enumeration value. Quantity_Color (const Quantity_NameOfColor theName) : myRgb (valuesOf (theName, Quantity_TOC_RGB)) {} //! Creates a color according to the definition system theType. //! Throws exception if values are out of range. Standard_EXPORT Quantity_Color (const Standard_Real theC1, const Standard_Real theC2, const Standard_Real theC3, const Quantity_TypeOfColor theType); //! Define color from linear RGB values. Standard_EXPORT explicit Quantity_Color (const NCollection_Vec3<float>& theRgb); //! Returns the name of the nearest color from the Quantity_NameOfColor enumeration. Standard_EXPORT Quantity_NameOfColor Name() const; //! Updates the color from specified named color. void SetValues (const Quantity_NameOfColor theName) { myRgb = valuesOf (theName, Quantity_TOC_RGB); } //! Return the color as vector of 3 float elements. const NCollection_Vec3<float>& Rgb () const { return myRgb; } //! Return the color as vector of 3 float elements. operator const NCollection_Vec3<float>&() const { return myRgb; } //! Returns in theC1, theC2 and theC3 the components of this color //! according to the color system definition theType. Standard_EXPORT void Values (Standard_Real& theC1, Standard_Real& theC2, Standard_Real& theC3, const Quantity_TypeOfColor theType) const; //! Updates a color according to the mode specified by theType. //! Throws exception if values are out of range. Standard_EXPORT void SetValues (const Standard_Real theC1, const Standard_Real theC2, const Standard_Real theC3, const Quantity_TypeOfColor theType); //! Returns the Red component (quantity of red) of the color within range [0.0; 1.0]. Standard_Real Red() const { return myRgb.r(); } //! Returns the Green component (quantity of green) of the color within range [0.0; 1.0]. Standard_Real Green() const { return myRgb.g(); } //! Returns the Blue component (quantity of blue) of the color within range [0.0; 1.0]. Standard_Real Blue() const { return myRgb.b(); } //! Returns the Hue component (hue angle) of the color //! in degrees within range [0.0; 360.0], 0.0 being Red. //! -1.0 is a special value reserved for grayscale color (S should be 0.0) Standard_Real Hue() const { return Convert_LinearRGB_To_HLS (myRgb)[0]; } //! Returns the Light component (value of the lightness) of the color within range [0.0; 1.0]. Standard_Real Light() const { return Convert_LinearRGB_To_HLS (myRgb)[1]; } //! Increases or decreases the intensity (variation of the lightness). //! The delta is a percentage. Any value greater than zero will increase the intensity. //! The variation is expressed as a percentage of the current value. Standard_EXPORT void ChangeIntensity (const Standard_Real theDelta); //! Returns the Saturation component (value of the saturation) of the color within range [0.0; 1.0]. Standard_Real Saturation() const { return Convert_LinearRGB_To_HLS (myRgb)[2]; } //! Increases or decreases the contrast (variation of the saturation). //! The delta is a percentage. Any value greater than zero will increase the contrast. //! The variation is expressed as a percentage of the current value. Standard_EXPORT void ChangeContrast (const Standard_Real theDelta); //! Returns TRUE if the distance between two colors is greater than Epsilon(). Standard_Boolean IsDifferent (const Quantity_Color& theOther) const { return (SquareDistance (theOther) > Epsilon() * Epsilon()); } //! Alias to IsDifferent(). Standard_Boolean operator!= (const Quantity_Color& theOther) const { return IsDifferent (theOther); } //! Returns TRUE if the distance between two colors is no greater than Epsilon(). Standard_Boolean IsEqual (const Quantity_Color& theOther) const { return (SquareDistance (theOther) <= Epsilon() * Epsilon()); } //! Alias to IsEqual(). Standard_Boolean operator== (const Quantity_Color& theOther) const { return IsEqual (theOther); } //! Returns the distance between two colors. It's a value between 0 and the square root of 3 (the black/white distance). Standard_Real Distance (const Quantity_Color& theColor) const { return (NCollection_Vec3<Standard_Real> (myRgb) - NCollection_Vec3<Standard_Real> (theColor.myRgb)).Modulus(); } //! Returns the square of distance between two colors. Standard_Real SquareDistance (const Quantity_Color& theColor) const { return (NCollection_Vec3<Standard_Real> (myRgb) - NCollection_Vec3<Standard_Real> (theColor.myRgb)).SquareModulus(); } //! Returns the percentage change of contrast and intensity between this and another color. //! <DC> and <DI> are percentages, either positive or negative. //! The calculation is with respect to this color. //! If <DC> is positive then <me> is more contrasty. //! If <DI> is positive then <me> is more intense. Standard_EXPORT void Delta (const Quantity_Color& theColor, Standard_Real& DC, Standard_Real& DI) const; //! Returns the value of the perceptual difference between this color //! and @p theOther, computed using the CIEDE2000 formula. //! The difference is in range [0, 100.], with 1 approximately corresponding //! to the minimal percievable difference (usually difference 5 or greater is //! needed for the difference to be recognizable in practice). Standard_EXPORT Standard_Real DeltaE2000 (const Quantity_Color& theOther) const; public: //! Returns the color from Quantity_NameOfColor enumeration nearest to specified RGB values. static Quantity_NameOfColor Name (const Standard_Real theR, const Standard_Real theG, const Standard_Real theB) { const Quantity_Color aColor (theR, theG, theB, Quantity_TOC_RGB); return aColor.Name(); } //! Returns the name of the color identified by the given Quantity_NameOfColor enumeration value. Standard_EXPORT static Standard_CString StringName (const Quantity_NameOfColor theColor); //! Finds color from predefined names. //! For example, the name of the color which corresponds to "BLACK" is Quantity_NOC_BLACK. //! Returns FALSE if name is unknown. Standard_EXPORT static Standard_Boolean ColorFromName (const Standard_CString theName, Quantity_NameOfColor& theColor); //! Finds color from predefined names. //! @param theColorNameString the color name //! @param theColor a found color //! @return false if the color name is unknown, or true if the search by color name was successful static Standard_Boolean ColorFromName (const Standard_CString theColorNameString, Quantity_Color& theColor) { Quantity_NameOfColor aColorName = Quantity_NOC_BLACK; if (!ColorFromName (theColorNameString, aColorName)) { return false; } theColor = aColorName; return true; } public: //!@name Routines converting colors between different encodings and color spaces //! Parses the string as a hex color (like "#FF0" for short sRGB color, or "#FFFF00" for sRGB color) //! @param theHexColorString the string to be parsed //! @param theColor a color that is a result of parsing //! @return true if parsing was successful, or false otherwise Standard_EXPORT static bool ColorFromHex (const Standard_CString theHexColorString, Quantity_Color& theColor); //! Returns hex sRGB string in format "#FFAAFF". static TCollection_AsciiString ColorToHex (const Quantity_Color& theColor, const bool theToPrefixHash = true) { NCollection_Vec3<Standard_ShortReal> anSRgb = Convert_LinearRGB_To_sRGB ((NCollection_Vec3<Standard_ShortReal> )theColor); NCollection_Vec3<Standard_Integer> anSRgbInt (anSRgb * 255.0f + NCollection_Vec3<Standard_ShortReal> (0.5f)); char aBuff[10]; Sprintf (aBuff, theToPrefixHash ? "#%02X%02X%02X" : "%02X%02X%02X", anSRgbInt.r(), anSRgbInt.g(), anSRgbInt.b()); return aBuff; } //! Converts sRGB components into HLS ones. Standard_EXPORT static NCollection_Vec3<float> Convert_sRGB_To_HLS (const NCollection_Vec3<float>& theRgb); //! Converts HLS components into RGB ones. Standard_EXPORT static NCollection_Vec3<float> Convert_HLS_To_sRGB (const NCollection_Vec3<float>& theHls); //! Converts Linear RGB components into HLS ones. static NCollection_Vec3<float> Convert_LinearRGB_To_HLS (const NCollection_Vec3<float>& theRgb) { return Convert_sRGB_To_HLS (Convert_LinearRGB_To_sRGB (theRgb)); } //! Converts HLS components into linear RGB ones. static NCollection_Vec3<float> Convert_HLS_To_LinearRGB (const NCollection_Vec3<float>& theHls) { return Convert_sRGB_To_LinearRGB (Convert_HLS_To_sRGB (theHls)); } //! Converts linear RGB components into CIE Lab ones. Standard_EXPORT static NCollection_Vec3<float> Convert_LinearRGB_To_Lab (const NCollection_Vec3<float>& theRgb); //! Converts CIE Lab components into CIE Lch ones. Standard_EXPORT static NCollection_Vec3<float> Convert_Lab_To_Lch (const NCollection_Vec3<float>& theLab); //! Converts CIE Lab components into linear RGB ones. //! Note that the resulting values may be out of the valid range for RGB. Standard_EXPORT static NCollection_Vec3<float> Convert_Lab_To_LinearRGB (const NCollection_Vec3<float>& theLab); //! Converts CIE Lch components into CIE Lab ones. Standard_EXPORT static NCollection_Vec3<float> Convert_Lch_To_Lab (const NCollection_Vec3<float>& theLch); //! Convert the color value to ARGB integer value, with alpha equals to 0. //! So the output is formatted as 0x00RRGGBB. //! Note that this unpacking does NOT involve non-linear sRGB -> linear RGB conversion, //! as would be usually expected for RGB color packed into 4 bytes. //! @param theColor [in] color to convert //! @param theARGB [out] result color encoded as integer static void Color2argb (const Quantity_Color& theColor, Standard_Integer& theARGB) { const NCollection_Vec3<Standard_Integer> aColor (static_cast<Standard_Integer> (255.0f * theColor.myRgb.r() + 0.5f), static_cast<Standard_Integer> (255.0f * theColor.myRgb.g() + 0.5f), static_cast<Standard_Integer> (255.0f * theColor.myRgb.b() + 0.5f)); theARGB = (((aColor.r() & 0xff) << 16) | ((aColor.g() & 0xff) << 8) | (aColor.b() & 0xff)); } //! Convert integer ARGB value to Color. Alpha bits are ignored. //! Note that this packing does NOT involve linear -> non-linear sRGB conversion, //! as would be usually expected to preserve higher (for human eye) color precision in 4 bytes. static void Argb2color (const Standard_Integer theARGB, Quantity_Color& theColor) { const NCollection_Vec3<Standard_Real> aColor (static_cast <Standard_Real> ((theARGB & 0xff0000) >> 16), static_cast <Standard_Real> ((theARGB & 0x00ff00) >> 8), static_cast <Standard_Real> ((theARGB & 0x0000ff))); theColor.SetValues (aColor.r() / 255.0, aColor.g() / 255.0, aColor.b() / 255.0, Quantity_TOC_sRGB); } //! Convert linear RGB component into sRGB using OpenGL specs formula (double precision), also known as gamma correction. static Standard_Real Convert_LinearRGB_To_sRGB (Standard_Real theLinearValue) { return theLinearValue <= 0.0031308 ? theLinearValue * 12.92 : Pow (theLinearValue, 1.0/2.4) * 1.055 - 0.055; } //! Convert linear RGB component into sRGB using OpenGL specs formula (single precision), also known as gamma correction. static float Convert_LinearRGB_To_sRGB (float theLinearValue) { return theLinearValue <= 0.0031308f ? theLinearValue * 12.92f : powf (theLinearValue, 1.0f/2.4f) * 1.055f - 0.055f; } //! Convert sRGB component into linear RGB using OpenGL specs formula (double precision), also known as gamma correction. static Standard_Real Convert_sRGB_To_LinearRGB (Standard_Real thesRGBValue) { return thesRGBValue <= 0.04045 ? thesRGBValue / 12.92 : Pow ((thesRGBValue + 0.055) / 1.055, 2.4); } //! Convert sRGB component into linear RGB using OpenGL specs formula (single precision), also known as gamma correction. static float Convert_sRGB_To_LinearRGB (float thesRGBValue) { return thesRGBValue <= 0.04045f ? thesRGBValue / 12.92f : powf ((thesRGBValue + 0.055f) / 1.055f, 2.4f); } //! Convert linear RGB components into sRGB using OpenGL specs formula. template<typename T> static NCollection_Vec3<T> Convert_LinearRGB_To_sRGB (const NCollection_Vec3<T>& theRGB) { return NCollection_Vec3<T> (Convert_LinearRGB_To_sRGB (theRGB.r()), Convert_LinearRGB_To_sRGB (theRGB.g()), Convert_LinearRGB_To_sRGB (theRGB.b())); } //! Convert sRGB components into linear RGB using OpenGL specs formula. template<typename T> static NCollection_Vec3<T> Convert_sRGB_To_LinearRGB (const NCollection_Vec3<T>& theRGB) { return NCollection_Vec3<T> (Convert_sRGB_To_LinearRGB (theRGB.r()), Convert_sRGB_To_LinearRGB (theRGB.g()), Convert_sRGB_To_LinearRGB (theRGB.b())); } //! Convert linear RGB component into sRGB using approximated uniform gamma coefficient 2.2. static float Convert_LinearRGB_To_sRGB_approx22 (float theLinearValue) { return powf (theLinearValue, 2.2f); } //! Convert sRGB component into linear RGB using approximated uniform gamma coefficient 2.2 static float Convert_sRGB_To_LinearRGB_approx22 (float thesRGBValue) { return powf (thesRGBValue, 1.0f/2.2f); } //! Convert linear RGB components into sRGB using approximated uniform gamma coefficient 2.2 static NCollection_Vec3<float> Convert_LinearRGB_To_sRGB_approx22 (const NCollection_Vec3<float>& theRGB) { return NCollection_Vec3<float> (Convert_LinearRGB_To_sRGB_approx22 (theRGB.r()), Convert_LinearRGB_To_sRGB_approx22 (theRGB.g()), Convert_LinearRGB_To_sRGB_approx22 (theRGB.b())); } //! Convert sRGB components into linear RGB using approximated uniform gamma coefficient 2.2 static NCollection_Vec3<float> Convert_sRGB_To_LinearRGB_approx22 (const NCollection_Vec3<float>& theRGB) { return NCollection_Vec3<float> (Convert_sRGB_To_LinearRGB_approx22 (theRGB.r()), Convert_sRGB_To_LinearRGB_approx22 (theRGB.g()), Convert_sRGB_To_LinearRGB_approx22 (theRGB.b())); } //! Converts HLS components into sRGB ones. static void HlsRgb (const Standard_Real theH, const Standard_Real theL, const Standard_Real theS, Standard_Real& theR, Standard_Real& theG, Standard_Real& theB) { const NCollection_Vec3<float> anRgb = Convert_HLS_To_sRGB (NCollection_Vec3<float> ((float )theH, (float )theL, (float )theS)); theR = anRgb[0]; theG = anRgb[1]; theB = anRgb[2]; } //! Converts sRGB components into HLS ones. static void RgbHls (const Standard_Real theR, const Standard_Real theG, const Standard_Real theB, Standard_Real& theH, Standard_Real& theL, Standard_Real& theS) { const NCollection_Vec3<float> aHls = Convert_sRGB_To_HLS (NCollection_Vec3<float> ((float )theR, (float )theG, (float )theB)); theH = aHls[0]; theL = aHls[1]; theS = aHls[2]; } public: //! Returns the value used to compare two colors for equality; 0.0001 by default. Standard_EXPORT static Standard_Real Epsilon(); //! Set the value used to compare two colors for equality. Standard_EXPORT static void SetEpsilon (const Standard_Real theEpsilon); //! Dumps the content of me into the stream Standard_EXPORT void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const; //! Inits the content of me from the stream Standard_EXPORT Standard_Boolean InitFromJson (const Standard_SStream& theSStream, Standard_Integer& theStreamPos); private: //! Returns the values of a predefined color according to the mode. Standard_EXPORT static NCollection_Vec3<float> valuesOf (const Quantity_NameOfColor theName, const Quantity_TypeOfColor theType); private: NCollection_Vec3<float> myRgb; }; #endif // _Quantity_Color_HeaderFile
#include "gtest/gtest.h" #include <chrono> #include "kompute/Kompute.hpp" TEST(TestAsyncOperations, TestManagerParallelExecution) { // This test is built for NVIDIA 1650. It assumes: // * Queue family 0 and 2 have compute capabilities // * GPU is able to process parallel shader code across different families uint32_t size = 10; uint32_t numParallel = 2; std::string shader(R"( #version 450 layout (local_size_x = 1) in; layout(set = 0, binding = 0) buffer b { float pb[]; }; shared uint sharedTotal[1]; void main() { uint index = gl_GlobalInvocationID.x; sharedTotal[0] = 0; for (int i = 0; i < 100000000; i++) { atomicAdd(sharedTotal[0], 1); } pb[index] = sharedTotal[0]; } )"); std::vector<float> data(size, 0.0); std::vector<float> resultSync(size, 100000000); std::vector<float> resultAsync(size, 100000000); kp::Manager mgr; std::vector<std::shared_ptr<kp::Tensor>> inputsSyncB; for (uint32_t i = 0; i < numParallel; i++) { inputsSyncB.push_back(std::make_shared<kp::Tensor>(kp::Tensor(data))); } mgr.rebuild(inputsSyncB); auto startSync = std::chrono::high_resolution_clock::now(); for (uint32_t i = 0; i < numParallel; i++) { mgr.evalOpDefault<kp::OpAlgoBase>( { inputsSyncB[i] }, std::vector<char>(shader.begin(), shader.end())); } auto endSync = std::chrono::high_resolution_clock::now(); auto durationSync = std::chrono::duration_cast<std::chrono::microseconds>(endSync - startSync) .count(); mgr.evalOpDefault<kp::OpTensorSyncLocal>(inputsSyncB); for (uint32_t i = 0; i < numParallel; i++) { EXPECT_EQ(inputsSyncB[i]->data(), resultSync); } kp::Manager mgrAsync(0, { 0, 2 }); std::vector<std::shared_ptr<kp::Tensor>> inputsAsyncB; for (uint32_t i = 0; i < numParallel; i++) { inputsAsyncB.push_back(std::make_shared<kp::Tensor>(kp::Tensor(data))); } mgrAsync.rebuild(inputsAsyncB); for (uint32_t i = 0; i < numParallel; i++) { mgrAsync.sequence("async" + std::to_string(i), i); } auto startAsync = std::chrono::high_resolution_clock::now(); for (uint32_t i = 0; i < numParallel; i++) { mgrAsync.evalOpAsync<kp::OpAlgoBase>( { inputsAsyncB[i] }, "async" + std::to_string(i), std::vector<char>(shader.begin(), shader.end())); } for (uint32_t i = 0; i < numParallel; i++) { mgrAsync.evalOpAwait("async" + std::to_string(i)); } auto endAsync = std::chrono::high_resolution_clock::now(); auto durationAsync = std::chrono::duration_cast<std::chrono::microseconds>( endAsync - startAsync) .count(); mgrAsync.evalOpDefault<kp::OpTensorSyncLocal>({ inputsAsyncB }); for (uint32_t i = 0; i < numParallel; i++) { EXPECT_EQ(inputsAsyncB[i]->data(), resultAsync); } // The speedup should be at least 40% EXPECT_LT(durationAsync, durationSync * 0.6); } TEST(TestAsyncOperations, TestManagerAsyncExecution) { uint32_t size = 10; std::string shader(R"( #version 450 layout (local_size_x = 1) in; layout(set = 0, binding = 0) buffer b { float pb[]; }; shared uint sharedTotal[1]; void main() { uint index = gl_GlobalInvocationID.x; sharedTotal[0] = 0; for (int i = 0; i < 100000000; i++) { atomicAdd(sharedTotal[0], 1); } pb[index] = sharedTotal[0]; } )"); std::vector<float> data(size, 0.0); std::vector<float> resultAsync(size, 100000000); kp::Manager mgr; std::shared_ptr<kp::Tensor> tensorA{ new kp::Tensor(data) }; std::shared_ptr<kp::Tensor> tensorB{ new kp::Tensor(data) }; mgr.sequence("asyncOne"); mgr.sequence("asyncTwo"); mgr.rebuild({ tensorA, tensorB }); mgr.evalOpAsync<kp::OpAlgoBase>( { tensorA }, "asyncOne", std::vector<char>(shader.begin(), shader.end())); mgr.evalOpAsync<kp::OpAlgoBase>( { tensorB }, "asyncTwo", std::vector<char>(shader.begin(), shader.end())); mgr.evalOpAwait("asyncOne"); mgr.evalOpAwait("asyncTwo"); mgr.evalOpAsyncDefault<kp::OpTensorSyncLocal>({ tensorA, tensorB }); mgr.evalOpAwaitDefault(); EXPECT_EQ(tensorA->data(), resultAsync); EXPECT_EQ(tensorB->data(), resultAsync); }
#include "Variable.h" // Setter method for Variable name void Variable::setName(string n){ name = n; } void Variable::inc_const(int num){ constant += num; } void Variable::setSolved( bool state ){ solved = state; }
#include "SystemBase.h" SystemBase::SystemBase() { m_pmapCompIndex = new unordered_map<uint64, int>; } SystemBase::~SystemBase() { SAFE_DEL(m_pmapCompIndex) } int SystemBase::CreateComponent(int ownerID, int AssetID) { return 0; }
/* * Player.h * * Created on: Aug 16, 2016 * Author: Kevin Koza */ #ifndef PLAYER_H #define PLAYER_H_ #include <iostream> #include "Inventory.h" #include "Location.h" namespace std { class Player { public: Player(); virtual ~Player(); void listInventory(); void sayHi(); int inventoryAdd(Item thing); void inventoryRemove(int index); void inventoryList(); int inventorySearch(Item thing); private: Item inventory[99]; Location currentLocation; }; } /* namespace std */ #endif /* Player_H_ */
class Solution { public: int findKthLargest(vector<int>& nums, int k) { if(nums.size() < k) return -1; priority_queue<int,vector<int>,greater<int> > Q; for(int i=0; i<nums.size(); ++i){ if(Q.size() < k){ Q.push(nums[i]); }else{ if(Q.top() < nums[i]){ Q.pop(); Q.push(nums[i]); } } } return Q.top(); } };
#include <sstream> #include <chrono> #include <QTextCodec> #include <QDebug> #include "PhoneticDictionaryViewModel.h" #include <ClnUtils.h> #include "SpeechProcessing.h" #include "SpeechAnnotation.h" #include "SpeechDataValidation.h" #include "assertImpl.h" namespace PticaGovorun { PhoneticDictionaryViewModel::PhoneticDictionaryViewModel(std::shared_ptr<SpeechData> speechData, std::shared_ptr<PhoneRegistry> phoneReg) : speechData_(speechData), phoneReg_(phoneReg) { PG_Assert(speechData_ != nullptr); PG_Assert(phoneReg_ != nullptr); } void PhoneticDictionaryViewModel::updateSuggesedWordsList(const QString& browseDictStr, const QString& currentWord) { matchedWords_.clear(); speechData_->suggesedWordsUserInput(browseDictStr, currentWord, matchedWords_); emit matchedWordsChanged(); } const QStringList& PhoneticDictionaryViewModel::matchedWords() const { return matchedWords_; } void PhoneticDictionaryViewModel::showWordPhoneticTranscription(const QString& browseDictStr, const std::wstring& word) { const PhoneticWord* phonWord = speechData_->findPhoneticWord(browseDictStr, word); if (phonWord != nullptr) { QString buf; for (const PronunciationFlavour& pron : phonWord->Pronunciations) { buf.append(QString::fromWCharArray(pron.PronCode.data(), pron.PronCode.size())); buf.append("\t"); std::string phonesBuf; phoneListToStr(*phoneReg_, pron.Phones, phonesBuf); buf.append(phonesBuf.c_str()); buf.append("\n"); } wordPhoneticTrnascript_ = buf; } emit phoneticTrnascriptChanged(); } const QString PhoneticDictionaryViewModel::wordPhoneticTranscript() const { return wordPhoneticTrnascript_; } void PhoneticDictionaryViewModel::setEditedWordSourceDictionary(const QString& editedWordSourceDictionary) { editedWordSourceDictionary_ = editedWordSourceDictionary; } void PhoneticDictionaryViewModel::updateWordPronunciation(const QString& dictId, const QString& word, const QString& pronLinesAsStr) { // prohibit accidental overwriting of word from one dictionary with a value from other dictionary auto wordDerivedFromDict = editedWordSourceDictionary_; bool mayOverwriteWord = wordDerivedFromDict != dictId; if (mayOverwriteWord) { bool hasWord = speechData_->findPhoneticWord(dictId, word.toStdWString()) != nullptr; if (hasWord) { qDebug() << "The word already exist in the dictionary. Edit the existing word instead."; return; } } QString errMsg; if (!speechData_->createUpdateDeletePhoneticWord(dictId, word, pronLinesAsStr, &errMsg)) { qDebug() << errMsg; return; } qDebug() << "Added word=" << word << " pron=" << pronLinesAsStr; } QString PhoneticDictionaryViewModel::getWordAutoPhoneticExpansion(const QString& word) const { std::vector<PhoneId> phones; bool spellOp; const char* errMsg; std::tie(spellOp, errMsg) = spellWordUk(*phoneReg_, word.toStdWString(), phones, nullptr); if (!spellOp) return QString::fromLatin1(errMsg); std::string wordTranscr; if (!phoneListToStr(*phoneReg_, phones, wordTranscr)) return QString::fromStdWString(L"Can't convert phone list to string"); return QString::fromStdString(wordTranscr); } }
#include <bits/stdc++.h> using namespace std; #define TESTC "" #define PROBLEM "12439" #define USE_CPPIO() ios_base::sync_with_stdio(0); cin.tie(0) int main(int argc, char const *argv[]) { #ifdef DBG freopen("uva" PROBLEM TESTC ".in", "r", stdin); freopen("uva" PROBLEM ".out", "w", stdout); #endif int kase; scanf("%d",&kase); string month; int day,year; int one,two; for(int k = 1 ; k <= kase ; k++ ){ cin >> month; scanf("%d, %d", &day, &year); if( month == "January" || month == "February" ) year--; one = year/4 - year/100 + year/400; cin >> month; scanf("%d, %d", &day, &year); if( month == "January" || month == "February" ) year--; if( month == "February" && day == 29 ) year++; two = year/4 - year/100 + year/400; printf("Case %d: %d\n", k, two-one ); } return 0; }
#include <gtest/gtest.h> #include <string> #include <sstream> #include "../src/arbol.h" namespace { TEST(ArbolTests, Test_Constructor) { Arbol *arbol = new Arbol(); arbol->AgregarNodo(1, 1, 0); std::ostringstream streamSalida {}; streamSalida << *arbol; std::string actual = streamSalida.str(); delete arbol; EXPECT_EQ("Nodo: 1. Valor: 1\n", actual); } TEST(ArbolTests, Test_Agregar_Nodo) { Arbol *arbol = new Arbol(); arbol->AgregarNodo(1, 1, 0); arbol->AgregarNodo(2, 2, 1); arbol->AgregarNodo(3, 3, 2); std::ostringstream streamSalida {}; streamSalida << *arbol; std::string actual = streamSalida.str(); delete arbol; std::ostringstream streamSalidaEsperada {}; streamSalidaEsperada << "Nodo: 1. Valor: 1" << std::endl; streamSalidaEsperada << "Nodo: 2. Valor: 2" << std::endl; streamSalidaEsperada << "Nodo: 3. Valor: 3" << std::endl; std::string esperada = streamSalidaEsperada.str(); EXPECT_EQ(esperada, actual); } TEST(ArbolTests, Test_Agregar_Nodos_UnNivel) { Arbol *arbol = new Arbol(); arbol->AgregarNodo(1, 1, 0); arbol->AgregarNodo(2, 2, 1); arbol->AgregarNodo(3, 3, 1); std::ostringstream streamSalida {}; streamSalida << *arbol; std::string actual = streamSalida.str(); delete arbol; std::ostringstream streamSalidaEsperada {}; streamSalidaEsperada << "Nodo: 1. Valor: 1" << std::endl; streamSalidaEsperada << "Nodo: 2. Valor: 2" << std::endl; streamSalidaEsperada << "Nodo: 3. Valor: 3" << std::endl; std::string esperada = streamSalidaEsperada.str(); EXPECT_EQ(esperada, actual); } TEST(ArbolTests, Test_Agregar_Nodos_DosNiveles) { Arbol *arbol = new Arbol(); arbol->AgregarNodo(1, 1, 0); arbol->AgregarNodo(2, 2, 1); arbol->AgregarNodo(3, 5, 1); arbol->AgregarNodo(4, 5, 3); arbol->AgregarNodo(5, 5, 3); std::ostringstream streamSalida {}; streamSalida << *arbol; std::string actual = streamSalida.str(); delete arbol; std::ostringstream streamSalidaEsperada {}; streamSalidaEsperada << "Nodo: 1. Valor: 1" << std::endl; streamSalidaEsperada << "Nodo: 2. Valor: 2" << std::endl; streamSalidaEsperada << "Nodo: 3. Valor: 5" << std::endl; streamSalidaEsperada << "Nodo: 4. Valor: 5" << std::endl; streamSalidaEsperada << "Nodo: 5. Valor: 5" << std::endl; std::string esperada = streamSalidaEsperada.str(); EXPECT_EQ(esperada, actual); } }
/* -*- Mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- ** ** Copyright (C) 2000-2008 Opera Software AS. All rights reserved. ** ** This file is part of the Opera web browser. It may not be distributed ** under any circumstances. ** ** Yngve Pettersen ** */ #ifndef _KEYGEN_TRACKER_H_ #define _KEYGEN_TRACKER_H_ #if defined _NATIVE_SSL_SUPPORT_ && defined LIBSSL_ENABLE_KEYGEN #include "modules/url/url2.h" class OpWindow; class SSLSecurtityPasswordCallbackImpl; struct SSL_dialog_config; /** This object manages the generation of a private key * The result is a Base64 encoded */ class SSL_Private_Key_Generator : public MessageObject { protected: SSL_Certificate_Request_Format m_format; SSL_BulkCipherType m_type; unsigned int m_keysize; OpString8 m_challenge; OpString8 m_spki_string; URL m_target_url; OpWindow *window; MessageHandler *msg_handler; OpMessage finished_message; MH_PARAM_1 finished_id; SSL_Options *optionsManager; BOOL external_opt; SSL_secure_varvector32 m_pkcs8_private_key; SSL_varvector16 m_public_key_hash; SSLSecurtityPasswordCallbackImpl *asking_password; public: SSL_Private_Key_Generator(); virtual ~SSL_Private_Key_Generator(); /** * Prepares the keygeneration procedure * * @param config Configuration for dialogs to be displayed as part of the key generation process, as well as the finished message to be sent to the caller * The finished message's par2 will be TRUE if the operation succeded, FALSE if the operation failed or was cancelled * @param target The form action URL to which the request will be sent. This will be used for the comment in the key entry * @param format Which certificate request format should be used? * @param type Which public key encryption algorithm should the key be created for? * @param challenge A textstring to be included and signed as part of the request * @param keygen_size The selected length of the key * @param opt Optional SSL_Options object. If a non-NULL opt is provided, then CommitOptionsManager MUST be used by the caller */ OP_STATUS Construct(SSL_dialog_config &config, URL &target, SSL_Certificate_Request_Format format, SSL_BulkCipherType type, const OpStringC8 &challenge, unsigned int keygen_size, SSL_Options *opt); virtual void HandleCallback(OpMessage msg, MH_PARAM_1 par1, MH_PARAM_2 par2); /** Get the generated SPKI string with the certificate requeste */ OpStringC8 &GetSPKIString(){return m_spki_string;} /** Start the key generation process * * Returns: * InstallerStatus::KEYGEN_FINISHED if the entire process is finished; a message will be posted, but need not be handled * OpStatus::OK if the process continues, wait for finished message */ OP_STATUS StartKeyGeneration(); protected: /** Implementation specific * * Set up the key generation process, * If generation is finished, the implementation MUST call StoreKey * * returns: * * InstallerStatus::KEYGEN_FINISHED if the entire process is finished; a message will be posted, but need not be handled * OpStatus::OK if the process continues, wait for finished message */ virtual OP_STATUS InitiateKeyGeneration()=0; /** Implementation specific * * Execute the next step of the generation procedure * If generation is finished, the implementation MUST call StoreKey * * returns: * * OpStatus::OK if the process continues, wait for finished message * InstallerStatus::ERR_PASSWORD_NEEDED if the security password is needed */ virtual OP_STATUS IterateKeyGeneration()=0; /** Stores the key with the associate public key hash */ OP_STATUS StoreKey(SSL_secure_varvector32 &pkcs8_private_key, SSL_varvector32 &public_key_hash); /** Posts the finished message and if the generation completed successfully * and if no external option manager is used, commits the options */ void Finished(BOOL success); private: /** The internal store key operation */ OP_STATUS InternalStoreKey(); }; #endif // LIBSSL_ENABLE_KEYGEN #endif // _KEYGEN_TRACKER_H_
#ifndef INCLUDED_MATH_MATRIX33_H #define INCLUDED_MATH_MATRIX33_H namespace Math { class Vector2; class Matrix33 {//数学に合わせて右手座標系を使用 public: Matrix33(); Matrix33(const Matrix33& a); ~Matrix33(); Matrix33& operator=(const Matrix33& a); //単位行列 void set_identity(); //転置 void set_transposition(); //逆行列 void set_inverse(); //変換行列 void set_translate(const Vector2& t); void set_rotate(float deg); void set_scale(const Vector2& s); //行列掛け合わせ Matrix33& operator*=(const Matrix33& m); void multiply( Vector2* out, const Vector2& in); //ワールド行列を法線用に変換する void world_mat_convert_for_normal(); float m[3][3]; }; }//namespace Math #endif
// Created on: 1993-06-10 // Created by: Christian CAILLET // Copyright (c) 1993-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #ifndef _Transfer_SimpleBinderOfTransient_HeaderFile #define _Transfer_SimpleBinderOfTransient_HeaderFile #include <Standard.hxx> #include <Standard_Type.hxx> #include <Transfer_Binder.hxx> class Transfer_SimpleBinderOfTransient; DEFINE_STANDARD_HANDLE(Transfer_SimpleBinderOfTransient, Transfer_Binder) //! An adapted instantiation of SimpleBinder for Transient Result, //! i.e. ResultType can be computed from the Result itself, //! instead of being static class Transfer_SimpleBinderOfTransient : public Transfer_Binder { public: //! Creates an empty SimpleBinderOfTransient //! Returns True if a starting object is bound with SEVERAL //! results : Here, returns always False //! See Binder itself Standard_EXPORT Transfer_SimpleBinderOfTransient(); //! Returns the Effective (Dynamic) Type of the Result //! (Standard_Transient if no Result is defined) Standard_EXPORT Handle(Standard_Type) ResultType() const Standard_OVERRIDE; //! Returns the Effective Name of (Dynamic) Type of the Result //! (void) if no result is defined Standard_EXPORT Standard_CString ResultTypeName() const Standard_OVERRIDE; //! Defines the Result Standard_EXPORT void SetResult (const Handle(Standard_Transient)& res); //! Returns the defined Result, if there is one Standard_EXPORT const Handle(Standard_Transient)& Result() const; //! Returns a transient result according to its type (IsKind) //! i.e. the result itself if IsKind(atype), else searches in //! NextResult, until first found, then returns True //! If not found, returns False (res is NOT touched) //! //! This syntactic form avoids to do DownCast : if a result is //! found with the good type, it is loaded in <res> and can be //! immediately used, well initialised Standard_EXPORT static Standard_Boolean GetTypedResult (const Handle(Transfer_Binder)& bnd, const Handle(Standard_Type)& atype, Handle(Standard_Transient)& res); DEFINE_STANDARD_RTTIEXT(Transfer_SimpleBinderOfTransient,Transfer_Binder) protected: private: Handle(Standard_Transient) theres; }; #endif // _Transfer_SimpleBinderOfTransient_HeaderFile
#include <bits/stdc++.h> #define ll long long using namespace std; ll a0[1005]; ll a1[1005]; ll a2[1005]; ll a3[1005]; int main() { int tc; cin>>tc; while(tc--) { int n; cin>>n; for(int i=1; i<=n; i++) { cin>>a0[i]>>a1[i]>>a2[i]>>a3[i]; } int q; cin>>q; while(q--) { int t; cin>>t; ll ans = 10000000000*10000000000; for(int i=1; i<=n; i++) { ans = min(ans,a0[i] + a1[i]*t + a2[i]*(t*t) + a3[i]*(t*t*t)); } printf("%lld\n",ans); } } return 0; }
// Author: Kirill Gavrilov // Copyright (c) 2017-2019 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #ifndef _RWObj_Tools_HeaderFile #define _RWObj_Tools_HeaderFile #include <gp_XYZ.hxx> #include <Graphic3d_Vec3.hxx> #include <TCollection_AsciiString.hxx> //! Auxiliary tools for OBJ format parser. namespace RWObj_Tools { //! Read 3 float values. inline bool ReadVec3 (const char* thePos, char*& theNext, Graphic3d_Vec3& theVec) { const char* aPos = thePos; theVec.x() = (float )Strtod (aPos, &theNext); aPos = theNext; theVec.y() = (float )Strtod (aPos, &theNext); aPos = theNext; theVec.z() = (float )Strtod (aPos, &theNext); return aPos != theNext; } //! Read 3 double values. inline bool ReadVec3 (const char* thePos, char*& theNext, gp_XYZ& theVec) { const char* aPos = thePos; theVec.SetX (Strtod (aPos, &theNext)); aPos = theNext; theVec.SetY (Strtod (aPos, &theNext)); aPos = theNext; theVec.SetZ (Strtod (aPos, &theNext)); return aPos != theNext; } //! Read string. inline bool ReadName (const char* thePos, TCollection_AsciiString& theName) { Standard_Integer aFrom = 0; Standard_Integer aTail = (Standard_Integer )std::strlen (thePos) - 1; if (aTail >= 0 && thePos[aTail] == '\n') { --aTail; } if (aTail >= 0 && thePos[aTail] == '\r') { --aTail; } for (; aTail >= 0 && IsSpace (thePos[aTail]); --aTail) {} // RightAdjust for (; aFrom < aTail && IsSpace (thePos[aFrom]); ++aFrom) {} // LeftAdjust if (aFrom > aTail) { theName.Clear(); return false; } theName = TCollection_AsciiString (thePos + aFrom, aTail - aFrom + 1); return true; } //! Return true if specified char is a white space. inline bool isSpaceChar (const char theChar) { return theChar == ' ' || theChar == '\t'; //return IsSpace (theChar); } } #endif // _RWObj_Tools_HeaderFile
#include<iostream> #include<cstdio> #include<map> #include<set> #include<vector> #include<stack> #include<queue> #include<string> #include<cstring> #include<sstream> #include<algorithm> #include<cmath> #define INF 0x3f3f3f3f #define eps 1e-8 #define pi acos(-1.0) using namespace std; typedef long long LL; const LL mod = 1e9 + 7; LL inv[100100]; void init() { int maxn = 100000; inv[1] = 1; for (int i = 2; i <= maxn; i++) inv[i] = inv[mod%i]*(mod-mod/i)%mod; } int main() { init(); int t; scanf("%d",&t); int m,n,k; while (t--) { scanf("%d%d%d",&n,&m,&k); if (m == 1) printf("%d\n",n); else if (n-m-m*k < 0) printf("%d\n",0); else { LL ans = n; int a = m + n-m-m*k-1,b = n-m-m*k; if (b < a-b) b = a-b; //cout << a << " " << b << endl; for (int i = b+1;i <= a; i++) ans = ans*i%mod; for (int i = 2;i <= a-b; i++) ans = ans*inv[i]%mod; ans = ans*inv[m]%mod; printf("%I64d\n",ans); } } return 0; }
#include "Sight.h" #include "Field.h" #include "Object.h" #include "Gunner.h" #include "PlayerNeo.h" #include "UniversalForce.h" #include "UniversalTorque.h" #include "Define.h" #include <QKeyEvent> #include <iostream> Sight::Sight(PlayerNeo* playerNeo, UniversalForce* accel, UniversalTorque* torque) : lookAtF( 0, 0, -1), lookAtB( 0, 0, 1), lookAtL(-1, 0, 0), lookAtR( 1, 0, 0), lookAtD( 0, -1, -0.1), sightPointF( 0, 7, 29), sightPointB( 0, 7, -29), sightPointL( 29, 7, 0), sightPointR(-29, 7, 0), sightPointD(0, 25, 5) { this->playerNeo = playerNeo; this->accel = accel; this->torque = torque; this->channel = 8; this->speedHorizontal = 0; this->speedVertical = 0; update(); } void Sight::initializeGL(void) { glClearColor(1, 1, 1, 1); glEnable(GL_DEPTH_TEST); glMatrixMode(GL_PROJECTION); // glOrtho(-5, 5, -5, 5, -10, 10); // glFrustum(-1, 1, -1, 1, 1, 15); // gluPerspective(90, 1, 0.01, 100); gluPerspective(60, 1, 0.01, 100); } void Sight::resizeGL(int width, int height) { if (width > height) glViewport((width - height) / 2.0, 0, height, height); else glViewport(0, (height - width) / 2.0, width, width); } void Sight::paintGL(void) { glMatrixMode(GL_MODELVIEW); glLoadIdentity(); Vector sightPoint = playerNeo->getGravityCenter() + playerNeo->getSightPoint(); Vector sightPointN = playerNeo->getGravityCenter() + playerNeo->getSightPointN(); Vector lookAt = playerNeo->getLookAt(); Vector lookAtN = playerNeo->getLookAtN(); switch (channel) { case 0: setGluLookAt(sightPoint, lookAt); break; case 1: setGluLookAt(sightPointN, lookAtN); break; case 3: setGluLookAt(Vector(-12, 8, 15), Vector(1, -0.2, -0.2)); break; case 2: sightPointB += (lookAtB * speedVertical) + (lookAtL * speedHorizontal); setGluLookAt(sightPointB, lookAtB); break; case 4: sightPointL += (lookAtL * speedVertical) + (lookAtF * speedHorizontal); setGluLookAt(sightPointL, lookAtL); break; case 5: sightPointD += (lookAtF * speedVertical) + (lookAtR * speedHorizontal); setGluLookAt(sightPointD, lookAtD); break; case 6: sightPointR += (lookAtR * speedVertical) + (lookAtB * speedHorizontal); setGluLookAt(sightPointR, lookAtR); break; case 8: sightPointF += (lookAtF * speedVertical) + (lookAtR * speedHorizontal); setGluLookAt(sightPointF, lookAtF); break; } glClear(GL_DEPTH_BUFFER_BIT); glClear(GL_COLOR_BUFFER_BIT); Field* field = Field::getInstance(); int objectNum = field->getObjectNum(); for (int i = 0; i < objectNum; i++) { paintObject(field->getObject(i)); } // paintCrashSpot(); glBegin(GL_LINES); /* glColor3d(0.8, 0, 0); glVertex3d(X + lookAt.getX() + (lookAtN.getX() / 10), Y + lookAt.getY() + (lookAtN.getY() / 10), Z + lookAt.getZ() + (lookAtN.getZ() / 10)); glVertex3d(X + lookAt.getX() + (lookAtN.getX() / 50), Y + lookAt.getY() + (lookAtN.getY() / 50), Z + lookAt.getZ() + (lookAtN.getZ() / 50)); glVertex3d(X + lookAt.getX() - (lookAtN.getX() / 10), Y + lookAt.getY() - (lookAtN.getY() / 10), Z + lookAt.getZ() - (lookAtN.getZ() / 10)); glVertex3d(X + lookAt.getX() - (lookAtN.getX() / 50), Y + lookAt.getY() - (lookAtN.getY() / 50), Z + lookAt.getZ() - (lookAtN.getZ() / 50)); */ glColor3d(0, 0, 0); glVertex3d( BAR_POS, 0, BAR_POS); glVertex3d( BAR_POS, 2 * BAR_POS, BAR_POS); glVertex3d( BAR_POS, 0, -BAR_POS); glVertex3d( BAR_POS, 2 * BAR_POS, -BAR_POS); glVertex3d(-BAR_POS, 0, BAR_POS); glVertex3d(-BAR_POS, 2 * BAR_POS, BAR_POS); glVertex3d(-BAR_POS, 0, -BAR_POS); glVertex3d(-BAR_POS, 2 * BAR_POS, -BAR_POS); glEnd(); } void Sight::setGluLookAt(const Vector& sightPoint, const Vector& direction) { float X = sightPoint.getX(); float Y = sightPoint.getY(); float Z = sightPoint.getZ(); gluLookAt(X, Y, Z, X + direction.getX(), Y + direction.getY() -0.3, Z + direction.getZ(), 0, 1, 0); } void Sight::paintObject(Object* modelObject) { short num = modelObject->getPolygonNum(); glBegin(GL_TRIANGLES);//time loss? for (short i = 0; i < num; i++) { Vector temp; glColor3s(modelObject->getPolygonR(i), modelObject->getPolygonG(i), modelObject->getPolygonB(i)); temp = modelObject->getPolygon1Vertex(i); glVertex3d(temp.getX(), temp.getY(), temp.getZ()); temp = modelObject->getPolygon2Vertex(i); glVertex3d(temp.getX(), temp.getY(), temp.getZ()); temp = modelObject->getPolygon3Vertex(i); glVertex3d(temp.getX(), temp.getY(), temp.getZ()); } glEnd(); /* glColor3s(0, 0, 0); glBegin(GL_LINES); for (short i = 0; i < num; i++) { Vector p1 = (modelObject->getPolygon1Vertex(i) + modelObject->getPolygon2Vertex(i) + modelObject->getPolygon3Vertex(i)) / 3.0; Vector p2 = p1 - (modelObject->getPlgnInside(i)); glVertex3d(p1.getX(), p1.getY(), p1.getZ()); glVertex3d(p2.getX(), p2.getY(), p2.getZ()); } glEnd(); */ } /* void Sight::paintCrashSpot(void) { glPointSize(5.0); glBegin(GL_POINTS); glColor3s(32767, 32767, 32767); for (short i = 0 ; i < force_p->length() ; i++) { Vector crashSpot = force_p->get(i)->getForcePoint(); glVertex3d(crashSpot.getX(), crashSpot.getY(), crashSpot.getZ()); } glEnd(); } */ void Sight::keyPressEvent(QKeyEvent* keyboard) { int ch; if (keyboard->isAutoRepeat()) { return; } ch = keyboard->key(); switch (ch) { case 16777234://left torque->setVector(0, TORQUE, 0); // should rotate the direction of accel? break; case 16777236://right torque->setVector(0, -TORQUE, 0); break; case 16777235://front accel->setVector(this->playerNeo->getLookAt() * ACCEL); break; case 16777237://back accel->setVector(this->playerNeo->getLookAt() * -ACCEL); break; /* case ' ': gunner->trigger(lookAt); break; */ case 'W'://go speedVertical = SPEED_MAX; break; case 'S'://back speedVertical = -SPEED_MAX; break; case 'A'://turn left speedHorizontal = -SPEED_MAX; break; case 'D'://turn right speedHorizontal = SPEED_MAX; break; case '8'://shoulder up playerNeo->moveShoulder(SHOULDER_SPEED); break; case '2'://shoulder down playerNeo->moveShoulder(-SHOULDER_SPEED); break; case '4'://hand close playerNeo->hold(HAND_SPEED * 0.7); break; case '6'://hand open playerNeo->hold(-HAND_SPEED * 0.7); break; // case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case 'J': channel = 4; break; case 'L': channel = 6; break; case 'I': channel = 8; break; case 'K': channel = 2; break; // channel = ch - '0'; // break; case 16777220: timeCall(); break; } } void Sight::keyReleaseEvent(QKeyEvent* keyboard) { int ch = keyboard->key(); if (keyboard->isAutoRepeat()) { return; } switch (ch) { case 16777234://left case 16777236://right torque->setVector(0, 0, 0); this->playerNeo->stop(); break; case 16777235://front case 16777237://back accel->setVector(0, 0, 0); this->playerNeo->stop(); break; case '2': case '8': playerNeo->moveShoulder(0); break; case '4': case '6': playerNeo->hold(0); break; case 'W': case 'S': speedVertical = 0; break; case 'A': case 'D': speedHorizontal = 0; break; } }
// Created on: 1997-03-26 // Created by: Christian CAILLET // Copyright (c) 1997-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #ifndef _StepAP214_AutoDesignPresentedItemSelect_HeaderFile #define _StepAP214_AutoDesignPresentedItemSelect_HeaderFile #include <Standard.hxx> #include <Standard_DefineAlloc.hxx> #include <Standard_Handle.hxx> #include <StepData_SelectType.hxx> #include <Standard_Integer.hxx> class Standard_Transient; class StepBasic_ProductDefinitionRelationship; class StepBasic_ProductDefinition; class StepRepr_ProductDefinitionShape; class StepRepr_RepresentationRelationship; class StepRepr_ShapeAspect; class StepBasic_DocumentRelationship; class StepAP214_AutoDesignPresentedItemSelect : public StepData_SelectType { public: DEFINE_STANDARD_ALLOC //! Returns a AutoDesignPresentedItemSelect SelectType Standard_EXPORT StepAP214_AutoDesignPresentedItemSelect(); //! Recognizes a AutoDesignPresentedItemSelect Kind Entity that is : //! 1 -> ProductDefinition, //! 2 -> ProductDefinitionRelationship, //! 3 -> ProductDefinitionShape //! 4 -> RepresentationRelationship //! 5 -> ShapeAspect //! 6 -> DocumentRelationship, //! 0 else Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const; //! returns Value as a ProductDefinitionRelationship (Null if another type) Standard_EXPORT Handle(StepBasic_ProductDefinitionRelationship) ProductDefinitionRelationship() const; //! returns Value as a ProductDefinition (Null if another type) Standard_EXPORT Handle(StepBasic_ProductDefinition) ProductDefinition() const; //! returns Value as a ProductDefinitionShape (Null if another type) Standard_EXPORT Handle(StepRepr_ProductDefinitionShape) ProductDefinitionShape() const; //! returns Value as a RepresentationRelationship (Null if another type) Standard_EXPORT Handle(StepRepr_RepresentationRelationship) RepresentationRelationship() const; //! returns Value as a ShapeAspect (Null if another type) Standard_EXPORT Handle(StepRepr_ShapeAspect) ShapeAspect() const; //! returns Value as a DocumentRelationship (Null if another type) Standard_EXPORT Handle(StepBasic_DocumentRelationship) DocumentRelationship() const; protected: private: }; #endif // _StepAP214_AutoDesignPresentedItemSelect_HeaderFile
// Copyright Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ===========================================================================*/ #include "UObject/GeneratedCppIncludes.h" #include "UnrealAI/UnrealAI C++/AICpp_NPC0.h" #ifdef _MSC_VER #pragma warning (push) #pragma warning (disable : 4883) #endif PRAGMA_DISABLE_DEPRECATION_WARNINGS void EmptyLinkFunctionForGeneratedCodeAICpp_NPC0() {} // Cross Module References UNREALAI_API UClass* Z_Construct_UClass_AAICpp_NPC0_NoRegister(); UNREALAI_API UClass* Z_Construct_UClass_AAICpp_NPC0(); ENGINE_API UClass* Z_Construct_UClass_ACharacter(); UPackage* Z_Construct_UPackage__Script_UnrealAI(); AIMODULE_API UClass* Z_Construct_UClass_UBehaviorTree_NoRegister(); ENGINE_API UClass* Z_Construct_UClass_USphereComponent_NoRegister(); // End Cross Module References void AAICpp_NPC0::StaticRegisterNativesAAICpp_NPC0() { } UClass* Z_Construct_UClass_AAICpp_NPC0_NoRegister() { return AAICpp_NPC0::StaticClass(); } struct Z_Construct_UClass_AAICpp_NPC0_Statics { static UObject* (*const DependentSingletons[])(); #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam Class_MetaDataParams[]; #endif #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_AIBehaviourTreeSystem_MetaData[]; #endif static const UE4CodeGen_Private::FObjectPropertyParams NewProp_AIBehaviourTreeSystem; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_EnemyCollisionSphere_MetaData[]; #endif static const UE4CodeGen_Private::FObjectPropertyParams NewProp_EnemyCollisionSphere; static const UE4CodeGen_Private::FPropertyParamsBase* const PropPointers[]; static const FCppClassTypeInfoStatic StaticCppClassTypeInfo; static const UE4CodeGen_Private::FClassParams ClassParams; }; UObject* (*const Z_Construct_UClass_AAICpp_NPC0_Statics::DependentSingletons[])() = { (UObject* (*)())Z_Construct_UClass_ACharacter, (UObject* (*)())Z_Construct_UPackage__Script_UnrealAI, }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_AAICpp_NPC0_Statics::Class_MetaDataParams[] = { { "HideCategories", "Navigation" }, { "IncludePath", "UnrealAI C++/AICpp_NPC0.h" }, { "ModuleRelativePath", "UnrealAI C++/AICpp_NPC0.h" }, }; #endif #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_AAICpp_NPC0_Statics::NewProp_AIBehaviourTreeSystem_MetaData[] = { { "AllowPrivateAccess", "TRUE" }, { "Category", "Behaviour" }, { "ModuleRelativePath", "UnrealAI C++/AICpp_NPC0.h" }, }; #endif const UE4CodeGen_Private::FObjectPropertyParams Z_Construct_UClass_AAICpp_NPC0_Statics::NewProp_AIBehaviourTreeSystem = { "AIBehaviourTreeSystem", nullptr, (EPropertyFlags)0x0010000000000005, UE4CodeGen_Private::EPropertyGenFlags::Object, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(AAICpp_NPC0, AIBehaviourTreeSystem), Z_Construct_UClass_UBehaviorTree_NoRegister, METADATA_PARAMS(Z_Construct_UClass_AAICpp_NPC0_Statics::NewProp_AIBehaviourTreeSystem_MetaData, UE_ARRAY_COUNT(Z_Construct_UClass_AAICpp_NPC0_Statics::NewProp_AIBehaviourTreeSystem_MetaData)) }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_AAICpp_NPC0_Statics::NewProp_EnemyCollisionSphere_MetaData[] = { { "AllowPrivateAccess", "TRUE" }, { "Category", "CollectionSphere" }, { "EditInline", "true" }, { "ModuleRelativePath", "UnrealAI C++/AICpp_NPC0.h" }, }; #endif const UE4CodeGen_Private::FObjectPropertyParams Z_Construct_UClass_AAICpp_NPC0_Statics::NewProp_EnemyCollisionSphere = { "EnemyCollisionSphere", nullptr, (EPropertyFlags)0x004000000008000d, UE4CodeGen_Private::EPropertyGenFlags::Object, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(AAICpp_NPC0, EnemyCollisionSphere), Z_Construct_UClass_USphereComponent_NoRegister, METADATA_PARAMS(Z_Construct_UClass_AAICpp_NPC0_Statics::NewProp_EnemyCollisionSphere_MetaData, UE_ARRAY_COUNT(Z_Construct_UClass_AAICpp_NPC0_Statics::NewProp_EnemyCollisionSphere_MetaData)) }; const UE4CodeGen_Private::FPropertyParamsBase* const Z_Construct_UClass_AAICpp_NPC0_Statics::PropPointers[] = { (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_AAICpp_NPC0_Statics::NewProp_AIBehaviourTreeSystem, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_AAICpp_NPC0_Statics::NewProp_EnemyCollisionSphere, }; const FCppClassTypeInfoStatic Z_Construct_UClass_AAICpp_NPC0_Statics::StaticCppClassTypeInfo = { TCppClassTypeTraits<AAICpp_NPC0>::IsAbstract, }; const UE4CodeGen_Private::FClassParams Z_Construct_UClass_AAICpp_NPC0_Statics::ClassParams = { &AAICpp_NPC0::StaticClass, "Game", &StaticCppClassTypeInfo, DependentSingletons, nullptr, Z_Construct_UClass_AAICpp_NPC0_Statics::PropPointers, nullptr, UE_ARRAY_COUNT(DependentSingletons), 0, UE_ARRAY_COUNT(Z_Construct_UClass_AAICpp_NPC0_Statics::PropPointers), 0, 0x009000A4u, METADATA_PARAMS(Z_Construct_UClass_AAICpp_NPC0_Statics::Class_MetaDataParams, UE_ARRAY_COUNT(Z_Construct_UClass_AAICpp_NPC0_Statics::Class_MetaDataParams)) }; UClass* Z_Construct_UClass_AAICpp_NPC0() { static UClass* OuterClass = nullptr; if (!OuterClass) { UE4CodeGen_Private::ConstructUClass(OuterClass, Z_Construct_UClass_AAICpp_NPC0_Statics::ClassParams); } return OuterClass; } IMPLEMENT_CLASS(AAICpp_NPC0, 2333310605); template<> UNREALAI_API UClass* StaticClass<AAICpp_NPC0>() { return AAICpp_NPC0::StaticClass(); } static FCompiledInDefer Z_CompiledInDefer_UClass_AAICpp_NPC0(Z_Construct_UClass_AAICpp_NPC0, &AAICpp_NPC0::StaticClass, TEXT("/Script/UnrealAI"), TEXT("AAICpp_NPC0"), false, nullptr, nullptr, nullptr); DEFINE_VTABLE_PTR_HELPER_CTOR(AAICpp_NPC0); PRAGMA_ENABLE_DEPRECATION_WARNINGS #ifdef _MSC_VER #pragma warning (pop) #endif
#pragma once #include <iterator> #include <vector> static void Merge(size_t low, size_t middle, size_t high, std::vector<int>& data) { std::vector<int> v; size_t lowIndex = low; size_t highIndex = middle + 1; while (lowIndex <= middle && highIndex <= high) { if (data[lowIndex] <= data[highIndex]) { v.push_back(data[lowIndex]); ++lowIndex; } else { v.push_back(data[highIndex]); ++highIndex; } } while (lowIndex <= middle) { v.push_back(data[lowIndex]); ++lowIndex; } while (highIndex <= high) { v.push_back(data[highIndex]); ++highIndex; } for (size_t i = 0; i < v.size(); i++) { data[low + i] = v[i]; } } static void MergeSort(size_t low, size_t high, std::vector<int>& data) { if (data.empty() || data.size() == 1 || low >= high) { return; } size_t mid = (low + high) / 2; MergeSort(low, mid, data); MergeSort(mid + 1, high, data); Merge(low, mid, high, data); }
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "TargetController.h" #include "GameFramework/HUD.h" #include "ShootingGalleryHUD.generated.h" /** * */ UCLASS() class SHOOTINGGALLERY_API AShootingGalleryHUD : public AHUD { GENERATED_BODY() public: AShootingGalleryHUD(); void BeginPlay() override; void Tick(float DeltaSeconds) override; void SetTargetController(ATargetController* AssignedTargetController); private: virtual void DrawHUD() override; void DrawRemainingMissedShots(); private: class ATargetController* TargetController; float UIScale; };
// // Created by 송지원 on 2019-10-28. // #include "iostream" #include <stack> #include "string.h" using namespace std; char * result[2] = {"NO", "YES"}; int main() { int T, i; char input[51]; cin >> T; while (T--) { stack<char> left; cin >> input; for (i=0; i<strlen(input); i++) { if (input[i] == '('){ left.push('('); } else { if (left.size() == 0) { //)가 나왔지면 매치되는 (가 없는 경우 cout << result[0] << endl; break; } left.pop(); } if (i==strlen(input)-1) { if (left.size() == 0) { //문자열을 다 돌았는데 모두 쌍이 있는 경우 cout << result[1] << endl; } else { //문자열을 다 돌았는데 (만 남은 경우 cout << result[0] << endl; } } } } return 0; }
/* leetcode 300 * * * */ #include <vector> #include <algorithm> #include <string> #include <unordered_set> #include <algorithm> #include <map> using namespace std; class Solution { public: int lengthOfLIS(vector<int>& nums) { if(nums.empty()) { return 0; } int len = nums.size(); vector<int> dp(len, 0); int maxVal = 1; for (int i = 0; i < len; i++) { dp[i] = 1; for (int j = 0; j < i; j++) { if (nums[i] > nums[j]) { dp[i] = max(dp[i], dp[j] + 1); } if (maxVal < dp[i]) { maxVal = dp[i]; } } } return maxVal; } }; /************************** run solution **************************/ int _solution_run(vector<int>& nums) { Solution leetcode_300; int ans = leetcode_300.lengthOfLIS(nums); return ans; } #ifdef USE_SOLUTION_CUSTOM string _solution_custom(TestCases &tc) { } #endif /************************** get testcase **************************/ #ifdef USE_GET_TEST_CASES_IN_CPP vector<string> _get_test_cases_string() { return {}; } #endif
#pragma once #include <QGraphicsScene> #include <memory> using std::unique_ptr; using std::make_unique; class canvas_scene : public QGraphicsScene { Q_OBJECT public: template<typename ... ARGS> static unique_ptr<canvas_scene> make (ARGS && ... args) { unique_ptr<canvas_scene> ret (new canvas_scene (std::forward<ARGS> (args)...)); if (ret == nullptr or ret->init() == false) { return nullptr; } return ret; } QRectF effective_rect () { return effective_rect_; } virtual ~canvas_scene(); template<typename ... ARGS> canvas_scene (ARGS && ... args) : QGraphicsScene (std::forward<ARGS> (args)...) {} signals: void selection_changed (bool); private: void nitification_canvas_select (); bool init (); void drawBackground(QPainter *painter, const QRectF &rect) override; private: qreal height_ = 1000; qreal width_ = 1000 * 1.4142135; QRectF effective_rect_; };
// Copyright (c) 2017 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // Distributed under the pika Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) /* Copyright (C) 2001 * Housemarque Oy * http://www.housemarque.com * * Distributed under the Boost Software License, Version 1.0. (See * accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) */ /* Revised by Paul Mensonides (2002) */ /* See http://www.boost.org for most recent version. */ #pragma once #if defined(DOXYGEN) /// The \a PIKA_PP_STRINGIZE macro stringizes its argument after it has been expanded. /// /// \param X The text to be converted to a string literal /// /// The passed argument \c X will expand to \c "X". Note that the stringizing /// operator (#) prevents arguments from expanding. This macro circumvents this /// shortcoming. # define PIKA_PP_STRINGIZE(X) #else # include <pika/preprocessor/config.hpp> # if PIKA_PP_CONFIG_FLAGS() & PIKA_PP_CONFIG_MSVC() # define PIKA_PP_STRINGIZE(text) PIKA_PP_STRINGIZE_A((text)) # define PIKA_PP_STRINGIZE_A(arg) PIKA_PP_STRINGIZE_I arg # elif PIKA_PP_CONFIG_FLAGS() & PIKA_PP_CONFIG_MWCC() # define PIKA_PP_STRINGIZE(text) PIKA_PP_STRINGIZE_OO((text)) # define PIKA_PP_STRINGIZE_OO(par) PIKA_PP_STRINGIZE_I##par # else # define PIKA_PP_STRINGIZE(text) PIKA_PP_STRINGIZE_I(text) # endif # define PIKA_PP_STRINGIZE_I(text) # text #endif
// // GameScene.h // Aircraft // // Created by lc on 12/3/14. // // #ifndef __Aircraft__GameScene__ #define __Aircraft__GameScene__ #include <stdio.h> #include "GameLayer.h" USING_NS_CC; class GameScene : public Scene { public: GameLayer* gameLayer; virtual bool init(); CREATE_FUNC(GameScene); }; #endif /* defined(__Aircraft__GameScene__) */
#include <iostream> #include <vector> #include <algorithm> #include <tuple> #include <iterator> #include <numeric> using std::vector; void printVector(const std::vector<int> &a) { std::cout << "["; for(auto i : a) { std::cout << i << ","; } std::cout << "]" << std::endl; } struct Comp { int segmenti; std::vector<int> & points; std::vector<int> & starts; std::vector<int> & ends; Comp(int i, std::vector<int> & po,std::vector<int> & s,std::vector<int> & e) : segmenti(i), points(po), starts(s), ends(e) { } bool operator() ( const std::tuple<int>& s, const int& r ) { auto pointr = points[r]; auto rscore = (pointr < starts[segmenti]) ? (-1) : ((pointr > ends[segmenti])?(1):(0)); // std::cout << "segment " << segmenti << "[" << starts[segmenti] << "," << ends[segmenti] << "]" << " p index " << r << " tuple<" << std::get<0>(s) << ">,int<" << pointr << "> == " << rscore << std::endl; return std::get<0>(s) < rscore; } bool operator() ( const int& l, const std::tuple<int>& s ) { auto pointl = points[l]; auto lscore = (pointl < starts[segmenti]) ? (-1) : ((pointl > ends[segmenti])?(1):(0)); // std::cout << "segment " << segmenti << "[" << starts[segmenti] << "," << ends[segmenti] << "]" << " p index " << l << " int<" << pointl << ">,tuple<" << std::get<0>(s) << "> == " << lscore << std::endl; return lscore < std::get<0>(s); } }; vector<int> fast_count_segments(vector<int> starts, vector<int> ends, vector<int> points) { auto completepoints = std::vector<std::tuple<int,int>>(); std::transform(starts.begin(),starts.end(), std::back_inserter(completepoints), [](auto x ){ return std::make_tuple(x,-1); }); { int i = 0; std::transform(points.begin(),points.end(), std::back_inserter(completepoints), [&i](auto x){ return std::make_tuple(x,i++); }); } std::transform(ends.begin(),ends.end(), std::back_inserter(completepoints), [](auto x){ return std::make_tuple(x, std::numeric_limits<int>::max()); }); std::sort(completepoints.begin(), completepoints.end()); int count = 0; vector<int> cnt(points.size()); for(auto x : completepoints) { auto v0 = std::get<0>(x); auto v1 = std::get<1>(x); // std::cout << "[" << v0 << "," << v1 << "]" << std::endl; if(v1 == std::numeric_limits<int>::max()) { --count; } else if(v1 >= 0) { cnt[v1] = count; } else if(v1 == -1) { ++count; } } return cnt; } vector<int> naive_count_segments(vector<int> starts, vector<int> ends, vector<int> points) { vector<int> cnt(points.size()); for (size_t i = 0; i < points.size(); i++) { for (size_t j = 0; j < starts.size(); j++) { cnt[i] += starts[j] <= points[i] && points[i] <= ends[j]; } } return cnt; } #ifdef UNITTESTS #define CATCH_CONFIG_MAIN #include "../../catch.hpp" bool areEqual(vector<int> starts, vector<int> ends, vector<int> points) { auto naive = naive_count_segments(starts,ends,points); auto fast = fast_count_segments(starts,ends,points); // std::cout << "Comparing" << std::endl; // printVector(naive); // printVector(fast); // std::cout << "---------------" << std::endl; return naive == fast; } TEST_CASE("fast_count_segments must work", "[fast_count_segments]") { REQUIRE(areEqual({0,5},{7,10},{1,6,11})); REQUIRE(areEqual({-10},{10},{-100,100,0})); REQUIRE(areEqual({0,-3,7},{5,2,10},{1,6})); } void printProg(int x, int total){ int progress = ((double)x / total) * 100; std::cout << "["; for (int i=1;i<=100;i++){ if (i<progress || progress==100) std::cout << "="; else if (i==progress) std::cout << ">"; else std::cout << " "; } std::cout << "] " << x << "/" << total << "\r" << std::flush; } //RANDOM TEST NOT WORKING FOR SOME REASON TEST_CASE("fast_count_segments random cases", "[fast_count_segments]") { for(int i = 0; i <= 100000; ++i) { printProg(i, 100000); auto starts = std::vector<int>(rand() % 20); std::generate(starts.begin(), starts.end(), [](){ return (std::rand() % 100000) - 50000;}); auto ends = std::vector<int>(starts.size()); std::transform(starts.begin(), starts.end(), ends.begin(), [](const int x) -> int { x + (std::rand() % 1000); }); auto points = std::vector<int>(rand() % 10); std::generate(points.begin(), points.end(), []() { return (std::rand() % 100000) - 50000;}); REQUIRE(areEqual(starts,ends,points)); } } #else int main() { int n, m; std::cin >> n >> m; vector<int> starts(n), ends(n); for (size_t i = 0; i < starts.size(); i++) { std::cin >> starts[i] >> ends[i]; } vector<int> points(m); for (size_t i = 0; i < points.size(); i++) { std::cin >> points[i]; } //use fast_count_segments vector<int> cnt = fast_count_segments(starts, ends, points); for (size_t i = 0; i < cnt.size(); i++) { std::cout << cnt[i] << ' '; } } #endif
#include "threebody.h" #include "../vec3.h" #include "../system.h" #include <cmath> void ThreeBody::setupParticles(System &system) { double twopi = std::atan(1.0)*8; double mass1 = 3.0e-6; double mass2 = 9.5e-4; Particle* sun = new Particle(vec3(0,0,0), vec3(0,0,0), 1.0); Particle* earth = new Particle(vec3(1.0,0,0), vec3(0,twopi,0), mass1); Particle* jupiter = new Particle(vec3(5.2,0,0), vec3(0,-2.68,0), mass2); //Finding the mass center system.addParticle(sun); system.addParticle(earth); system.addParticle(jupiter); } std::string ThreeBody::getName() { return "Three-body"; }
#pragma once #include "PreDefine.h" //#include "SharedPointer.h" #include <string> #include <vector> #include "Sampler.h" using namespace std; namespace HW { class Texture { public: enum TextureFormat{ LUMINANCE, RGB, RGBA, DEPTH, R8, RG8, RGB8, RGBA8, R16F, RG16F, RGB16F, RGBA16F, R32F, RG32F, RGB32F, RGBA32F, R11FG11FB10F, RGB10_A2, R8I, R16I, R32I, R8UI, R16UI, R32UI, RGBA16UI, RG32UI, RGBA32UI, DEPTH16, DEPTH24, DEPTH32, DEPTH24_STENCIL8, }; enum SaveType { ST_FLOAT, ST_UNSIGNED_BYTE, ST_DEPTH, ST_Stencil }; enum TextureType { Texture_2D, //default; Texture_3D, Texture_Cube }; enum Cube_face { Cube_Back, Cube_Left, Cube_Right, Cube_Top, Cube_Bottom, Cube_FaceCount }; enum TextureMipmap{ TextureMipmap_Auto, TextureMipmap_Manual, TextureMipmap_None }; std::string name; Sampler* texture_sampler; TextureType texture_type; TextureFormat texture_internal_format; unsigned int width=0; unsigned int height=0; unsigned int depth=1; TextureMipmap mipmap_mode = TextureMipmap_Auto; int mipmap_level=0; int MSAASampleNum=1; //image data Image* image=NULL; vector<Image*> image_cube; bool m_valid; Texture(); virtual ~Texture(); virtual void releaseInternalRes(){} virtual void createInternalRes() = 0; virtual void useTexture() = 0; virtual void setFormat(Texture::TextureFormat format); int CalcMipmapLevel(int width,int height); void setFormatFromImage(Image* im); virtual void GenerateMipmap(){ } virtual void SaveTextureToImage(string name, SaveType t){} }; class TextureFactory { public: virtual Texture * create() = 0; }; }
/* -*- Mode: c++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- * * Copyright (C) 1995-2012 Opera Software ASA. All rights reserved. * * This file is part of the Opera web browser. It may not be distributed * under any circumstances. * * @author Arjan van Leeuwen (arjanl) */ #ifndef GENERIC_GRID_H #define GENERIC_GRID_H #include "adjunct/quick_toolkit/widgets/QuickGrid/DefaultGridSizer.h" #include "adjunct/quick_toolkit/widgets/QuickGrid/GridCellContainer.h" #include "adjunct/quick_toolkit/widgets/QuickWidget.h" #include "adjunct/quick_toolkit/widgets/QuickWidgetContainer.h" class GridCell; class GridLayouter; class GridSizer; class OpButtonGroup; /** @brief Base class for layout widgets that can be represented as a grid * For implementations, see QuickGrid, QuickStackLayout and others */ class GenericGrid : public QuickWidget , public QuickWidgetContainer , public GridCellContainer { public: GenericGrid(); virtual ~GenericGrid(); /** Center elements horizontally (false by default) */ void SetCenterHorizontally(bool center_horizontally) { m_center_horizontally = center_horizontally; } /** Center elements vertically (true by default) */ void SetCenterVertically(bool center_vertically) { m_center_vertically = center_vertically; } /** Make all cells the same size or not (false by default). * * All cells will get the width of the widest widget, the height of * the highest widget, and the margins of the widget with the largest * margins. */ OP_STATUS SetUniformCells(bool uniform_cells); // Override QuickWidget virtual OP_STATUS Layout(const OpRect& rect); virtual void SetParentOpWidget(class OpWidget* parent); virtual void Show(); virtual void Hide(); virtual BOOL IsVisible(); virtual void SetEnabled(BOOL enabled); // Override QuickWidgetContainer virtual void OnContentsChanged(); OP_STATUS RegisterToButtonGroup(OpButton* button); protected: /** @return A grid layouter to use when layouting grid */ virtual GridLayouter* CreateLayouter(); /** Invalidate the contents of this grid (call when changing contents) */ void Invalidate(BOOL propagate = TRUE); void SetCurrentParentOpWidget(OpWidget* parent) { m_parent_op_widget = parent; } OpWidget* GetParentOpWidget() const { return m_parent_op_widget; } private: enum SizeType { MINIMUM, NOMINAL, PREFERRED, SIZE_COUNT }; struct SizeInfo { unsigned width[SIZE_COUNT]; unsigned height[SIZE_COUNT]; }; // Override QuickWidget virtual unsigned GetDefaultMinimumWidth() { return GetDefaultWidth(MINIMUM); } virtual unsigned GetDefaultMinimumHeight(unsigned width) { return GetDefaultHeight(MINIMUM, width); } virtual unsigned GetDefaultNominalWidth() { return GetDefaultWidth(NOMINAL); } virtual unsigned GetDefaultNominalHeight(unsigned width) { return GetDefaultHeight(NOMINAL, width); } virtual unsigned GetDefaultPreferredWidth() { return GetDefaultWidth(PREFERRED); } virtual unsigned GetDefaultPreferredHeight(unsigned width) { return GetDefaultHeight(PREFERRED, width); } virtual void GetDefaultMargins(WidgetSizes::Margins& margins) { if (!m_valid_defaults) CalculateDefaults(); margins = m_default_margins; } virtual BOOL HeightDependsOnWidth() { if (!m_valid_defaults) CalculateDefaults(); return m_height_depends_on_width; } unsigned GetDefaultWidth(SizeType type) { if (!m_valid_defaults) CalculateDefaults(); return m_default_size.width[type]; } unsigned GetDefaultHeight(SizeType type, unsigned width); void CalculateDefaults(); bool CheckHeightDependsOnWidth(); /** * Set up a grid border painter provided layout debugging is turned on. * * Feeds an OpRectPainter with the layout results (a series of OpRects) * and attaches it to the grid's parent OpWidget. */ OP_STATUS PrepareRectPainter(const OpRect& rect, GridLayouter& layouter); class OpRectPainter* GetRectPainter(); bool m_visible:1; bool m_valid_defaults:1; bool m_height_depends_on_width:1; bool m_center_horizontally:1; bool m_center_vertically:1; OpWidget* m_parent_op_widget; OpButtonGroup* m_button_group; DefaultGridSizer m_default_sizer; GridSizer* m_sizer; WidgetSizes::Margins m_default_margins; ///<Cached margins calculated from cell properties SizeInfo m_default_size; ///<Cached default sizes calculated from cell properties static const size_t CACHED_SIZES = 3; SizeInfo m_cached_size[CACHED_SIZES]; ///<Cached sizes calculated from cell properties unsigned char m_cached_index[SIZE_COUNT]; ///<Index into the buffer m_cached_size for each size type, points to next place to use }; #endif // GENERIC_GRID_H
#ifndef APPLICATION_DELETEUSER_H #define APPLICATION_DELETEUSER_H #include "BaseCommand.h" /* * Delete user command class */ class DeleteUser: public BaseCommand { public: explicit DeleteUser(boost::property_tree::ptree& params); ~DeleteUser() override = default; /* * Executing a command */ boost::property_tree::ptree execute(std::shared_ptr<Controller> controller) override; }; #endif //APPLICATION_DELETEUSER_H
/* -*- Mode: c++; tab-width: 4; c-basic-offset: 4 -*- * * Copyright (C) 1995-2008 Opera Software AS. All rights reserved. * * This file is part of the Opera web browser. * It may not be distributed under any circumstances. * * @author Patricia Aas (psmaas) */ #ifndef __FILEHANDLER_THEME_NODE_H__ #define __FILEHANDLER_THEME_NODE_H__ #include "platforms/viewix/src/nodes/FileHandlerNode.h" class ThemeNode : public FileHandlerNode { public: ThemeNode() : FileHandlerNode(0, 0) {} ~ThemeNode() {} NodeType GetType() { return THEME_NODE_TYPE; } OP_STATUS SetInherits(const OpStringC & inherits) { return m_inherits.Set(inherits); } const OpString & GetInherits() const { return m_inherits; } OP_STATUS SetIndexThemeFile(const OpStringC & index_theme_file) { return m_index_theme_file.Set(index_theme_file); } const OpString & GetIndexThemeFile() const { return m_index_theme_file; } OP_STATUS SetThemePath(const OpStringC & theme_path) { return m_theme_path.Set(theme_path); } const OpString & GetThemePath() const { return m_theme_path; } private: OpString m_inherits; OpString m_index_theme_file; OpString m_theme_path; }; #endif //__FILEHANDLER_THEME_NODE_H__
#include "il2cpp-config.h" #include "class-internals.h" #include "codegen/il2cpp-codegen.h" const Il2CppType* Int32_t327_0_0_0_var; const Il2CppType* MonoBehaviour_t3_0_0_0_var; const Il2CppType* DisallowMultipleComponent_t222_0_0_0_var; const Il2CppType* RequireComponent_t223_0_0_0_var; const Il2CppType* ExecuteInEditMode_t225_0_0_0_var; const Il2CppType* IEqualityComparer_t404_0_0_0_var; const Il2CppType* IHashCodeProvider_t403_0_0_0_var; const Il2CppType* IComparer_t397_0_0_0_var; const Il2CppType* StringU5BU5D_t204_0_0_0_var; const Il2CppType* ObjectU5BU5D_t207_0_0_0_var; const Il2CppType* WebHeaderCollection_t415_0_0_0_var; const Il2CppType* IWebProxy_t416_0_0_0_var; const Il2CppType* Uri_t191_0_0_0_var; const Il2CppType* FileAccess_t584_0_0_0_var; const Il2CppType* X509CertificateCollection_t427_0_0_0_var; const Il2CppType* Version_t425_0_0_0_var; const Il2CppType* ArrayList_t402_0_0_0_var; const Il2CppType* WebRequest_t418_0_0_0_var; const Il2CppType* X509ChainStatus_t464_0_0_0_var; const Il2CppType* RegexOptions_t503_0_0_0_var; const Il2CppType* String_t_0_0_0_var; const Il2CppType* Category_t510_0_0_0_var; const Il2CppType* ContentType_t687_0_0_0_var; const Il2CppType* Attribute_t105_0_0_0_var; const Il2CppType* NumberFormatInfo_t907_0_0_0_var; const Il2CppType* ICustomFormatter_t1412_0_0_0_var; const Il2CppType* Delegate_t339_0_0_0_var; const Il2CppType* MulticastDelegate_t56_0_0_0_var; const Il2CppType* FlagsAttribute_t1331_0_0_0_var; const Il2CppType* UInt64_t355_0_0_0_var; const Il2CppType* Void_t772_0_0_0_var; const Il2CppType* Object_t_0_0_0_var; const Il2CppType* Enum_t312_0_0_0_var; const Il2CppType* ValueType_t764_0_0_0_var; const Il2CppType* ContextBoundObject_t1308_0_0_0_var; const Il2CppType* MarshalByRefObject_t441_0_0_0_var; const Il2CppType* Exception_t74_0_0_0_var; const Il2CppType* IDictionary_t500_0_0_0_var; const Il2CppType* MonoField_t_0_0_0_var; const Il2CppType* MonoType_t_0_0_0_var; const Il2CppType* Contraction_t808_0_0_0_var; const Il2CppType* Level2Map_t810_0_0_0_var; const Il2CppType* CompareInfo_t760_0_0_0_var; const Il2CppType* Single_t328_0_0_0_var; const Il2CppType* StackFrame_t385_0_0_0_var; const Il2CppType* DateTimeFormatInfo_t908_0_0_0_var; const Il2CppType* Module_t972_0_0_0_var; const Il2CppType* ByteU5BU5D_t112_0_0_0_var; const Il2CppType* AssemblyHashAlgorithm_t893_0_0_0_var; const Il2CppType* StrongNameKeyPair_t1001_0_0_0_var; const Il2CppType* AssemblyVersionCompatibility_t894_0_0_0_var; const Il2CppType* AssemblyNameFlags_t1003_0_0_0_var; const Il2CppType* Char_t583_0_0_0_var; const Il2CppType* Double_t351_0_0_0_var; const Il2CppType* IntPtr_t_0_0_0_var; const Il2CppType* Nullable_1_t1417_0_0_0_var; const Il2CppType* ParamArrayAttribute_t776_0_0_0_var; const Il2CppType* MemberInfoSerializationHolder_t1012_0_0_0_var; const Il2CppType* TypeU5BU5D_t203_0_0_0_var; const Il2CppType* StaticGetter_1_t1418_0_0_0_var; const Il2CppType* Getter_2_t1419_0_0_0_var; const Il2CppType* MonoProperty_t_0_0_0_var; const Il2CppType* GetterAdapter_t1025_0_0_0_var; const Il2CppType* IChannelSender_t1404_0_0_0_var; const Il2CppType* IChannelReceiver_t1423_0_0_0_var; const Il2CppType* IClientChannelSinkProvider_t1425_0_0_0_var; const Il2CppType* IServerChannelSinkProvider_t1424_0_0_0_var; const Il2CppType* CrossAppDomainSink_t1077_0_0_0_var; const Il2CppType* ObjRef_t1126_0_0_0_var; const Il2CppType* ITrackingHandler_t1428_0_0_0_var; const Il2CppType* SoapAttribute_t1110_0_0_0_var; const Il2CppType* IRemotingTypeInfo_t1131_0_0_0_var; const Il2CppType* IEnvoyInfo_t1132_0_0_0_var; const Il2CppType* IChannelInfo_t1130_0_0_0_var; const Il2CppType* RemoteActivator_t1069_0_0_0_var; const Il2CppType* ProxyAttribute_t1115_0_0_0_var; const Il2CppType* Boolean_t340_0_0_0_var; const Il2CppType* Byte_t333_0_0_0_var; const Il2CppType* TimeSpan_t470_0_0_0_var; const Il2CppType* DateTime_t60_0_0_0_var; const Il2CppType* Decimal_t354_0_0_0_var; const Il2CppType* Int16_t357_0_0_0_var; const Il2CppType* Int64_t352_0_0_0_var; const Il2CppType* SByte_t356_0_0_0_var; const Il2CppType* UInt16_t358_0_0_0_var; const Il2CppType* UInt32_t343_0_0_0_var; const Il2CppType* ISerializable_t1433_0_0_0_var; const Il2CppType* MonoTypeU5BU5D_t1435_0_0_0_var; const Il2CppType* SerializationInfo_t317_0_0_0_var; const Il2CppType* StreamingContext_t318_0_0_0_var; const Il2CppType* OnSerializingAttribute_t1178_0_0_0_var; const Il2CppType* OnSerializedAttribute_t1177_0_0_0_var; const Il2CppType* OnDeserializingAttribute_t1176_0_0_0_var; const Il2CppType* OnDeserializedAttribute_t1175_0_0_0_var; const Il2CppType* CallbackHandler_t1179_0_0_0_var; const Il2CppType* SecurityPermission_t1225_0_0_0_var; const Il2CppType* StrongName_t1233_0_0_0_var; const Il2CppType* WindowsAccountType_t1235_0_0_0_var; const Il2CppType* TypedReference_t794_0_0_0_var; const Il2CppType* ArgIterator_t795_0_0_0_var; const Il2CppType* RuntimeArgumentHandle_t793_0_0_0_var; const Il2CppType* DBNull_t1309_0_0_0_var; const Il2CppType* DelegateEntry_t1314_0_0_0_var; const Il2CppType* DelegateSerializationHolder_t1315_0_0_0_var; const Il2CppType* AttributeUsageAttribute_t766_0_0_0_var; const Il2CppType* MonoCustomAttrs_t1342_0_0_0_var; const Il2CppType* DefaultMemberAttribute_t790_0_0_0_var; const Il2CppType* MonoMethod_t_0_0_0_var; const Il2CppType* UnitySerializationHolder_t1367_0_0_0_var; const Il2CppType* GenericEqualityComparer_1_t2042_0_0_0_var; const Il2CppType* GenericComparer_1_t2043_0_0_0_var; const Il2CppType* UriTypeConverter_t561_0_0_0_var; const Il2CppType* _Attribute_t2059_0_0_0_var; const Il2CppType* _Type_t2070_0_0_0_var; const Il2CppType* _MemberInfo_t2071_0_0_0_var; const Il2CppType* MemberInfo_t_0_0_0_var; const Il2CppType* Type_t_0_0_0_var; const Il2CppType* _Exception_t2073_0_0_0_var; const Il2CppType* CollectionDebuggerView_2_t2075_0_0_0_var; const Il2CppType* CollectionDebuggerView_1_t2074_0_0_0_var; const Il2CppType* CollectionDebuggerView_t879_0_0_0_var; const Il2CppType* _AssemblyBuilder_t2096_0_0_0_var; const Il2CppType* _ConstructorBuilder_t2097_0_0_0_var; const Il2CppType* _EnumBuilder_t2098_0_0_0_var; const Il2CppType* _FieldBuilder_t2099_0_0_0_var; const Il2CppType* _ILGenerator_t2100_0_0_0_var; const Il2CppType* _MethodBuilder_t2101_0_0_0_var; const Il2CppType* _ModuleBuilder_t2102_0_0_0_var; const Il2CppType* _ParameterBuilder_t2103_0_0_0_var; const Il2CppType* _PropertyBuilder_t2104_0_0_0_var; const Il2CppType* _TypeBuilder_t2105_0_0_0_var; const Il2CppType* _Assembly_t2106_0_0_0_var; const Il2CppType* _AssemblyName_t2107_0_0_0_var; const Il2CppType* _ConstructorInfo_t2108_0_0_0_var; const Il2CppType* _EventInfo_t2109_0_0_0_var; const Il2CppType* _FieldInfo_t2110_0_0_0_var; const Il2CppType* _MethodBase_t2111_0_0_0_var; const Il2CppType* _MethodInfo_t2112_0_0_0_var; const Il2CppType* _Module_t2113_0_0_0_var; const Il2CppType* _ParameterInfo_t2114_0_0_0_var; const Il2CppType* _PropertyInfo_t2115_0_0_0_var; const Il2CppType* Activator_t1293_0_0_0_var; const Il2CppType* Assembly_t587_0_0_0_var; const Il2CppType* AssemblyBuilder_t955_0_0_0_var; const Il2CppType* AssemblyName_t1002_0_0_0_var; const Il2CppType* ConstructorBuilder_t960_0_0_0_var; const Il2CppType* ConstructorInfo_t209_0_0_0_var; const Il2CppType* EnumBuilder_t961_0_0_0_var; const Il2CppType* EventInfo_t_0_0_0_var; const Il2CppType* FieldBuilder_t963_0_0_0_var; const Il2CppType* FieldInfo_t_0_0_0_var; const Il2CppType* ILGenerator_t956_0_0_0_var; const Il2CppType* MethodBase_t386_0_0_0_var; const Il2CppType* MethodBuilder_t964_0_0_0_var; const Il2CppType* MethodInfo_t_0_0_0_var; const Il2CppType* ModuleBuilder_t978_0_0_0_var; const Il2CppType* ParameterBuilder_t982_0_0_0_var; const Il2CppType* ParameterInfo_t377_0_0_0_var; const Il2CppType* PropertyBuilder_t983_0_0_0_var; const Il2CppType* PropertyInfo_t_0_0_0_var; const Il2CppType* Thread_t1081_0_0_0_var; const Il2CppType* TypeBuilder_t957_0_0_0_var; const Il2CppType* _Thread_t2117_0_0_0_var; const Il2CppType* _Activator_t2116_0_0_0_var; TypeInfo* Input_t5_il2cpp_TypeInfo_var; TypeInfo* NullReferenceException_t319_il2cpp_TypeInfo_var; TypeInfo* ArgumentException_t320_il2cpp_TypeInfo_var; TypeInfo* AchievementDescriptionU5BU5D_t29_il2cpp_TypeInfo_var; TypeInfo* GameCenterPlatform_t33_il2cpp_TypeInfo_var; TypeInfo* UserProfileU5BU5D_t30_il2cpp_TypeInfo_var; TypeInfo* List_1_t32_il2cpp_TypeInfo_var; TypeInfo* AchievementU5BU5D_t322_il2cpp_TypeInfo_var; TypeInfo* ScoreU5BU5D_t324_il2cpp_TypeInfo_var; TypeInfo* LocalUser_t31_il2cpp_TypeInfo_var; TypeInfo* String_t_il2cpp_TypeInfo_var; TypeInfo* Leaderboard_t34_il2cpp_TypeInfo_var; TypeInfo* GcLeaderboard_t35_il2cpp_TypeInfo_var; TypeInfo* ILeaderboard_t283_il2cpp_TypeInfo_var; TypeInfo* Enumerator_t325_il2cpp_TypeInfo_var; TypeInfo* IDisposable_t326_il2cpp_TypeInfo_var; TypeInfo* ILocalUser_t280_il2cpp_TypeInfo_var; TypeInfo* Texture2D_t41_il2cpp_TypeInfo_var; TypeInfo* Achievement_t240_il2cpp_TypeInfo_var; TypeInfo* BoneWeight_t36_il2cpp_TypeInfo_var; TypeInfo* Vector4_t95_il2cpp_TypeInfo_var; TypeInfo* IntPtr_t_il2cpp_TypeInfo_var; TypeInfo* Int32_t327_il2cpp_TypeInfo_var; TypeInfo* GUI_t59_il2cpp_TypeInfo_var; TypeInfo* GenericStack_t58_il2cpp_TypeInfo_var; TypeInfo* DateTime_t60_il2cpp_TypeInfo_var; TypeInfo* GUIUtility_t75_il2cpp_TypeInfo_var; TypeInfo* GUILayoutUtility_t66_il2cpp_TypeInfo_var; TypeInfo* GUILayoutOptionU5BU5D_t285_il2cpp_TypeInfo_var; TypeInfo* Single_t328_il2cpp_TypeInfo_var; TypeInfo* GUILayoutOption_t72_il2cpp_TypeInfo_var; TypeInfo* GUILayoutGroup_t62_il2cpp_TypeInfo_var; TypeInfo* Dictionary_2_t64_il2cpp_TypeInfo_var; TypeInfo* LayoutCache_t63_il2cpp_TypeInfo_var; TypeInfo* Mathf_t98_il2cpp_TypeInfo_var; TypeInfo* Enumerator_t329_il2cpp_TypeInfo_var; TypeInfo* GUIStyle_t65_il2cpp_TypeInfo_var; TypeInfo* GUILayoutEntry_t67_il2cpp_TypeInfo_var; TypeInfo* ObjectU5BU5D_t207_il2cpp_TypeInfo_var; TypeInfo* List_1_t68_il2cpp_TypeInfo_var; TypeInfo* RectOffset_t69_il2cpp_TypeInfo_var; TypeInfo* GUIContent_t81_il2cpp_TypeInfo_var; TypeInfo* ExitGUIException_t73_il2cpp_TypeInfo_var; TypeInfo* GUISettings_t76_il2cpp_TypeInfo_var; TypeInfo* GUIStyleU5BU5D_t79_il2cpp_TypeInfo_var; TypeInfo* GUISkin_t57_il2cpp_TypeInfo_var; TypeInfo* StringComparer_t330_il2cpp_TypeInfo_var; TypeInfo* Dictionary_2_t80_il2cpp_TypeInfo_var; TypeInfo* EventType_t88_il2cpp_TypeInfo_var; TypeInfo* Enumerator_t332_il2cpp_TypeInfo_var; TypeInfo* GUIStyleState_t82_il2cpp_TypeInfo_var; TypeInfo* Event_t85_il2cpp_TypeInfo_var; TypeInfo* EventModifiers_t89_il2cpp_TypeInfo_var; TypeInfo* KeyCode_t87_il2cpp_TypeInfo_var; TypeInfo* Vector2_t52_il2cpp_TypeInfo_var; TypeInfo* Vector3_t90_il2cpp_TypeInfo_var; TypeInfo* Color_t7_il2cpp_TypeInfo_var; TypeInfo* Byte_t333_il2cpp_TypeInfo_var; TypeInfo* Quaternion_t92_il2cpp_TypeInfo_var; TypeInfo* Rect_t51_il2cpp_TypeInfo_var; TypeInfo* IndexOutOfRangeException_t334_il2cpp_TypeInfo_var; TypeInfo* Matrix4x4_t93_il2cpp_TypeInfo_var; TypeInfo* Bounds_t94_il2cpp_TypeInfo_var; TypeInfo* MathfInternal_t97_il2cpp_TypeInfo_var; TypeInfo* RectTransform_t99_il2cpp_TypeInfo_var; TypeInfo* SphericalHarmonicsL2_t108_il2cpp_TypeInfo_var; TypeInfo* UnityException_t255_il2cpp_TypeInfo_var; TypeInfo* Encoding_t288_il2cpp_TypeInfo_var; TypeInfo* CharU5BU5D_t307_il2cpp_TypeInfo_var; TypeInfo* Exception_t74_il2cpp_TypeInfo_var; TypeInfo* StringU5BU5D_t204_il2cpp_TypeInfo_var; TypeInfo* Enumerator_t336_il2cpp_TypeInfo_var; TypeInfo* Dictionary_2_t287_il2cpp_TypeInfo_var; TypeInfo* StringReader_t337_il2cpp_TypeInfo_var; TypeInfo* List_1_t110_il2cpp_TypeInfo_var; TypeInfo* List_1_t111_il2cpp_TypeInfo_var; TypeInfo* ByteU5BU5D_t112_il2cpp_TypeInfo_var; TypeInfo* MemoryStream_t338_il2cpp_TypeInfo_var; TypeInfo* WWWTranscoder_t114_il2cpp_TypeInfo_var; TypeInfo* LogType_t16_il2cpp_TypeInfo_var; TypeInfo* Application_t118_il2cpp_TypeInfo_var; TypeInfo* Camera_t119_il2cpp_TypeInfo_var; TypeInfo* DisplayU5BU5D_t123_il2cpp_TypeInfo_var; TypeInfo* Display_t124_il2cpp_TypeInfo_var; TypeInfo* DisplaysUpdatedDelegate_t122_il2cpp_TypeInfo_var; TypeInfo* Object_t13_il2cpp_TypeInfo_var; TypeInfo* Enumerator_t126_il2cpp_TypeInfo_var; TypeInfo* Boolean_t340_il2cpp_TypeInfo_var; TypeInfo* AudioSettings_t131_il2cpp_TypeInfo_var; TypeInfo* Font_t78_il2cpp_TypeInfo_var; TypeInfo* List_1_t158_il2cpp_TypeInfo_var; TypeInfo* List_1_t159_il2cpp_TypeInfo_var; TypeInfo* List_1_t160_il2cpp_TypeInfo_var; TypeInfo* Canvas_t164_il2cpp_TypeInfo_var; TypeInfo* UIVertex_t165_il2cpp_TypeInfo_var; TypeInfo* SourceID_t184_il2cpp_TypeInfo_var; TypeInfo* AppID_t183_il2cpp_TypeInfo_var; TypeInfo* IDictionary_2_t297_il2cpp_TypeInfo_var; TypeInfo* FormatException_t341_il2cpp_TypeInfo_var; TypeInfo* Convert_t342_il2cpp_TypeInfo_var; TypeInfo* UInt32_t343_il2cpp_TypeInfo_var; TypeInfo* NetworkID_t185_il2cpp_TypeInfo_var; TypeInfo* NodeID_t186_il2cpp_TypeInfo_var; TypeInfo* Random_t188_il2cpp_TypeInfo_var; TypeInfo* Utility_t190_il2cpp_TypeInfo_var; TypeInfo* Dictionary_2_t189_il2cpp_TypeInfo_var; TypeInfo* NetworkAccessToken_t187_il2cpp_TypeInfo_var; TypeInfo* Uri_t191_il2cpp_TypeInfo_var; TypeInfo* CreateMatchRequest_t171_il2cpp_TypeInfo_var; TypeInfo* WWWForm_t113_il2cpp_TypeInfo_var; TypeInfo* WWW_t109_il2cpp_TypeInfo_var; TypeInfo* JoinMatchRequest_t173_il2cpp_TypeInfo_var; TypeInfo* DestroyMatchRequest_t175_il2cpp_TypeInfo_var; TypeInfo* DropConnectionRequest_t176_il2cpp_TypeInfo_var; TypeInfo* ListMatchRequest_t177_il2cpp_TypeInfo_var; TypeInfo* List_1_t194_il2cpp_TypeInfo_var; TypeInfo* Dictionary_2_t195_il2cpp_TypeInfo_var; TypeInfo* Enumerator_t345_il2cpp_TypeInfo_var; TypeInfo* ArgumentNullException_t348_il2cpp_TypeInfo_var; TypeInfo* IEnumerator_1_t306_il2cpp_TypeInfo_var; TypeInfo* IEnumerator_t286_il2cpp_TypeInfo_var; TypeInfo* StringBuilder_t308_il2cpp_TypeInfo_var; TypeInfo* JsonObject_t196_il2cpp_TypeInfo_var; TypeInfo* JsonArray_t193_il2cpp_TypeInfo_var; TypeInfo* CultureInfo_t349_il2cpp_TypeInfo_var; TypeInfo* ArgumentOutOfRangeException_t350_il2cpp_TypeInfo_var; TypeInfo* Double_t351_il2cpp_TypeInfo_var; TypeInfo* Int64_t352_il2cpp_TypeInfo_var; TypeInfo* IDictionary_2_t353_il2cpp_TypeInfo_var; TypeInfo* IEnumerable_t309_il2cpp_TypeInfo_var; TypeInfo* IJsonSerializerStrategy_t197_il2cpp_TypeInfo_var; TypeInfo* UInt64_t355_il2cpp_TypeInfo_var; TypeInfo* Decimal_t354_il2cpp_TypeInfo_var; TypeInfo* SByte_t356_il2cpp_TypeInfo_var; TypeInfo* Int16_t357_il2cpp_TypeInfo_var; TypeInfo* UInt16_t358_il2cpp_TypeInfo_var; TypeInfo* SimpleJson_t199_il2cpp_TypeInfo_var; TypeInfo* PocoJsonSerializerStrategy_t198_il2cpp_TypeInfo_var; TypeInfo* ThreadSafeDictionaryValueFactory_2_t359_il2cpp_TypeInfo_var; TypeInfo* ThreadSafeDictionary_2_t360_il2cpp_TypeInfo_var; TypeInfo* ThreadSafeDictionaryValueFactory_2_t361_il2cpp_TypeInfo_var; TypeInfo* ThreadSafeDictionary_2_t362_il2cpp_TypeInfo_var; TypeInfo* ThreadSafeDictionaryValueFactory_2_t363_il2cpp_TypeInfo_var; TypeInfo* ThreadSafeDictionary_2_t364_il2cpp_TypeInfo_var; TypeInfo* TypeU5BU5D_t203_il2cpp_TypeInfo_var; TypeInfo* Type_t_il2cpp_TypeInfo_var; TypeInfo* ReflectionUtils_t215_il2cpp_TypeInfo_var; TypeInfo* Dictionary_2_t365_il2cpp_TypeInfo_var; TypeInfo* IEnumerable_1_t314_il2cpp_TypeInfo_var; TypeInfo* IEnumerator_1_t366_il2cpp_TypeInfo_var; TypeInfo* IDictionary_2_t310_il2cpp_TypeInfo_var; TypeInfo* IEnumerable_1_t315_il2cpp_TypeInfo_var; TypeInfo* IEnumerator_1_t367_il2cpp_TypeInfo_var; TypeInfo* Dictionary_2_t368_il2cpp_TypeInfo_var; TypeInfo* IDictionary_2_t311_il2cpp_TypeInfo_var; TypeInfo* DateTimeOffset_t370_il2cpp_TypeInfo_var; TypeInfo* Guid_t371_il2cpp_TypeInfo_var; TypeInfo* Enum_t312_il2cpp_TypeInfo_var; TypeInfo* IDictionary_2_t201_il2cpp_TypeInfo_var; TypeInfo* IEnumerable_1_t373_il2cpp_TypeInfo_var; TypeInfo* IEnumerator_1_t374_il2cpp_TypeInfo_var; TypeInfo* IEnumerable_1_t313_il2cpp_TypeInfo_var; TypeInfo* IEnumerator_1_t378_il2cpp_TypeInfo_var; TypeInfo* U3CGetConstructorByReflectionU3Ec__AnonStorey1_t210_il2cpp_TypeInfo_var; TypeInfo* ConstructorDelegate_t208_il2cpp_TypeInfo_var; TypeInfo* U3CGetGetMethodByReflectionU3Ec__AnonStorey2_t211_il2cpp_TypeInfo_var; TypeInfo* GetDelegate_t205_il2cpp_TypeInfo_var; TypeInfo* U3CGetGetMethodByReflectionU3Ec__AnonStorey3_t212_il2cpp_TypeInfo_var; TypeInfo* U3CGetSetMethodByReflectionU3Ec__AnonStorey4_t213_il2cpp_TypeInfo_var; TypeInfo* SetDelegate_t206_il2cpp_TypeInfo_var; TypeInfo* U3CGetSetMethodByReflectionU3Ec__AnonStorey5_t214_il2cpp_TypeInfo_var; TypeInfo* DisallowMultipleComponentU5BU5D_t218_il2cpp_TypeInfo_var; TypeInfo* AttributeHelperEngine_t221_il2cpp_TypeInfo_var; TypeInfo* ExecuteInEditModeU5BU5D_t219_il2cpp_TypeInfo_var; TypeInfo* RequireComponentU5BU5D_t220_il2cpp_TypeInfo_var; TypeInfo* Stack_1_t381_il2cpp_TypeInfo_var; TypeInfo* RequireComponent_t223_il2cpp_TypeInfo_var; TypeInfo* List_1_t382_il2cpp_TypeInfo_var; TypeInfo* UserProfile_t239_il2cpp_TypeInfo_var; TypeInfo* AchievementDescription_t241_il2cpp_TypeInfo_var; TypeInfo* Score_t242_il2cpp_TypeInfo_var; TypeInfo* UserState_t250_il2cpp_TypeInfo_var; TypeInfo* UserScope_t251_il2cpp_TypeInfo_var; TypeInfo* TimeScope_t252_il2cpp_TypeInfo_var; TypeInfo* HitInfoU5BU5D_t247_il2cpp_TypeInfo_var; TypeInfo* HitInfo_t246_il2cpp_TypeInfo_var; TypeInfo* SendMouseEvents_t249_il2cpp_TypeInfo_var; TypeInfo* CameraU5BU5D_t248_il2cpp_TypeInfo_var; TypeInfo* StackTraceUtility_t254_il2cpp_TypeInfo_var; TypeInfo* StackTrace_t316_il2cpp_TypeInfo_var; TypeInfo* Color32_t91_il2cpp_TypeInfo_var; TypeInfo* TrackedReference_t144_il2cpp_TypeInfo_var; TypeInfo* Regex_t387_il2cpp_TypeInfo_var; TypeInfo* ArgumentCache_t262_il2cpp_TypeInfo_var; TypeInfo* List_1_t266_il2cpp_TypeInfo_var; TypeInfo* List_1_t268_il2cpp_TypeInfo_var; TypeInfo* InvokableCallList_t269_il2cpp_TypeInfo_var; TypeInfo* PersistentCallGroup_t267_il2cpp_TypeInfo_var; TypeInfo* DefaultValueAttribute_t273_il2cpp_TypeInfo_var; TypeInfo* TypeInferenceRules_t276_il2cpp_TypeInfo_var; TypeInfo* CaseInsensitiveComparer_t578_il2cpp_TypeInfo_var; TypeInfo* CaseInsensitiveHashCodeProvider_t579_il2cpp_TypeInfo_var; TypeInfo* ListDictionary_t393_il2cpp_TypeInfo_var; TypeInfo* Hashtable_t392_il2cpp_TypeInfo_var; TypeInfo* ICollection_t576_il2cpp_TypeInfo_var; TypeInfo* IDictionary_t500_il2cpp_TypeInfo_var; TypeInfo* InvalidOperationException_t580_il2cpp_TypeInfo_var; TypeInfo* DictionaryEntry_t567_il2cpp_TypeInfo_var; TypeInfo* DictionaryNodeEnumerator_t396_il2cpp_TypeInfo_var; TypeInfo* IComparer_t397_il2cpp_TypeInfo_var; TypeInfo* DictionaryNode_t395_il2cpp_TypeInfo_var; TypeInfo* _Item_t398_il2cpp_TypeInfo_var; TypeInfo* _KeysEnumerator_t400_il2cpp_TypeInfo_var; TypeInfo* ArrayList_t402_il2cpp_TypeInfo_var; TypeInfo* KeysCollection_t401_il2cpp_TypeInfo_var; TypeInfo* IHashCodeProvider_t403_il2cpp_TypeInfo_var; TypeInfo* IEqualityComparer_t404_il2cpp_TypeInfo_var; TypeInfo* SerializationException_t581_il2cpp_TypeInfo_var; TypeInfo* NotSupportedException_t582_il2cpp_TypeInfo_var; TypeInfo* Char_t583_il2cpp_TypeInfo_var; TypeInfo* DefaultValueAttribute_t406_il2cpp_TypeInfo_var; TypeInfo* EditorBrowsableAttribute_t407_il2cpp_TypeInfo_var; TypeInfo* EditorBrowsableState_t408_il2cpp_TypeInfo_var; TypeInfo* TypeConverterAttribute_t410_il2cpp_TypeInfo_var; TypeInfo* ServicePointManager_t436_il2cpp_TypeInfo_var; TypeInfo* WebRequest_t418_il2cpp_TypeInfo_var; TypeInfo* WebHeaderCollection_t415_il2cpp_TypeInfo_var; TypeInfo* IWebProxy_t416_il2cpp_TypeInfo_var; TypeInfo* FileAccess_t584_il2cpp_TypeInfo_var; TypeInfo* FileWebRequest_t417_il2cpp_TypeInfo_var; TypeInfo* FtpWebRequest_t422_il2cpp_TypeInfo_var; TypeInfo* Object_t_il2cpp_TypeInfo_var; TypeInfo* RemoteCertificateValidationCallback_t421_il2cpp_TypeInfo_var; TypeInfo* SslPolicyErrors_t412_il2cpp_TypeInfo_var; TypeInfo* HttpWebRequest_t429_il2cpp_TypeInfo_var; TypeInfo* Version_t425_il2cpp_TypeInfo_var; TypeInfo* HttpVersion_t426_il2cpp_TypeInfo_var; TypeInfo* X509CertificateCollection_t427_il2cpp_TypeInfo_var; TypeInfo* IPAddress_t431_il2cpp_TypeInfo_var; TypeInfo* BitConverter_t585_il2cpp_TypeInfo_var; TypeInfo* IPv6Address_t432_il2cpp_TypeInfo_var; TypeInfo* UInt16U5BU5D_t430_il2cpp_TypeInfo_var; TypeInfo* SPKey_t434_il2cpp_TypeInfo_var; TypeInfo* HybridDictionary_t394_il2cpp_TypeInfo_var; TypeInfo* DefaultCertificatePolicy_t414_il2cpp_TypeInfo_var; TypeInfo* ServicePoint_t428_il2cpp_TypeInfo_var; TypeInfo* IDictionaryEnumerator_t566_il2cpp_TypeInfo_var; TypeInfo* SortedList_t586_il2cpp_TypeInfo_var; TypeInfo* BooleanU5BU5D_t438_il2cpp_TypeInfo_var; TypeInfo* Dictionary_2_t437_il2cpp_TypeInfo_var; TypeInfo* NotImplementedException_t588_il2cpp_TypeInfo_var; TypeInfo* RSACryptoServiceProvider_t589_il2cpp_TypeInfo_var; TypeInfo* RSAManaged_t590_il2cpp_TypeInfo_var; TypeInfo* RSA_t569_il2cpp_TypeInfo_var; TypeInfo* DSACryptoServiceProvider_t592_il2cpp_TypeInfo_var; TypeInfo* DSA_t568_il2cpp_TypeInfo_var; TypeInfo* Oid_t445_il2cpp_TypeInfo_var; TypeInfo* AsnEncodedData_t444_il2cpp_TypeInfo_var; TypeInfo* PublicKey_t446_il2cpp_TypeInfo_var; TypeInfo* Dictionary_2_t86_il2cpp_TypeInfo_var; TypeInfo* DSAParameters_t593_il2cpp_TypeInfo_var; TypeInfo* ASN1_t570_il2cpp_TypeInfo_var; TypeInfo* CryptographicException_t594_il2cpp_TypeInfo_var; TypeInfo* RSAParameters_t591_il2cpp_TypeInfo_var; TypeInfo* X501_t595_il2cpp_TypeInfo_var; TypeInfo* X509Extension_t452_il2cpp_TypeInfo_var; TypeInfo* X509Certificate2_t455_il2cpp_TypeInfo_var; TypeInfo* X509ExtensionCollection_t453_il2cpp_TypeInfo_var; TypeInfo* X500DistinguishedName_t449_il2cpp_TypeInfo_var; TypeInfo* PKCS12_t596_il2cpp_TypeInfo_var; TypeInfo* X509Certificate_t454_il2cpp_TypeInfo_var; TypeInfo* CryptoConfig_t598_il2cpp_TypeInfo_var; TypeInfo* X509Chain_t467_il2cpp_TypeInfo_var; TypeInfo* CryptographicUnexpectedOperationException_t599_il2cpp_TypeInfo_var; TypeInfo* X509FindType_t474_il2cpp_TypeInfo_var; TypeInfo* X509Certificate2Collection_t457_il2cpp_TypeInfo_var; TypeInfo* X509SubjectKeyIdentifierExtension_t481_il2cpp_TypeInfo_var; TypeInfo* X509KeyUsageExtension_t475_il2cpp_TypeInfo_var; TypeInfo* X509Certificate2Enumerator_t458_il2cpp_TypeInfo_var; TypeInfo* X509Certificate_t456_il2cpp_TypeInfo_var; TypeInfo* X509CertificateEnumerator_t459_il2cpp_TypeInfo_var; TypeInfo* X509ChainElementCollection_t461_il2cpp_TypeInfo_var; TypeInfo* X509ChainPolicy_t462_il2cpp_TypeInfo_var; TypeInfo* X509ChainStatusU5BU5D_t463_il2cpp_TypeInfo_var; TypeInfo* X509ChainStatus_t464_il2cpp_TypeInfo_var; TypeInfo* X509Store_t466_il2cpp_TypeInfo_var; TypeInfo* X509BasicConstraintsExtension_t451_il2cpp_TypeInfo_var; TypeInfo* AuthorityKeyIdentifierExtension_t601_il2cpp_TypeInfo_var; TypeInfo* X509Crl_t572_il2cpp_TypeInfo_var; TypeInfo* X509Extension_t573_il2cpp_TypeInfo_var; TypeInfo* X509ChainElementEnumerator_t468_il2cpp_TypeInfo_var; TypeInfo* X509ChainElement_t465_il2cpp_TypeInfo_var; TypeInfo* OidCollection_t469_il2cpp_TypeInfo_var; TypeInfo* TimeSpan_t470_il2cpp_TypeInfo_var; TypeInfo* X509ChainStatusFlags_t471_il2cpp_TypeInfo_var; TypeInfo* X509EnhancedKeyUsageExtension_t472_il2cpp_TypeInfo_var; TypeInfo* X509ExtensionEnumerator_t473_il2cpp_TypeInfo_var; TypeInfo* StoreName_t448_il2cpp_TypeInfo_var; TypeInfo* OidEnumerator_t485_il2cpp_TypeInfo_var; TypeInfo* ReplacementEvaluator_t531_il2cpp_TypeInfo_var; TypeInfo* MatchEvaluator_t562_il2cpp_TypeInfo_var; TypeInfo* MatchAppendEvaluator_t487_il2cpp_TypeInfo_var; TypeInfo* SystemException_t604_il2cpp_TypeInfo_var; TypeInfo* CaptureU5BU5D_t490_il2cpp_TypeInfo_var; TypeInfo* CaptureCollection_t491_il2cpp_TypeInfo_var; TypeInfo* Group_t492_il2cpp_TypeInfo_var; TypeInfo* GroupU5BU5D_t493_il2cpp_TypeInfo_var; TypeInfo* Match_t486_il2cpp_TypeInfo_var; TypeInfo* GroupCollection_t494_il2cpp_TypeInfo_var; TypeInfo* IMachine_t495_il2cpp_TypeInfo_var; TypeInfo* Enumerator_t497_il2cpp_TypeInfo_var; TypeInfo* FactoryCache_t498_il2cpp_TypeInfo_var; TypeInfo* RegexOptions_t503_il2cpp_TypeInfo_var; TypeInfo* IMachineFactory_t499_il2cpp_TypeInfo_var; TypeInfo* Parser_t530_il2cpp_TypeInfo_var; TypeInfo* PatternCompiler_t517_il2cpp_TypeInfo_var; TypeInfo* ICompiler_t577_il2cpp_TypeInfo_var; TypeInfo* MatchCollection_t496_il2cpp_TypeInfo_var; TypeInfo* Int32U5BU5D_t501_il2cpp_TypeInfo_var; TypeInfo* Key_t507_il2cpp_TypeInfo_var; TypeInfo* MRUList_t508_il2cpp_TypeInfo_var; TypeInfo* Node_t509_il2cpp_TypeInfo_var; TypeInfo* Interpreter_t524_il2cpp_TypeInfo_var; TypeInfo* Link_t514_il2cpp_TypeInfo_var; TypeInfo* InterpreterFactory_t513_il2cpp_TypeInfo_var; TypeInfo* PatternLinkStack_t515_il2cpp_TypeInfo_var; TypeInfo* Stack_t278_il2cpp_TypeInfo_var; TypeInfo* IntStack_t519_il2cpp_TypeInfo_var; TypeInfo* QuickSearch_t522_il2cpp_TypeInfo_var; TypeInfo* RepeatContext_t520_il2cpp_TypeInfo_var; TypeInfo* MarkU5BU5D_t523_il2cpp_TypeInfo_var; TypeInfo* Capture_t489_il2cpp_TypeInfo_var; TypeInfo* Interval_t525_il2cpp_TypeInfo_var; TypeInfo* IList_t526_il2cpp_TypeInfo_var; TypeInfo* IntervalCollection_t529_il2cpp_TypeInfo_var; TypeInfo* Enumerator_t527_il2cpp_TypeInfo_var; TypeInfo* RegularExpression_t536_il2cpp_TypeInfo_var; TypeInfo* CapturingGroup_t537_il2cpp_TypeInfo_var; TypeInfo* Group_t535_il2cpp_TypeInfo_var; TypeInfo* PositionAssertion_t546_il2cpp_TypeInfo_var; TypeInfo* CharacterClass_t550_il2cpp_TypeInfo_var; TypeInfo* Literal_t543_il2cpp_TypeInfo_var; TypeInfo* Alternation_t545_il2cpp_TypeInfo_var; TypeInfo* Repetition_t540_il2cpp_TypeInfo_var; TypeInfo* NonBacktrackingGroup_t539_il2cpp_TypeInfo_var; TypeInfo* ExpressionAssertion_t542_il2cpp_TypeInfo_var; TypeInfo* BalancingGroup_t538_il2cpp_TypeInfo_var; TypeInfo* CaptureAssertion_t544_il2cpp_TypeInfo_var; TypeInfo* BackslashNumber_t548_il2cpp_TypeInfo_var; TypeInfo* Reference_t547_il2cpp_TypeInfo_var; TypeInfo* Expression_t533_il2cpp_TypeInfo_var; TypeInfo* AnchorInfo_t551_il2cpp_TypeInfo_var; TypeInfo* ExpressionCollection_t532_il2cpp_TypeInfo_var; TypeInfo* Console_t605_il2cpp_TypeInfo_var; TypeInfo* BitArray_t549_il2cpp_TypeInfo_var; TypeInfo* CostDelegate_t528_il2cpp_TypeInfo_var; TypeInfo* UriParser_t553_il2cpp_TypeInfo_var; TypeInfo* UriFormatException_t557_il2cpp_TypeInfo_var; TypeInfo* UriSchemeU5BU5D_t556_il2cpp_TypeInfo_var; TypeInfo* Path_t607_il2cpp_TypeInfo_var; TypeInfo* DefaultUriParser_t552_il2cpp_TypeInfo_var; TypeInfo* GenericUriParser_t554_il2cpp_TypeInfo_var; TypeInfo* KeyBuilder_t612_il2cpp_TypeInfo_var; TypeInfo* CipherMode_t624_il2cpp_TypeInfo_var; TypeInfo* ObjectDisposedException_t625_il2cpp_TypeInfo_var; TypeInfo* PaddingMode_t626_il2cpp_TypeInfo_var; TypeInfo* KeySizesU5BU5D_t627_il2cpp_TypeInfo_var; TypeInfo* KeySizes_t628_il2cpp_TypeInfo_var; TypeInfo* AesTransform_t618_il2cpp_TypeInfo_var; TypeInfo* UInt32U5BU5D_t617_il2cpp_TypeInfo_var; TypeInfo* BigInteger_t632_il2cpp_TypeInfo_var; TypeInfo* BigIntegerU5BU5D_t744_il2cpp_TypeInfo_var; TypeInfo* ModulusRing_t633_il2cpp_TypeInfo_var; TypeInfo* ArithmeticException_t746_il2cpp_TypeInfo_var; TypeInfo* SequentialSearchPrimeGeneratorBase_t638_il2cpp_TypeInfo_var; TypeInfo* PrimalityTest_t733_il2cpp_TypeInfo_var; TypeInfo* ContentInfo_t641_il2cpp_TypeInfo_var; TypeInfo* RC4_t645_il2cpp_TypeInfo_var; TypeInfo* KeyBuilder_t647_il2cpp_TypeInfo_var; TypeInfo* MD2Managed_t650_il2cpp_TypeInfo_var; TypeInfo* MD2_t648_il2cpp_TypeInfo_var; TypeInfo* PKCS1_t651_il2cpp_TypeInfo_var; TypeInfo* CspParameters_t747_il2cpp_TypeInfo_var; TypeInfo* DeriveBytes_t658_il2cpp_TypeInfo_var; TypeInfo* X509CertificateCollection_t597_il2cpp_TypeInfo_var; TypeInfo* EncryptedData_t642_il2cpp_TypeInfo_var; TypeInfo* SafeBag_t657_il2cpp_TypeInfo_var; TypeInfo* PrivateKeyInfo_t652_il2cpp_TypeInfo_var; TypeInfo* EncryptedPrivateKeyInfo_t653_il2cpp_TypeInfo_var; TypeInfo* ICryptoTransform_t623_il2cpp_TypeInfo_var; TypeInfo* HMACSHA1_t748_il2cpp_TypeInfo_var; TypeInfo* X509ExtensionCollection_t600_il2cpp_TypeInfo_var; TypeInfo* DSASignatureDeformatter_t752_il2cpp_TypeInfo_var; TypeInfo* RSAPKCS1SignatureDeformatter_t753_il2cpp_TypeInfo_var; TypeInfo* X509CertificateEnumerator_t602_il2cpp_TypeInfo_var; TypeInfo* BasicConstraintsExtension_t662_il2cpp_TypeInfo_var; TypeInfo* X509CrlEntry_t574_il2cpp_TypeInfo_var; TypeInfo* X509StoreManager_t661_il2cpp_TypeInfo_var; TypeInfo* X509Stores_t575_il2cpp_TypeInfo_var; TypeInfo* X509Store_t480_il2cpp_TypeInfo_var; TypeInfo* ExtendedKeyUsageExtension_t663_il2cpp_TypeInfo_var; TypeInfo* KeyUsages_t665_il2cpp_TypeInfo_var; TypeInfo* CertTypes_t667_il2cpp_TypeInfo_var; TypeInfo* GeneralNames_t664_il2cpp_TypeInfo_var; TypeInfo* RSASslSignatureFormatter_t705_il2cpp_TypeInfo_var; TypeInfo* RSASslSignatureDeformatter_t703_il2cpp_TypeInfo_var; TypeInfo* CipherSuite_t678_il2cpp_TypeInfo_var; TypeInfo* ClientContext_t682_il2cpp_TypeInfo_var; TypeInfo* TlsStream_t691_il2cpp_TypeInfo_var; TypeInfo* HMAC_t670_il2cpp_TypeInfo_var; TypeInfo* ByteU5BU5DU5BU5D_t755_il2cpp_TypeInfo_var; TypeInfo* DES_t756_il2cpp_TypeInfo_var; TypeInfo* ARC4Managed_t644_il2cpp_TypeInfo_var; TypeInfo* TlsCipherSuite_t717_il2cpp_TypeInfo_var; TypeInfo* SslCipherSuite_t714_il2cpp_TypeInfo_var; TypeInfo* CipherSuiteCollection_t679_il2cpp_TypeInfo_var; TypeInfo* RecordProtocol_t684_il2cpp_TypeInfo_var; TypeInfo* TlsClientHello_t725_il2cpp_TypeInfo_var; TypeInfo* TlsClientCertificate_t722_il2cpp_TypeInfo_var; TypeInfo* TlsClientKeyExchange_t726_il2cpp_TypeInfo_var; TypeInfo* TlsClientCertificateVerify_t723_il2cpp_TypeInfo_var; TypeInfo* TlsClientFinished_t724_il2cpp_TypeInfo_var; TypeInfo* HandshakeType_t721_il2cpp_TypeInfo_var; TypeInfo* TlsServerHello_t730_il2cpp_TypeInfo_var; TypeInfo* TlsServerCertificate_t727_il2cpp_TypeInfo_var; TypeInfo* TlsServerKeyExchange_t732_il2cpp_TypeInfo_var; TypeInfo* TlsServerCertificateRequest_t728_il2cpp_TypeInfo_var; TypeInfo* TlsServerHelloDone_t731_il2cpp_TypeInfo_var; TypeInfo* TlsServerFinished_t729_il2cpp_TypeInfo_var; TypeInfo* TlsException_t718_il2cpp_TypeInfo_var; TypeInfo* ClientSessionInfo_t685_il2cpp_TypeInfo_var; TypeInfo* ClientSessionCache_t686_il2cpp_TypeInfo_var; TypeInfo* TlsServerSettings_t688_il2cpp_TypeInfo_var; TypeInfo* TlsClientSettings_t689_il2cpp_TypeInfo_var; TypeInfo* SecurityParameters_t690_il2cpp_TypeInfo_var; TypeInfo* HttpsClientStream_t697_il2cpp_TypeInfo_var; TypeInfo* CertificateSelectionCallback_t695_il2cpp_TypeInfo_var; TypeInfo* PrivateKeySelectionCallback_t696_il2cpp_TypeInfo_var; TypeInfo* ICertificatePolicy_t435_il2cpp_TypeInfo_var; TypeInfo* ManualResetEvent_t698_il2cpp_TypeInfo_var; TypeInfo* ReceiveRecordAsyncResult_t700_il2cpp_TypeInfo_var; TypeInfo* AsyncCallback_t54_il2cpp_TypeInfo_var; TypeInfo* IAsyncResult_t53_il2cpp_TypeInfo_var; TypeInfo* ContentType_t687_il2cpp_TypeInfo_var; TypeInfo* Alert_t675_il2cpp_TypeInfo_var; TypeInfo* SendRecordAsyncResult_t702_il2cpp_TypeInfo_var; TypeInfo* ServerContext_t709_il2cpp_TypeInfo_var; TypeInfo* MD5SHA1_t672_il2cpp_TypeInfo_var; TypeInfo* X509CertificateU5BU5D_t571_il2cpp_TypeInfo_var; TypeInfo* SslStreamBase_t713_il2cpp_TypeInfo_var; TypeInfo* ClientRecordProtocol_t683_il2cpp_TypeInfo_var; TypeInfo* CertificateValidationCallback_t711_il2cpp_TypeInfo_var; TypeInfo* CertificateValidationCallback2_t712_il2cpp_TypeInfo_var; TypeInfo* IOException_t761_il2cpp_TypeInfo_var; TypeInfo* Stream_t699_il2cpp_TypeInfo_var; TypeInfo* InternalAsyncResult_t716_il2cpp_TypeInfo_var; TypeInfo* SslHandshakeHash_t715_il2cpp_TypeInfo_var; TypeInfo* RSAPKCS1KeyExchangeFormatter_t762_il2cpp_TypeInfo_var; TypeInfo* KeyUsageExtension_t666_il2cpp_TypeInfo_var; TypeInfo* NetscapeCertTypeExtension_t668_il2cpp_TypeInfo_var; TypeInfo* X509Chain_t659_il2cpp_TypeInfo_var; TypeInfo* SubjectAltNameExtension_t669_il2cpp_TypeInfo_var; TypeInfo* ClientCertificateTypeU5BU5D_t719_il2cpp_TypeInfo_var; TypeInfo* ConfidenceFactor_t635_il2cpp_TypeInfo_var; TypeInfo* MonoCustomAttrs_t1342_il2cpp_TypeInfo_var; TypeInfo* Attribute_t105_il2cpp_TypeInfo_var; TypeInfo* OverflowException_t1350_il2cpp_TypeInfo_var; TypeInfo* IFormatProvider_t1395_il2cpp_TypeInfo_var; TypeInfo* NumberFormatInfo_t907_il2cpp_TypeInfo_var; TypeInfo* Thread_t1081_il2cpp_TypeInfo_var; TypeInfo* NumberFormatter_t1348_il2cpp_TypeInfo_var; TypeInfo* InvalidCastException_t1333_il2cpp_TypeInfo_var; TypeInfo* CharEnumerator_t1307_il2cpp_TypeInfo_var; TypeInfo* StringSplitOptions_t1358_il2cpp_TypeInfo_var; TypeInfo* StringComparison_t1357_il2cpp_TypeInfo_var; TypeInfo* ICustomFormatter_t1412_il2cpp_TypeInfo_var; TypeInfo* IFormattable_t1413_il2cpp_TypeInfo_var; TypeInfo* AccessViolationException_t1291_il2cpp_TypeInfo_var; TypeInfo* DivideByZeroException_t1316_il2cpp_TypeInfo_var; TypeInfo* UIntPtr_t_il2cpp_TypeInfo_var; TypeInfo* MulticastDelegate_t56_il2cpp_TypeInfo_var; TypeInfo* DelegateU5BU5D_t1397_il2cpp_TypeInfo_var; TypeInfo* MethodInfo_t_il2cpp_TypeInfo_var; TypeInfo* ParameterModifierU5BU5D_t384_il2cpp_TypeInfo_var; TypeInfo* Delegate_t339_il2cpp_TypeInfo_var; TypeInfo* MulticastNotSupportedException_t1345_il2cpp_TypeInfo_var; TypeInfo* UInt64U5BU5D_t1214_il2cpp_TypeInfo_var; TypeInfo* MonoEnumInfo_t1324_il2cpp_TypeInfo_var; TypeInfo* Int16U5BU5D_t1414_il2cpp_TypeInfo_var; TypeInfo* SByteU5BU5D_t1270_il2cpp_TypeInfo_var; TypeInfo* Int64U5BU5D_t1398_il2cpp_TypeInfo_var; TypeInfo* RankException_t1352_il2cpp_TypeInfo_var; TypeInfo* SimpleEnumerator_t770_il2cpp_TypeInfo_var; TypeInfo* TypeLoadException_t1318_il2cpp_TypeInfo_var; TypeInfo* IComparable_t1415_il2cpp_TypeInfo_var; TypeInfo* Comparer_t880_il2cpp_TypeInfo_var; TypeInfo* ArrayTypeMismatchException_t1303_il2cpp_TypeInfo_var; TypeInfo* Swapper_t771_il2cpp_TypeInfo_var; TypeInfo* DoubleU5BU5D_t1399_il2cpp_TypeInfo_var; TypeInfo* MemberFilter_t773_il2cpp_TypeInfo_var; TypeInfo* Missing_t1016_il2cpp_TypeInfo_var; TypeInfo* IConvertible_t1416_il2cpp_TypeInfo_var; TypeInfo* FieldInfo_t_il2cpp_TypeInfo_var; TypeInfo* PropertyInfo_t_il2cpp_TypeInfo_var; TypeInfo* EventInfo_t_il2cpp_TypeInfo_var; TypeInfo* RuntimeTypeHandle_t774_il2cpp_TypeInfo_var; TypeInfo* MonoType_t_il2cpp_TypeInfo_var; TypeInfo* TypeBuilder_t957_il2cpp_TypeInfo_var; TypeInfo* EnumBuilder_t961_il2cpp_TypeInfo_var; TypeInfo* SerializableAttribute_t765_il2cpp_TypeInfo_var; TypeInfo* ComImportAttribute_t784_il2cpp_TypeInfo_var; TypeInfo* MonoField_t_il2cpp_TypeInfo_var; TypeInfo* RuntimeFieldHandle_t775_il2cpp_TypeInfo_var; TypeInfo* TableRangeU5BU5D_t805_il2cpp_TypeInfo_var; TypeInfo* ContractionComparer_t809_il2cpp_TypeInfo_var; TypeInfo* Contraction_t808_il2cpp_TypeInfo_var; TypeInfo* Level2MapComparer_t811_il2cpp_TypeInfo_var; TypeInfo* Level2Map_t810_il2cpp_TypeInfo_var; TypeInfo* MSCompatUnicodeTable_t813_il2cpp_TypeInfo_var; TypeInfo* TailoringInfoU5BU5D_t812_il2cpp_TypeInfo_var; TypeInfo* TailoringInfo_t807_il2cpp_TypeInfo_var; TypeInfo* Marshal_t1058_il2cpp_TypeInfo_var; TypeInfo* ContractionU5BU5D_t821_il2cpp_TypeInfo_var; TypeInfo* Level2MapU5BU5D_t822_il2cpp_TypeInfo_var; TypeInfo* MSCompatUnicodeTableUtil_t814_il2cpp_TypeInfo_var; TypeInfo* CodePointIndexer_t806_il2cpp_TypeInfo_var; TypeInfo* SimpleCollator_t819_il2cpp_TypeInfo_var; TypeInfo* SortKeyBuffer_t824_il2cpp_TypeInfo_var; TypeInfo* Escape_t817_il2cpp_TypeInfo_var; TypeInfo* SortKey_t823_il2cpp_TypeInfo_var; TypeInfo* CompareOptions_t906_il2cpp_TypeInfo_var; TypeInfo* PrimalityTest_t1368_il2cpp_TypeInfo_var; TypeInfo* BigInteger_t830_il2cpp_TypeInfo_var; TypeInfo* ModulusRing_t831_il2cpp_TypeInfo_var; TypeInfo* BigIntegerU5BU5D_t1400_il2cpp_TypeInfo_var; TypeInfo* SequentialSearchPrimeGeneratorBase_t826_il2cpp_TypeInfo_var; TypeInfo* KeyBuilder_t834_il2cpp_TypeInfo_var; TypeInfo* KeyGeneratedEventHandler_t836_il2cpp_TypeInfo_var; TypeInfo* KeyPairPersistence_t838_il2cpp_TypeInfo_var; TypeInfo* StreamWriter_t946_il2cpp_TypeInfo_var; TypeInfo* SecurityParser_t864_il2cpp_TypeInfo_var; TypeInfo* PKCS1_t840_il2cpp_TypeInfo_var; TypeInfo* ASN1_t847_il2cpp_TypeInfo_var; TypeInfo* KeyGeneratedEventHandler_t844_il2cpp_TypeInfo_var; TypeInfo* DeriveBytes_t849_il2cpp_TypeInfo_var; TypeInfo* PKCS12_t851_il2cpp_TypeInfo_var; TypeInfo* X509CertificateCollection_t850_il2cpp_TypeInfo_var; TypeInfo* ContentInfo_t859_il2cpp_TypeInfo_var; TypeInfo* EncryptedData_t860_il2cpp_TypeInfo_var; TypeInfo* SafeBag_t848_il2cpp_TypeInfo_var; TypeInfo* X509Certificate_t854_il2cpp_TypeInfo_var; TypeInfo* PrivateKeyInfo_t841_il2cpp_TypeInfo_var; TypeInfo* EncryptedPrivateKeyInfo_t842_il2cpp_TypeInfo_var; TypeInfo* X501_t852_il2cpp_TypeInfo_var; TypeInfo* X509ExtensionCollection_t853_il2cpp_TypeInfo_var; TypeInfo* X509CertificateEnumerator_t855_il2cpp_TypeInfo_var; TypeInfo* X509Extension_t856_il2cpp_TypeInfo_var; TypeInfo* StrongName_t862_il2cpp_TypeInfo_var; TypeInfo* SecurityElement_t863_il2cpp_TypeInfo_var; TypeInfo* IAttrList_t1401_il2cpp_TypeInfo_var; TypeInfo* AttrListImpl_t866_il2cpp_TypeInfo_var; TypeInfo* SmallXmlParserException_t869_il2cpp_TypeInfo_var; TypeInfo* IContentHandler_t867_il2cpp_TypeInfo_var; TypeInfo* SmallXmlParser_t865_il2cpp_TypeInfo_var; TypeInfo* SimpleEnumerator_t873_il2cpp_TypeInfo_var; TypeInfo* Array_t_il2cpp_TypeInfo_var; TypeInfo* SynchronizedArrayListWrapper_t875_il2cpp_TypeInfo_var; TypeInfo* ReadOnlyArrayListWrapper_t877_il2cpp_TypeInfo_var; TypeInfo* BitArrayEnumerator_t878_il2cpp_TypeInfo_var; TypeInfo* KeyMarker_t882_il2cpp_TypeInfo_var; TypeInfo* Enumerator_t884_il2cpp_TypeInfo_var; TypeInfo* SlotU5BU5D_t887_il2cpp_TypeInfo_var; TypeInfo* HashKeys_t885_il2cpp_TypeInfo_var; TypeInfo* HashValues_t886_il2cpp_TypeInfo_var; TypeInfo* Enumerator_t890_il2cpp_TypeInfo_var; TypeInfo* EnumeratorMode_t889_il2cpp_TypeInfo_var; TypeInfo* SlotU5BU5D_t891_il2cpp_TypeInfo_var; TypeInfo* Enumerator_t892_il2cpp_TypeInfo_var; TypeInfo* SecurityException_t1241_il2cpp_TypeInfo_var; TypeInfo* StackFrameU5BU5D_t901_il2cpp_TypeInfo_var; TypeInfo* StackFrame_t385_il2cpp_TypeInfo_var; TypeInfo* CompareInfo_t760_il2cpp_TypeInfo_var; TypeInfo* DateTimeFormatInfo_t908_il2cpp_TypeInfo_var; TypeInfo* TextInfo_t820_il2cpp_TypeInfo_var; TypeInfo* GregorianCalendar_t913_il2cpp_TypeInfo_var; TypeInfo* Data_t916_il2cpp_TypeInfo_var; TypeInfo* EndOfStreamException_t925_il2cpp_TypeInfo_var; TypeInfo* DirectoryInfo_t922_il2cpp_TypeInfo_var; TypeInfo* MonoIO_t937_il2cpp_TypeInfo_var; TypeInfo* SearchPattern_t940_il2cpp_TypeInfo_var; TypeInfo* DirectoryNotFoundException_t924_il2cpp_TypeInfo_var; TypeInfo* UnauthorizedAccessException_t1364_il2cpp_TypeInfo_var; TypeInfo* FileStream_t754_il2cpp_TypeInfo_var; TypeInfo* StreamReader_t945_il2cpp_TypeInfo_var; TypeInfo* IsolatedStorageException_t918_il2cpp_TypeInfo_var; TypeInfo* FileMode_t928_il2cpp_TypeInfo_var; TypeInfo* ReadDelegate_t932_il2cpp_TypeInfo_var; TypeInfo* AsyncResult_t1092_il2cpp_TypeInfo_var; TypeInfo* FileStreamAsyncResult_t934_il2cpp_TypeInfo_var; TypeInfo* WriteDelegate_t933_il2cpp_TypeInfo_var; TypeInfo* PathTooLongException_t939_il2cpp_TypeInfo_var; TypeInfo* MonoIOError_t938_il2cpp_TypeInfo_var; TypeInfo* NullStream_t942_il2cpp_TypeInfo_var; TypeInfo* StreamAsyncResult_t943_il2cpp_TypeInfo_var; TypeInfo* TextReader_t868_il2cpp_TypeInfo_var; TypeInfo* NullStreamReader_t944_il2cpp_TypeInfo_var; TypeInfo* TextWriter_t606_il2cpp_TypeInfo_var; TypeInfo* NullTextReader_t947_il2cpp_TypeInfo_var; TypeInfo* SynchronizedReader_t948_il2cpp_TypeInfo_var; TypeInfo* NullTextWriter_t949_il2cpp_TypeInfo_var; TypeInfo* SynchronizedWriter_t950_il2cpp_TypeInfo_var; TypeInfo* UnexceptionalStreamReader_t951_il2cpp_TypeInfo_var; TypeInfo* ModuleU5BU5D_t954_il2cpp_TypeInfo_var; TypeInfo* ConstructorInfo_t209_il2cpp_TypeInfo_var; TypeInfo* ModuleBuilder_t978_il2cpp_TypeInfo_var; TypeInfo* ParameterInfoU5BU5D_t376_il2cpp_TypeInfo_var; TypeInfo* ParameterInfo_t377_il2cpp_TypeInfo_var; TypeInfo* ILGenerator_t956_il2cpp_TypeInfo_var; TypeInfo* AssemblyBuilder_t955_il2cpp_TypeInfo_var; TypeInfo* ILTokenInfoU5BU5D_t969_il2cpp_TypeInfo_var; TypeInfo* TokenGenerator_t973_il2cpp_TypeInfo_var; TypeInfo* MethodToken_t975_il2cpp_TypeInfo_var; TypeInfo* ModuleBuilderTokenGenerator_t977_il2cpp_TypeInfo_var; TypeInfo* OpCode_t979_il2cpp_TypeInfo_var; TypeInfo* OpCodeNames_t980_il2cpp_TypeInfo_var; TypeInfo* OpCodes_t981_il2cpp_TypeInfo_var; TypeInfo* AmbiguousMatchException_t989_il2cpp_TypeInfo_var; TypeInfo* MethodBaseU5BU5D_t1402_il2cpp_TypeInfo_var; TypeInfo* Binder_t383_il2cpp_TypeInfo_var; TypeInfo* ConstructorBuilder_t960_il2cpp_TypeInfo_var; TypeInfo* ConstructorBuilderU5BU5D_t986_il2cpp_TypeInfo_var; TypeInfo* ConstructorInfoU5BU5D_t375_il2cpp_TypeInfo_var; TypeInfo* FieldInfoU5BU5D_t380_il2cpp_TypeInfo_var; TypeInfo* MethodInfoU5BU5D_t1018_il2cpp_TypeInfo_var; TypeInfo* PropertyInfoU5BU5D_t379_il2cpp_TypeInfo_var; TypeInfo* MarshalAsAttribute_t780_il2cpp_TypeInfo_var; TypeInfo* ResolveEventHolder_t990_il2cpp_TypeInfo_var; TypeInfo* SecurityManager_t1246_il2cpp_TypeInfo_var; TypeInfo* AssemblyName_t1002_il2cpp_TypeInfo_var; TypeInfo* StrongNameKeyPair_t1001_il2cpp_TypeInfo_var; TypeInfo* AssemblyHashAlgorithm_t893_il2cpp_TypeInfo_var; TypeInfo* AssemblyVersionCompatibility_t894_il2cpp_TypeInfo_var; TypeInfo* AssemblyNameFlags_t1003_il2cpp_TypeInfo_var; TypeInfo* Default_t1006_il2cpp_TypeInfo_var; TypeInfo* TargetParameterCountException_t1033_il2cpp_TypeInfo_var; TypeInfo* NonSerializedAttribute_t1346_il2cpp_TypeInfo_var; TypeInfo* FieldOffsetAttribute_t792_il2cpp_TypeInfo_var; TypeInfo* MemberTypes_t1013_il2cpp_TypeInfo_var; TypeInfo* MethodBuilder_t964_il2cpp_TypeInfo_var; TypeInfo* TypeFilter_t1017_il2cpp_TypeInfo_var; TypeInfo* Module_t972_il2cpp_TypeInfo_var; TypeInfo* TargetException_t1031_il2cpp_TypeInfo_var; TypeInfo* FieldAccessException_t1329_il2cpp_TypeInfo_var; TypeInfo* ThreadAbortException_t1283_il2cpp_TypeInfo_var; TypeInfo* MethodAccessException_t1336_il2cpp_TypeInfo_var; TypeInfo* TargetInvocationException_t1032_il2cpp_TypeInfo_var; TypeInfo* PreserveSigAttribute_t1060_il2cpp_TypeInfo_var; TypeInfo* MemberAccessException_t1330_il2cpp_TypeInfo_var; TypeInfo* GetterAdapter_t1025_il2cpp_TypeInfo_var; TypeInfo* InAttribute_t781_il2cpp_TypeInfo_var; TypeInfo* OptionalAttribute_t785_il2cpp_TypeInfo_var; TypeInfo* OutAttribute_t777_il2cpp_TypeInfo_var; TypeInfo* GCHandle_t1055_il2cpp_TypeInfo_var; TypeInfo* ActivationServices_t1065_il2cpp_TypeInfo_var; TypeInfo* ConstructionLevelActivator_t1067_il2cpp_TypeInfo_var; TypeInfo* IContextAttribute_t1420_il2cpp_TypeInfo_var; TypeInfo* RemotingException_t1138_il2cpp_TypeInfo_var; TypeInfo* UrlAttribute_t1070_il2cpp_TypeInfo_var; TypeInfo* RemotingServices_t1140_il2cpp_TypeInfo_var; TypeInfo* RemotingConfiguration_t1133_il2cpp_TypeInfo_var; TypeInfo* ConstructionCall_t1093_il2cpp_TypeInfo_var; TypeInfo* AppDomainLevelActivator_t1066_il2cpp_TypeInfo_var; TypeInfo* ContextLevelActivator_t1068_il2cpp_TypeInfo_var; TypeInfo* ChannelServices_t1074_il2cpp_TypeInfo_var; TypeInfo* CrossContextChannel_t1073_il2cpp_TypeInfo_var; TypeInfo* IChannel_t1405_il2cpp_TypeInfo_var; TypeInfo* IChannelSender_t1404_il2cpp_TypeInfo_var; TypeInfo* IChannelDataStore_t1421_il2cpp_TypeInfo_var; TypeInfo* ISecurableChannel_t1422_il2cpp_TypeInfo_var; TypeInfo* IChannelReceiver_t1423_il2cpp_TypeInfo_var; TypeInfo* ProviderData_t1136_il2cpp_TypeInfo_var; TypeInfo* IServerChannelSinkProvider_t1424_il2cpp_TypeInfo_var; TypeInfo* IClientChannelSinkProvider_t1425_il2cpp_TypeInfo_var; TypeInfo* CrossAppDomainChannel_t1076_il2cpp_TypeInfo_var; TypeInfo* CrossAppDomainData_t1075_il2cpp_TypeInfo_var; TypeInfo* CrossAppDomainSink_t1077_il2cpp_TypeInfo_var; TypeInfo* Context_t1079_il2cpp_TypeInfo_var; TypeInfo* IContextProperty_t1406_il2cpp_TypeInfo_var; TypeInfo* ContextAttribute_t1071_il2cpp_TypeInfo_var; TypeInfo* IConstructionCallMessage_t1403_il2cpp_TypeInfo_var; TypeInfo* Mutex_t1080_il2cpp_TypeInfo_var; TypeInfo* SynchronizationAttribute_t1082_il2cpp_TypeInfo_var; TypeInfo* LeaseManager_t1084_il2cpp_TypeInfo_var; TypeInfo* LifetimeServices_t1085_il2cpp_TypeInfo_var; TypeInfo* ConstructionCallDictionary_t1095_il2cpp_TypeInfo_var; TypeInfo* IActivator_t1064_il2cpp_TypeInfo_var; TypeInfo* EnvoyTerminatorSink_t1097_il2cpp_TypeInfo_var; TypeInfo* CallContextRemotingData_t1099_il2cpp_TypeInfo_var; TypeInfo* MethodCall_t1094_il2cpp_TypeInfo_var; TypeInfo* LogicalCallContext_t1100_il2cpp_TypeInfo_var; TypeInfo* MethodCallDictionary_t1101_il2cpp_TypeInfo_var; TypeInfo* DictionaryEnumerator_t1102_il2cpp_TypeInfo_var; TypeInfo* MethodDictionary_t1096_il2cpp_TypeInfo_var; TypeInfo* IMethodMessage_t1103_il2cpp_TypeInfo_var; TypeInfo* IMethodReturnMessage_t1407_il2cpp_TypeInfo_var; TypeInfo* IInternalMessage_t1426_il2cpp_TypeInfo_var; TypeInfo* MethodReturnDictionary_t1104_il2cpp_TypeInfo_var; TypeInfo* RemotingSurrogateSelector_t1108_il2cpp_TypeInfo_var; TypeInfo* ObjRefSurrogate_t1106_il2cpp_TypeInfo_var; TypeInfo* RemotingSurrogate_t1105_il2cpp_TypeInfo_var; TypeInfo* ISurrogateSelector_t1107_il2cpp_TypeInfo_var; TypeInfo* ArgInfo_t1087_il2cpp_TypeInfo_var; TypeInfo* MethodBase_t386_il2cpp_TypeInfo_var; TypeInfo* SoapServices_t1145_il2cpp_TypeInfo_var; TypeInfo* RemotingProxy_t1120_il2cpp_TypeInfo_var; TypeInfo* MarshalByRefObject_t441_il2cpp_TypeInfo_var; TypeInfo* IRemotingTypeInfo_t1131_il2cpp_TypeInfo_var; TypeInfo* ClientIdentity_t1128_il2cpp_TypeInfo_var; TypeInfo* ClientActivatedIdentity_t1141_il2cpp_TypeInfo_var; TypeInfo* TrackingServices_t1121_il2cpp_TypeInfo_var; TypeInfo* ITrackingHandlerU5BU5D_t1427_il2cpp_TypeInfo_var; TypeInfo* ITrackingHandler_t1428_il2cpp_TypeInfo_var; TypeInfo* IEnvoyInfo_t1132_il2cpp_TypeInfo_var; TypeInfo* WeakReference_t1127_il2cpp_TypeInfo_var; TypeInfo* InternalRemotingServices_t1129_il2cpp_TypeInfo_var; TypeInfo* SoapAttribute_t1110_il2cpp_TypeInfo_var; TypeInfo* ICustomAttributeProvider_t1411_il2cpp_TypeInfo_var; TypeInfo* SoapTypeAttribute_t1114_il2cpp_TypeInfo_var; TypeInfo* SoapFieldAttribute_t1111_il2cpp_TypeInfo_var; TypeInfo* SoapMethodAttribute_t1112_il2cpp_TypeInfo_var; TypeInfo* SoapParameterAttribute_t1113_il2cpp_TypeInfo_var; TypeInfo* ObjRef_t1126_il2cpp_TypeInfo_var; TypeInfo* IChannelInfo_t1130_il2cpp_TypeInfo_var; TypeInfo* ChannelInfo_t1072_il2cpp_TypeInfo_var; TypeInfo* ConfigHandler_t1135_il2cpp_TypeInfo_var; TypeInfo* ActivatedClientTypeEntry_t1122_il2cpp_TypeInfo_var; TypeInfo* ChannelData_t1134_il2cpp_TypeInfo_var; TypeInfo* TypeEntry_t1123_il2cpp_TypeInfo_var; TypeInfo* ActivatedServiceTypeEntry_t1124_il2cpp_TypeInfo_var; TypeInfo* WellKnownClientTypeEntry_t1147_il2cpp_TypeInfo_var; TypeInfo* WellKnownServiceTypeEntry_t1149_il2cpp_TypeInfo_var; TypeInfo* SinkProviderData_t1078_il2cpp_TypeInfo_var; TypeInfo* FormatterData_t1137_il2cpp_TypeInfo_var; TypeInfo* BinaryFormatter_t1139_il2cpp_TypeInfo_var; TypeInfo* ServerIdentity_t796_il2cpp_TypeInfo_var; TypeInfo* ProxyAttribute_t1115_il2cpp_TypeInfo_var; TypeInfo* TransparentProxy_t1117_il2cpp_TypeInfo_var; TypeInfo* Identity_t1118_il2cpp_TypeInfo_var; TypeInfo* SingleCallIdentity_t1143_il2cpp_TypeInfo_var; TypeInfo* SingletonIdentity_t1142_il2cpp_TypeInfo_var; TypeInfo* TypeInfo_t1146_il2cpp_TypeInfo_var; TypeInfo* EnvoyInfo_t1125_il2cpp_TypeInfo_var; TypeInfo* TypeInfo_t1144_il2cpp_TypeInfo_var; TypeInfo* BinaryCommon_t1150_il2cpp_TypeInfo_var; TypeInfo* BinaryReader_t920_il2cpp_TypeInfo_var; TypeInfo* ObjectReader_t1161_il2cpp_TypeInfo_var; TypeInfo* BinaryElement_t1151_il2cpp_TypeInfo_var; TypeInfo* HeaderU5BU5D_t1369_il2cpp_TypeInfo_var; TypeInfo* Header_t1098_il2cpp_TypeInfo_var; TypeInfo* ReturnMessage_t1109_il2cpp_TypeInfo_var; TypeInfo* ObjectManager_t1160_il2cpp_TypeInfo_var; TypeInfo* ArrayNullFiller_t1159_il2cpp_TypeInfo_var; TypeInfo* TypeMetadata_t1158_il2cpp_TypeInfo_var; TypeInfo* FormatterConverter_t1165_il2cpp_TypeInfo_var; TypeInfo* SerializationInfo_t317_il2cpp_TypeInfo_var; TypeInfo* DateTimeU5BU5D_t1429_il2cpp_TypeInfo_var; TypeInfo* DecimalU5BU5D_t1430_il2cpp_TypeInfo_var; TypeInfo* SingleU5BU5D_t132_il2cpp_TypeInfo_var; TypeInfo* TimeSpanU5BU5D_t1431_il2cpp_TypeInfo_var; TypeInfo* TypeTagU5BU5D_t1432_il2cpp_TypeInfo_var; TypeInfo* MemberInfoU5BU5D_t1157_il2cpp_TypeInfo_var; TypeInfo* IObjectReference_t1434_il2cpp_TypeInfo_var; TypeInfo* IDeserializationCallback_t1436_il2cpp_TypeInfo_var; TypeInfo* SerializationCallbacks_t1180_il2cpp_TypeInfo_var; TypeInfo* ObjectRecord_t1167_il2cpp_TypeInfo_var; TypeInfo* ArrayFixupRecord_t1169_il2cpp_TypeInfo_var; TypeInfo* MultiArrayFixupRecord_t1170_il2cpp_TypeInfo_var; TypeInfo* DelayedFixupRecord_t1172_il2cpp_TypeInfo_var; TypeInfo* FixupRecord_t1171_il2cpp_TypeInfo_var; TypeInfo* ISerializationSurrogate_t1174_il2cpp_TypeInfo_var; TypeInfo* ISerializable_t1433_il2cpp_TypeInfo_var; TypeInfo* StreamingContext_t318_il2cpp_TypeInfo_var; TypeInfo* CallbackHandler_t1179_il2cpp_TypeInfo_var; TypeInfo* SerializationEntry_t1181_il2cpp_TypeInfo_var; TypeInfo* IFormatterConverter_t1182_il2cpp_TypeInfo_var; TypeInfo* SerializationInfoEnumerator_t1183_il2cpp_TypeInfo_var; TypeInfo* Base64Constants_t1187_il2cpp_TypeInfo_var; TypeInfo* ByteU5BU2CU5D_t1189_il2cpp_TypeInfo_var; TypeInfo* DESTransform_t1190_il2cpp_TypeInfo_var; TypeInfo* DSAManaged_t837_il2cpp_TypeInfo_var; TypeInfo* BlockProcessor_t835_il2cpp_TypeInfo_var; TypeInfo* HMAC_t749_il2cpp_TypeInfo_var; TypeInfo* HMACSHA384_t1196_il2cpp_TypeInfo_var; TypeInfo* HMACSHA512_t1197_il2cpp_TypeInfo_var; TypeInfo* HashAlgorithm_t649_il2cpp_TypeInfo_var; TypeInfo* MACAlgorithm_t839_il2cpp_TypeInfo_var; TypeInfo* MD5_t750_il2cpp_TypeInfo_var; TypeInfo* MD5CryptoServiceProvider_t1199_il2cpp_TypeInfo_var; TypeInfo* RC2_t757_il2cpp_TypeInfo_var; TypeInfo* RC2Transform_t1201_il2cpp_TypeInfo_var; TypeInfo* RNGCryptoServiceProvider_t1204_il2cpp_TypeInfo_var; TypeInfo* RSAManaged_t845_il2cpp_TypeInfo_var; TypeInfo* RandomNumberGenerator_t611_il2cpp_TypeInfo_var; TypeInfo* Rijndael_t759_il2cpp_TypeInfo_var; TypeInfo* RijndaelManagedTransform_t1208_il2cpp_TypeInfo_var; TypeInfo* RijndaelTransform_t1207_il2cpp_TypeInfo_var; TypeInfo* SHA1_t603_il2cpp_TypeInfo_var; TypeInfo* SHA1Internal_t1209_il2cpp_TypeInfo_var; TypeInfo* SHA256_t751_il2cpp_TypeInfo_var; TypeInfo* SHAConstants_t1218_il2cpp_TypeInfo_var; TypeInfo* SymmetricAlgorithm_t613_il2cpp_TypeInfo_var; TypeInfo* TripleDES_t758_il2cpp_TypeInfo_var; TypeInfo* TripleDESTransform_t1224_il2cpp_TypeInfo_var; TypeInfo* SecurityPermissionFlag_t1227_il2cpp_TypeInfo_var; TypeInfo* SecurityPermission_t1225_il2cpp_TypeInfo_var; TypeInfo* StrongNamePublicKeyBlob_t1228_il2cpp_TypeInfo_var; TypeInfo* List_1_t1437_il2cpp_TypeInfo_var; TypeInfo* Evidence_t991_il2cpp_TypeInfo_var; TypeInfo* EvidenceEnumerator_t1231_il2cpp_TypeInfo_var; TypeInfo* StrongName_t1233_il2cpp_TypeInfo_var; TypeInfo* WindowsIdentity_t1236_il2cpp_TypeInfo_var; TypeInfo* WindowsAccountType_t1235_il2cpp_TypeInfo_var; TypeInfo* CodeAccessPermission_t1226_il2cpp_TypeInfo_var; TypeInfo* PermissionSet_t992_il2cpp_TypeInfo_var; TypeInfo* SecurityContext_t1238_il2cpp_TypeInfo_var; TypeInfo* SecurityAttribute_t1239_il2cpp_TypeInfo_var; TypeInfo* Hash_t1232_il2cpp_TypeInfo_var; TypeInfo* RuntimeSecurityFrame_t1244_il2cpp_TypeInfo_var; TypeInfo* SecurityFrame_t1245_il2cpp_TypeInfo_var; TypeInfo* DecoderReplacementFallback_t1256_il2cpp_TypeInfo_var; TypeInfo* DecoderFallback_t1251_il2cpp_TypeInfo_var; TypeInfo* DecoderExceptionFallbackBuffer_t1254_il2cpp_TypeInfo_var; TypeInfo* DecoderExceptionFallback_t1253_il2cpp_TypeInfo_var; TypeInfo* DecoderFallbackException_t1255_il2cpp_TypeInfo_var; TypeInfo* DecoderReplacementFallbackBuffer_t1257_il2cpp_TypeInfo_var; TypeInfo* EncoderFallback_t1259_il2cpp_TypeInfo_var; TypeInfo* EncoderExceptionFallbackBuffer_t1260_il2cpp_TypeInfo_var; TypeInfo* EncoderExceptionFallback_t1258_il2cpp_TypeInfo_var; TypeInfo* EncoderFallbackException_t1262_il2cpp_TypeInfo_var; TypeInfo* EncoderReplacementFallback_t1263_il2cpp_TypeInfo_var; TypeInfo* EncoderReplacementFallbackBuffer_t1264_il2cpp_TypeInfo_var; TypeInfo* ForwardingDecoder_t1265_il2cpp_TypeInfo_var; TypeInfo* MissingMethodException_t1339_il2cpp_TypeInfo_var; TypeInfo* ASCIIEncoding_t1250_il2cpp_TypeInfo_var; TypeInfo* UnicodeEncoding_t1275_il2cpp_TypeInfo_var; TypeInfo* Latin1Encoding_t1266_il2cpp_TypeInfo_var; TypeInfo* UTF7Encoding_t1271_il2cpp_TypeInfo_var; TypeInfo* UTF8Encoding_t1273_il2cpp_TypeInfo_var; TypeInfo* UTF32Encoding_t1268_il2cpp_TypeInfo_var; TypeInfo* UTF32Decoder_t1267_il2cpp_TypeInfo_var; TypeInfo* UTF7Decoder_t1269_il2cpp_TypeInfo_var; TypeInfo* Decoder_t919_il2cpp_TypeInfo_var; TypeInfo* UTF8Decoder_t1272_il2cpp_TypeInfo_var; TypeInfo* UnicodeDecoder_t1274_il2cpp_TypeInfo_var; TypeInfo* CompressedStack_t1237_il2cpp_TypeInfo_var; TypeInfo* WaitHandle_t745_il2cpp_TypeInfo_var; TypeInfo* ExecutionContext_t1088_il2cpp_TypeInfo_var; TypeInfo* SynchronizationLockException_t1281_il2cpp_TypeInfo_var; TypeInfo* ApplicationException_t1302_il2cpp_TypeInfo_var; TypeInfo* Timer_t1083_il2cpp_TypeInfo_var; TypeInfo* TimerComparer_t1288_il2cpp_TypeInfo_var; TypeInfo* ThreadStart_t1371_il2cpp_TypeInfo_var; TypeInfo* Scheduler_t1289_il2cpp_TypeInfo_var; TypeInfo* WaitCallback_t1372_il2cpp_TypeInfo_var; TypeInfo* SafeWaitHandle_t803_il2cpp_TypeInfo_var; TypeInfo* FileNotFoundException_t929_il2cpp_TypeInfo_var; TypeInfo* AppDomain_t1243_il2cpp_TypeInfo_var; TypeInfo* ResolveEventHandler_t1297_il2cpp_TypeInfo_var; TypeInfo* ResolveEventArgs_t1353_il2cpp_TypeInfo_var; TypeInfo* UnexceptionalStreamWriter_t952_il2cpp_TypeInfo_var; TypeInfo* DBNull_t1309_il2cpp_TypeInfo_var; TypeInfo* MonoTouchAOTHelper_t1343_il2cpp_TypeInfo_var; TypeInfo* GenericComparer_1_t1438_il2cpp_TypeInfo_var; TypeInfo* GenericEqualityComparer_1_t1439_il2cpp_TypeInfo_var; TypeInfo* TimeZone_t1360_il2cpp_TypeInfo_var; TypeInfo* GenericComparer_1_t1440_il2cpp_TypeInfo_var; TypeInfo* GenericEqualityComparer_1_t1441_il2cpp_TypeInfo_var; TypeInfo* Nullable_1_t1410_il2cpp_TypeInfo_var; TypeInfo* DelegateEntry_t1314_il2cpp_TypeInfo_var; TypeInfo* SByteComparer_t1320_il2cpp_TypeInfo_var; TypeInfo* ShortComparer_t1321_il2cpp_TypeInfo_var; TypeInfo* IntComparer_t1322_il2cpp_TypeInfo_var; TypeInfo* LongComparer_t1323_il2cpp_TypeInfo_var; TypeInfo* Environment_t1327_il2cpp_TypeInfo_var; TypeInfo* OperatingSystem_t1326_il2cpp_TypeInfo_var; TypeInfo* EventArgs_t655_il2cpp_TypeInfo_var; TypeInfo* GenericComparer_1_t1442_il2cpp_TypeInfo_var; TypeInfo* GenericEqualityComparer_1_t1443_il2cpp_TypeInfo_var; TypeInfo* AttributeUsageAttribute_t766_il2cpp_TypeInfo_var; TypeInfo* MonoMethod_t_il2cpp_TypeInfo_var; TypeInfo* AttributeInfo_t1341_il2cpp_TypeInfo_var; TypeInfo* MonoProperty_t_il2cpp_TypeInfo_var; TypeInfo* MonoTypeInfo_t1344_il2cpp_TypeInfo_var; TypeInfo* DefaultMemberAttribute_t790_il2cpp_TypeInfo_var; TypeInfo* MissingFieldException_t1337_il2cpp_TypeInfo_var; TypeInfo* CustomInfo_t1347_il2cpp_TypeInfo_var; TypeInfo* PlatformID_t1351_il2cpp_TypeInfo_var; TypeInfo* RuntimeMethodHandle_t1354_il2cpp_TypeInfo_var; TypeInfo* CultureAwareComparer_t1355_il2cpp_TypeInfo_var; TypeInfo* OrdinalComparer_t1356_il2cpp_TypeInfo_var; TypeInfo* GenericComparer_1_t1444_il2cpp_TypeInfo_var; TypeInfo* GenericEqualityComparer_1_t1445_il2cpp_TypeInfo_var; TypeInfo* CurrentSystemTimeZone_t1361_il2cpp_TypeInfo_var; TypeInfo* DaylightTime_t912_il2cpp_TypeInfo_var; TypeInfo* ConfidenceFactor_t827_il2cpp_TypeInfo_var; TypeInfo* CastHelper_1_t1541_il2cpp_TypeInfo_var; TypeInfo* Enumerator_t1457_il2cpp_TypeInfo_var; TypeInfo* DictionaryEntryU5BU5D_t1958_il2cpp_TypeInfo_var; TypeInfo* KeyNotFoundException_t872_il2cpp_TypeInfo_var; TypeInfo* LinkU5BU5D_t1466_il2cpp_TypeInfo_var; TypeInfo* KeyValuePair_2_t1500_il2cpp_TypeInfo_var; TypeInfo* TextEditOp_t259_il2cpp_TypeInfo_var; TypeInfo* RuntimeCompatibilityAttribute_t788_il2cpp_TypeInfo_var; TypeInfo* InternalsVisibleToAttribute_t787_il2cpp_TypeInfo_var; TypeInfo* ExtensionAttribute_t609_il2cpp_TypeInfo_var; TypeInfo* WrapperlessIcall_t216_il2cpp_TypeInfo_var; TypeInfo* TypeInferenceRuleAttribute_t277_il2cpp_TypeInfo_var; TypeInfo* ParamArrayAttribute_t776_il2cpp_TypeInfo_var; TypeInfo* WritableAttribute_t227_il2cpp_TypeInfo_var; TypeInfo* CompilerGeneratedAttribute_t786_il2cpp_TypeInfo_var; TypeInfo* SerializeField_t106_il2cpp_TypeInfo_var; TypeInfo* ExecuteInEditMode_t225_il2cpp_TypeInfo_var; TypeInfo* FlagsAttribute_t1331_il2cpp_TypeInfo_var; TypeInfo* IL2CPPStructAlignmentAttribute_t217_il2cpp_TypeInfo_var; TypeInfo* ObsoleteAttribute_t778_il2cpp_TypeInfo_var; TypeInfo* ExcludeFromDocsAttribute_t274_il2cpp_TypeInfo_var; TypeInfo* SecuritySafeCriticalAttribute_t1247_il2cpp_TypeInfo_var; TypeInfo* DebuggerHiddenAttribute_t789_il2cpp_TypeInfo_var; TypeInfo* GeneratedCodeAttribute_t391_il2cpp_TypeInfo_var; TypeInfo* SuppressMessageAttribute_t895_il2cpp_TypeInfo_var; TypeInfo* FormerlySerializedAsAttribute_t275_il2cpp_TypeInfo_var; TypeInfo* AddComponentMenu_t224_il2cpp_TypeInfo_var; TypeInfo* NeutralResourcesLanguageAttribute_t1035_il2cpp_TypeInfo_var; TypeInfo* CLSCompliantAttribute_t768_il2cpp_TypeInfo_var; TypeInfo* AssemblyInformationalVersionAttribute_t999_il2cpp_TypeInfo_var; TypeInfo* SatelliteContractVersionAttribute_t1036_il2cpp_TypeInfo_var; TypeInfo* AssemblyCopyrightAttribute_t994_il2cpp_TypeInfo_var; TypeInfo* AssemblyProductAttribute_t1004_il2cpp_TypeInfo_var; TypeInfo* AssemblyCompanyAttribute_t993_il2cpp_TypeInfo_var; TypeInfo* AssemblyDefaultAliasAttribute_t995_il2cpp_TypeInfo_var; TypeInfo* AssemblyDescriptionAttribute_t997_il2cpp_TypeInfo_var; TypeInfo* ComVisibleAttribute_t767_il2cpp_TypeInfo_var; TypeInfo* AssemblyTitleAttribute_t1005_il2cpp_TypeInfo_var; TypeInfo* CompilationRelaxationsAttribute_t1038_il2cpp_TypeInfo_var; TypeInfo* DebuggableAttribute_t897_il2cpp_TypeInfo_var; TypeInfo* AssemblyDelaySignAttribute_t996_il2cpp_TypeInfo_var; TypeInfo* AssemblyKeyFileAttribute_t1000_il2cpp_TypeInfo_var; TypeInfo* AssemblyFileVersionAttribute_t998_il2cpp_TypeInfo_var; TypeInfo* MonoTODOAttribute_t390_il2cpp_TypeInfo_var; TypeInfo* TypeLibVersionAttribute_t1062_il2cpp_TypeInfo_var; TypeInfo* StringFreezingAttribute_t1042_il2cpp_TypeInfo_var; TypeInfo* GuidAttribute_t783_il2cpp_TypeInfo_var; TypeInfo* DefaultDependencyAttribute_t1039_il2cpp_TypeInfo_var; TypeInfo* ClassInterfaceAttribute_t1050_il2cpp_TypeInfo_var; TypeInfo* ReliabilityContractAttribute_t1046_il2cpp_TypeInfo_var; TypeInfo* ComDefaultInterfaceAttribute_t1052_il2cpp_TypeInfo_var; TypeInfo* InterfaceTypeAttribute_t1057_il2cpp_TypeInfo_var; TypeInfo* TypeLibImportClassAttribute_t1061_il2cpp_TypeInfo_var; TypeInfo* DispIdAttribute_t1054_il2cpp_TypeInfo_var; TypeInfo* MonoDocumentationNoteAttribute_t800_il2cpp_TypeInfo_var; TypeInfo* DecimalConstantAttribute_t791_il2cpp_TypeInfo_var; TypeInfo* MonoTODOAttribute_t799_il2cpp_TypeInfo_var; TypeInfo* DebuggerDisplayAttribute_t898_il2cpp_TypeInfo_var; TypeInfo* DebuggerTypeProxyAttribute_t900_il2cpp_TypeInfo_var; TypeInfo* ConditionalAttribute_t782_il2cpp_TypeInfo_var; TypeInfo* DebuggerStepThroughAttribute_t899_il2cpp_TypeInfo_var; TypeInfo* SuppressUnmanagedCodeSecurityAttribute_t1248_il2cpp_TypeInfo_var; TypeInfo* ThreadStaticAttribute_t1359_il2cpp_TypeInfo_var; const MethodInfo* List_1__ctor_m1186_MethodInfo_var; const MethodInfo* Action_1_Invoke_m1187_MethodInfo_var; const MethodInfo* Action_1_Invoke_m1188_MethodInfo_var; const MethodInfo* Action_1_Invoke_m1189_MethodInfo_var; const MethodInfo* Action_1_Invoke_m1190_MethodInfo_var; const MethodInfo* List_1_GetEnumerator_m1192_MethodInfo_var; const MethodInfo* Enumerator_get_Current_m1193_MethodInfo_var; const MethodInfo* Enumerator_MoveNext_m1194_MethodInfo_var; const MethodInfo* Action_1_Invoke_m1195_MethodInfo_var; const MethodInfo* Dictionary_2__ctor_m1201_MethodInfo_var; const MethodInfo* List_1_GetEnumerator_m1202_MethodInfo_var; const MethodInfo* Enumerator_get_Current_m1203_MethodInfo_var; const MethodInfo* Enumerator_MoveNext_m1204_MethodInfo_var; const MethodInfo* List_1__ctor_m1208_MethodInfo_var; const MethodInfo* Dictionary_2__ctor_m1211_MethodInfo_var; const MethodInfo* Dictionary_2_get_Values_m1212_MethodInfo_var; const MethodInfo* ValueCollection_GetEnumerator_m1213_MethodInfo_var; const MethodInfo* Dictionary_2_GetEnumerator_m1230_MethodInfo_var; const MethodInfo* Enumerator_get_Current_m1231_MethodInfo_var; const MethodInfo* KeyValuePair_2_get_Key_m1232_MethodInfo_var; const MethodInfo* KeyValuePair_2_get_Value_m1234_MethodInfo_var; const MethodInfo* Enumerator_MoveNext_m1235_MethodInfo_var; const MethodInfo* Dictionary_2__ctor_m1236_MethodInfo_var; const MethodInfo* List_1__ctor_m1241_MethodInfo_var; const MethodInfo* List_1__ctor_m1242_MethodInfo_var; const MethodInfo* Action_1_Invoke_m1251_MethodInfo_var; const MethodInfo* List_1__ctor_m1252_MethodInfo_var; const MethodInfo* List_1__ctor_m1253_MethodInfo_var; const MethodInfo* List_1__ctor_m1254_MethodInfo_var; const MethodInfo* ResponseBase_ParseJSONList_TisMatchDirectConnectInfo_t178_m1263_MethodInfo_var; const MethodInfo* ResponseBase_ParseJSONList_TisMatchDesc_t180_m1265_MethodInfo_var; const MethodInfo* Dictionary_2__ctor_m1269_MethodInfo_var; const MethodInfo* NetworkMatch_ProcessMatchResponse_TisCreateMatchResponse_t172_m1270_MethodInfo_var; const MethodInfo* NetworkMatch_ProcessMatchResponse_TisJoinMatchResponse_t174_m1272_MethodInfo_var; const MethodInfo* NetworkMatch_ProcessMatchResponse_TisBasicResponse_t169_m1273_MethodInfo_var; const MethodInfo* NetworkMatch_ProcessMatchResponse_TisListMatchResponse_t182_m1274_MethodInfo_var; const MethodInfo* List_1__ctor_m1280_MethodInfo_var; const MethodInfo* Dictionary_2__ctor_m1281_MethodInfo_var; const MethodInfo* Dictionary_2_GetEnumerator_m1282_MethodInfo_var; const MethodInfo* Dictionary_2_get_Keys_m1283_MethodInfo_var; const MethodInfo* Dictionary_2_get_Values_m1284_MethodInfo_var; const MethodInfo* KeyValuePair_2_get_Key_m1285_MethodInfo_var; const MethodInfo* KeyValuePair_2_get_Value_m1286_MethodInfo_var; const MethodInfo* ThreadSafeDictionaryValueFactory_2__ctor_m1309_MethodInfo_var; const MethodInfo* ThreadSafeDictionary_2__ctor_m1310_MethodInfo_var; const MethodInfo* ThreadSafeDictionaryValueFactory_2__ctor_m1311_MethodInfo_var; const MethodInfo* ThreadSafeDictionary_2__ctor_m1312_MethodInfo_var; const MethodInfo* ThreadSafeDictionaryValueFactory_2__ctor_m1313_MethodInfo_var; const MethodInfo* ThreadSafeDictionary_2__ctor_m1314_MethodInfo_var; const MethodInfo* Dictionary_2__ctor_m1316_MethodInfo_var; const MethodInfo* Dictionary_2__ctor_m1317_MethodInfo_var; const MethodInfo* KeyValuePair_2__ctor_m1318_MethodInfo_var; const MethodInfo* KeyValuePair_2_get_Value_m1324_MethodInfo_var; const MethodInfo* KeyValuePair_2_get_Key_m1325_MethodInfo_var; const MethodInfo* U3CGetConstructorByReflectionU3Ec__AnonStorey1_U3CU3Em__0_m1006_MethodInfo_var; const MethodInfo* U3CGetGetMethodByReflectionU3Ec__AnonStorey2_U3CU3Em__1_m1008_MethodInfo_var; const MethodInfo* U3CGetGetMethodByReflectionU3Ec__AnonStorey3_U3CU3Em__2_m1010_MethodInfo_var; const MethodInfo* U3CGetSetMethodByReflectionU3Ec__AnonStorey4_U3CU3Em__3_m1012_MethodInfo_var; const MethodInfo* U3CGetSetMethodByReflectionU3Ec__AnonStorey5_U3CU3Em__4_m1014_MethodInfo_var; const MethodInfo* Stack_1__ctor_m1327_MethodInfo_var; const MethodInfo* Stack_1_Push_m1328_MethodInfo_var; const MethodInfo* Stack_1_Pop_m1329_MethodInfo_var; const MethodInfo* List_1__ctor_m1330_MethodInfo_var; const MethodInfo* List_1_ToArray_m1331_MethodInfo_var; const MethodInfo* Component_GetComponent_TisGUILayer_t46_m1334_MethodInfo_var; const MethodInfo* List_1__ctor_m1354_MethodInfo_var; const MethodInfo* List_1__ctor_m1355_MethodInfo_var; const MethodInfo* FtpWebRequest_U3CcallbackU3Em__B_m1462_MethodInfo_var; const MethodInfo* Dictionary_2__ctor_m2295_MethodInfo_var; const MethodInfo* Dictionary_2__ctor_m2308_MethodInfo_var; const MethodInfo* ReplacementEvaluator_Evaluate_m2058_MethodInfo_var; const MethodInfo* ReplacementEvaluator_EvaluateAppend_m2059_MethodInfo_var; const MethodInfo* Array_BinarySearch_TisInt32_t327_m2398_MethodInfo_var; const MethodInfo* CharacterClass_GetIntervalCost_m2161_MethodInfo_var; const MethodInfo* PrimalityTests_RabinMillerTest_m2558_MethodInfo_var; const MethodInfo* HttpsClientStream_U3CHttpsClientStreamU3Em__0_m2977_MethodInfo_var; const MethodInfo* HttpsClientStream_U3CHttpsClientStreamU3Em__1_m2978_MethodInfo_var; const MethodInfo* RecordProtocol_InternalReceiveRecordCallback_m3007_MethodInfo_var; const MethodInfo* RecordProtocol_InternalSendRecordCallback_m3019_MethodInfo_var; const MethodInfo* SslStreamBase_AsyncHandshakeCallback_m3114_MethodInfo_var; const MethodInfo* SslStreamBase_InternalReadCallback_m3136_MethodInfo_var; const MethodInfo* SslStreamBase_InternalWriteCallback_m3138_MethodInfo_var; const MethodInfo* List_1_ToArray_m8305_MethodInfo_var; const MethodInfo* Array_int_swapper_m4106_MethodInfo_var; const MethodInfo* Array_double_swapper_m4109_MethodInfo_var; const MethodInfo* Array_obj_swapper_m4107_MethodInfo_var; const MethodInfo* Array_slow_swapper_m4108_MethodInfo_var; const MethodInfo* Type_FilterAttribute_impl_m4124_MethodInfo_var; const MethodInfo* Type_FilterName_impl_m4122_MethodInfo_var; const MethodInfo* Type_FilterNameIgnoreCase_impl_m4123_MethodInfo_var; const MethodInfo* PrimalityTests_RabinMillerTest_m4367_MethodInfo_var; const MethodInfo* Array_IndexOf_TisObject_t_m8306_MethodInfo_var; const MethodInfo* Array_Sort_TisObject_t_m8307_MethodInfo_var; const MethodInfo* FileStream_ReadInternal_m5288_MethodInfo_var; const MethodInfo* FileStream_WriteInternal_m5292_MethodInfo_var; const MethodInfo* FileStreamAsyncResult_CBWrapper_m5311_MethodInfo_var; const MethodInfo* Array_IndexOf_TisType_t_m8308_MethodInfo_var; const MethodInfo* Module_filter_by_type_name_m5945_MethodInfo_var; const MethodInfo* Module_filter_by_type_name_ignore_case_m5946_MethodInfo_var; const MethodInfo* DSACryptoServiceProvider_OnKeyGenerated_m6731_MethodInfo_var; const MethodInfo* RSACryptoServiceProvider_OnKeyGenerated_m6868_MethodInfo_var; const MethodInfo* List_1__ctor_m8310_MethodInfo_var; const MethodInfo* Scheduler_SchedulerThread_m7436_MethodInfo_var; const MethodInfo* TimerCallback_Invoke_m8278_MethodInfo_var; const MethodInfo* GenericComparer_1__ctor_m8311_MethodInfo_var; const MethodInfo* GenericEqualityComparer_1__ctor_m8312_MethodInfo_var; const MethodInfo* GenericComparer_1__ctor_m8313_MethodInfo_var; const MethodInfo* GenericEqualityComparer_1__ctor_m8314_MethodInfo_var; const MethodInfo* Nullable_1__ctor_m8315_MethodInfo_var; const MethodInfo* Nullable_1_get_HasValue_m8316_MethodInfo_var; const MethodInfo* Nullable_1_get_Value_m8317_MethodInfo_var; const MethodInfo* GenericComparer_1__ctor_m8318_MethodInfo_var; const MethodInfo* GenericEqualityComparer_1__ctor_m8319_MethodInfo_var; const MethodInfo* GenericComparer_1__ctor_m8320_MethodInfo_var; const MethodInfo* GenericEqualityComparer_1__ctor_m8321_MethodInfo_var; const MethodInfo* List_1_GetEnumerator_m8424_MethodInfo_var; const MethodInfo* Enumerator_get_Current_m8454_MethodInfo_var; const MethodInfo* Enumerator_MoveNext_m8453_MethodInfo_var; const MethodInfo* KeyValuePair_2_ToString_m8895_MethodInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t565____U24U24fieldU2D2_0_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t565____U24U24fieldU2D3_1_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t565____U24U24fieldU2D4_2_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t622____U24U24fieldU2D1_0_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t622____U24U24fieldU2D2_1_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t622____U24U24fieldU2D3_2_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t622____U24U24fieldU2D4_3_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t622____U24U24fieldU2D5_4_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t622____U24U24fieldU2D6_5_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t622____U24U24fieldU2D7_6_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t622____U24U24fieldU2D8_7_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t622____U24U24fieldU2D9_8_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t622____U24U24fieldU2D10_9_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t622____U24U24fieldU2D11_10_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t743____U24U24fieldU2D0_0_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t743____U24U24fieldU2D5_1_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t743____U24U24fieldU2D6_2_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t743____U24U24fieldU2D7_3_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t743____U24U24fieldU2D8_4_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t743____U24U24fieldU2D9_5_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t743____U24U24fieldU2D11_6_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t743____U24U24fieldU2D12_7_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t743____U24U24fieldU2D13_8_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t743____U24U24fieldU2D14_9_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t743____U24U24fieldU2D15_10_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t743____U24U24fieldU2D16_11_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t743____U24U24fieldU2D17_12_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t743____U24U24fieldU2D21_13_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t743____U24U24fieldU2D22_14_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D0_0_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D1_1_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D2_2_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D3_3_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D4_4_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D5_5_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D6_6_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D15_7_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D16_8_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D17_9_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D18_10_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D19_11_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D20_12_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D21_13_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D22_14_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D23_15_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D24_16_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D25_17_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D26_18_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D27_19_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D30_20_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D31_21_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D32_22_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D33_23_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D34_24_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D35_25_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D36_26_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D37_27_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D38_28_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D39_29_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D40_30_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D41_31_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D42_32_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D43_33_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D44_34_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D45_35_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D46_36_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D47_37_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D48_38_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D49_39_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D50_40_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D51_41_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D52_42_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D53_43_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D54_44_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D55_45_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D56_46_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D57_47_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D60_48_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D62_49_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D63_50_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D64_51_FieldInfo_var; FieldInfo* U3CPrivateImplementationDetailsU3E_t1394____U24U24fieldU2D65_52_FieldInfo_var; Il2CppCodeGenString* _stringLiteral0; Il2CppCodeGenString* _stringLiteral1; Il2CppCodeGenString* _stringLiteral2; Il2CppCodeGenString* _stringLiteral3; Il2CppCodeGenString* _stringLiteral4; Il2CppCodeGenString* _stringLiteral5; Il2CppCodeGenString* _stringLiteral6; Il2CppCodeGenString* _stringLiteral7; Il2CppCodeGenString* _stringLiteral8; Il2CppCodeGenString* _stringLiteral9; Il2CppCodeGenString* _stringLiteral10; Il2CppCodeGenString* _stringLiteral11; Il2CppCodeGenString* _stringLiteral12; Il2CppCodeGenString* _stringLiteral13; Il2CppCodeGenString* _stringLiteral14; Il2CppCodeGenString* _stringLiteral15; Il2CppCodeGenString* _stringLiteral16; Il2CppCodeGenString* _stringLiteral17; Il2CppCodeGenString* _stringLiteral18; Il2CppCodeGenString* _stringLiteral19; Il2CppCodeGenString* _stringLiteral20; Il2CppCodeGenString* _stringLiteral21; Il2CppCodeGenString* _stringLiteral22; Il2CppCodeGenString* _stringLiteral23; Il2CppCodeGenString* _stringLiteral24; Il2CppCodeGenString* _stringLiteral25; Il2CppCodeGenString* _stringLiteral26; Il2CppCodeGenString* _stringLiteral27; Il2CppCodeGenString* _stringLiteral28; Il2CppCodeGenString* _stringLiteral29; Il2CppCodeGenString* _stringLiteral30; Il2CppCodeGenString* _stringLiteral31; Il2CppCodeGenString* _stringLiteral32; Il2CppCodeGenString* _stringLiteral33; Il2CppCodeGenString* _stringLiteral34; Il2CppCodeGenString* _stringLiteral35; Il2CppCodeGenString* _stringLiteral36; Il2CppCodeGenString* _stringLiteral37; Il2CppCodeGenString* _stringLiteral38; Il2CppCodeGenString* _stringLiteral39; Il2CppCodeGenString* _stringLiteral40; Il2CppCodeGenString* _stringLiteral41; Il2CppCodeGenString* _stringLiteral42; Il2CppCodeGenString* _stringLiteral43; Il2CppCodeGenString* _stringLiteral44; Il2CppCodeGenString* _stringLiteral45; Il2CppCodeGenString* _stringLiteral46; Il2CppCodeGenString* _stringLiteral47; Il2CppCodeGenString* _stringLiteral48; Il2CppCodeGenString* _stringLiteral49; Il2CppCodeGenString* _stringLiteral50; Il2CppCodeGenString* _stringLiteral51; Il2CppCodeGenString* _stringLiteral52; Il2CppCodeGenString* _stringLiteral53; Il2CppCodeGenString* _stringLiteral54; Il2CppCodeGenString* _stringLiteral55; Il2CppCodeGenString* _stringLiteral56; Il2CppCodeGenString* _stringLiteral57; Il2CppCodeGenString* _stringLiteral58; Il2CppCodeGenString* _stringLiteral59; Il2CppCodeGenString* _stringLiteral60; Il2CppCodeGenString* _stringLiteral61; Il2CppCodeGenString* _stringLiteral62; Il2CppCodeGenString* _stringLiteral63; Il2CppCodeGenString* _stringLiteral64; Il2CppCodeGenString* _stringLiteral65; Il2CppCodeGenString* _stringLiteral66; Il2CppCodeGenString* _stringLiteral67; Il2CppCodeGenString* _stringLiteral68; Il2CppCodeGenString* _stringLiteral69; Il2CppCodeGenString* _stringLiteral70; Il2CppCodeGenString* _stringLiteral71; Il2CppCodeGenString* _stringLiteral72; Il2CppCodeGenString* _stringLiteral73; Il2CppCodeGenString* _stringLiteral74; Il2CppCodeGenString* _stringLiteral75; Il2CppCodeGenString* _stringLiteral76; Il2CppCodeGenString* _stringLiteral77; Il2CppCodeGenString* _stringLiteral78; Il2CppCodeGenString* _stringLiteral79; Il2CppCodeGenString* _stringLiteral80; Il2CppCodeGenString* _stringLiteral81; Il2CppCodeGenString* _stringLiteral82; Il2CppCodeGenString* _stringLiteral83; Il2CppCodeGenString* _stringLiteral84; Il2CppCodeGenString* _stringLiteral85; Il2CppCodeGenString* _stringLiteral86; Il2CppCodeGenString* _stringLiteral87; Il2CppCodeGenString* _stringLiteral88; Il2CppCodeGenString* _stringLiteral89; Il2CppCodeGenString* _stringLiteral90; Il2CppCodeGenString* _stringLiteral91; Il2CppCodeGenString* _stringLiteral92; Il2CppCodeGenString* _stringLiteral93; Il2CppCodeGenString* _stringLiteral94; Il2CppCodeGenString* _stringLiteral95; Il2CppCodeGenString* _stringLiteral96; Il2CppCodeGenString* _stringLiteral97; Il2CppCodeGenString* _stringLiteral98; Il2CppCodeGenString* _stringLiteral99; Il2CppCodeGenString* _stringLiteral100; Il2CppCodeGenString* _stringLiteral101; Il2CppCodeGenString* _stringLiteral102; Il2CppCodeGenString* _stringLiteral103; Il2CppCodeGenString* _stringLiteral104; Il2CppCodeGenString* _stringLiteral105; Il2CppCodeGenString* _stringLiteral106; Il2CppCodeGenString* _stringLiteral107; Il2CppCodeGenString* _stringLiteral108; Il2CppCodeGenString* _stringLiteral109; Il2CppCodeGenString* _stringLiteral110; Il2CppCodeGenString* _stringLiteral111; Il2CppCodeGenString* _stringLiteral112; Il2CppCodeGenString* _stringLiteral113; Il2CppCodeGenString* _stringLiteral114; Il2CppCodeGenString* _stringLiteral115; Il2CppCodeGenString* _stringLiteral116; Il2CppCodeGenString* _stringLiteral117; Il2CppCodeGenString* _stringLiteral118; Il2CppCodeGenString* _stringLiteral119; Il2CppCodeGenString* _stringLiteral120; Il2CppCodeGenString* _stringLiteral121; Il2CppCodeGenString* _stringLiteral122; Il2CppCodeGenString* _stringLiteral123; Il2CppCodeGenString* _stringLiteral124; Il2CppCodeGenString* _stringLiteral125; Il2CppCodeGenString* _stringLiteral126; Il2CppCodeGenString* _stringLiteral127; Il2CppCodeGenString* _stringLiteral128; Il2CppCodeGenString* _stringLiteral129; Il2CppCodeGenString* _stringLiteral130; Il2CppCodeGenString* _stringLiteral131; Il2CppCodeGenString* _stringLiteral132; Il2CppCodeGenString* _stringLiteral133; Il2CppCodeGenString* _stringLiteral134; Il2CppCodeGenString* _stringLiteral135; Il2CppCodeGenString* _stringLiteral136; Il2CppCodeGenString* _stringLiteral137; Il2CppCodeGenString* _stringLiteral138; Il2CppCodeGenString* _stringLiteral139; Il2CppCodeGenString* _stringLiteral140; Il2CppCodeGenString* _stringLiteral141; Il2CppCodeGenString* _stringLiteral142; Il2CppCodeGenString* _stringLiteral143; Il2CppCodeGenString* _stringLiteral144; Il2CppCodeGenString* _stringLiteral145; Il2CppCodeGenString* _stringLiteral146; Il2CppCodeGenString* _stringLiteral147; Il2CppCodeGenString* _stringLiteral148; Il2CppCodeGenString* _stringLiteral149; Il2CppCodeGenString* _stringLiteral150; Il2CppCodeGenString* _stringLiteral151; Il2CppCodeGenString* _stringLiteral152; Il2CppCodeGenString* _stringLiteral153; Il2CppCodeGenString* _stringLiteral154; Il2CppCodeGenString* _stringLiteral155; Il2CppCodeGenString* _stringLiteral156; Il2CppCodeGenString* _stringLiteral157; Il2CppCodeGenString* _stringLiteral158; Il2CppCodeGenString* _stringLiteral159; Il2CppCodeGenString* _stringLiteral160; Il2CppCodeGenString* _stringLiteral161; Il2CppCodeGenString* _stringLiteral162; Il2CppCodeGenString* _stringLiteral163; Il2CppCodeGenString* _stringLiteral164; Il2CppCodeGenString* _stringLiteral165; Il2CppCodeGenString* _stringLiteral166; Il2CppCodeGenString* _stringLiteral167; Il2CppCodeGenString* _stringLiteral168; Il2CppCodeGenString* _stringLiteral169; Il2CppCodeGenString* _stringLiteral170; Il2CppCodeGenString* _stringLiteral171; Il2CppCodeGenString* _stringLiteral172; Il2CppCodeGenString* _stringLiteral173; Il2CppCodeGenString* _stringLiteral174; Il2CppCodeGenString* _stringLiteral175; Il2CppCodeGenString* _stringLiteral176; Il2CppCodeGenString* _stringLiteral177; Il2CppCodeGenString* _stringLiteral178; Il2CppCodeGenString* _stringLiteral179; Il2CppCodeGenString* _stringLiteral180; Il2CppCodeGenString* _stringLiteral181; Il2CppCodeGenString* _stringLiteral182; Il2CppCodeGenString* _stringLiteral183; Il2CppCodeGenString* _stringLiteral184; Il2CppCodeGenString* _stringLiteral185; Il2CppCodeGenString* _stringLiteral186; Il2CppCodeGenString* _stringLiteral187; Il2CppCodeGenString* _stringLiteral188; Il2CppCodeGenString* _stringLiteral189; Il2CppCodeGenString* _stringLiteral190; Il2CppCodeGenString* _stringLiteral191; Il2CppCodeGenString* _stringLiteral192; Il2CppCodeGenString* _stringLiteral193; Il2CppCodeGenString* _stringLiteral194; Il2CppCodeGenString* _stringLiteral195; Il2CppCodeGenString* _stringLiteral196; Il2CppCodeGenString* _stringLiteral197; Il2CppCodeGenString* _stringLiteral198; Il2CppCodeGenString* _stringLiteral199; Il2CppCodeGenString* _stringLiteral200; Il2CppCodeGenString* _stringLiteral201; Il2CppCodeGenString* _stringLiteral202; Il2CppCodeGenString* _stringLiteral203; Il2CppCodeGenString* _stringLiteral204; Il2CppCodeGenString* _stringLiteral205; Il2CppCodeGenString* _stringLiteral206; Il2CppCodeGenString* _stringLiteral207; Il2CppCodeGenString* _stringLiteral208; Il2CppCodeGenString* _stringLiteral209; Il2CppCodeGenString* _stringLiteral210; Il2CppCodeGenString* _stringLiteral211; Il2CppCodeGenString* _stringLiteral212; Il2CppCodeGenString* _stringLiteral213; Il2CppCodeGenString* _stringLiteral214; Il2CppCodeGenString* _stringLiteral215; Il2CppCodeGenString* _stringLiteral216; Il2CppCodeGenString* _stringLiteral217; Il2CppCodeGenString* _stringLiteral218; Il2CppCodeGenString* _stringLiteral219; Il2CppCodeGenString* _stringLiteral220; Il2CppCodeGenString* _stringLiteral221; Il2CppCodeGenString* _stringLiteral222; Il2CppCodeGenString* _stringLiteral223; Il2CppCodeGenString* _stringLiteral224; Il2CppCodeGenString* _stringLiteral225; Il2CppCodeGenString* _stringLiteral226; Il2CppCodeGenString* _stringLiteral227; Il2CppCodeGenString* _stringLiteral228; Il2CppCodeGenString* _stringLiteral229; Il2CppCodeGenString* _stringLiteral230; Il2CppCodeGenString* _stringLiteral231; Il2CppCodeGenString* _stringLiteral232; Il2CppCodeGenString* _stringLiteral233; Il2CppCodeGenString* _stringLiteral234; Il2CppCodeGenString* _stringLiteral235; Il2CppCodeGenString* _stringLiteral236; Il2CppCodeGenString* _stringLiteral237; Il2CppCodeGenString* _stringLiteral238; Il2CppCodeGenString* _stringLiteral239; Il2CppCodeGenString* _stringLiteral240; Il2CppCodeGenString* _stringLiteral241; Il2CppCodeGenString* _stringLiteral242; Il2CppCodeGenString* _stringLiteral243; Il2CppCodeGenString* _stringLiteral244; Il2CppCodeGenString* _stringLiteral245; Il2CppCodeGenString* _stringLiteral246; Il2CppCodeGenString* _stringLiteral247; Il2CppCodeGenString* _stringLiteral248; Il2CppCodeGenString* _stringLiteral249; Il2CppCodeGenString* _stringLiteral250; Il2CppCodeGenString* _stringLiteral251; Il2CppCodeGenString* _stringLiteral252; Il2CppCodeGenString* _stringLiteral253; Il2CppCodeGenString* _stringLiteral254; Il2CppCodeGenString* _stringLiteral255; Il2CppCodeGenString* _stringLiteral256; Il2CppCodeGenString* _stringLiteral257; Il2CppCodeGenString* _stringLiteral258; Il2CppCodeGenString* _stringLiteral259; Il2CppCodeGenString* _stringLiteral260; Il2CppCodeGenString* _stringLiteral261; Il2CppCodeGenString* _stringLiteral262; Il2CppCodeGenString* _stringLiteral263; Il2CppCodeGenString* _stringLiteral264; Il2CppCodeGenString* _stringLiteral265; Il2CppCodeGenString* _stringLiteral266; Il2CppCodeGenString* _stringLiteral267; Il2CppCodeGenString* _stringLiteral268; Il2CppCodeGenString* _stringLiteral269; Il2CppCodeGenString* _stringLiteral270; Il2CppCodeGenString* _stringLiteral271; Il2CppCodeGenString* _stringLiteral272; Il2CppCodeGenString* _stringLiteral273; Il2CppCodeGenString* _stringLiteral274; Il2CppCodeGenString* _stringLiteral275; Il2CppCodeGenString* _stringLiteral276; Il2CppCodeGenString* _stringLiteral277; Il2CppCodeGenString* _stringLiteral278; Il2CppCodeGenString* _stringLiteral279; Il2CppCodeGenString* _stringLiteral280; Il2CppCodeGenString* _stringLiteral281; Il2CppCodeGenString* _stringLiteral282; Il2CppCodeGenString* _stringLiteral283; Il2CppCodeGenString* _stringLiteral284; Il2CppCodeGenString* _stringLiteral285; Il2CppCodeGenString* _stringLiteral286; Il2CppCodeGenString* _stringLiteral287; Il2CppCodeGenString* _stringLiteral288; Il2CppCodeGenString* _stringLiteral289; Il2CppCodeGenString* _stringLiteral290; Il2CppCodeGenString* _stringLiteral291; Il2CppCodeGenString* _stringLiteral292; Il2CppCodeGenString* _stringLiteral293; Il2CppCodeGenString* _stringLiteral294; Il2CppCodeGenString* _stringLiteral295; Il2CppCodeGenString* _stringLiteral296; Il2CppCodeGenString* _stringLiteral297; Il2CppCodeGenString* _stringLiteral298; Il2CppCodeGenString* _stringLiteral299; Il2CppCodeGenString* _stringLiteral300; Il2CppCodeGenString* _stringLiteral301; Il2CppCodeGenString* _stringLiteral302; Il2CppCodeGenString* _stringLiteral303; Il2CppCodeGenString* _stringLiteral304; Il2CppCodeGenString* _stringLiteral305; Il2CppCodeGenString* _stringLiteral306; Il2CppCodeGenString* _stringLiteral307; Il2CppCodeGenString* _stringLiteral308; Il2CppCodeGenString* _stringLiteral309; Il2CppCodeGenString* _stringLiteral310; Il2CppCodeGenString* _stringLiteral311; Il2CppCodeGenString* _stringLiteral312; Il2CppCodeGenString* _stringLiteral313; Il2CppCodeGenString* _stringLiteral314; Il2CppCodeGenString* _stringLiteral315; Il2CppCodeGenString* _stringLiteral316; Il2CppCodeGenString* _stringLiteral317; Il2CppCodeGenString* _stringLiteral318; Il2CppCodeGenString* _stringLiteral319; Il2CppCodeGenString* _stringLiteral320; Il2CppCodeGenString* _stringLiteral321; Il2CppCodeGenString* _stringLiteral322; Il2CppCodeGenString* _stringLiteral323; Il2CppCodeGenString* _stringLiteral324; Il2CppCodeGenString* _stringLiteral325; Il2CppCodeGenString* _stringLiteral326; Il2CppCodeGenString* _stringLiteral327; Il2CppCodeGenString* _stringLiteral328; Il2CppCodeGenString* _stringLiteral329; Il2CppCodeGenString* _stringLiteral330; Il2CppCodeGenString* _stringLiteral331; Il2CppCodeGenString* _stringLiteral332; Il2CppCodeGenString* _stringLiteral333; Il2CppCodeGenString* _stringLiteral334; Il2CppCodeGenString* _stringLiteral335; Il2CppCodeGenString* _stringLiteral336; Il2CppCodeGenString* _stringLiteral337; Il2CppCodeGenString* _stringLiteral338; Il2CppCodeGenString* _stringLiteral339; Il2CppCodeGenString* _stringLiteral340; Il2CppCodeGenString* _stringLiteral341; Il2CppCodeGenString* _stringLiteral342; Il2CppCodeGenString* _stringLiteral343; Il2CppCodeGenString* _stringLiteral344; Il2CppCodeGenString* _stringLiteral345; Il2CppCodeGenString* _stringLiteral346; Il2CppCodeGenString* _stringLiteral347; Il2CppCodeGenString* _stringLiteral348; Il2CppCodeGenString* _stringLiteral349; Il2CppCodeGenString* _stringLiteral350; Il2CppCodeGenString* _stringLiteral351; Il2CppCodeGenString* _stringLiteral352; Il2CppCodeGenString* _stringLiteral353; Il2CppCodeGenString* _stringLiteral354; Il2CppCodeGenString* _stringLiteral355; Il2CppCodeGenString* _stringLiteral356; Il2CppCodeGenString* _stringLiteral357; Il2CppCodeGenString* _stringLiteral358; Il2CppCodeGenString* _stringLiteral359; Il2CppCodeGenString* _stringLiteral360; Il2CppCodeGenString* _stringLiteral361; Il2CppCodeGenString* _stringLiteral362; Il2CppCodeGenString* _stringLiteral363; Il2CppCodeGenString* _stringLiteral364; Il2CppCodeGenString* _stringLiteral365; Il2CppCodeGenString* _stringLiteral366; Il2CppCodeGenString* _stringLiteral367; Il2CppCodeGenString* _stringLiteral368; Il2CppCodeGenString* _stringLiteral369; Il2CppCodeGenString* _stringLiteral370; Il2CppCodeGenString* _stringLiteral371; Il2CppCodeGenString* _stringLiteral372; Il2CppCodeGenString* _stringLiteral373; Il2CppCodeGenString* _stringLiteral374; Il2CppCodeGenString* _stringLiteral375; Il2CppCodeGenString* _stringLiteral376; Il2CppCodeGenString* _stringLiteral377; Il2CppCodeGenString* _stringLiteral378; Il2CppCodeGenString* _stringLiteral379; Il2CppCodeGenString* _stringLiteral380; Il2CppCodeGenString* _stringLiteral381; Il2CppCodeGenString* _stringLiteral382; Il2CppCodeGenString* _stringLiteral383; Il2CppCodeGenString* _stringLiteral384; Il2CppCodeGenString* _stringLiteral385; Il2CppCodeGenString* _stringLiteral386; Il2CppCodeGenString* _stringLiteral387; Il2CppCodeGenString* _stringLiteral388; Il2CppCodeGenString* _stringLiteral389; Il2CppCodeGenString* _stringLiteral390; Il2CppCodeGenString* _stringLiteral391; Il2CppCodeGenString* _stringLiteral392; Il2CppCodeGenString* _stringLiteral393; Il2CppCodeGenString* _stringLiteral394; Il2CppCodeGenString* _stringLiteral395; Il2CppCodeGenString* _stringLiteral396; Il2CppCodeGenString* _stringLiteral397; Il2CppCodeGenString* _stringLiteral398; Il2CppCodeGenString* _stringLiteral399; Il2CppCodeGenString* _stringLiteral400; Il2CppCodeGenString* _stringLiteral401; Il2CppCodeGenString* _stringLiteral402; Il2CppCodeGenString* _stringLiteral403; Il2CppCodeGenString* _stringLiteral404; Il2CppCodeGenString* _stringLiteral405; Il2CppCodeGenString* _stringLiteral406; Il2CppCodeGenString* _stringLiteral407; Il2CppCodeGenString* _stringLiteral408; Il2CppCodeGenString* _stringLiteral409; Il2CppCodeGenString* _stringLiteral410; Il2CppCodeGenString* _stringLiteral411; Il2CppCodeGenString* _stringLiteral412; Il2CppCodeGenString* _stringLiteral413; Il2CppCodeGenString* _stringLiteral414; Il2CppCodeGenString* _stringLiteral415; Il2CppCodeGenString* _stringLiteral416; Il2CppCodeGenString* _stringLiteral417; Il2CppCodeGenString* _stringLiteral418; Il2CppCodeGenString* _stringLiteral419; Il2CppCodeGenString* _stringLiteral420; Il2CppCodeGenString* _stringLiteral421; Il2CppCodeGenString* _stringLiteral422; Il2CppCodeGenString* _stringLiteral423; Il2CppCodeGenString* _stringLiteral424; Il2CppCodeGenString* _stringLiteral425; Il2CppCodeGenString* _stringLiteral426; Il2CppCodeGenString* _stringLiteral427; Il2CppCodeGenString* _stringLiteral428; Il2CppCodeGenString* _stringLiteral429; Il2CppCodeGenString* _stringLiteral430; Il2CppCodeGenString* _stringLiteral431; Il2CppCodeGenString* _stringLiteral432; Il2CppCodeGenString* _stringLiteral433; Il2CppCodeGenString* _stringLiteral434; Il2CppCodeGenString* _stringLiteral435; Il2CppCodeGenString* _stringLiteral436; Il2CppCodeGenString* _stringLiteral437; Il2CppCodeGenString* _stringLiteral438; Il2CppCodeGenString* _stringLiteral439; Il2CppCodeGenString* _stringLiteral440; Il2CppCodeGenString* _stringLiteral441; Il2CppCodeGenString* _stringLiteral442; Il2CppCodeGenString* _stringLiteral443; Il2CppCodeGenString* _stringLiteral444; Il2CppCodeGenString* _stringLiteral445; Il2CppCodeGenString* _stringLiteral446; Il2CppCodeGenString* _stringLiteral447; Il2CppCodeGenString* _stringLiteral448; Il2CppCodeGenString* _stringLiteral449; Il2CppCodeGenString* _stringLiteral450; Il2CppCodeGenString* _stringLiteral451; Il2CppCodeGenString* _stringLiteral452; Il2CppCodeGenString* _stringLiteral453; Il2CppCodeGenString* _stringLiteral454; Il2CppCodeGenString* _stringLiteral455; Il2CppCodeGenString* _stringLiteral456; Il2CppCodeGenString* _stringLiteral457; Il2CppCodeGenString* _stringLiteral458; Il2CppCodeGenString* _stringLiteral459; Il2CppCodeGenString* _stringLiteral460; Il2CppCodeGenString* _stringLiteral461; Il2CppCodeGenString* _stringLiteral462; Il2CppCodeGenString* _stringLiteral463; Il2CppCodeGenString* _stringLiteral464; Il2CppCodeGenString* _stringLiteral465; Il2CppCodeGenString* _stringLiteral466; Il2CppCodeGenString* _stringLiteral467; Il2CppCodeGenString* _stringLiteral468; Il2CppCodeGenString* _stringLiteral469; Il2CppCodeGenString* _stringLiteral470; Il2CppCodeGenString* _stringLiteral471; Il2CppCodeGenString* _stringLiteral472; Il2CppCodeGenString* _stringLiteral473; Il2CppCodeGenString* _stringLiteral474; Il2CppCodeGenString* _stringLiteral475; Il2CppCodeGenString* _stringLiteral476; Il2CppCodeGenString* _stringLiteral477; Il2CppCodeGenString* _stringLiteral478; Il2CppCodeGenString* _stringLiteral479; Il2CppCodeGenString* _stringLiteral480; Il2CppCodeGenString* _stringLiteral481; Il2CppCodeGenString* _stringLiteral482; Il2CppCodeGenString* _stringLiteral483; Il2CppCodeGenString* _stringLiteral484; Il2CppCodeGenString* _stringLiteral485; Il2CppCodeGenString* _stringLiteral486; Il2CppCodeGenString* _stringLiteral487; Il2CppCodeGenString* _stringLiteral488; Il2CppCodeGenString* _stringLiteral489; Il2CppCodeGenString* _stringLiteral490; Il2CppCodeGenString* _stringLiteral491; Il2CppCodeGenString* _stringLiteral492; Il2CppCodeGenString* _stringLiteral493; Il2CppCodeGenString* _stringLiteral494; Il2CppCodeGenString* _stringLiteral495; Il2CppCodeGenString* _stringLiteral496; Il2CppCodeGenString* _stringLiteral497; Il2CppCodeGenString* _stringLiteral498; Il2CppCodeGenString* _stringLiteral499; Il2CppCodeGenString* _stringLiteral500; Il2CppCodeGenString* _stringLiteral501; Il2CppCodeGenString* _stringLiteral502; Il2CppCodeGenString* _stringLiteral503; Il2CppCodeGenString* _stringLiteral504; Il2CppCodeGenString* _stringLiteral505; Il2CppCodeGenString* _stringLiteral506; Il2CppCodeGenString* _stringLiteral507; Il2CppCodeGenString* _stringLiteral508; Il2CppCodeGenString* _stringLiteral509; Il2CppCodeGenString* _stringLiteral510; Il2CppCodeGenString* _stringLiteral511; Il2CppCodeGenString* _stringLiteral512; Il2CppCodeGenString* _stringLiteral513; Il2CppCodeGenString* _stringLiteral514; Il2CppCodeGenString* _stringLiteral515; Il2CppCodeGenString* _stringLiteral516; Il2CppCodeGenString* _stringLiteral517; Il2CppCodeGenString* _stringLiteral518; Il2CppCodeGenString* _stringLiteral519; Il2CppCodeGenString* _stringLiteral520; Il2CppCodeGenString* _stringLiteral521; Il2CppCodeGenString* _stringLiteral522; Il2CppCodeGenString* _stringLiteral523; Il2CppCodeGenString* _stringLiteral524; Il2CppCodeGenString* _stringLiteral525; Il2CppCodeGenString* _stringLiteral526; Il2CppCodeGenString* _stringLiteral527; Il2CppCodeGenString* _stringLiteral528; Il2CppCodeGenString* _stringLiteral529; Il2CppCodeGenString* _stringLiteral530; Il2CppCodeGenString* _stringLiteral531; Il2CppCodeGenString* _stringLiteral532; Il2CppCodeGenString* _stringLiteral533; Il2CppCodeGenString* _stringLiteral534; Il2CppCodeGenString* _stringLiteral535; Il2CppCodeGenString* _stringLiteral536; Il2CppCodeGenString* _stringLiteral537; Il2CppCodeGenString* _stringLiteral538; Il2CppCodeGenString* _stringLiteral539; Il2CppCodeGenString* _stringLiteral540; Il2CppCodeGenString* _stringLiteral541; Il2CppCodeGenString* _stringLiteral542; Il2CppCodeGenString* _stringLiteral543; Il2CppCodeGenString* _stringLiteral544; Il2CppCodeGenString* _stringLiteral545; Il2CppCodeGenString* _stringLiteral546; Il2CppCodeGenString* _stringLiteral547; Il2CppCodeGenString* _stringLiteral548; Il2CppCodeGenString* _stringLiteral549; Il2CppCodeGenString* _stringLiteral550; Il2CppCodeGenString* _stringLiteral551; Il2CppCodeGenString* _stringLiteral552; Il2CppCodeGenString* _stringLiteral553; Il2CppCodeGenString* _stringLiteral554; Il2CppCodeGenString* _stringLiteral555; Il2CppCodeGenString* _stringLiteral556; Il2CppCodeGenString* _stringLiteral557; Il2CppCodeGenString* _stringLiteral558; Il2CppCodeGenString* _stringLiteral559; Il2CppCodeGenString* _stringLiteral560; Il2CppCodeGenString* _stringLiteral561; Il2CppCodeGenString* _stringLiteral562; Il2CppCodeGenString* _stringLiteral563; Il2CppCodeGenString* _stringLiteral564; Il2CppCodeGenString* _stringLiteral565; Il2CppCodeGenString* _stringLiteral566; Il2CppCodeGenString* _stringLiteral567; Il2CppCodeGenString* _stringLiteral568; Il2CppCodeGenString* _stringLiteral569; Il2CppCodeGenString* _stringLiteral570; Il2CppCodeGenString* _stringLiteral571; Il2CppCodeGenString* _stringLiteral572; Il2CppCodeGenString* _stringLiteral573; Il2CppCodeGenString* _stringLiteral574; Il2CppCodeGenString* _stringLiteral575; Il2CppCodeGenString* _stringLiteral576; Il2CppCodeGenString* _stringLiteral577; Il2CppCodeGenString* _stringLiteral578; Il2CppCodeGenString* _stringLiteral579; Il2CppCodeGenString* _stringLiteral580; Il2CppCodeGenString* _stringLiteral581; Il2CppCodeGenString* _stringLiteral582; Il2CppCodeGenString* _stringLiteral583; Il2CppCodeGenString* _stringLiteral584; Il2CppCodeGenString* _stringLiteral585; Il2CppCodeGenString* _stringLiteral586; Il2CppCodeGenString* _stringLiteral587; Il2CppCodeGenString* _stringLiteral588; Il2CppCodeGenString* _stringLiteral589; Il2CppCodeGenString* _stringLiteral590; Il2CppCodeGenString* _stringLiteral591; Il2CppCodeGenString* _stringLiteral592; Il2CppCodeGenString* _stringLiteral593; Il2CppCodeGenString* _stringLiteral594; Il2CppCodeGenString* _stringLiteral595; Il2CppCodeGenString* _stringLiteral596; Il2CppCodeGenString* _stringLiteral597; Il2CppCodeGenString* _stringLiteral598; Il2CppCodeGenString* _stringLiteral599; Il2CppCodeGenString* _stringLiteral600; Il2CppCodeGenString* _stringLiteral601; Il2CppCodeGenString* _stringLiteral602; Il2CppCodeGenString* _stringLiteral603; Il2CppCodeGenString* _stringLiteral604; Il2CppCodeGenString* _stringLiteral605; Il2CppCodeGenString* _stringLiteral606; Il2CppCodeGenString* _stringLiteral607; Il2CppCodeGenString* _stringLiteral608; Il2CppCodeGenString* _stringLiteral609; Il2CppCodeGenString* _stringLiteral610; Il2CppCodeGenString* _stringLiteral611; Il2CppCodeGenString* _stringLiteral612; Il2CppCodeGenString* _stringLiteral613; Il2CppCodeGenString* _stringLiteral614; Il2CppCodeGenString* _stringLiteral615; Il2CppCodeGenString* _stringLiteral616; Il2CppCodeGenString* _stringLiteral617; Il2CppCodeGenString* _stringLiteral618; Il2CppCodeGenString* _stringLiteral619; Il2CppCodeGenString* _stringLiteral620; Il2CppCodeGenString* _stringLiteral621; Il2CppCodeGenString* _stringLiteral622; Il2CppCodeGenString* _stringLiteral623; Il2CppCodeGenString* _stringLiteral624; Il2CppCodeGenString* _stringLiteral625; Il2CppCodeGenString* _stringLiteral626; Il2CppCodeGenString* _stringLiteral627; Il2CppCodeGenString* _stringLiteral628; Il2CppCodeGenString* _stringLiteral629; Il2CppCodeGenString* _stringLiteral630; Il2CppCodeGenString* _stringLiteral631; Il2CppCodeGenString* _stringLiteral632; Il2CppCodeGenString* _stringLiteral633; Il2CppCodeGenString* _stringLiteral634; Il2CppCodeGenString* _stringLiteral635; Il2CppCodeGenString* _stringLiteral636; Il2CppCodeGenString* _stringLiteral637; Il2CppCodeGenString* _stringLiteral638; Il2CppCodeGenString* _stringLiteral639; Il2CppCodeGenString* _stringLiteral640; Il2CppCodeGenString* _stringLiteral641; Il2CppCodeGenString* _stringLiteral642; Il2CppCodeGenString* _stringLiteral643; Il2CppCodeGenString* _stringLiteral644; Il2CppCodeGenString* _stringLiteral645; Il2CppCodeGenString* _stringLiteral646; Il2CppCodeGenString* _stringLiteral647; Il2CppCodeGenString* _stringLiteral648; Il2CppCodeGenString* _stringLiteral649; Il2CppCodeGenString* _stringLiteral650; Il2CppCodeGenString* _stringLiteral651; Il2CppCodeGenString* _stringLiteral652; Il2CppCodeGenString* _stringLiteral653; Il2CppCodeGenString* _stringLiteral654; Il2CppCodeGenString* _stringLiteral655; Il2CppCodeGenString* _stringLiteral656; Il2CppCodeGenString* _stringLiteral657; Il2CppCodeGenString* _stringLiteral658; Il2CppCodeGenString* _stringLiteral659; Il2CppCodeGenString* _stringLiteral660; Il2CppCodeGenString* _stringLiteral661; Il2CppCodeGenString* _stringLiteral662; Il2CppCodeGenString* _stringLiteral663; Il2CppCodeGenString* _stringLiteral664; Il2CppCodeGenString* _stringLiteral665; Il2CppCodeGenString* _stringLiteral666; Il2CppCodeGenString* _stringLiteral667; Il2CppCodeGenString* _stringLiteral668; Il2CppCodeGenString* _stringLiteral669; Il2CppCodeGenString* _stringLiteral670; Il2CppCodeGenString* _stringLiteral671; Il2CppCodeGenString* _stringLiteral672; Il2CppCodeGenString* _stringLiteral673; Il2CppCodeGenString* _stringLiteral674; Il2CppCodeGenString* _stringLiteral675; Il2CppCodeGenString* _stringLiteral676; Il2CppCodeGenString* _stringLiteral677; Il2CppCodeGenString* _stringLiteral678; Il2CppCodeGenString* _stringLiteral679; Il2CppCodeGenString* _stringLiteral680; Il2CppCodeGenString* _stringLiteral681; Il2CppCodeGenString* _stringLiteral682; Il2CppCodeGenString* _stringLiteral683; Il2CppCodeGenString* _stringLiteral684; Il2CppCodeGenString* _stringLiteral685; Il2CppCodeGenString* _stringLiteral686; Il2CppCodeGenString* _stringLiteral687; Il2CppCodeGenString* _stringLiteral688; Il2CppCodeGenString* _stringLiteral689; Il2CppCodeGenString* _stringLiteral690; Il2CppCodeGenString* _stringLiteral691; Il2CppCodeGenString* _stringLiteral692; Il2CppCodeGenString* _stringLiteral693; Il2CppCodeGenString* _stringLiteral694; Il2CppCodeGenString* _stringLiteral695; Il2CppCodeGenString* _stringLiteral696; Il2CppCodeGenString* _stringLiteral697; Il2CppCodeGenString* _stringLiteral698; Il2CppCodeGenString* _stringLiteral699; Il2CppCodeGenString* _stringLiteral700; Il2CppCodeGenString* _stringLiteral701; Il2CppCodeGenString* _stringLiteral702; Il2CppCodeGenString* _stringLiteral703; Il2CppCodeGenString* _stringLiteral704; Il2CppCodeGenString* _stringLiteral705; Il2CppCodeGenString* _stringLiteral706; Il2CppCodeGenString* _stringLiteral707; Il2CppCodeGenString* _stringLiteral708; Il2CppCodeGenString* _stringLiteral709; Il2CppCodeGenString* _stringLiteral710; Il2CppCodeGenString* _stringLiteral711; Il2CppCodeGenString* _stringLiteral712; Il2CppCodeGenString* _stringLiteral713; Il2CppCodeGenString* _stringLiteral714; Il2CppCodeGenString* _stringLiteral715; Il2CppCodeGenString* _stringLiteral716; Il2CppCodeGenString* _stringLiteral717; Il2CppCodeGenString* _stringLiteral718; Il2CppCodeGenString* _stringLiteral719; Il2CppCodeGenString* _stringLiteral720; Il2CppCodeGenString* _stringLiteral721; Il2CppCodeGenString* _stringLiteral722; Il2CppCodeGenString* _stringLiteral723; Il2CppCodeGenString* _stringLiteral724; Il2CppCodeGenString* _stringLiteral725; Il2CppCodeGenString* _stringLiteral726; Il2CppCodeGenString* _stringLiteral727; Il2CppCodeGenString* _stringLiteral728; Il2CppCodeGenString* _stringLiteral729; Il2CppCodeGenString* _stringLiteral730; Il2CppCodeGenString* _stringLiteral731; Il2CppCodeGenString* _stringLiteral732; Il2CppCodeGenString* _stringLiteral733; Il2CppCodeGenString* _stringLiteral734; Il2CppCodeGenString* _stringLiteral735; Il2CppCodeGenString* _stringLiteral736; Il2CppCodeGenString* _stringLiteral737; Il2CppCodeGenString* _stringLiteral738; Il2CppCodeGenString* _stringLiteral739; Il2CppCodeGenString* _stringLiteral740; Il2CppCodeGenString* _stringLiteral741; Il2CppCodeGenString* _stringLiteral742; Il2CppCodeGenString* _stringLiteral743; Il2CppCodeGenString* _stringLiteral744; Il2CppCodeGenString* _stringLiteral745; Il2CppCodeGenString* _stringLiteral746; Il2CppCodeGenString* _stringLiteral747; Il2CppCodeGenString* _stringLiteral748; Il2CppCodeGenString* _stringLiteral749; Il2CppCodeGenString* _stringLiteral750; Il2CppCodeGenString* _stringLiteral751; Il2CppCodeGenString* _stringLiteral752; Il2CppCodeGenString* _stringLiteral753; Il2CppCodeGenString* _stringLiteral754; Il2CppCodeGenString* _stringLiteral755; Il2CppCodeGenString* _stringLiteral756; Il2CppCodeGenString* _stringLiteral757; Il2CppCodeGenString* _stringLiteral758; Il2CppCodeGenString* _stringLiteral759; Il2CppCodeGenString* _stringLiteral760; Il2CppCodeGenString* _stringLiteral761; Il2CppCodeGenString* _stringLiteral762; Il2CppCodeGenString* _stringLiteral763; Il2CppCodeGenString* _stringLiteral764; Il2CppCodeGenString* _stringLiteral765; Il2CppCodeGenString* _stringLiteral766; Il2CppCodeGenString* _stringLiteral767; Il2CppCodeGenString* _stringLiteral768; Il2CppCodeGenString* _stringLiteral769; Il2CppCodeGenString* _stringLiteral770; Il2CppCodeGenString* _stringLiteral771; Il2CppCodeGenString* _stringLiteral772; Il2CppCodeGenString* _stringLiteral773; Il2CppCodeGenString* _stringLiteral774; Il2CppCodeGenString* _stringLiteral775; Il2CppCodeGenString* _stringLiteral776; Il2CppCodeGenString* _stringLiteral777; Il2CppCodeGenString* _stringLiteral778; Il2CppCodeGenString* _stringLiteral779; Il2CppCodeGenString* _stringLiteral780; Il2CppCodeGenString* _stringLiteral781; Il2CppCodeGenString* _stringLiteral782; Il2CppCodeGenString* _stringLiteral783; Il2CppCodeGenString* _stringLiteral784; Il2CppCodeGenString* _stringLiteral785; Il2CppCodeGenString* _stringLiteral786; Il2CppCodeGenString* _stringLiteral787; Il2CppCodeGenString* _stringLiteral788; Il2CppCodeGenString* _stringLiteral789; Il2CppCodeGenString* _stringLiteral790; Il2CppCodeGenString* _stringLiteral791; Il2CppCodeGenString* _stringLiteral792; Il2CppCodeGenString* _stringLiteral793; Il2CppCodeGenString* _stringLiteral794; Il2CppCodeGenString* _stringLiteral795; Il2CppCodeGenString* _stringLiteral796; Il2CppCodeGenString* _stringLiteral797; Il2CppCodeGenString* _stringLiteral798; Il2CppCodeGenString* _stringLiteral799; Il2CppCodeGenString* _stringLiteral800; Il2CppCodeGenString* _stringLiteral801; Il2CppCodeGenString* _stringLiteral802; Il2CppCodeGenString* _stringLiteral803; Il2CppCodeGenString* _stringLiteral804; Il2CppCodeGenString* _stringLiteral805; Il2CppCodeGenString* _stringLiteral806; Il2CppCodeGenString* _stringLiteral807; Il2CppCodeGenString* _stringLiteral808; Il2CppCodeGenString* _stringLiteral809; Il2CppCodeGenString* _stringLiteral810; Il2CppCodeGenString* _stringLiteral811; Il2CppCodeGenString* _stringLiteral812; Il2CppCodeGenString* _stringLiteral813; Il2CppCodeGenString* _stringLiteral814; Il2CppCodeGenString* _stringLiteral815; Il2CppCodeGenString* _stringLiteral816; Il2CppCodeGenString* _stringLiteral817; Il2CppCodeGenString* _stringLiteral818; Il2CppCodeGenString* _stringLiteral819; Il2CppCodeGenString* _stringLiteral820; Il2CppCodeGenString* _stringLiteral821; Il2CppCodeGenString* _stringLiteral822; Il2CppCodeGenString* _stringLiteral823; Il2CppCodeGenString* _stringLiteral824; Il2CppCodeGenString* _stringLiteral825; Il2CppCodeGenString* _stringLiteral826; Il2CppCodeGenString* _stringLiteral827; Il2CppCodeGenString* _stringLiteral828; Il2CppCodeGenString* _stringLiteral829; Il2CppCodeGenString* _stringLiteral830; Il2CppCodeGenString* _stringLiteral831; Il2CppCodeGenString* _stringLiteral832; Il2CppCodeGenString* _stringLiteral833; Il2CppCodeGenString* _stringLiteral834; Il2CppCodeGenString* _stringLiteral835; Il2CppCodeGenString* _stringLiteral836; Il2CppCodeGenString* _stringLiteral837; Il2CppCodeGenString* _stringLiteral838; Il2CppCodeGenString* _stringLiteral839; Il2CppCodeGenString* _stringLiteral840; Il2CppCodeGenString* _stringLiteral841; Il2CppCodeGenString* _stringLiteral842; Il2CppCodeGenString* _stringLiteral843; Il2CppCodeGenString* _stringLiteral844; Il2CppCodeGenString* _stringLiteral845; Il2CppCodeGenString* _stringLiteral846; Il2CppCodeGenString* _stringLiteral847; Il2CppCodeGenString* _stringLiteral848; Il2CppCodeGenString* _stringLiteral849; Il2CppCodeGenString* _stringLiteral850; Il2CppCodeGenString* _stringLiteral851; Il2CppCodeGenString* _stringLiteral852; Il2CppCodeGenString* _stringLiteral853; Il2CppCodeGenString* _stringLiteral854; Il2CppCodeGenString* _stringLiteral855; Il2CppCodeGenString* _stringLiteral856; Il2CppCodeGenString* _stringLiteral857; Il2CppCodeGenString* _stringLiteral858; Il2CppCodeGenString* _stringLiteral859; Il2CppCodeGenString* _stringLiteral860; Il2CppCodeGenString* _stringLiteral861; Il2CppCodeGenString* _stringLiteral862; Il2CppCodeGenString* _stringLiteral863; Il2CppCodeGenString* _stringLiteral864; Il2CppCodeGenString* _stringLiteral865; Il2CppCodeGenString* _stringLiteral866; Il2CppCodeGenString* _stringLiteral867; Il2CppCodeGenString* _stringLiteral868; Il2CppCodeGenString* _stringLiteral869; Il2CppCodeGenString* _stringLiteral870; Il2CppCodeGenString* _stringLiteral871; Il2CppCodeGenString* _stringLiteral872; Il2CppCodeGenString* _stringLiteral873; Il2CppCodeGenString* _stringLiteral874; Il2CppCodeGenString* _stringLiteral875; Il2CppCodeGenString* _stringLiteral876; Il2CppCodeGenString* _stringLiteral877; Il2CppCodeGenString* _stringLiteral878; Il2CppCodeGenString* _stringLiteral879; Il2CppCodeGenString* _stringLiteral880; Il2CppCodeGenString* _stringLiteral881; Il2CppCodeGenString* _stringLiteral882; Il2CppCodeGenString* _stringLiteral883; Il2CppCodeGenString* _stringLiteral884; Il2CppCodeGenString* _stringLiteral885; Il2CppCodeGenString* _stringLiteral886; Il2CppCodeGenString* _stringLiteral887; Il2CppCodeGenString* _stringLiteral888; Il2CppCodeGenString* _stringLiteral889; Il2CppCodeGenString* _stringLiteral890; Il2CppCodeGenString* _stringLiteral891; Il2CppCodeGenString* _stringLiteral892; Il2CppCodeGenString* _stringLiteral893; Il2CppCodeGenString* _stringLiteral894; Il2CppCodeGenString* _stringLiteral895; Il2CppCodeGenString* _stringLiteral896; Il2CppCodeGenString* _stringLiteral897; Il2CppCodeGenString* _stringLiteral898; Il2CppCodeGenString* _stringLiteral899; Il2CppCodeGenString* _stringLiteral900; Il2CppCodeGenString* _stringLiteral901; Il2CppCodeGenString* _stringLiteral902; Il2CppCodeGenString* _stringLiteral903; Il2CppCodeGenString* _stringLiteral904; Il2CppCodeGenString* _stringLiteral905; Il2CppCodeGenString* _stringLiteral906; Il2CppCodeGenString* _stringLiteral907; Il2CppCodeGenString* _stringLiteral908; Il2CppCodeGenString* _stringLiteral909; Il2CppCodeGenString* _stringLiteral910; Il2CppCodeGenString* _stringLiteral911; Il2CppCodeGenString* _stringLiteral912; Il2CppCodeGenString* _stringLiteral913; Il2CppCodeGenString* _stringLiteral914; Il2CppCodeGenString* _stringLiteral915; Il2CppCodeGenString* _stringLiteral916; Il2CppCodeGenString* _stringLiteral917; Il2CppCodeGenString* _stringLiteral918; Il2CppCodeGenString* _stringLiteral919; Il2CppCodeGenString* _stringLiteral920; Il2CppCodeGenString* _stringLiteral921; Il2CppCodeGenString* _stringLiteral922; Il2CppCodeGenString* _stringLiteral923; Il2CppCodeGenString* _stringLiteral924; Il2CppCodeGenString* _stringLiteral925; Il2CppCodeGenString* _stringLiteral926; Il2CppCodeGenString* _stringLiteral927; Il2CppCodeGenString* _stringLiteral928; Il2CppCodeGenString* _stringLiteral929; Il2CppCodeGenString* _stringLiteral930; Il2CppCodeGenString* _stringLiteral931; Il2CppCodeGenString* _stringLiteral932; Il2CppCodeGenString* _stringLiteral933; Il2CppCodeGenString* _stringLiteral934; Il2CppCodeGenString* _stringLiteral935; Il2CppCodeGenString* _stringLiteral936; Il2CppCodeGenString* _stringLiteral937; Il2CppCodeGenString* _stringLiteral938; Il2CppCodeGenString* _stringLiteral939; Il2CppCodeGenString* _stringLiteral940; Il2CppCodeGenString* _stringLiteral941; Il2CppCodeGenString* _stringLiteral942; Il2CppCodeGenString* _stringLiteral943; Il2CppCodeGenString* _stringLiteral944; Il2CppCodeGenString* _stringLiteral945; Il2CppCodeGenString* _stringLiteral946; Il2CppCodeGenString* _stringLiteral947; Il2CppCodeGenString* _stringLiteral948; Il2CppCodeGenString* _stringLiteral949; Il2CppCodeGenString* _stringLiteral950; Il2CppCodeGenString* _stringLiteral951; Il2CppCodeGenString* _stringLiteral952; Il2CppCodeGenString* _stringLiteral953; Il2CppCodeGenString* _stringLiteral954; Il2CppCodeGenString* _stringLiteral955; Il2CppCodeGenString* _stringLiteral956; Il2CppCodeGenString* _stringLiteral957; Il2CppCodeGenString* _stringLiteral958; Il2CppCodeGenString* _stringLiteral959; Il2CppCodeGenString* _stringLiteral960; Il2CppCodeGenString* _stringLiteral961; Il2CppCodeGenString* _stringLiteral962; Il2CppCodeGenString* _stringLiteral963; Il2CppCodeGenString* _stringLiteral964; Il2CppCodeGenString* _stringLiteral965; Il2CppCodeGenString* _stringLiteral966; Il2CppCodeGenString* _stringLiteral967; Il2CppCodeGenString* _stringLiteral968; Il2CppCodeGenString* _stringLiteral969; Il2CppCodeGenString* _stringLiteral970; Il2CppCodeGenString* _stringLiteral971; Il2CppCodeGenString* _stringLiteral972; Il2CppCodeGenString* _stringLiteral973; Il2CppCodeGenString* _stringLiteral974; Il2CppCodeGenString* _stringLiteral975; Il2CppCodeGenString* _stringLiteral976; Il2CppCodeGenString* _stringLiteral977; Il2CppCodeGenString* _stringLiteral978; Il2CppCodeGenString* _stringLiteral979; Il2CppCodeGenString* _stringLiteral980; Il2CppCodeGenString* _stringLiteral981; Il2CppCodeGenString* _stringLiteral982; Il2CppCodeGenString* _stringLiteral983; Il2CppCodeGenString* _stringLiteral984; Il2CppCodeGenString* _stringLiteral985; Il2CppCodeGenString* _stringLiteral986; Il2CppCodeGenString* _stringLiteral987; Il2CppCodeGenString* _stringLiteral988; Il2CppCodeGenString* _stringLiteral989; Il2CppCodeGenString* _stringLiteral990; Il2CppCodeGenString* _stringLiteral991; Il2CppCodeGenString* _stringLiteral992; Il2CppCodeGenString* _stringLiteral993; Il2CppCodeGenString* _stringLiteral994; Il2CppCodeGenString* _stringLiteral995; Il2CppCodeGenString* _stringLiteral996; Il2CppCodeGenString* _stringLiteral997; Il2CppCodeGenString* _stringLiteral998; Il2CppCodeGenString* _stringLiteral999; Il2CppCodeGenString* _stringLiteral1000; Il2CppCodeGenString* _stringLiteral1001; Il2CppCodeGenString* _stringLiteral1002; Il2CppCodeGenString* _stringLiteral1003; Il2CppCodeGenString* _stringLiteral1004; Il2CppCodeGenString* _stringLiteral1005; Il2CppCodeGenString* _stringLiteral1006; Il2CppCodeGenString* _stringLiteral1007; Il2CppCodeGenString* _stringLiteral1008; Il2CppCodeGenString* _stringLiteral1009; Il2CppCodeGenString* _stringLiteral1010; Il2CppCodeGenString* _stringLiteral1011; Il2CppCodeGenString* _stringLiteral1012; Il2CppCodeGenString* _stringLiteral1013; Il2CppCodeGenString* _stringLiteral1014; Il2CppCodeGenString* _stringLiteral1015; Il2CppCodeGenString* _stringLiteral1016; Il2CppCodeGenString* _stringLiteral1017; Il2CppCodeGenString* _stringLiteral1018; Il2CppCodeGenString* _stringLiteral1019; Il2CppCodeGenString* _stringLiteral1020; Il2CppCodeGenString* _stringLiteral1021; Il2CppCodeGenString* _stringLiteral1022; Il2CppCodeGenString* _stringLiteral1023; Il2CppCodeGenString* _stringLiteral1024; Il2CppCodeGenString* _stringLiteral1025; Il2CppCodeGenString* _stringLiteral1026; Il2CppCodeGenString* _stringLiteral1027; Il2CppCodeGenString* _stringLiteral1028; Il2CppCodeGenString* _stringLiteral1029; Il2CppCodeGenString* _stringLiteral1030; Il2CppCodeGenString* _stringLiteral1031; Il2CppCodeGenString* _stringLiteral1032; Il2CppCodeGenString* _stringLiteral1033; Il2CppCodeGenString* _stringLiteral1034; Il2CppCodeGenString* _stringLiteral1035; Il2CppCodeGenString* _stringLiteral1036; Il2CppCodeGenString* _stringLiteral1037; Il2CppCodeGenString* _stringLiteral1038; Il2CppCodeGenString* _stringLiteral1039; Il2CppCodeGenString* _stringLiteral1040; Il2CppCodeGenString* _stringLiteral1041; Il2CppCodeGenString* _stringLiteral1042; Il2CppCodeGenString* _stringLiteral1043; Il2CppCodeGenString* _stringLiteral1044; Il2CppCodeGenString* _stringLiteral1045; Il2CppCodeGenString* _stringLiteral1046; Il2CppCodeGenString* _stringLiteral1047; Il2CppCodeGenString* _stringLiteral1048; Il2CppCodeGenString* _stringLiteral1049; Il2CppCodeGenString* _stringLiteral1050; Il2CppCodeGenString* _stringLiteral1051; Il2CppCodeGenString* _stringLiteral1052; Il2CppCodeGenString* _stringLiteral1053; Il2CppCodeGenString* _stringLiteral1054; Il2CppCodeGenString* _stringLiteral1055; Il2CppCodeGenString* _stringLiteral1056; Il2CppCodeGenString* _stringLiteral1057; Il2CppCodeGenString* _stringLiteral1058; Il2CppCodeGenString* _stringLiteral1059; Il2CppCodeGenString* _stringLiteral1060; Il2CppCodeGenString* _stringLiteral1061; Il2CppCodeGenString* _stringLiteral1062; Il2CppCodeGenString* _stringLiteral1063; Il2CppCodeGenString* _stringLiteral1064; Il2CppCodeGenString* _stringLiteral1065; Il2CppCodeGenString* _stringLiteral1066; Il2CppCodeGenString* _stringLiteral1067; Il2CppCodeGenString* _stringLiteral1068; Il2CppCodeGenString* _stringLiteral1069; Il2CppCodeGenString* _stringLiteral1070; Il2CppCodeGenString* _stringLiteral1071; Il2CppCodeGenString* _stringLiteral1072; Il2CppCodeGenString* _stringLiteral1073; Il2CppCodeGenString* _stringLiteral1074; Il2CppCodeGenString* _stringLiteral1075; Il2CppCodeGenString* _stringLiteral1076; Il2CppCodeGenString* _stringLiteral1077; Il2CppCodeGenString* _stringLiteral1078; Il2CppCodeGenString* _stringLiteral1079; Il2CppCodeGenString* _stringLiteral1080; Il2CppCodeGenString* _stringLiteral1081; Il2CppCodeGenString* _stringLiteral1082; Il2CppCodeGenString* _stringLiteral1083; Il2CppCodeGenString* _stringLiteral1084; Il2CppCodeGenString* _stringLiteral1085; Il2CppCodeGenString* _stringLiteral1086; Il2CppCodeGenString* _stringLiteral1087; Il2CppCodeGenString* _stringLiteral1088; Il2CppCodeGenString* _stringLiteral1089; Il2CppCodeGenString* _stringLiteral1090; Il2CppCodeGenString* _stringLiteral1091; Il2CppCodeGenString* _stringLiteral1092; Il2CppCodeGenString* _stringLiteral1093; Il2CppCodeGenString* _stringLiteral1094; Il2CppCodeGenString* _stringLiteral1095; Il2CppCodeGenString* _stringLiteral1096; Il2CppCodeGenString* _stringLiteral1097; Il2CppCodeGenString* _stringLiteral1098; Il2CppCodeGenString* _stringLiteral1099; Il2CppCodeGenString* _stringLiteral1100; Il2CppCodeGenString* _stringLiteral1101; Il2CppCodeGenString* _stringLiteral1102; Il2CppCodeGenString* _stringLiteral1103; Il2CppCodeGenString* _stringLiteral1104; Il2CppCodeGenString* _stringLiteral1105; Il2CppCodeGenString* _stringLiteral1106; Il2CppCodeGenString* _stringLiteral1107; Il2CppCodeGenString* _stringLiteral1108; Il2CppCodeGenString* _stringLiteral1109; Il2CppCodeGenString* _stringLiteral1110; Il2CppCodeGenString* _stringLiteral1111; Il2CppCodeGenString* _stringLiteral1112; Il2CppCodeGenString* _stringLiteral1113; Il2CppCodeGenString* _stringLiteral1114; Il2CppCodeGenString* _stringLiteral1115; Il2CppCodeGenString* _stringLiteral1116; Il2CppCodeGenString* _stringLiteral1117; Il2CppCodeGenString* _stringLiteral1118; Il2CppCodeGenString* _stringLiteral1119; Il2CppCodeGenString* _stringLiteral1120; Il2CppCodeGenString* _stringLiteral1121; Il2CppCodeGenString* _stringLiteral1122; Il2CppCodeGenString* _stringLiteral1123; Il2CppCodeGenString* _stringLiteral1124; Il2CppCodeGenString* _stringLiteral1125; Il2CppCodeGenString* _stringLiteral1126; Il2CppCodeGenString* _stringLiteral1127; Il2CppCodeGenString* _stringLiteral1128; Il2CppCodeGenString* _stringLiteral1129; Il2CppCodeGenString* _stringLiteral1130; Il2CppCodeGenString* _stringLiteral1131; Il2CppCodeGenString* _stringLiteral1132; Il2CppCodeGenString* _stringLiteral1133; Il2CppCodeGenString* _stringLiteral1134; Il2CppCodeGenString* _stringLiteral1135; Il2CppCodeGenString* _stringLiteral1136; Il2CppCodeGenString* _stringLiteral1137; Il2CppCodeGenString* _stringLiteral1138; Il2CppCodeGenString* _stringLiteral1139; Il2CppCodeGenString* _stringLiteral1140; Il2CppCodeGenString* _stringLiteral1141; Il2CppCodeGenString* _stringLiteral1142; Il2CppCodeGenString* _stringLiteral1143; Il2CppCodeGenString* _stringLiteral1144; Il2CppCodeGenString* _stringLiteral1145; Il2CppCodeGenString* _stringLiteral1146; Il2CppCodeGenString* _stringLiteral1147; Il2CppCodeGenString* _stringLiteral1148; Il2CppCodeGenString* _stringLiteral1149; Il2CppCodeGenString* _stringLiteral1150; Il2CppCodeGenString* _stringLiteral1151; Il2CppCodeGenString* _stringLiteral1152; Il2CppCodeGenString* _stringLiteral1153; Il2CppCodeGenString* _stringLiteral1154; Il2CppCodeGenString* _stringLiteral1155; Il2CppCodeGenString* _stringLiteral1156; Il2CppCodeGenString* _stringLiteral1157; Il2CppCodeGenString* _stringLiteral1158; Il2CppCodeGenString* _stringLiteral1159; Il2CppCodeGenString* _stringLiteral1160; Il2CppCodeGenString* _stringLiteral1161; Il2CppCodeGenString* _stringLiteral1162; Il2CppCodeGenString* _stringLiteral1163; Il2CppCodeGenString* _stringLiteral1164; Il2CppCodeGenString* _stringLiteral1165; Il2CppCodeGenString* _stringLiteral1166; Il2CppCodeGenString* _stringLiteral1167; Il2CppCodeGenString* _stringLiteral1168; Il2CppCodeGenString* _stringLiteral1169; Il2CppCodeGenString* _stringLiteral1170; Il2CppCodeGenString* _stringLiteral1171; Il2CppCodeGenString* _stringLiteral1172; Il2CppCodeGenString* _stringLiteral1173; Il2CppCodeGenString* _stringLiteral1174; Il2CppCodeGenString* _stringLiteral1175; Il2CppCodeGenString* _stringLiteral1176; Il2CppCodeGenString* _stringLiteral1177; Il2CppCodeGenString* _stringLiteral1178; Il2CppCodeGenString* _stringLiteral1179; Il2CppCodeGenString* _stringLiteral1180; Il2CppCodeGenString* _stringLiteral1181; Il2CppCodeGenString* _stringLiteral1182; Il2CppCodeGenString* _stringLiteral1183; Il2CppCodeGenString* _stringLiteral1184; Il2CppCodeGenString* _stringLiteral1185; Il2CppCodeGenString* _stringLiteral1186; Il2CppCodeGenString* _stringLiteral1187; Il2CppCodeGenString* _stringLiteral1188; Il2CppCodeGenString* _stringLiteral1189; Il2CppCodeGenString* _stringLiteral1190; Il2CppCodeGenString* _stringLiteral1191; Il2CppCodeGenString* _stringLiteral1192; Il2CppCodeGenString* _stringLiteral1193; Il2CppCodeGenString* _stringLiteral1194; Il2CppCodeGenString* _stringLiteral1195; Il2CppCodeGenString* _stringLiteral1196; Il2CppCodeGenString* _stringLiteral1197; Il2CppCodeGenString* _stringLiteral1198; Il2CppCodeGenString* _stringLiteral1199; Il2CppCodeGenString* _stringLiteral1200; Il2CppCodeGenString* _stringLiteral1201; Il2CppCodeGenString* _stringLiteral1202; Il2CppCodeGenString* _stringLiteral1203; Il2CppCodeGenString* _stringLiteral1204; Il2CppCodeGenString* _stringLiteral1205; Il2CppCodeGenString* _stringLiteral1206; Il2CppCodeGenString* _stringLiteral1207; Il2CppCodeGenString* _stringLiteral1208; Il2CppCodeGenString* _stringLiteral1209; Il2CppCodeGenString* _stringLiteral1210; Il2CppCodeGenString* _stringLiteral1211; Il2CppCodeGenString* _stringLiteral1212; Il2CppCodeGenString* _stringLiteral1213; Il2CppCodeGenString* _stringLiteral1214; Il2CppCodeGenString* _stringLiteral1215; Il2CppCodeGenString* _stringLiteral1216; Il2CppCodeGenString* _stringLiteral1217; Il2CppCodeGenString* _stringLiteral1218; Il2CppCodeGenString* _stringLiteral1219; Il2CppCodeGenString* _stringLiteral1220; Il2CppCodeGenString* _stringLiteral1221; Il2CppCodeGenString* _stringLiteral1222; Il2CppCodeGenString* _stringLiteral1223; Il2CppCodeGenString* _stringLiteral1224; Il2CppCodeGenString* _stringLiteral1225; Il2CppCodeGenString* _stringLiteral1226; Il2CppCodeGenString* _stringLiteral1227; Il2CppCodeGenString* _stringLiteral1228; Il2CppCodeGenString* _stringLiteral1229; Il2CppCodeGenString* _stringLiteral1230; Il2CppCodeGenString* _stringLiteral1231; Il2CppCodeGenString* _stringLiteral1232; Il2CppCodeGenString* _stringLiteral1233; Il2CppCodeGenString* _stringLiteral1234; Il2CppCodeGenString* _stringLiteral1235; Il2CppCodeGenString* _stringLiteral1236; Il2CppCodeGenString* _stringLiteral1237; Il2CppCodeGenString* _stringLiteral1238; Il2CppCodeGenString* _stringLiteral1239; Il2CppCodeGenString* _stringLiteral1240; Il2CppCodeGenString* _stringLiteral1241; Il2CppCodeGenString* _stringLiteral1242; Il2CppCodeGenString* _stringLiteral1243; Il2CppCodeGenString* _stringLiteral1244; Il2CppCodeGenString* _stringLiteral1245; Il2CppCodeGenString* _stringLiteral1246; Il2CppCodeGenString* _stringLiteral1247; Il2CppCodeGenString* _stringLiteral1248; Il2CppCodeGenString* _stringLiteral1249; Il2CppCodeGenString* _stringLiteral1250; Il2CppCodeGenString* _stringLiteral1251; Il2CppCodeGenString* _stringLiteral1252; Il2CppCodeGenString* _stringLiteral1253; Il2CppCodeGenString* _stringLiteral1254; Il2CppCodeGenString* _stringLiteral1255; Il2CppCodeGenString* _stringLiteral1256; Il2CppCodeGenString* _stringLiteral1257; Il2CppCodeGenString* _stringLiteral1258; Il2CppCodeGenString* _stringLiteral1259; Il2CppCodeGenString* _stringLiteral1260; Il2CppCodeGenString* _stringLiteral1261; Il2CppCodeGenString* _stringLiteral1262; Il2CppCodeGenString* _stringLiteral1263; Il2CppCodeGenString* _stringLiteral1264; Il2CppCodeGenString* _stringLiteral1265; Il2CppCodeGenString* _stringLiteral1266; Il2CppCodeGenString* _stringLiteral1267; Il2CppCodeGenString* _stringLiteral1268; Il2CppCodeGenString* _stringLiteral1269; Il2CppCodeGenString* _stringLiteral1270; Il2CppCodeGenString* _stringLiteral1271; Il2CppCodeGenString* _stringLiteral1272; Il2CppCodeGenString* _stringLiteral1273; Il2CppCodeGenString* _stringLiteral1274; Il2CppCodeGenString* _stringLiteral1275; Il2CppCodeGenString* _stringLiteral1276; Il2CppCodeGenString* _stringLiteral1277; Il2CppCodeGenString* _stringLiteral1278; Il2CppCodeGenString* _stringLiteral1279; Il2CppCodeGenString* _stringLiteral1280; Il2CppCodeGenString* _stringLiteral1281; Il2CppCodeGenString* _stringLiteral1282; Il2CppCodeGenString* _stringLiteral1283; Il2CppCodeGenString* _stringLiteral1284; Il2CppCodeGenString* _stringLiteral1285; Il2CppCodeGenString* _stringLiteral1286; Il2CppCodeGenString* _stringLiteral1287; Il2CppCodeGenString* _stringLiteral1288; Il2CppCodeGenString* _stringLiteral1289; Il2CppCodeGenString* _stringLiteral1290; Il2CppCodeGenString* _stringLiteral1291; Il2CppCodeGenString* _stringLiteral1292; Il2CppCodeGenString* _stringLiteral1293; Il2CppCodeGenString* _stringLiteral1294; Il2CppCodeGenString* _stringLiteral1295; Il2CppCodeGenString* _stringLiteral1296; Il2CppCodeGenString* _stringLiteral1297; Il2CppCodeGenString* _stringLiteral1298; Il2CppCodeGenString* _stringLiteral1299; Il2CppCodeGenString* _stringLiteral1300; Il2CppCodeGenString* _stringLiteral1301; Il2CppCodeGenString* _stringLiteral1302; Il2CppCodeGenString* _stringLiteral1303; Il2CppCodeGenString* _stringLiteral1304; Il2CppCodeGenString* _stringLiteral1305; Il2CppCodeGenString* _stringLiteral1306; Il2CppCodeGenString* _stringLiteral1307; Il2CppCodeGenString* _stringLiteral1308; Il2CppCodeGenString* _stringLiteral1309; Il2CppCodeGenString* _stringLiteral1310; Il2CppCodeGenString* _stringLiteral1311; Il2CppCodeGenString* _stringLiteral1312; Il2CppCodeGenString* _stringLiteral1313; Il2CppCodeGenString* _stringLiteral1314; Il2CppCodeGenString* _stringLiteral1315; Il2CppCodeGenString* _stringLiteral1316; Il2CppCodeGenString* _stringLiteral1317; Il2CppCodeGenString* _stringLiteral1318; Il2CppCodeGenString* _stringLiteral1319; Il2CppCodeGenString* _stringLiteral1320; Il2CppCodeGenString* _stringLiteral1321; Il2CppCodeGenString* _stringLiteral1322; Il2CppCodeGenString* _stringLiteral1323; Il2CppCodeGenString* _stringLiteral1324; Il2CppCodeGenString* _stringLiteral1325; Il2CppCodeGenString* _stringLiteral1326; Il2CppCodeGenString* _stringLiteral1327; Il2CppCodeGenString* _stringLiteral1328; Il2CppCodeGenString* _stringLiteral1329; Il2CppCodeGenString* _stringLiteral1330; Il2CppCodeGenString* _stringLiteral1331; Il2CppCodeGenString* _stringLiteral1332; Il2CppCodeGenString* _stringLiteral1333; Il2CppCodeGenString* _stringLiteral1334; Il2CppCodeGenString* _stringLiteral1335; Il2CppCodeGenString* _stringLiteral1336; Il2CppCodeGenString* _stringLiteral1337; Il2CppCodeGenString* _stringLiteral1338; Il2CppCodeGenString* _stringLiteral1339; Il2CppCodeGenString* _stringLiteral1340; Il2CppCodeGenString* _stringLiteral1341; Il2CppCodeGenString* _stringLiteral1342; Il2CppCodeGenString* _stringLiteral1343; Il2CppCodeGenString* _stringLiteral1344; Il2CppCodeGenString* _stringLiteral1345; Il2CppCodeGenString* _stringLiteral1346; Il2CppCodeGenString* _stringLiteral1347; Il2CppCodeGenString* _stringLiteral1348; Il2CppCodeGenString* _stringLiteral1349; Il2CppCodeGenString* _stringLiteral1350; Il2CppCodeGenString* _stringLiteral1351; Il2CppCodeGenString* _stringLiteral1352; Il2CppCodeGenString* _stringLiteral1353; Il2CppCodeGenString* _stringLiteral1354; Il2CppCodeGenString* _stringLiteral1355; Il2CppCodeGenString* _stringLiteral1356; Il2CppCodeGenString* _stringLiteral1357; Il2CppCodeGenString* _stringLiteral1358; Il2CppCodeGenString* _stringLiteral1359; Il2CppCodeGenString* _stringLiteral1360; Il2CppCodeGenString* _stringLiteral1361; Il2CppCodeGenString* _stringLiteral1362; Il2CppCodeGenString* _stringLiteral1363; Il2CppCodeGenString* _stringLiteral1364; Il2CppCodeGenString* _stringLiteral1365; Il2CppCodeGenString* _stringLiteral1366; Il2CppCodeGenString* _stringLiteral1367; Il2CppCodeGenString* _stringLiteral1368; Il2CppCodeGenString* _stringLiteral1369; Il2CppCodeGenString* _stringLiteral1370; Il2CppCodeGenString* _stringLiteral1371; Il2CppCodeGenString* _stringLiteral1372; Il2CppCodeGenString* _stringLiteral1373; Il2CppCodeGenString* _stringLiteral1374; Il2CppCodeGenString* _stringLiteral1375; Il2CppCodeGenString* _stringLiteral1376; Il2CppCodeGenString* _stringLiteral1377; Il2CppCodeGenString* _stringLiteral1378; Il2CppCodeGenString* _stringLiteral1379; Il2CppCodeGenString* _stringLiteral1380; Il2CppCodeGenString* _stringLiteral1381; Il2CppCodeGenString* _stringLiteral1382; Il2CppCodeGenString* _stringLiteral1383; Il2CppCodeGenString* _stringLiteral1384; Il2CppCodeGenString* _stringLiteral1385; Il2CppCodeGenString* _stringLiteral1386; Il2CppCodeGenString* _stringLiteral1387; Il2CppCodeGenString* _stringLiteral1388; Il2CppCodeGenString* _stringLiteral1389; Il2CppCodeGenString* _stringLiteral1390; Il2CppCodeGenString* _stringLiteral1391; Il2CppCodeGenString* _stringLiteral1392; Il2CppCodeGenString* _stringLiteral1393; Il2CppCodeGenString* _stringLiteral1394; Il2CppCodeGenString* _stringLiteral1395; Il2CppCodeGenString* _stringLiteral1396; Il2CppCodeGenString* _stringLiteral1397; Il2CppCodeGenString* _stringLiteral1398; Il2CppCodeGenString* _stringLiteral1399; Il2CppCodeGenString* _stringLiteral1400; Il2CppCodeGenString* _stringLiteral1401; Il2CppCodeGenString* _stringLiteral1402; Il2CppCodeGenString* _stringLiteral1403; Il2CppCodeGenString* _stringLiteral1404; Il2CppCodeGenString* _stringLiteral1405; Il2CppCodeGenString* _stringLiteral1406; Il2CppCodeGenString* _stringLiteral1407; Il2CppCodeGenString* _stringLiteral1408; Il2CppCodeGenString* _stringLiteral1409; Il2CppCodeGenString* _stringLiteral1410; Il2CppCodeGenString* _stringLiteral1411; Il2CppCodeGenString* _stringLiteral1412; Il2CppCodeGenString* _stringLiteral1413; Il2CppCodeGenString* _stringLiteral1414; Il2CppCodeGenString* _stringLiteral1415; Il2CppCodeGenString* _stringLiteral1416; Il2CppCodeGenString* _stringLiteral1417; Il2CppCodeGenString* _stringLiteral1418; Il2CppCodeGenString* _stringLiteral1419; Il2CppCodeGenString* _stringLiteral1420; Il2CppCodeGenString* _stringLiteral1421; Il2CppCodeGenString* _stringLiteral1422; Il2CppCodeGenString* _stringLiteral1423; Il2CppCodeGenString* _stringLiteral1424; Il2CppCodeGenString* _stringLiteral1425; Il2CppCodeGenString* _stringLiteral1426; Il2CppCodeGenString* _stringLiteral1427; Il2CppCodeGenString* _stringLiteral1428; Il2CppCodeGenString* _stringLiteral1429; Il2CppCodeGenString* _stringLiteral1430; Il2CppCodeGenString* _stringLiteral1431; Il2CppCodeGenString* _stringLiteral1432; Il2CppCodeGenString* _stringLiteral1433; Il2CppCodeGenString* _stringLiteral1434; Il2CppCodeGenString* _stringLiteral1435; Il2CppCodeGenString* _stringLiteral1436; Il2CppCodeGenString* _stringLiteral1437; Il2CppCodeGenString* _stringLiteral1438; Il2CppCodeGenString* _stringLiteral1439; Il2CppCodeGenString* _stringLiteral1440; Il2CppCodeGenString* _stringLiteral1441; Il2CppCodeGenString* _stringLiteral1442; Il2CppCodeGenString* _stringLiteral1443; Il2CppCodeGenString* _stringLiteral1444; Il2CppCodeGenString* _stringLiteral1445; Il2CppCodeGenString* _stringLiteral1446; Il2CppCodeGenString* _stringLiteral1447; Il2CppCodeGenString* _stringLiteral1448; Il2CppCodeGenString* _stringLiteral1449; Il2CppCodeGenString* _stringLiteral1450; Il2CppCodeGenString* _stringLiteral1451; Il2CppCodeGenString* _stringLiteral1452; Il2CppCodeGenString* _stringLiteral1453; Il2CppCodeGenString* _stringLiteral1454; Il2CppCodeGenString* _stringLiteral1455; Il2CppCodeGenString* _stringLiteral1456; Il2CppCodeGenString* _stringLiteral1457; Il2CppCodeGenString* _stringLiteral1458; Il2CppCodeGenString* _stringLiteral1459; Il2CppCodeGenString* _stringLiteral1460; Il2CppCodeGenString* _stringLiteral1461; Il2CppCodeGenString* _stringLiteral1462; Il2CppCodeGenString* _stringLiteral1463; Il2CppCodeGenString* _stringLiteral1464; Il2CppCodeGenString* _stringLiteral1465; Il2CppCodeGenString* _stringLiteral1466; Il2CppCodeGenString* _stringLiteral1467; Il2CppCodeGenString* _stringLiteral1468; Il2CppCodeGenString* _stringLiteral1469; Il2CppCodeGenString* _stringLiteral1470; Il2CppCodeGenString* _stringLiteral1471; Il2CppCodeGenString* _stringLiteral1472; Il2CppCodeGenString* _stringLiteral1473; Il2CppCodeGenString* _stringLiteral1474; Il2CppCodeGenString* _stringLiteral1475; Il2CppCodeGenString* _stringLiteral1476; Il2CppCodeGenString* _stringLiteral1477; Il2CppCodeGenString* _stringLiteral1478; Il2CppCodeGenString* _stringLiteral1479; Il2CppCodeGenString* _stringLiteral1480; Il2CppCodeGenString* _stringLiteral1481; Il2CppCodeGenString* _stringLiteral1482; Il2CppCodeGenString* _stringLiteral1483; Il2CppCodeGenString* _stringLiteral1484; Il2CppCodeGenString* _stringLiteral1485; Il2CppCodeGenString* _stringLiteral1486; Il2CppCodeGenString* _stringLiteral1487; Il2CppCodeGenString* _stringLiteral1488; Il2CppCodeGenString* _stringLiteral1489; Il2CppCodeGenString* _stringLiteral1490; Il2CppCodeGenString* _stringLiteral1491; Il2CppCodeGenString* _stringLiteral1492; Il2CppCodeGenString* _stringLiteral1493; Il2CppCodeGenString* _stringLiteral1494; Il2CppCodeGenString* _stringLiteral1495; Il2CppCodeGenString* _stringLiteral1496; Il2CppCodeGenString* _stringLiteral1497; Il2CppCodeGenString* _stringLiteral1498; Il2CppCodeGenString* _stringLiteral1499; Il2CppCodeGenString* _stringLiteral1500; Il2CppCodeGenString* _stringLiteral1501; Il2CppCodeGenString* _stringLiteral1502; Il2CppCodeGenString* _stringLiteral1503; Il2CppCodeGenString* _stringLiteral1504; Il2CppCodeGenString* _stringLiteral1505; Il2CppCodeGenString* _stringLiteral1506; Il2CppCodeGenString* _stringLiteral1507; Il2CppCodeGenString* _stringLiteral1508; Il2CppCodeGenString* _stringLiteral1509; Il2CppCodeGenString* _stringLiteral1510; Il2CppCodeGenString* _stringLiteral1511; Il2CppCodeGenString* _stringLiteral1512; Il2CppCodeGenString* _stringLiteral1513; Il2CppCodeGenString* _stringLiteral1514; Il2CppCodeGenString* _stringLiteral1515; Il2CppCodeGenString* _stringLiteral1516; Il2CppCodeGenString* _stringLiteral1517; Il2CppCodeGenString* _stringLiteral1518; Il2CppCodeGenString* _stringLiteral1519; Il2CppCodeGenString* _stringLiteral1520; Il2CppCodeGenString* _stringLiteral1521; Il2CppCodeGenString* _stringLiteral1522; Il2CppCodeGenString* _stringLiteral1523; Il2CppCodeGenString* _stringLiteral1524; Il2CppCodeGenString* _stringLiteral1525; Il2CppCodeGenString* _stringLiteral1526; Il2CppCodeGenString* _stringLiteral1527; Il2CppCodeGenString* _stringLiteral1528; Il2CppCodeGenString* _stringLiteral1529; Il2CppCodeGenString* _stringLiteral1530; Il2CppCodeGenString* _stringLiteral1531; Il2CppCodeGenString* _stringLiteral1532; Il2CppCodeGenString* _stringLiteral1533; Il2CppCodeGenString* _stringLiteral1534; Il2CppCodeGenString* _stringLiteral1535; Il2CppCodeGenString* _stringLiteral1536; Il2CppCodeGenString* _stringLiteral1537; Il2CppCodeGenString* _stringLiteral1538; Il2CppCodeGenString* _stringLiteral1539; Il2CppCodeGenString* _stringLiteral1540; Il2CppCodeGenString* _stringLiteral1541; Il2CppCodeGenString* _stringLiteral1542; Il2CppCodeGenString* _stringLiteral1543; Il2CppCodeGenString* _stringLiteral1544; Il2CppCodeGenString* _stringLiteral1545; Il2CppCodeGenString* _stringLiteral1546; Il2CppCodeGenString* _stringLiteral1547; Il2CppCodeGenString* _stringLiteral1548; Il2CppCodeGenString* _stringLiteral1549; Il2CppCodeGenString* _stringLiteral1550; Il2CppCodeGenString* _stringLiteral1551; Il2CppCodeGenString* _stringLiteral1552; Il2CppCodeGenString* _stringLiteral1553; Il2CppCodeGenString* _stringLiteral1554; Il2CppCodeGenString* _stringLiteral1555; Il2CppCodeGenString* _stringLiteral1556; Il2CppCodeGenString* _stringLiteral1557; Il2CppCodeGenString* _stringLiteral1558; Il2CppCodeGenString* _stringLiteral1559; Il2CppCodeGenString* _stringLiteral1560; Il2CppCodeGenString* _stringLiteral1561; Il2CppCodeGenString* _stringLiteral1562; Il2CppCodeGenString* _stringLiteral1563; Il2CppCodeGenString* _stringLiteral1564; Il2CppCodeGenString* _stringLiteral1565; Il2CppCodeGenString* _stringLiteral1566; Il2CppCodeGenString* _stringLiteral1567; Il2CppCodeGenString* _stringLiteral1568; Il2CppCodeGenString* _stringLiteral1569; Il2CppCodeGenString* _stringLiteral1570; Il2CppCodeGenString* _stringLiteral1571; Il2CppCodeGenString* _stringLiteral1572; Il2CppCodeGenString* _stringLiteral1573; Il2CppCodeGenString* _stringLiteral1574; Il2CppCodeGenString* _stringLiteral1575; Il2CppCodeGenString* _stringLiteral1576; Il2CppCodeGenString* _stringLiteral1577; Il2CppCodeGenString* _stringLiteral1578; Il2CppCodeGenString* _stringLiteral1579; Il2CppCodeGenString* _stringLiteral1580; Il2CppCodeGenString* _stringLiteral1581; Il2CppCodeGenString* _stringLiteral1582; Il2CppCodeGenString* _stringLiteral1583; Il2CppCodeGenString* _stringLiteral1584; Il2CppCodeGenString* _stringLiteral1585; Il2CppCodeGenString* _stringLiteral1586; Il2CppCodeGenString* _stringLiteral1587; Il2CppCodeGenString* _stringLiteral1588; Il2CppCodeGenString* _stringLiteral1589; Il2CppCodeGenString* _stringLiteral1590; Il2CppCodeGenString* _stringLiteral1591; Il2CppCodeGenString* _stringLiteral1592; Il2CppCodeGenString* _stringLiteral1593; Il2CppCodeGenString* _stringLiteral1594; Il2CppCodeGenString* _stringLiteral1595; Il2CppCodeGenString* _stringLiteral1596; Il2CppCodeGenString* _stringLiteral1597; Il2CppCodeGenString* _stringLiteral1598; Il2CppCodeGenString* _stringLiteral1599; Il2CppCodeGenString* _stringLiteral1600; Il2CppCodeGenString* _stringLiteral1601; Il2CppCodeGenString* _stringLiteral1602; Il2CppCodeGenString* _stringLiteral1603; Il2CppCodeGenString* _stringLiteral1604; Il2CppCodeGenString* _stringLiteral1605; Il2CppCodeGenString* _stringLiteral1606; Il2CppCodeGenString* _stringLiteral1607; Il2CppCodeGenString* _stringLiteral1608; Il2CppCodeGenString* _stringLiteral1609; Il2CppCodeGenString* _stringLiteral1610; Il2CppCodeGenString* _stringLiteral1611; Il2CppCodeGenString* _stringLiteral1612; Il2CppCodeGenString* _stringLiteral1613; Il2CppCodeGenString* _stringLiteral1614; Il2CppCodeGenString* _stringLiteral1615; Il2CppCodeGenString* _stringLiteral1616; Il2CppCodeGenString* _stringLiteral1617; Il2CppCodeGenString* _stringLiteral1618; Il2CppCodeGenString* _stringLiteral1619; Il2CppCodeGenString* _stringLiteral1620; Il2CppCodeGenString* _stringLiteral1621; Il2CppCodeGenString* _stringLiteral1622; Il2CppCodeGenString* _stringLiteral1623; Il2CppCodeGenString* _stringLiteral1624; Il2CppCodeGenString* _stringLiteral1625; Il2CppCodeGenString* _stringLiteral1626; Il2CppCodeGenString* _stringLiteral1627; Il2CppCodeGenString* _stringLiteral1628; Il2CppCodeGenString* _stringLiteral1629; Il2CppCodeGenString* _stringLiteral1630; Il2CppCodeGenString* _stringLiteral1631; Il2CppCodeGenString* _stringLiteral1632; Il2CppCodeGenString* _stringLiteral1633; Il2CppCodeGenString* _stringLiteral1634; Il2CppCodeGenString* _stringLiteral1635; Il2CppCodeGenString* _stringLiteral1636; Il2CppCodeGenString* _stringLiteral1637; Il2CppCodeGenString* _stringLiteral1638; Il2CppCodeGenString* _stringLiteral1639; Il2CppCodeGenString* _stringLiteral1640; Il2CppCodeGenString* _stringLiteral1641; Il2CppCodeGenString* _stringLiteral1642; Il2CppCodeGenString* _stringLiteral1643; Il2CppCodeGenString* _stringLiteral1644; Il2CppCodeGenString* _stringLiteral1645; Il2CppCodeGenString* _stringLiteral1646; Il2CppCodeGenString* _stringLiteral1647; Il2CppCodeGenString* _stringLiteral1648; Il2CppCodeGenString* _stringLiteral1649; Il2CppCodeGenString* _stringLiteral1650; Il2CppCodeGenString* _stringLiteral1651; Il2CppCodeGenString* _stringLiteral1652; Il2CppCodeGenString* _stringLiteral1653; Il2CppCodeGenString* _stringLiteral1654; Il2CppCodeGenString* _stringLiteral1655; Il2CppCodeGenString* _stringLiteral1656; Il2CppCodeGenString* _stringLiteral1657; Il2CppCodeGenString* _stringLiteral1658; Il2CppCodeGenString* _stringLiteral1659; Il2CppCodeGenString* _stringLiteral1660; Il2CppCodeGenString* _stringLiteral1661; Il2CppCodeGenString* _stringLiteral1662; Il2CppCodeGenString* _stringLiteral1663; Il2CppCodeGenString* _stringLiteral1664; Il2CppCodeGenString* _stringLiteral1665; Il2CppCodeGenString* _stringLiteral1666; Il2CppCodeGenString* _stringLiteral1667; Il2CppCodeGenString* _stringLiteral1668; Il2CppCodeGenString* _stringLiteral1669; Il2CppCodeGenString* _stringLiteral1670; Il2CppCodeGenString* _stringLiteral1671; Il2CppCodeGenString* _stringLiteral1672; Il2CppCodeGenString* _stringLiteral1673; Il2CppCodeGenString* _stringLiteral1674; Il2CppCodeGenString* _stringLiteral1675; Il2CppCodeGenString* _stringLiteral1676; Il2CppCodeGenString* _stringLiteral1677; Il2CppCodeGenString* _stringLiteral1678; Il2CppCodeGenString* _stringLiteral1679; Il2CppCodeGenString* _stringLiteral1680; Il2CppCodeGenString* _stringLiteral1681; Il2CppCodeGenString* _stringLiteral1682; Il2CppCodeGenString* _stringLiteral1683; Il2CppCodeGenString* _stringLiteral1684; Il2CppCodeGenString* _stringLiteral1685; Il2CppCodeGenString* _stringLiteral1686; Il2CppCodeGenString* _stringLiteral1687; Il2CppCodeGenString* _stringLiteral1688; Il2CppCodeGenString* _stringLiteral1689; Il2CppCodeGenString* _stringLiteral1690; Il2CppCodeGenString* _stringLiteral1691; Il2CppCodeGenString* _stringLiteral1692; Il2CppCodeGenString* _stringLiteral1693; Il2CppCodeGenString* _stringLiteral1694; Il2CppCodeGenString* _stringLiteral1695; Il2CppCodeGenString* _stringLiteral1696; Il2CppCodeGenString* _stringLiteral1697; Il2CppCodeGenString* _stringLiteral1698; Il2CppCodeGenString* _stringLiteral1699; Il2CppCodeGenString* _stringLiteral1700; Il2CppCodeGenString* _stringLiteral1701; Il2CppCodeGenString* _stringLiteral1702; Il2CppCodeGenString* _stringLiteral1703; Il2CppCodeGenString* _stringLiteral1704; Il2CppCodeGenString* _stringLiteral1705; Il2CppCodeGenString* _stringLiteral1706; Il2CppCodeGenString* _stringLiteral1707; Il2CppCodeGenString* _stringLiteral1708; Il2CppCodeGenString* _stringLiteral1709; Il2CppCodeGenString* _stringLiteral1710; Il2CppCodeGenString* _stringLiteral1711; Il2CppCodeGenString* _stringLiteral1712; Il2CppCodeGenString* _stringLiteral1713; Il2CppCodeGenString* _stringLiteral1714; Il2CppCodeGenString* _stringLiteral1715; Il2CppCodeGenString* _stringLiteral1716; Il2CppCodeGenString* _stringLiteral1717; Il2CppCodeGenString* _stringLiteral1718; Il2CppCodeGenString* _stringLiteral1719; Il2CppCodeGenString* _stringLiteral1720; Il2CppCodeGenString* _stringLiteral1721; Il2CppCodeGenString* _stringLiteral1722; Il2CppCodeGenString* _stringLiteral1723; Il2CppCodeGenString* _stringLiteral1724; Il2CppCodeGenString* _stringLiteral1725; Il2CppCodeGenString* _stringLiteral1726; Il2CppCodeGenString* _stringLiteral1727; Il2CppCodeGenString* _stringLiteral1728; Il2CppCodeGenString* _stringLiteral1729; Il2CppCodeGenString* _stringLiteral1730; Il2CppCodeGenString* _stringLiteral1731; Il2CppCodeGenString* _stringLiteral1732; Il2CppCodeGenString* _stringLiteral1733; Il2CppCodeGenString* _stringLiteral1734; Il2CppCodeGenString* _stringLiteral1735; Il2CppCodeGenString* _stringLiteral1736; Il2CppCodeGenString* _stringLiteral1737; Il2CppCodeGenString* _stringLiteral1738; Il2CppCodeGenString* _stringLiteral1739; Il2CppCodeGenString* _stringLiteral1740; Il2CppCodeGenString* _stringLiteral1741; Il2CppCodeGenString* _stringLiteral1742; Il2CppCodeGenString* _stringLiteral1743; Il2CppCodeGenString* _stringLiteral1744; Il2CppCodeGenString* _stringLiteral1745; Il2CppCodeGenString* _stringLiteral1746; Il2CppCodeGenString* _stringLiteral1747; Il2CppCodeGenString* _stringLiteral1748; Il2CppCodeGenString* _stringLiteral1749; Il2CppCodeGenString* _stringLiteral1750; Il2CppCodeGenString* _stringLiteral1751; Il2CppCodeGenString* _stringLiteral1752; Il2CppCodeGenString* _stringLiteral1753; Il2CppCodeGenString* _stringLiteral1754; Il2CppCodeGenString* _stringLiteral1755; Il2CppCodeGenString* _stringLiteral1756; Il2CppCodeGenString* _stringLiteral1757; Il2CppCodeGenString* _stringLiteral1758; Il2CppCodeGenString* _stringLiteral1759; Il2CppCodeGenString* _stringLiteral1760; Il2CppCodeGenString* _stringLiteral1761; Il2CppCodeGenString* _stringLiteral1762; Il2CppCodeGenString* _stringLiteral1763; Il2CppCodeGenString* _stringLiteral1764; Il2CppCodeGenString* _stringLiteral1765; Il2CppCodeGenString* _stringLiteral1766; Il2CppCodeGenString* _stringLiteral1767; Il2CppCodeGenString* _stringLiteral1768; Il2CppCodeGenString* _stringLiteral1769; Il2CppCodeGenString* _stringLiteral1770; Il2CppCodeGenString* _stringLiteral1771; Il2CppCodeGenString* _stringLiteral1772; Il2CppCodeGenString* _stringLiteral1773; Il2CppCodeGenString* _stringLiteral1774; Il2CppCodeGenString* _stringLiteral1775; Il2CppCodeGenString* _stringLiteral1776; Il2CppCodeGenString* _stringLiteral1777; Il2CppCodeGenString* _stringLiteral1778; Il2CppCodeGenString* _stringLiteral1779; Il2CppCodeGenString* _stringLiteral1780; Il2CppCodeGenString* _stringLiteral1781; Il2CppCodeGenString* _stringLiteral1782; Il2CppCodeGenString* _stringLiteral1783; Il2CppCodeGenString* _stringLiteral1784; Il2CppCodeGenString* _stringLiteral1785; Il2CppCodeGenString* _stringLiteral1786; Il2CppCodeGenString* _stringLiteral1787; Il2CppCodeGenString* _stringLiteral1788; Il2CppCodeGenString* _stringLiteral1789; Il2CppCodeGenString* _stringLiteral1790; Il2CppCodeGenString* _stringLiteral1791; Il2CppCodeGenString* _stringLiteral1792; Il2CppCodeGenString* _stringLiteral1793; Il2CppCodeGenString* _stringLiteral1794; Il2CppCodeGenString* _stringLiteral1795; Il2CppCodeGenString* _stringLiteral1796; Il2CppCodeGenString* _stringLiteral1797; Il2CppCodeGenString* _stringLiteral1798; Il2CppCodeGenString* _stringLiteral1799; Il2CppCodeGenString* _stringLiteral1800; Il2CppCodeGenString* _stringLiteral1801; Il2CppCodeGenString* _stringLiteral1802; Il2CppCodeGenString* _stringLiteral1803; Il2CppCodeGenString* _stringLiteral1804; Il2CppCodeGenString* _stringLiteral1805; Il2CppCodeGenString* _stringLiteral1806; Il2CppCodeGenString* _stringLiteral1807; Il2CppCodeGenString* _stringLiteral1808; Il2CppCodeGenString* _stringLiteral1809; Il2CppCodeGenString* _stringLiteral1810; Il2CppCodeGenString* _stringLiteral1811; Il2CppCodeGenString* _stringLiteral1812; Il2CppCodeGenString* _stringLiteral1813; Il2CppCodeGenString* _stringLiteral1814; Il2CppCodeGenString* _stringLiteral1815; Il2CppCodeGenString* _stringLiteral1816; Il2CppCodeGenString* _stringLiteral1817; Il2CppCodeGenString* _stringLiteral1818; Il2CppCodeGenString* _stringLiteral1819; Il2CppCodeGenString* _stringLiteral1820; Il2CppCodeGenString* _stringLiteral1821; Il2CppCodeGenString* _stringLiteral1822; Il2CppCodeGenString* _stringLiteral1823; Il2CppCodeGenString* _stringLiteral1824; Il2CppCodeGenString* _stringLiteral1825; Il2CppCodeGenString* _stringLiteral1826; Il2CppCodeGenString* _stringLiteral1827; Il2CppCodeGenString* _stringLiteral1828; Il2CppCodeGenString* _stringLiteral1829; Il2CppCodeGenString* _stringLiteral1830; Il2CppCodeGenString* _stringLiteral1831; Il2CppCodeGenString* _stringLiteral1832; Il2CppCodeGenString* _stringLiteral1833; Il2CppCodeGenString* _stringLiteral1834; Il2CppCodeGenString* _stringLiteral1835; Il2CppCodeGenString* _stringLiteral1836; Il2CppCodeGenString* _stringLiteral1837; Il2CppCodeGenString* _stringLiteral1838; Il2CppCodeGenString* _stringLiteral1839; Il2CppCodeGenString* _stringLiteral1840; Il2CppCodeGenString* _stringLiteral1841; Il2CppCodeGenString* _stringLiteral1842; Il2CppCodeGenString* _stringLiteral1843; Il2CppCodeGenString* _stringLiteral1844; Il2CppCodeGenString* _stringLiteral1845; Il2CppCodeGenString* _stringLiteral1846; Il2CppCodeGenString* _stringLiteral1847; Il2CppCodeGenString* _stringLiteral1848; Il2CppCodeGenString* _stringLiteral1849; Il2CppCodeGenString* _stringLiteral1850; Il2CppCodeGenString* _stringLiteral1851; Il2CppCodeGenString* _stringLiteral1852; Il2CppCodeGenString* _stringLiteral1853; Il2CppCodeGenString* _stringLiteral1854; Il2CppCodeGenString* _stringLiteral1855; Il2CppCodeGenString* _stringLiteral1856; Il2CppCodeGenString* _stringLiteral1857; Il2CppCodeGenString* _stringLiteral1858; Il2CppCodeGenString* _stringLiteral1859; Il2CppCodeGenString* _stringLiteral1860; Il2CppCodeGenString* _stringLiteral1861; Il2CppCodeGenString* _stringLiteral1862; Il2CppCodeGenString* _stringLiteral1863; Il2CppCodeGenString* _stringLiteral1864; Il2CppCodeGenString* _stringLiteral1865; Il2CppCodeGenString* _stringLiteral1866; Il2CppCodeGenString* _stringLiteral1867; Il2CppCodeGenString* _stringLiteral1868; Il2CppCodeGenString* _stringLiteral1869; Il2CppCodeGenString* _stringLiteral1870; Il2CppCodeGenString* _stringLiteral1871; Il2CppCodeGenString* _stringLiteral1872; Il2CppCodeGenString* _stringLiteral1873; Il2CppCodeGenString* _stringLiteral1874; Il2CppCodeGenString* _stringLiteral1875; Il2CppCodeGenString* _stringLiteral1876; Il2CppCodeGenString* _stringLiteral1877; Il2CppCodeGenString* _stringLiteral1878; Il2CppCodeGenString* _stringLiteral1879; Il2CppCodeGenString* _stringLiteral1880; Il2CppCodeGenString* _stringLiteral1881; Il2CppCodeGenString* _stringLiteral1882; Il2CppCodeGenString* _stringLiteral1883; Il2CppCodeGenString* _stringLiteral1884; Il2CppCodeGenString* _stringLiteral1885; Il2CppCodeGenString* _stringLiteral1886; Il2CppCodeGenString* _stringLiteral1887; Il2CppCodeGenString* _stringLiteral1888; Il2CppCodeGenString* _stringLiteral1889; Il2CppCodeGenString* _stringLiteral1890; Il2CppCodeGenString* _stringLiteral1891; Il2CppCodeGenString* _stringLiteral1892; Il2CppCodeGenString* _stringLiteral1893; Il2CppCodeGenString* _stringLiteral1894; Il2CppCodeGenString* _stringLiteral1895; Il2CppCodeGenString* _stringLiteral1896; Il2CppCodeGenString* _stringLiteral1897; Il2CppCodeGenString* _stringLiteral1898; Il2CppCodeGenString* _stringLiteral1899; Il2CppCodeGenString* _stringLiteral1900; Il2CppCodeGenString* _stringLiteral1901; Il2CppCodeGenString* _stringLiteral1902; Il2CppCodeGenString* _stringLiteral1903; Il2CppCodeGenString* _stringLiteral1904; Il2CppCodeGenString* _stringLiteral1905; Il2CppCodeGenString* _stringLiteral1906; Il2CppCodeGenString* _stringLiteral1907; Il2CppCodeGenString* _stringLiteral1908; Il2CppCodeGenString* _stringLiteral1909; Il2CppCodeGenString* _stringLiteral1910; Il2CppCodeGenString* _stringLiteral1911; Il2CppCodeGenString* _stringLiteral1912; Il2CppCodeGenString* _stringLiteral1913; Il2CppCodeGenString* _stringLiteral1914; Il2CppCodeGenString* _stringLiteral1915; Il2CppCodeGenString* _stringLiteral1916; Il2CppCodeGenString* _stringLiteral1917; Il2CppCodeGenString* _stringLiteral1918; Il2CppCodeGenString* _stringLiteral1919; Il2CppCodeGenString* _stringLiteral1920; Il2CppCodeGenString* _stringLiteral1921; Il2CppCodeGenString* _stringLiteral1922; Il2CppCodeGenString* _stringLiteral1923; Il2CppCodeGenString* _stringLiteral1924; Il2CppCodeGenString* _stringLiteral1925; Il2CppCodeGenString* _stringLiteral1926; Il2CppCodeGenString* _stringLiteral1927; Il2CppCodeGenString* _stringLiteral1928; Il2CppCodeGenString* _stringLiteral1929; Il2CppCodeGenString* _stringLiteral1930; Il2CppCodeGenString* _stringLiteral1931; Il2CppCodeGenString* _stringLiteral1932; Il2CppCodeGenString* _stringLiteral1933; Il2CppCodeGenString* _stringLiteral1934; Il2CppCodeGenString* _stringLiteral1935; Il2CppCodeGenString* _stringLiteral1936; Il2CppCodeGenString* _stringLiteral1937; Il2CppCodeGenString* _stringLiteral1938; Il2CppCodeGenString* _stringLiteral1939; Il2CppCodeGenString* _stringLiteral1940; Il2CppCodeGenString* _stringLiteral1941; Il2CppCodeGenString* _stringLiteral1942; Il2CppCodeGenString* _stringLiteral1943; Il2CppCodeGenString* _stringLiteral1944; Il2CppCodeGenString* _stringLiteral1945; Il2CppCodeGenString* _stringLiteral1946; Il2CppCodeGenString* _stringLiteral1947; Il2CppCodeGenString* _stringLiteral1948; Il2CppCodeGenString* _stringLiteral1949; Il2CppCodeGenString* _stringLiteral1950; Il2CppCodeGenString* _stringLiteral1951; Il2CppCodeGenString* _stringLiteral1952; Il2CppCodeGenString* _stringLiteral1953; Il2CppCodeGenString* _stringLiteral1954; Il2CppCodeGenString* _stringLiteral1955; Il2CppCodeGenString* _stringLiteral1956; Il2CppCodeGenString* _stringLiteral1957; Il2CppCodeGenString* _stringLiteral1958; Il2CppCodeGenString* _stringLiteral1959; Il2CppCodeGenString* _stringLiteral1960; Il2CppCodeGenString* _stringLiteral1961; Il2CppCodeGenString* _stringLiteral1962; Il2CppCodeGenString* _stringLiteral1963; Il2CppCodeGenString* _stringLiteral1964; Il2CppCodeGenString* _stringLiteral1965; Il2CppCodeGenString* _stringLiteral1966; Il2CppCodeGenString* _stringLiteral1967; Il2CppCodeGenString* _stringLiteral1968; Il2CppCodeGenString* _stringLiteral1969; Il2CppCodeGenString* _stringLiteral1970; Il2CppCodeGenString* _stringLiteral1971; Il2CppCodeGenString* _stringLiteral1972; Il2CppCodeGenString* _stringLiteral1973; Il2CppCodeGenString* _stringLiteral1974; Il2CppCodeGenString* _stringLiteral1975; Il2CppCodeGenString* _stringLiteral1976; Il2CppCodeGenString* _stringLiteral1977; Il2CppCodeGenString* _stringLiteral1978; Il2CppCodeGenString* _stringLiteral1979; Il2CppCodeGenString* _stringLiteral1980; Il2CppCodeGenString* _stringLiteral1981; Il2CppCodeGenString* _stringLiteral1982; Il2CppCodeGenString* _stringLiteral1983; Il2CppCodeGenString* _stringLiteral1984; Il2CppCodeGenString* _stringLiteral1985; Il2CppCodeGenString* _stringLiteral1986; Il2CppCodeGenString* _stringLiteral1987; Il2CppCodeGenString* _stringLiteral1988; Il2CppCodeGenString* _stringLiteral1989; Il2CppCodeGenString* _stringLiteral1990; Il2CppCodeGenString* _stringLiteral1991; Il2CppCodeGenString* _stringLiteral1992; Il2CppCodeGenString* _stringLiteral1993; Il2CppCodeGenString* _stringLiteral1994; Il2CppCodeGenString* _stringLiteral1995; Il2CppCodeGenString* _stringLiteral1996; Il2CppCodeGenString* _stringLiteral1997; Il2CppCodeGenString* _stringLiteral1998; Il2CppCodeGenString* _stringLiteral1999; Il2CppCodeGenString* _stringLiteral2000; Il2CppCodeGenString* _stringLiteral2001; Il2CppCodeGenString* _stringLiteral2002; Il2CppCodeGenString* _stringLiteral2003; Il2CppCodeGenString* _stringLiteral2004; Il2CppCodeGenString* _stringLiteral2005; Il2CppCodeGenString* _stringLiteral2006; Il2CppCodeGenString* _stringLiteral2007; Il2CppCodeGenString* _stringLiteral2008; Il2CppCodeGenString* _stringLiteral2009; Il2CppCodeGenString* _stringLiteral2010; Il2CppCodeGenString* _stringLiteral2011; Il2CppCodeGenString* _stringLiteral2012; Il2CppCodeGenString* _stringLiteral2013; Il2CppCodeGenString* _stringLiteral2014; Il2CppCodeGenString* _stringLiteral2015; Il2CppCodeGenString* _stringLiteral2016; Il2CppCodeGenString* _stringLiteral2017; Il2CppCodeGenString* _stringLiteral2018; Il2CppCodeGenString* _stringLiteral2019; Il2CppCodeGenString* _stringLiteral2020; Il2CppCodeGenString* _stringLiteral2021; Il2CppCodeGenString* _stringLiteral2022; Il2CppCodeGenString* _stringLiteral2023; Il2CppCodeGenString* _stringLiteral2024; Il2CppCodeGenString* _stringLiteral2025; Il2CppCodeGenString* _stringLiteral2026; Il2CppCodeGenString* _stringLiteral2027; Il2CppCodeGenString* _stringLiteral2028; Il2CppCodeGenString* _stringLiteral2029; Il2CppCodeGenString* _stringLiteral2030; Il2CppCodeGenString* _stringLiteral2031; Il2CppCodeGenString* _stringLiteral2032; Il2CppCodeGenString* _stringLiteral2033; Il2CppCodeGenString* _stringLiteral2034; Il2CppCodeGenString* _stringLiteral2035; Il2CppCodeGenString* _stringLiteral2036; Il2CppCodeGenString* _stringLiteral2037; Il2CppCodeGenString* _stringLiteral2038; Il2CppCodeGenString* _stringLiteral2039; Il2CppCodeGenString* _stringLiteral2040; Il2CppCodeGenString* _stringLiteral2041; Il2CppCodeGenString* _stringLiteral2042; Il2CppCodeGenString* _stringLiteral2043; Il2CppCodeGenString* _stringLiteral2044; Il2CppCodeGenString* _stringLiteral2045; Il2CppCodeGenString* _stringLiteral2046; Il2CppCodeGenString* _stringLiteral2047; Il2CppCodeGenString* _stringLiteral2048; Il2CppCodeGenString* _stringLiteral2049; Il2CppCodeGenString* _stringLiteral2050; Il2CppCodeGenString* _stringLiteral2051; Il2CppCodeGenString* _stringLiteral2052; Il2CppCodeGenString* _stringLiteral2053; Il2CppCodeGenString* _stringLiteral2054; Il2CppCodeGenString* _stringLiteral2055; Il2CppCodeGenString* _stringLiteral2056; Il2CppCodeGenString* _stringLiteral2057; Il2CppCodeGenString* _stringLiteral2058; Il2CppCodeGenString* _stringLiteral2059; Il2CppCodeGenString* _stringLiteral2060; Il2CppCodeGenString* _stringLiteral2061; Il2CppCodeGenString* _stringLiteral2062; Il2CppCodeGenString* _stringLiteral2063; Il2CppCodeGenString* _stringLiteral2064; Il2CppCodeGenString* _stringLiteral2065; Il2CppCodeGenString* _stringLiteral2066; Il2CppCodeGenString* _stringLiteral2067; Il2CppCodeGenString* _stringLiteral2068; Il2CppCodeGenString* _stringLiteral2069; Il2CppCodeGenString* _stringLiteral2070; Il2CppCodeGenString* _stringLiteral2071; Il2CppCodeGenString* _stringLiteral2072; Il2CppCodeGenString* _stringLiteral2073; Il2CppCodeGenString* _stringLiteral2074; Il2CppCodeGenString* _stringLiteral2075; Il2CppCodeGenString* _stringLiteral2076; Il2CppCodeGenString* _stringLiteral2077; Il2CppCodeGenString* _stringLiteral2078; Il2CppCodeGenString* _stringLiteral2079; Il2CppCodeGenString* _stringLiteral2080; Il2CppCodeGenString* _stringLiteral2081; Il2CppCodeGenString* _stringLiteral2082; Il2CppCodeGenString* _stringLiteral2083; Il2CppCodeGenString* _stringLiteral2084; Il2CppCodeGenString* _stringLiteral2085; Il2CppCodeGenString* _stringLiteral2086; Il2CppCodeGenString* _stringLiteral2087; Il2CppCodeGenString* _stringLiteral2088; Il2CppCodeGenString* _stringLiteral2089; Il2CppCodeGenString* _stringLiteral2090; Il2CppCodeGenString* _stringLiteral2091; Il2CppCodeGenString* _stringLiteral2092; Il2CppCodeGenString* _stringLiteral2093; Il2CppCodeGenString* _stringLiteral2094; Il2CppCodeGenString* _stringLiteral2095; Il2CppCodeGenString* _stringLiteral2096; Il2CppCodeGenString* _stringLiteral2097; Il2CppCodeGenString* _stringLiteral2098; Il2CppCodeGenString* _stringLiteral2099; Il2CppCodeGenString* _stringLiteral2100; Il2CppCodeGenString* _stringLiteral2101; Il2CppCodeGenString* _stringLiteral2102; Il2CppCodeGenString* _stringLiteral2103; Il2CppCodeGenString* _stringLiteral2104; Il2CppCodeGenString* _stringLiteral2105; Il2CppCodeGenString* _stringLiteral2106; Il2CppCodeGenString* _stringLiteral2107; Il2CppCodeGenString* _stringLiteral2108; Il2CppCodeGenString* _stringLiteral2109; Il2CppCodeGenString* _stringLiteral2110; Il2CppCodeGenString* _stringLiteral2111; Il2CppCodeGenString* _stringLiteral2112; Il2CppCodeGenString* _stringLiteral2113; Il2CppCodeGenString* _stringLiteral2114; Il2CppCodeGenString* _stringLiteral2115; Il2CppCodeGenString* _stringLiteral2116; Il2CppCodeGenString* _stringLiteral2117; Il2CppCodeGenString* _stringLiteral2118; Il2CppCodeGenString* _stringLiteral2119; Il2CppCodeGenString* _stringLiteral2120; Il2CppCodeGenString* _stringLiteral2121; Il2CppCodeGenString* _stringLiteral2122; Il2CppCodeGenString* _stringLiteral2123; Il2CppCodeGenString* _stringLiteral2124; Il2CppCodeGenString* _stringLiteral2125; Il2CppCodeGenString* _stringLiteral2126; Il2CppCodeGenString* _stringLiteral2127; Il2CppCodeGenString* _stringLiteral2128; Il2CppCodeGenString* _stringLiteral2129; Il2CppCodeGenString* _stringLiteral2130; Il2CppCodeGenString* _stringLiteral2131; Il2CppCodeGenString* _stringLiteral2132; Il2CppCodeGenString* _stringLiteral2133; Il2CppCodeGenString* _stringLiteral2134; Il2CppCodeGenString* _stringLiteral2135; Il2CppCodeGenString* _stringLiteral2136; Il2CppCodeGenString* _stringLiteral2137; Il2CppCodeGenString* _stringLiteral2138; Il2CppCodeGenString* _stringLiteral2139; Il2CppCodeGenString* _stringLiteral2140; Il2CppCodeGenString* _stringLiteral2141; Il2CppCodeGenString* _stringLiteral2142; Il2CppCodeGenString* _stringLiteral2143; Il2CppCodeGenString* _stringLiteral2144; Il2CppCodeGenString* _stringLiteral2145; Il2CppCodeGenString* _stringLiteral2146; Il2CppCodeGenString* _stringLiteral2147; Il2CppCodeGenString* _stringLiteral2148; Il2CppCodeGenString* _stringLiteral2149; Il2CppCodeGenString* _stringLiteral2150; Il2CppCodeGenString* _stringLiteral2151; Il2CppCodeGenString* _stringLiteral2152; Il2CppCodeGenString* _stringLiteral2153; Il2CppCodeGenString* _stringLiteral2154; Il2CppCodeGenString* _stringLiteral2155; Il2CppCodeGenString* _stringLiteral2156; Il2CppCodeGenString* _stringLiteral2157; Il2CppCodeGenString* _stringLiteral2158; Il2CppCodeGenString* _stringLiteral2159; Il2CppCodeGenString* _stringLiteral2160; Il2CppCodeGenString* _stringLiteral2161; Il2CppCodeGenString* _stringLiteral2162; Il2CppCodeGenString* _stringLiteral2163; Il2CppCodeGenString* _stringLiteral2164; Il2CppCodeGenString* _stringLiteral2165; Il2CppCodeGenString* _stringLiteral2166; Il2CppCodeGenString* _stringLiteral2167; Il2CppCodeGenString* _stringLiteral2168; Il2CppCodeGenString* _stringLiteral2169; Il2CppCodeGenString* _stringLiteral2170; Il2CppCodeGenString* _stringLiteral2171; Il2CppCodeGenString* _stringLiteral2172; Il2CppCodeGenString* _stringLiteral2173; Il2CppCodeGenString* _stringLiteral2174; Il2CppCodeGenString* _stringLiteral2175; Il2CppCodeGenString* _stringLiteral2176; Il2CppCodeGenString* _stringLiteral2177; Il2CppCodeGenString* _stringLiteral2178; Il2CppCodeGenString* _stringLiteral2179; Il2CppCodeGenString* _stringLiteral2180; Il2CppCodeGenString* _stringLiteral2181; Il2CppCodeGenString* _stringLiteral2182; Il2CppCodeGenString* _stringLiteral2183; Il2CppCodeGenString* _stringLiteral2184; Il2CppCodeGenString* _stringLiteral2185; Il2CppCodeGenString* _stringLiteral2186; Il2CppCodeGenString* _stringLiteral2187; Il2CppCodeGenString* _stringLiteral2188; Il2CppCodeGenString* _stringLiteral2189; Il2CppCodeGenString* _stringLiteral2190; Il2CppCodeGenString* _stringLiteral2191; Il2CppCodeGenString* _stringLiteral2192; Il2CppCodeGenString* _stringLiteral2193; Il2CppCodeGenString* _stringLiteral2194; Il2CppCodeGenString* _stringLiteral2195; Il2CppCodeGenString* _stringLiteral2196; Il2CppCodeGenString* _stringLiteral2197; Il2CppCodeGenString* _stringLiteral2198; Il2CppCodeGenString* _stringLiteral2199; Il2CppCodeGenString* _stringLiteral2200; Il2CppCodeGenString* _stringLiteral2201; Il2CppCodeGenString* _stringLiteral2202; Il2CppCodeGenString* _stringLiteral2203; Il2CppCodeGenString* _stringLiteral2204; Il2CppCodeGenString* _stringLiteral2205; Il2CppCodeGenString* _stringLiteral2206; Il2CppCodeGenString* _stringLiteral2207; Il2CppCodeGenString* _stringLiteral2208; Il2CppCodeGenString* _stringLiteral2209; Il2CppCodeGenString* _stringLiteral2210; Il2CppCodeGenString* _stringLiteral2211; Il2CppCodeGenString* _stringLiteral2212; Il2CppCodeGenString* _stringLiteral2213; Il2CppCodeGenString* _stringLiteral2214; Il2CppCodeGenString* _stringLiteral2215; Il2CppCodeGenString* _stringLiteral2216; Il2CppCodeGenString* _stringLiteral2217; Il2CppCodeGenString* _stringLiteral2218; Il2CppCodeGenString* _stringLiteral2219; Il2CppCodeGenString* _stringLiteral2220; Il2CppCodeGenString* _stringLiteral2221; Il2CppCodeGenString* _stringLiteral2222; Il2CppCodeGenString* _stringLiteral2223; Il2CppCodeGenString* _stringLiteral2224; Il2CppCodeGenString* _stringLiteral2225; Il2CppCodeGenString* _stringLiteral2226; Il2CppCodeGenString* _stringLiteral2227; Il2CppCodeGenString* _stringLiteral2228; Il2CppCodeGenString* _stringLiteral2229; Il2CppCodeGenString* _stringLiteral2230; Il2CppCodeGenString* _stringLiteral2231; Il2CppCodeGenString* _stringLiteral2232; Il2CppCodeGenString* _stringLiteral2233; Il2CppCodeGenString* _stringLiteral2234; Il2CppCodeGenString* _stringLiteral2235; Il2CppCodeGenString* _stringLiteral2236; Il2CppCodeGenString* _stringLiteral2237; Il2CppCodeGenString* _stringLiteral2238; Il2CppCodeGenString* _stringLiteral2239; Il2CppCodeGenString* _stringLiteral2240; Il2CppCodeGenString* _stringLiteral2241; Il2CppCodeGenString* _stringLiteral2242; Il2CppCodeGenString* _stringLiteral2243; Il2CppCodeGenString* _stringLiteral2244; Il2CppCodeGenString* _stringLiteral2245; Il2CppCodeGenString* _stringLiteral2246; Il2CppCodeGenString* _stringLiteral2247; Il2CppCodeGenString* _stringLiteral2248; Il2CppCodeGenString* _stringLiteral2249; Il2CppCodeGenString* _stringLiteral2250; Il2CppCodeGenString* _stringLiteral2251; Il2CppCodeGenString* _stringLiteral2252; Il2CppCodeGenString* _stringLiteral2253; Il2CppCodeGenString* _stringLiteral2254; Il2CppCodeGenString* _stringLiteral2255; Il2CppCodeGenString* _stringLiteral2256; Il2CppCodeGenString* _stringLiteral2257; Il2CppCodeGenString* _stringLiteral2258; Il2CppCodeGenString* _stringLiteral2259; Il2CppCodeGenString* _stringLiteral2260; Il2CppCodeGenString* _stringLiteral2261; Il2CppCodeGenString* _stringLiteral2262; Il2CppCodeGenString* _stringLiteral2263; Il2CppCodeGenString* _stringLiteral2264; Il2CppCodeGenString* _stringLiteral2265; Il2CppCodeGenString* _stringLiteral2266; Il2CppCodeGenString* _stringLiteral2267; Il2CppCodeGenString* _stringLiteral2268; Il2CppCodeGenString* _stringLiteral2269; Il2CppCodeGenString* _stringLiteral2270; Il2CppCodeGenString* _stringLiteral2271; Il2CppCodeGenString* _stringLiteral2272; Il2CppCodeGenString* _stringLiteral2273; Il2CppCodeGenString* _stringLiteral2274; Il2CppCodeGenString* _stringLiteral2275; Il2CppCodeGenString* _stringLiteral2276; Il2CppCodeGenString* _stringLiteral2277; Il2CppCodeGenString* _stringLiteral2278; Il2CppCodeGenString* _stringLiteral2279; Il2CppCodeGenString* _stringLiteral2280; Il2CppCodeGenString* _stringLiteral2281; Il2CppCodeGenString* _stringLiteral2282; Il2CppCodeGenString* _stringLiteral2283; Il2CppCodeGenString* _stringLiteral2284; Il2CppCodeGenString* _stringLiteral2285; Il2CppCodeGenString* _stringLiteral2286; Il2CppCodeGenString* _stringLiteral2287; Il2CppCodeGenString* _stringLiteral2288; Il2CppCodeGenString* _stringLiteral2289; Il2CppCodeGenString* _stringLiteral2290; Il2CppCodeGenString* _stringLiteral2291; Il2CppCodeGenString* _stringLiteral2292; Il2CppCodeGenString* _stringLiteral2293; Il2CppCodeGenString* _stringLiteral2294; Il2CppCodeGenString* _stringLiteral2295; Il2CppCodeGenString* _stringLiteral2296; Il2CppCodeGenString* _stringLiteral2297; Il2CppCodeGenString* _stringLiteral2298; Il2CppCodeGenString* _stringLiteral2299; Il2CppCodeGenString* _stringLiteral2300; Il2CppCodeGenString* _stringLiteral2301; Il2CppCodeGenString* _stringLiteral2302; Il2CppCodeGenString* _stringLiteral2303; Il2CppCodeGenString* _stringLiteral2304; Il2CppCodeGenString* _stringLiteral2305; Il2CppCodeGenString* _stringLiteral2306; Il2CppCodeGenString* _stringLiteral2307; Il2CppCodeGenString* _stringLiteral2308; Il2CppCodeGenString* _stringLiteral2309; Il2CppCodeGenString* _stringLiteral2310; Il2CppCodeGenString* _stringLiteral2311; Il2CppCodeGenString* _stringLiteral2312; Il2CppCodeGenString* _stringLiteral2313; Il2CppCodeGenString* _stringLiteral2314; Il2CppCodeGenString* _stringLiteral2315; Il2CppCodeGenString* _stringLiteral2316; Il2CppCodeGenString* _stringLiteral2317; Il2CppCodeGenString* _stringLiteral2318; Il2CppCodeGenString* _stringLiteral2319; Il2CppCodeGenString* _stringLiteral2320; Il2CppCodeGenString* _stringLiteral2321; Il2CppCodeGenString* _stringLiteral2322; Il2CppCodeGenString* _stringLiteral2323; Il2CppCodeGenString* _stringLiteral2324; Il2CppCodeGenString* _stringLiteral2325; Il2CppCodeGenString* _stringLiteral2326; Il2CppCodeGenString* _stringLiteral2327; Il2CppCodeGenString* _stringLiteral2328; Il2CppCodeGenString* _stringLiteral2329; Il2CppCodeGenString* _stringLiteral2330; Il2CppCodeGenString* _stringLiteral2331; Il2CppCodeGenString* _stringLiteral2332; Il2CppCodeGenString* _stringLiteral2333; Il2CppCodeGenString* _stringLiteral2334; Il2CppCodeGenString* _stringLiteral2335; Il2CppCodeGenString* _stringLiteral2336; Il2CppCodeGenString* _stringLiteral2337; Il2CppCodeGenString* _stringLiteral2338; Il2CppCodeGenString* _stringLiteral2339; Il2CppCodeGenString* _stringLiteral2340; Il2CppCodeGenString* _stringLiteral2341; Il2CppCodeGenString* _stringLiteral2342; Il2CppCodeGenString* _stringLiteral2343; Il2CppCodeGenString* _stringLiteral2344; Il2CppCodeGenString* _stringLiteral2345; Il2CppCodeGenString* _stringLiteral2346; Il2CppCodeGenString* _stringLiteral2347; Il2CppCodeGenString* _stringLiteral2348; Il2CppCodeGenString* _stringLiteral2349; Il2CppCodeGenString* _stringLiteral2350; Il2CppCodeGenString* _stringLiteral2351; Il2CppCodeGenString* _stringLiteral2352; Il2CppCodeGenString* _stringLiteral2353; Il2CppCodeGenString* _stringLiteral2354; Il2CppCodeGenString* _stringLiteral2355; Il2CppCodeGenString* _stringLiteral2356; Il2CppCodeGenString* _stringLiteral2357; Il2CppCodeGenString* _stringLiteral2358; Il2CppCodeGenString* _stringLiteral2359; Il2CppCodeGenString* _stringLiteral2360; Il2CppCodeGenString* _stringLiteral2361; Il2CppCodeGenString* _stringLiteral2362; Il2CppCodeGenString* _stringLiteral2363; Il2CppCodeGenString* _stringLiteral2364; Il2CppCodeGenString* _stringLiteral2365; Il2CppCodeGenString* _stringLiteral2366; Il2CppCodeGenString* _stringLiteral2367; Il2CppCodeGenString* _stringLiteral2368; Il2CppCodeGenString* _stringLiteral2369; Il2CppCodeGenString* _stringLiteral2370; Il2CppCodeGenString* _stringLiteral2371; Il2CppCodeGenString* _stringLiteral2372; Il2CppCodeGenString* _stringLiteral2373; Il2CppCodeGenString* _stringLiteral2374; Il2CppCodeGenString* _stringLiteral2375; Il2CppCodeGenString* _stringLiteral2376; Il2CppCodeGenString* _stringLiteral2377; Il2CppCodeGenString* _stringLiteral2378; Il2CppCodeGenString* _stringLiteral2379; Il2CppCodeGenString* _stringLiteral2380; Il2CppCodeGenString* _stringLiteral2381; Il2CppCodeGenString* _stringLiteral2382; Il2CppCodeGenString* _stringLiteral2383; Il2CppCodeGenString* _stringLiteral2384; Il2CppCodeGenString* _stringLiteral2385; Il2CppCodeGenString* _stringLiteral2386; Il2CppCodeGenString* _stringLiteral2387; Il2CppCodeGenString* _stringLiteral2388; Il2CppCodeGenString* _stringLiteral2389; Il2CppCodeGenString* _stringLiteral2390; Il2CppCodeGenString* _stringLiteral2391; Il2CppCodeGenString* _stringLiteral2392; Il2CppCodeGenString* _stringLiteral2393; Il2CppCodeGenString* _stringLiteral2394; Il2CppCodeGenString* _stringLiteral2395; Il2CppCodeGenString* _stringLiteral2396; Il2CppCodeGenString* _stringLiteral2397; Il2CppCodeGenString* _stringLiteral2398; Il2CppCodeGenString* _stringLiteral2399; Il2CppCodeGenString* _stringLiteral2400; Il2CppCodeGenString* _stringLiteral2401; Il2CppCodeGenString* _stringLiteral2402; Il2CppCodeGenString* _stringLiteral2403; Il2CppCodeGenString* _stringLiteral2404; Il2CppCodeGenString* _stringLiteral2405; Il2CppCodeGenString* _stringLiteral2406; Il2CppCodeGenString* _stringLiteral2407; Il2CppCodeGenString* _stringLiteral2408; Il2CppCodeGenString* _stringLiteral2409; Il2CppCodeGenString* _stringLiteral2410; Il2CppCodeGenString* _stringLiteral2411; Il2CppCodeGenString* _stringLiteral2412; Il2CppCodeGenString* _stringLiteral2413; Il2CppCodeGenString* _stringLiteral2414; Il2CppCodeGenString* _stringLiteral2415; Il2CppCodeGenString* _stringLiteral2416; Il2CppCodeGenString* _stringLiteral2417; Il2CppCodeGenString* _stringLiteral2418; Il2CppCodeGenString* _stringLiteral2419; Il2CppCodeGenString* _stringLiteral2420; Il2CppCodeGenString* _stringLiteral2421; Il2CppCodeGenString* _stringLiteral2422; Il2CppCodeGenString* _stringLiteral2423; Il2CppCodeGenString* _stringLiteral2424; Il2CppCodeGenString* _stringLiteral2425; Il2CppCodeGenString* _stringLiteral2426; Il2CppCodeGenString* _stringLiteral2427; Il2CppCodeGenString* _stringLiteral2428; Il2CppCodeGenString* _stringLiteral2429; Il2CppCodeGenString* _stringLiteral2430; Il2CppCodeGenString* _stringLiteral2431; Il2CppCodeGenString* _stringLiteral2432; Il2CppCodeGenString* _stringLiteral2433; Il2CppCodeGenString* _stringLiteral2434; Il2CppCodeGenString* _stringLiteral2435; Il2CppCodeGenString* _stringLiteral2436; Il2CppCodeGenString* _stringLiteral2437; Il2CppCodeGenString* _stringLiteral2438; Il2CppCodeGenString* _stringLiteral2439; Il2CppCodeGenString* _stringLiteral2440; Il2CppCodeGenString* _stringLiteral2441; Il2CppCodeGenString* _stringLiteral2442; Il2CppCodeGenString* _stringLiteral2443; Il2CppCodeGenString* _stringLiteral2444; Il2CppCodeGenString* _stringLiteral2445; Il2CppCodeGenString* _stringLiteral2446; Il2CppCodeGenString* _stringLiteral2447; Il2CppCodeGenString* _stringLiteral2448; Il2CppCodeGenString* _stringLiteral2449; Il2CppCodeGenString* _stringLiteral2450; Il2CppCodeGenString* _stringLiteral2451; Il2CppCodeGenString* _stringLiteral2452; Il2CppCodeGenString* _stringLiteral2453; Il2CppCodeGenString* _stringLiteral2454; Il2CppCodeGenString* _stringLiteral2455; Il2CppCodeGenString* _stringLiteral2456; Il2CppCodeGenString* _stringLiteral2457; Il2CppCodeGenString* _stringLiteral2458; Il2CppCodeGenString* _stringLiteral2459; Il2CppCodeGenString* _stringLiteral2460; Il2CppCodeGenString* _stringLiteral2461; Il2CppCodeGenString* _stringLiteral2462; Il2CppCodeGenString* _stringLiteral2463; Il2CppCodeGenString* _stringLiteral2464; Il2CppCodeGenString* _stringLiteral2465; Il2CppCodeGenString* _stringLiteral2466; Il2CppCodeGenString* _stringLiteral2467; Il2CppCodeGenString* _stringLiteral2468; Il2CppCodeGenString* _stringLiteral2469; Il2CppCodeGenString* _stringLiteral2470; Il2CppCodeGenString* _stringLiteral2471; Il2CppCodeGenString* _stringLiteral2472; Il2CppCodeGenString* _stringLiteral2473; Il2CppCodeGenString* _stringLiteral2474; Il2CppCodeGenString* _stringLiteral2475; Il2CppCodeGenString* _stringLiteral2476; Il2CppCodeGenString* _stringLiteral2477; Il2CppCodeGenString* _stringLiteral2478; Il2CppCodeGenString* _stringLiteral2479; Il2CppCodeGenString* _stringLiteral2480; Il2CppCodeGenString* _stringLiteral2481; Il2CppCodeGenString* _stringLiteral2482; Il2CppCodeGenString* _stringLiteral2483; Il2CppCodeGenString* _stringLiteral2484; Il2CppCodeGenString* _stringLiteral2485; Il2CppCodeGenString* _stringLiteral2486; Il2CppCodeGenString* _stringLiteral2487; Il2CppCodeGenString* _stringLiteral2488; Il2CppCodeGenString* _stringLiteral2489; Il2CppCodeGenString* _stringLiteral2490; Il2CppCodeGenString* _stringLiteral2491; Il2CppCodeGenString* _stringLiteral2492; Il2CppCodeGenString* _stringLiteral2493; Il2CppCodeGenString* _stringLiteral2494; Il2CppCodeGenString* _stringLiteral2495; Il2CppCodeGenString* _stringLiteral2496; Il2CppCodeGenString* _stringLiteral2497; Il2CppCodeGenString* _stringLiteral2498; Il2CppCodeGenString* _stringLiteral2499; Il2CppCodeGenString* _stringLiteral2500; Il2CppCodeGenString* _stringLiteral2501; Il2CppCodeGenString* _stringLiteral2502; Il2CppCodeGenString* _stringLiteral2503; Il2CppCodeGenString* _stringLiteral2504; Il2CppCodeGenString* _stringLiteral2505; Il2CppCodeGenString* _stringLiteral2506; Il2CppCodeGenString* _stringLiteral2507; Il2CppCodeGenString* _stringLiteral2508; Il2CppCodeGenString* _stringLiteral2509; Il2CppCodeGenString* _stringLiteral2510; Il2CppCodeGenString* _stringLiteral2511; Il2CppCodeGenString* _stringLiteral2512; Il2CppCodeGenString* _stringLiteral2513; Il2CppCodeGenString* _stringLiteral2514; Il2CppCodeGenString* _stringLiteral2515; Il2CppCodeGenString* _stringLiteral2516; Il2CppCodeGenString* _stringLiteral2517; Il2CppCodeGenString* _stringLiteral2518; Il2CppCodeGenString* _stringLiteral2519; Il2CppCodeGenString* _stringLiteral2520; Il2CppCodeGenString* _stringLiteral2521; Il2CppCodeGenString* _stringLiteral2522; Il2CppCodeGenString* _stringLiteral2523; Il2CppCodeGenString* _stringLiteral2524; Il2CppCodeGenString* _stringLiteral2525; Il2CppCodeGenString* _stringLiteral2526; Il2CppCodeGenString* _stringLiteral2527; Il2CppCodeGenString* _stringLiteral2528; Il2CppCodeGenString* _stringLiteral2529; Il2CppCodeGenString* _stringLiteral2530; Il2CppCodeGenString* _stringLiteral2531; Il2CppCodeGenString* _stringLiteral2532; Il2CppCodeGenString* _stringLiteral2533; Il2CppCodeGenString* _stringLiteral2534; Il2CppCodeGenString* _stringLiteral2535; Il2CppCodeGenString* _stringLiteral2536; Il2CppCodeGenString* _stringLiteral2537; Il2CppCodeGenString* _stringLiteral2538; Il2CppCodeGenString* _stringLiteral2539; Il2CppCodeGenString* _stringLiteral2540; Il2CppCodeGenString* _stringLiteral2541; Il2CppCodeGenString* _stringLiteral2542; Il2CppCodeGenString* _stringLiteral2543; Il2CppCodeGenString* _stringLiteral2544; Il2CppCodeGenString* _stringLiteral2545; Il2CppCodeGenString* _stringLiteral2546; Il2CppCodeGenString* _stringLiteral2547; Il2CppCodeGenString* _stringLiteral2548; Il2CppCodeGenString* _stringLiteral2549; Il2CppCodeGenString* _stringLiteral2550; Il2CppCodeGenString* _stringLiteral2551; Il2CppCodeGenString* _stringLiteral2552; Il2CppCodeGenString* _stringLiteral2553; Il2CppCodeGenString* _stringLiteral2554; Il2CppCodeGenString* _stringLiteral2555; Il2CppCodeGenString* _stringLiteral2556; Il2CppCodeGenString* _stringLiteral2557; Il2CppCodeGenString* _stringLiteral2558; Il2CppCodeGenString* _stringLiteral2559; Il2CppCodeGenString* _stringLiteral2560; Il2CppCodeGenString* _stringLiteral2561; Il2CppCodeGenString* _stringLiteral2562; Il2CppCodeGenString* _stringLiteral2563; Il2CppCodeGenString* _stringLiteral2564; Il2CppCodeGenString* _stringLiteral2565; Il2CppCodeGenString* _stringLiteral2566; Il2CppCodeGenString* _stringLiteral2567; Il2CppCodeGenString* _stringLiteral2568; Il2CppCodeGenString* _stringLiteral2569; Il2CppCodeGenString* _stringLiteral2570; Il2CppCodeGenString* _stringLiteral2571; Il2CppCodeGenString* _stringLiteral2572; Il2CppCodeGenString* _stringLiteral2573; Il2CppCodeGenString* _stringLiteral2574; Il2CppCodeGenString* _stringLiteral2575; Il2CppCodeGenString* _stringLiteral2576; Il2CppCodeGenString* _stringLiteral2577; Il2CppCodeGenString* _stringLiteral2578; Il2CppCodeGenString* _stringLiteral2579; Il2CppCodeGenString* _stringLiteral2580; Il2CppCodeGenString* _stringLiteral2581; Il2CppCodeGenString* _stringLiteral2582; Il2CppCodeGenString* _stringLiteral2583; Il2CppCodeGenString* _stringLiteral2584; Il2CppCodeGenString* _stringLiteral2585; Il2CppCodeGenString* _stringLiteral2586; Il2CppCodeGenString* _stringLiteral2587; Il2CppCodeGenString* _stringLiteral2588; Il2CppCodeGenString* _stringLiteral2589; Il2CppCodeGenString* _stringLiteral2590; Il2CppCodeGenString* _stringLiteral2591; Il2CppCodeGenString* _stringLiteral2592; Il2CppCodeGenString* _stringLiteral2593; Il2CppCodeGenString* _stringLiteral2594; Il2CppCodeGenString* _stringLiteral2595; Il2CppCodeGenString* _stringLiteral2596; Il2CppCodeGenString* _stringLiteral2597; Il2CppCodeGenString* _stringLiteral2598; Il2CppCodeGenString* _stringLiteral2599; Il2CppCodeGenString* _stringLiteral2600; Il2CppCodeGenString* _stringLiteral2601; Il2CppCodeGenString* _stringLiteral2602; Il2CppCodeGenString* _stringLiteral2603; Il2CppCodeGenString* _stringLiteral2604; Il2CppCodeGenString* _stringLiteral2605; Il2CppCodeGenString* _stringLiteral2606; Il2CppCodeGenString* _stringLiteral2607; Il2CppCodeGenString* _stringLiteral2608; Il2CppCodeGenString* _stringLiteral2609; Il2CppCodeGenString* _stringLiteral2610; Il2CppCodeGenString* _stringLiteral2611; Il2CppCodeGenString* _stringLiteral2612; Il2CppCodeGenString* _stringLiteral2613; Il2CppCodeGenString* _stringLiteral2614; Il2CppCodeGenString* _stringLiteral2615; Il2CppCodeGenString* _stringLiteral2616; Il2CppCodeGenString* _stringLiteral2617; Il2CppCodeGenString* _stringLiteral2618; Il2CppCodeGenString* _stringLiteral2619; Il2CppCodeGenString* _stringLiteral2620; Il2CppCodeGenString* _stringLiteral2621; Il2CppCodeGenString* _stringLiteral2622; Il2CppCodeGenString* _stringLiteral2623; Il2CppCodeGenString* _stringLiteral2624; Il2CppCodeGenString* _stringLiteral2625; Il2CppCodeGenString* _stringLiteral2626; Il2CppCodeGenString* _stringLiteral2627; Il2CppCodeGenString* _stringLiteral2628; Il2CppCodeGenString* _stringLiteral2629; Il2CppCodeGenString* _stringLiteral2630; Il2CppCodeGenString* _stringLiteral2631; Il2CppCodeGenString* _stringLiteral2632; Il2CppCodeGenString* _stringLiteral2633; Il2CppCodeGenString* _stringLiteral2634; Il2CppCodeGenString* _stringLiteral2635; Il2CppCodeGenString* _stringLiteral2636; Il2CppCodeGenString* _stringLiteral2637; Il2CppCodeGenString* _stringLiteral2638; Il2CppCodeGenString* _stringLiteral2639; Il2CppCodeGenString* _stringLiteral2640; Il2CppCodeGenString* _stringLiteral2641; Il2CppCodeGenString* _stringLiteral2642; Il2CppCodeGenString* _stringLiteral2643; Il2CppCodeGenString* _stringLiteral2644; Il2CppCodeGenString* _stringLiteral2645; Il2CppCodeGenString* _stringLiteral2646; Il2CppCodeGenString* _stringLiteral2647; Il2CppCodeGenString* _stringLiteral2648; Il2CppCodeGenString* _stringLiteral2649; Il2CppCodeGenString* _stringLiteral2650; Il2CppCodeGenString* _stringLiteral2651; Il2CppCodeGenString* _stringLiteral2652; Il2CppCodeGenString* _stringLiteral2653; Il2CppCodeGenString* _stringLiteral2654; Il2CppCodeGenString* _stringLiteral2655; Il2CppCodeGenString* _stringLiteral2656; Il2CppCodeGenString* _stringLiteral2657; Il2CppCodeGenString* _stringLiteral2658; Il2CppCodeGenString* _stringLiteral2659; Il2CppCodeGenString* _stringLiteral2660; Il2CppCodeGenString* _stringLiteral2661; Il2CppCodeGenString* _stringLiteral2662; Il2CppCodeGenString* _stringLiteral2663; Il2CppCodeGenString* _stringLiteral2664; Il2CppCodeGenString* _stringLiteral2665; Il2CppCodeGenString* _stringLiteral2666; Il2CppCodeGenString* _stringLiteral2667; Il2CppCodeGenString* _stringLiteral2668; Il2CppCodeGenString* _stringLiteral2669; Il2CppCodeGenString* _stringLiteral2670; Il2CppCodeGenString* _stringLiteral2671; Il2CppCodeGenString* _stringLiteral2672; Il2CppCodeGenString* _stringLiteral2673; Il2CppCodeGenString* _stringLiteral2674; Il2CppCodeGenString* _stringLiteral2675; Il2CppCodeGenString* _stringLiteral2676; Il2CppCodeGenString* _stringLiteral2677; Il2CppCodeGenString* _stringLiteral2678; Il2CppCodeGenString* _stringLiteral2679; Il2CppCodeGenString* _stringLiteral2680; Il2CppCodeGenString* _stringLiteral2681; Il2CppCodeGenString* _stringLiteral2682; Il2CppCodeGenString* _stringLiteral2683; Il2CppCodeGenString* _stringLiteral2684; Il2CppCodeGenString* _stringLiteral2685; Il2CppCodeGenString* _stringLiteral2686; Il2CppCodeGenString* _stringLiteral2687; Il2CppCodeGenString* _stringLiteral2688; Il2CppCodeGenString* _stringLiteral2689;
#pragma once #include "../interfaces/PhysicsEngine.h" #include "BulletDebugDrawer.h" #include "BulletObject.h" #include "../../modules/graphics/DrawModule.h" #include <btBulletCollisionCommon.h> #include <btBulletDynamicsCommon.h> #include <atomic> namespace Game { class Bullet : public PhysicsEngine { public: Bullet(); ~Bullet(); void configure() override; void start() override; void update() override; void stop() override; void destroy() override; PhysicsObject* createObject(Transform transform) override; private: void addObjectToWorld(BulletObject* bulletObject); btDefaultCollisionConfiguration *mCollisionConfiguration; btCollisionDispatcher *mDispatcher; btBroadphaseInterface *mOverlappingPairCache; btSequentialImpulseConstraintSolver *mSolver; btDiscreteDynamicsWorld *mDynamicsWorld; btAlignedObjectArray<btCollisionShape *> mCollisionShapes; btAlignedObjectArray<BulletObject *> mPhysicsQueueVector; std::atomic_bool mRunning; std::atomic_bool mInitialized; BulletDebugDrawer mDebugDrawer; DrawModule* mDrawModule; int processObjectCreationQueue(); btCollisionShape *generateShape(BulletObject *bulletObject); }; }
#ifndef DECK52_HPP #define DECK52_HPP #include "Deck32.hpp" class Deck52: public Deck32{ public : Deck52(); }; #endif
#include "CPContactEvaluator.h" #include "CPBody.h" #include "CPCircle.h" #include "CPRectangle.h" #include "cocos2d.h" // We use Vec2 for physics #include <array> USING_NS_CC; // Contact tests bool CPContactEvaluator::intersects(CPBody * a, CPBody * b) { assert(a && b); // If bit masks are not compatible if ((a->hitMask & b->selfMask) == 0 || (a->selfMask & b->hitMask) == 0) return false; const auto aC = dynamic_cast<CPCircle*>(a); if (aC) // a is circle { const auto bC = dynamic_cast<CPCircle*>(b); if (bC) // b is circle return intersects(aC, bC); // CIRCLE, CIRCLE const auto bR = dynamic_cast<CPRectangle*>(b); if (bR) // b is rectangle return intersects(aC, bR); // CIRCLE, RECTANGLE // b is unknown return false; } const auto aR = dynamic_cast<CPRectangle*>(a); if (aR) // a is rectangle { const auto bC = dynamic_cast<CPCircle*>(b); if (bC) // b is circle return intersects(aR, bC); // RECTANGLE, CIRCLE const auto bR = dynamic_cast<CPRectangle*>(b); if (bR) // b is rectangle return intersects(aR, bR); // RECTANGLE, RECTANGLE // b is unknown return false; } // a is unknown return false; } // CIRCLE, CIRCLE bool CPContactEvaluator::intersects(CPCircle* a, CPCircle* b) { // distance(A, B) <= sum(radius A, radius B) return a->getPosition().getDistance(b->getPosition()) <= a->getRadius() + b->getRadius(); } // RECTANGLE, RECTANGLE bool CPContactEvaluator::intersects(CPRectangle* a, CPRectangle* b) { // First check for the AABB case (Axis Aligned Bounding Box) if (a->getRotation() == 0 && b->getRotation() == 0) { // We could also check for every other angle that gives % 90 == 0, but usually if objects are supposed to be axis aligned, they are not rotated at all (rotation = 0) if (std::abs(a->getPosition().x - b->getPosition().x) > (a->getSize().width + b->getSize().width) / 2) return false; // Too far on X axis if (std::abs(a->getPosition().y - b->getPosition().y) > (a->getSize().height + b->getSize().height) / 2) return false; // Too far on Y axis return true; // Intersecting on both axis } // One or both of the rectangles are rotated, we need a different method // Now get perpendicular vectors of rectangles const auto aVecX = Vec2(a->getSize().width / 2, 0).rotateByAngle(Vec2::ZERO, -CC_DEGREES_TO_RADIANS(a->getRotation())); const auto aVecY = Vec2(0, a->getSize().height / 2).rotateByAngle(Vec2::ZERO, -CC_DEGREES_TO_RADIANS(a->getRotation())); const auto bVecX = Vec2(b->getSize().width / 2, 0).rotateByAngle(Vec2::ZERO, -CC_DEGREES_TO_RADIANS(b->getRotation())); const auto bVecY = Vec2(0, b->getSize().height / 2).rotateByAngle(Vec2::ZERO, -CC_DEGREES_TO_RADIANS(b->getRotation())); // Then for each edge of the first rectangle we test all vertices of the second rectangle to see if they are on the 'other side' of the edge // This implementation is based on SAT (Separation Axis Theorem) std::array<Vec2, 4> aNormals{ aVecX, -aVecX, aVecY, -aVecY }; for (const auto& aNormal : aNormals) { // One point of the second vector const auto secondVBase = a->getPosition() + aNormal; // These are dot products of normal and vectors from one point on a's edge to b's vertices if (aNormal.dot(b->getPosition() + bVecX + bVecY - secondVBase) <= 0) continue; if (aNormal.dot(b->getPosition() + bVecX - bVecY - secondVBase) <= 0) continue; if (aNormal.dot(b->getPosition() - bVecX + bVecY - secondVBase) <= 0) continue; if (aNormal.dot(b->getPosition() - bVecX - bVecY - secondVBase) <= 0) continue; // All vertices are on the other side (dot product > 0) // Definitely not intersecting return false; } // We do the same thing the other way around (now we check bNormals) std::array<Vec2, 4> bNormals{ bVecX, -bVecX, bVecY, -bVecY }; for (const auto& bNormal : bNormals) { // One point of the second vector const auto secondVBase = b->getPosition() + bNormal; // These are dot products of normal and vectors from one point on b's edge to a's vertices if (bNormal.dot(a->getPosition() + bVecX + bVecY - secondVBase) <= 0) continue; if (bNormal.dot(a->getPosition() + bVecX - bVecY - secondVBase) <= 0) continue; if (bNormal.dot(a->getPosition() - bVecX + bVecY - secondVBase) <= 0) continue; if (bNormal.dot(a->getPosition() - bVecX - bVecY - secondVBase) <= 0) continue; // All vertices are on the other side (dot product > 0) // Definitely not intersecting return false; } // For every edge of a there was at least one 'intersection' on the normal of this edge // Same for every edge of b // By SAT this means that a and b intersect return true; } // CIRCLE, RECTANGLE bool CPContactEvaluator::intersects(CPCircle* circle, CPRectangle* rectangle) { // First check for the AABB case (Axis Aligned Bounding Box), imagining a box around circle if (rectangle->getRotation() == 0) { // We could also check for every other angle that gives % 90 == 0, but usually if objects are supposed to be axis aligned, they are not rotated at all (rotation = 0) if (std::abs(circle->getPosition().x - rectangle->getPosition().x) > circle->getRadius() + rectangle->getSize().width / 2) return false; // Too far on X axis if (std::abs(circle->getPosition().y - rectangle->getPosition().y) > circle->getRadius() + rectangle->getSize().height / 2) return false; // Too far on Y axis // return true; // They are intersecting on both axis, but they may not actually be in contact } // Then get perpendicular vectors of rectangle const auto vecX = Vec2(rectangle->getSize().width / 2, 0).rotateByAngle(Vec2::ZERO, -CC_DEGREES_TO_RADIANS(rectangle->getRotation())); const auto vecY = Vec2(0, rectangle->getSize().height / 2).rotateByAngle(Vec2::ZERO, -CC_DEGREES_TO_RADIANS(rectangle->getRotation())); // Now check every vertice of the rectangle on whether it is inside of the circle // We also save special vectors for the vertice that is closest to circle's center to use later float closestD = -1; std::array<Vec2, 3> specialVectors; for (auto i1 : { -1, 1 }) for (auto i2 : { -1, 1 }) { const auto vToCenter = circle->getPosition() - (rectangle->getPosition() + i1 * vecX + i2 * vecY); const auto distance = vToCenter.length(); if (distance <= circle->getRadius()) return true; // Found vertice inside of a circle if (closestD == -1 || closestD > distance) { closestD = distance; specialVectors[0] = vToCenter; specialVectors[1] = i1 * vecX; // one normal specialVectors[2] = i2 * vecY; // other normal } } // Then for each edge of the rectangle we test if the circle is on the 'other side' of the edge std::array<Vec2, 4> normals{ vecX, -vecX, vecY, -vecY }; for (const auto& normal : normals) { // If both are > 0, it means that we found a proof of NOT collision if (normal.dot(circle->getPosition() + normal.getNormalized() * circle->getRadius() - (rectangle->getPosition() + normal)) <= 0) continue; if (normal.dot(circle->getPosition() - normal.getNormalized() * circle->getRadius() - (rectangle->getPosition() + normal)) <= 0) continue; // Definitely not intersecting return false; } // For every edge of a there was at least one 'intersection' on the normal of this edge // Also all vertices of the rectangle are outside of circle // However, there is one more case to test, the one where we can finally use specialVectors if (specialVectors[0].dot(specialVectors[1]) > 0 && specialVectors[0].dot(specialVectors[2]) > 0) return false; // case close to the angle without intersection return true; // intersection on the side of the rectangle } // RECTANGLE, CIRCLE bool CPContactEvaluator::intersects(CPRectangle* rectangle, CPCircle* circle) { return intersects(circle, rectangle); // it's symmetric }
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Pawn.h" #include "AimingCPP.h" #include "TankCPP.generated.h" UCLASS() class CARRIARMATI_API ATankCPP : public APawn { GENERATED_BODY() FORCEINLINE UStaticMeshComponent* GetCannone() { return Cannone; } public: // Sets default values for this pawn's properties ATankCPP(); protected: // Called when the game starts or when spawned virtual void BeginPlay() override; public: // Called every frame virtual void Tick(float DeltaTime) override; // Called to bind functionality to input virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override; void AimAt(FVector HitLocation); UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Object) UAimingCPP* Aiming; protected: UFUNCTION(BlueprintCallable, Category = "Setup") void SetCannone(UStaticMeshComponent* Set); UStaticMeshComponent* Cannone = nullptr; };
#ifndef _TEST_ITEM_H_ #define _TEST_ITEM_H_ #pragma once #include "common.h" #include "scriptOneLine.h" // this is test item class class testCase{ public: // 构造函数 testCase(){ } // 从缓冲区中生成测试命令序列, // only for client // type 0: for server // 1: for client testCase(char *pBuffer,int type){ int totalNum = *(UINT16*)pBuffer; int sliceLen = 0; pBuffer += 2; caseDesc = ""; if (type == PARSER_CLIENT){ serverScriptNum = 0; clientScriptNum = totalNum; } else{ serverScriptNum = totalNum; clientScriptNum = 0; } for (int i = 0; i < totalNum; i ++){ sliceLen = *(UINT16*)(pBuffer); if (type == PARSER_CLIENT){ clientScript[i] = new scriptOneLine(pBuffer); } else{ serverScript[i] = new scriptOneLine(pBuffer); } // move to next test case pBuffer += sliceLen; } } ~testCase(){ int i = 0; for (i = 0; i < clientScriptNum; i ++){ delete clientScript[i]; clientScript[i] = NULL; } for (i = 0; i < serverScriptNum; i++){ delete serverScript[i]; serverScript[i] = NULL; } } char *caseDesc; // 测试例描述 int serverScriptNum; // 服务器测试脚本行数 int clientScriptNum; // 客户端测试脚本行数 scriptOneLine* serverScript[100]; // 测试脚本,最大支持100个语句 scriptOneLine* clientScript[100]; // 测试脚本,最大支持100个语句 }; class testItem{ public: int testId; /* 测试项目id*/ int testcaseNum; // 测试例数量 char *testDesc; // 测试项目描述 testCase* testcase[20]; }; #endif
#include "stdafx.h" #include "Program.h" #include "GameObject\Rect.h" #include "GameObject\BackGround.h" Program::Program() { srand(time(NULL)); bg = new BackGround; bg->Init(); rect = new Rect; rect->Init(); D2D::GetDevice()->SetRenderState( // 라이트 지정 D3DRS_LIGHTING, // 사용 여부 FALSE ); // 알파값 제거 D2D::GetDevice()->SetRenderState(D3DRS_ALPHABLENDENABLE, TRUE); D2D::GetDevice()->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA); D2D::GetDevice()->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_SRCALPHA); vEye = Vector2(0, 0); // 카메라의 위치 } Program::~Program() { rect->Release(); SAFE_DELETE(bg); SAFE_DELETE(rect); } void Program::Update() { bg->Update(); rect->Update(); // 카메라 만드는거 Vector2 vLookAt(0, 0, 1); // 바라보는 좌표값 vLookAt = vEye + Vector2(0, 0, 1); Vector2 vUp(0, 1, 0); matView = Matrix::View(vEye, vLookAt, vUp); matProjection = Matrix::Ortho(0, WINSIZE_X, WINSIZE_Y, 0, 0.0, 1.0f); } void Program::Render() { // 실질적으로 계산하는건 Device로 넘겨주게됨 D2D::GetDevice()->SetTransform(D3DTS_VIEW, &matView.ToDXMatrix()); D2D::GetDevice()->SetTransform(D3DTS_PROJECTION, &matProjection.ToDXMatrix()); bg->Render(); rect->Render(); }
// Created on: 1998-01-14 // Created by: Philippe MANGIN // Copyright (c) 1998-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #ifndef _BRepFill_DraftLaw_HeaderFile #define _BRepFill_DraftLaw_HeaderFile #include <Standard.hxx> #include <BRepFill_Edge3DLaw.hxx> #include <Standard_Real.hxx> class TopoDS_Wire; class GeomFill_LocationDraft; class BRepFill_DraftLaw; DEFINE_STANDARD_HANDLE(BRepFill_DraftLaw, BRepFill_Edge3DLaw) //! Build Location Law, with a Wire. class BRepFill_DraftLaw : public BRepFill_Edge3DLaw { public: Standard_EXPORT BRepFill_DraftLaw(const TopoDS_Wire& Path, const Handle(GeomFill_LocationDraft)& Law); //! To clean the little discontinuities. Standard_EXPORT void CleanLaw (const Standard_Real TolAngular); DEFINE_STANDARD_RTTIEXT(BRepFill_DraftLaw,BRepFill_Edge3DLaw) protected: private: }; #endif // _BRepFill_DraftLaw_HeaderFile
#ifndef __RENDERER_HPP__ #define __RENDERER_HPP__ #ifndef GL_GLEXT_PROTOTYPES #define GL_GLEXT_PROTOTYPES 1 #endif #include "MovingAverage.hpp" #include <GL/freeglut.h> #include <GL/gl.h> #include <GL/glu.h> #include <chrono> using namespace std; using namespace std::chrono; namespace mobo { class Renderer { public: Renderer() : timestamp(time_point<steady_clock>(seconds(0))), emaWindow(0.0), fpsWMA(0.0), fpsEMA(0.0), fpsAVG(30), prog(0) { } virtual ~Renderer(); void didReshape(int w, int h); virtual void init(); virtual void render(); virtual float calculateFrameRate(); protected: time_point<steady_clock> timestamp; float emaWindow; float fpsWMA; float fpsEMA; MovingAverage fpsAVG; GLint prog; GLuint vbo[3]; GLuint tex; GLuint samp; }; } #endif
#include <iostream> #include "calculator.h" int main(){ std::cout << "adding two numbers :" << add(5,3) << std::endl; std::cout << "Subtracting two numbers :" << sub(5,3) << std::endl; std::cout << "Multiplying two numbers :" << multiply(5,3) << std::endl; std::cout << "Dividing two numbers :" << divide(5,3) << std::endl; }
#include "Application.h" #include "Coin.h" #include "ModuleEnemies.h" #include "ModuleCollision.h" #include "ModuleInterface.h" COIN::COIN(int x, int y, int type) :Enemy(x, y, type) { up.PushBack({ 44, 1787, 14, 16 }); up.PushBack({ 64, 1787, 14, 16 }); up.PushBack({ 84, 1787, 12, 16 }); up.PushBack({ 102, 1787, 12, 16 }); up.PushBack({ 121, 1787, 8, 16 }); up.PushBack({ 137, 1787, 8, 16 }); up.PushBack({ 156, 1787, 4, 16 }); up.PushBack({ 172, 1787, 4, 16 }); up.PushBack({ 188, 1787, 8, 16 }); up.PushBack({ 206, 1787, 8, 16 }); up.PushBack({ 225, 1787, 12, 16 }); up.PushBack({ 243, 1787, 12, 16 }); up.PushBack({ 260, 1787, 14, 16}); up.PushBack({ 279, 1787, 14, 16 }); up.PushBack({ 298, 1787, 16, 16 }); up.PushBack({ 319, 1787, 16, 16 }); parabola.PushBack({ 44, 1787, 14, 16 }); parabola.PushBack({ 64, 1787, 14, 16 }); parabola.PushBack({ 84, 1787, 12, 16 }); parabola.PushBack({ 102, 1787, 12, 16 }); parabola.PushBack({ 121, 1787, 8, 16 }); parabola.PushBack({ 137, 1787, 8, 16 }); parabola.PushBack({ 156, 1787, 4, 16 }); parabola.PushBack({ 172, 1787, 4, 16 }); parabola.PushBack({ 188, 1787, 8, 16 }); parabola.PushBack({ 206, 1787, 8, 16 }); parabola.PushBack({ 225, 1787, 12, 16 }); parabola.PushBack({ 243, 1787, 12, 16 }); parabola.PushBack({ 260, 1787, 14, 16 }); parabola.PushBack({ 279, 1787, 14, 16 }); parabola.PushBack({ 298, 1787, 16, 16 }); parabola.PushBack({ 319, 1787, 16, 16 }); down.PushBack({ 44, 1787, 14, 16 }); down.PushBack({ 64, 1787, 14, 16 }); down.PushBack({ 84, 1787, 12, 16 }); down.PushBack({ 102, 1787, 12, 16 }); down.PushBack({ 121, 1787, 8, 16 }); down.PushBack({ 137, 1787, 8, 16 }); down.PushBack({ 156, 1787, 4, 16 }); down.PushBack({ 172, 1787, 4, 16 }); down.PushBack({ 188, 1787, 8, 16 }); down.PushBack({ 206, 1787, 8, 16 }); down.PushBack({ 225, 1787, 12, 16 }); down.PushBack({ 243, 1787, 12, 16 }); down.PushBack({ 260, 1787, 14, 16 }); down.PushBack({ 279, 1787, 14, 16 }); down.PushBack({ 298, 1787, 16, 16 }); down.PushBack({ 319, 1787, 16, 16 }); up.speed = 0.15f; parabola.speed = 0.15f; down.speed = 0.15f; if (type == 1) { movement.PushBack({ 1.f, -0.5f }, 50, &up); movement.PushBack({ 1.f, 0.5f }, 1008, &down); } if (type == 2) { movement.PushBack({ -1.5f, -0 }, 50, &up); movement.PushBack({ 1.f, -0.5f }, 70, &up); movement.PushBack({ 1.f, 0.5f }, 1008, &down); } animation = &up; collider = App->collision->AddCollider({ 0, 0, 30, 30 }, COLLIDER_TYPE::COLLIDER_COIN, (Module*)App->enemies); originalposition.y = y; originalposition.x = x; } void COIN::Move() { if (App->inter->enemies_movement) { iPoint path_pos = movement.GetCurrentPosition(&animation); position.x = float(originalposition.x + path_pos.x); position.y = float(originalposition.y + path_pos.y); } }
#include<graphics.h> #include<constream.h> void main(){ int driver=DETECT,mode; clrscr(); initgraph(&driver,&mode,"\\tc\\bgi"); //rectangle(left,top,right,bottom); setcolor(4); rectangle(300,300,100,100); rectangle(200,250,400,50); line(200,50,100,100); line(300,100,400,50); line(200,250,100,300); line(400,250,300,300); getch(); }//end of method
#pragma once #include "../mathlib.h" #include <map> #include <vector> #include "PreDefine.h" using namespace std; using namespace HW; struct as_Light{ Vector3 ColorAmbient; Vector3 ColorDiffuse; Vector3 ColorSpecular; Vector3 direction; Vector3 position; Vector3 attenuation; float MaxDistance; int type; }; struct as_Mesh{ string name; as_Geometry* geometry; as_Material* material; Geometry* renderable = NULL;//暂时使用 int materialID;//relevent id to the model file,should not use }; struct as_Material{ string name; Vector3 diffuse; Vector3 ambient; Vector3 specular; Vector3 emissive; Vector3 transparent; float opacity = 1; float shininess = 0; map<string, as_Texture*> textures; }; #define MaxBonePerVertex 4 #define MaxBoneIndices 65535 struct as_Geometry{ public: string name; int mNumVertices; int mNumFaces; int mNumBones; int has_skeleton = 0; vector<float> position; vector<float> normal; vector<float> texcoord; vector<float> tangent; vector<float> bitangent; vector<unsigned int> indices; vector<int> boneID; vector<float> boneWeight; vector<float> att_debug; as_Skeleton* mSkeleton; }; struct as_Bone{ string name; Matrix4 offsetMatrix;//bindPose下root space 转换到 bone space Matrix4 mTramsformMatrix;//每一帧计算动画时,临时存放transform矩阵 int id; as_Bone* parent; vector<as_Bone*> children; as_Bone(void){} as_Bone(string _name, Matrix4 _offsetMatrix, Matrix4 _mTramsformMatrix, int _id, as_Bone* _parent){ name = _name; offsetMatrix = _offsetMatrix; mTramsformMatrix = _mTramsformMatrix; id = _id; parent = _parent; } }; struct as_Skeleton{ string name; as_Bone* root; vector<as_Bone*> bones; int num_bones; map<string, as_Bone*> bone_map; }; struct vectorKey { float time; Vector3 value; }; struct quaterionKey{ float time; Quaternion quat;//quaterion }; struct as_NodeAnimation { string name;//the bone name; int numPositionkeys; int numRotatekeys; int numScalekeys; vector<vectorKey> positionKeys; vector<quaterionKey> rotateKeys; vector<vectorKey> scaleKeys; }; //only skeleton animation now struct as_SkeletonAnimation{ string name; float duration; float tickPerSecond; int numChannels; vector<as_NodeAnimation*> channels; }; struct as_Texture{ string name; string path; as_Texture(string _name){ this->name = _name; } };
#pragma once #include "aeGraphicsResource.h" namespace aeEngineSDK { enum struct AE_GRAPHICS_EXPORT AE_TEXTURE_TYPE { AE_TEXTURE_TYPE_NONE, AE_TEXTURE_TYPE_DIFFUSE, AE_TEXTURE_TYPE_SPECULAR, AE_TEXTURE_TYPE_AMBIENT, AE_TEXTURE_TYPE_EMISSIVE, AE_TEXTURE_TYPE_HEIGHT, AE_TEXTURE_TYPE_NORMALS, AE_TEXTURE_TYPE_SHININESS, AE_TEXTURE_TYPE_OPACITY, AE_TEXTURE_TYPE_DISPLACEMENT, AE_TEXTURE_TYPE_LIGHTMAP, AE_TEXTURE_TYPE_REFLECTION, AE_TEXTURE_TYPE_UNKNOWN }; class AE_GRAPHICS_EXPORT aeTexture2D : public aeGraphicsResource { private: aeTexture2D(); friend class aeGraphicsAPI; friend class aeRenderer; TEXTURE2D_DATA* m_pData; String m_pszName; AE_TEXTURE_TYPE m_xType; public: aeTexture2D(const aeTexture2D& T); ~aeTexture2D(); void Release(); void SetType(AE_TEXTURE_TYPE Type); String GetName() const; AE_TEXTURE_TYPE GetType(); }; }
/* -*- Mode: c++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- ** ** Copyright (C) 2005-2206 Opera Software AS. All rights reserved. ** ** This file is part of the Opera web browser. It may not be distributed ** under any circumstances. ** */ #ifndef SVG_AVERAGER_H #define SVG_AVERAGER_H #ifdef SVG_SUPPORT class SVGAverager { private: unsigned int* m_samples; unsigned int m_size; unsigned int m_count; unsigned int m_next_idx; public: SVGAverager() : m_samples(NULL), m_size(0), m_count(0), m_next_idx(0) {} ~SVGAverager() { OP_DELETEA(m_samples); } OP_STATUS Create(unsigned int sample_size) { m_size = sample_size; m_samples = OP_NEWA(unsigned int, m_size); if (!m_samples) return OpStatus::ERR_NO_MEMORY; return OpStatus::OK; } void AddSample(unsigned int sample) { if (m_size == 0) return; OP_ASSERT(sample > 0 && sample <= INT_MAX); m_samples[m_next_idx] = sample; m_next_idx = (m_next_idx + 1) % m_size; if (m_count < m_size) m_count++; } unsigned int GetAverage() const { if (m_size == 0 || m_count == 0) return 0; unsigned int sum = 0; for (unsigned int i=0; i < m_count; i++) { sum += m_samples[i]; } return sum / m_count; } unsigned int GetMedian() const { OP_ASSERT(m_count < 30); // Need a better algorithm for this // size of the problem if (m_size == 0 || m_count == 0) return 0; unsigned int* selection_array = OP_NEWA(unsigned int, m_count); if (!selection_array) { return 0; } op_memcpy(selection_array, m_samples, m_count*sizeof(*selection_array)); // This is nonlinear but simpler than most linear // algorithms. Basically a selection sort that only runs // halfway. unsigned int median_index = (m_count - 1) / 2; for (unsigned int i = 0; i <= median_index; i++) { unsigned int min_index = i; unsigned int min_value = selection_array[i]; for (unsigned int j = i+1; j < m_count; j++) { if (selection_array[j] < min_value) { min_index = j; min_value = selection_array[j]; } } selection_array[min_index] = selection_array[i]; selection_array[i] = min_value; } unsigned int median = selection_array[median_index]; OP_DELETEA(selection_array); return median; } }; #endif // SVG_SUPPORT #endif // SVG_AVERAGER_H
#include <iostream> #include <fstream> using namespace std; struct articulo{ string codea; int nivelmin; int nivelact; string proveedor; float precio; }; struct alumno{ string identificacion; string nombre; int nota; }; bool validar_codigo(int tipo, string codigo, string nombreArchivos); void agregar_alumno(){ Estudiantes: ofstream archivo; string nombreArchivo; fflush(stdin); system("cls"); cout<<"Indique nombre de archivo: "; getline(cin,nombreArchivo); archivo.open(nombreArchivo.c_str(),ios::app); if(archivo.fail()){ archivo.close(); cout<<"No se pudo abrir el archivo"; exit(1); } system("CLS"); archivo.close(); int nota; string identificacion, nombre; /*Ingreso de datos*/ cout<<"Ingrese identificacion del alumno: "<<endl; cin>>identificacion; //bool respuesta = validar_codigo(1, identificacion, nombreArchivo); /*if(respuesta == true){ system("cls"); cout<<"El codigo de alumno ingresado ya existe, intente de nuevo."<<endl; system("Pause"); goto Estudiantes; }*/ fflush(stdin); cout<<"Ingrese Nombre del Alumno: "<<endl; getline(cin,nombre,'\n'); cout<<"Ingrese Nota: "<<endl; cin>>nota; archivo.open(nombreArchivo.c_str(),ios::app); if(archivo.fail()){ archivo.close(); cout<<"No se pudo abrir el archivo"; exit(1); } system("CLS"); archivo<<identificacion<<"\t"<<nombre<<"\t"<<nota<<endl; archivo.close(); cout<<"Registro agregado exitosamente."<<endl; } void agregar_producto(){ Articulos: ofstream archivo; string nombreArchivo; fflush(stdin); system("cls"); cout<<"Indique nombre de archivo: "; getline(cin,nombreArchivo); archivo.open(nombreArchivo.c_str(),ios::app); if(archivo.fail()){ cout<<"No se pudo abrir el archivo"; archivo.close(); exit(1); } system("CLS"); archivo.close(); float precio; string proveedor, codea; int nivelmin, nivelact; /*Ingreso de datos*/ cout<<"Ingrese Codigo del Articulo: "<<endl; cin>>codea; //bool respuesta = validar_codigo(2, codea, nombreArchivo); /*if(respuesta == true){ system("cls"); cout<<"El codigo ingresado ya existe, intente de nuevo."<<endl; system("Pause"); goto Articulos; }*/ fflush(stdin); cout<<"Ingrese Nombre del Proveedor: "<<endl; getline(cin,proveedor,'\n'); cout<<"Ingrese Nivel Minimo: "<<endl; cin>>nivelmin; cout<<"Ingrese Nivel Actual: "<<endl; cin>>nivelact; cout<<"Ingrese Precio de Venta del Articulo: "<<endl; cin>>precio; archivo.open(nombreArchivo.c_str(),ios::app); if(archivo.fail()){ cout<<"No se pudo abrir el archivo"; archivo.close(); exit(1); } system("CLS"); archivo<<codea<<"\t"<<proveedor<<"\t"<<nivelmin<<"\t"<<nivelact<<"\t"<<precio<<endl; archivo.close(); cout<<"Registro agregado exitosamente."<<endl; }
#include <iostream> #include <fstream> #include <vector> #include <boost/random.hpp> #include <cppmc/cppmc.hpp> using namespace boost; using namespace arma; using namespace CppMC; using std::vector; using std::ofstream; using std::cout; using std::endl; class EstimatedY : public MCMCDeterministic<double,Mat> { private: mat& X_; MCMCStochastic<double,Col>& b_; public: EstimatedY(Mat<double>& X, MCMCStochastic<double,Col>& b): MCMCDeterministic<double,Mat>(X * b()), X_(X), b_(b) {} void getParents(std::vector<MCMCObject*>& parents) const { parents.push_back(&b_); } Mat<double> eval() const { return X_ * b_(); } }; // global rng generators CppMCGeneratorT MCMCObject::generator_; int main() { const int N = 1000; const int NC = 2; mat X = randn<mat>(N,NC); mat y = randn<mat>(N,1); // make X col 0 const for(int i = 0; i < N; i++) { X(i,0) = 1; } vec coefs; solve(coefs, X, y); Normal<Col> B(0.0, 1.0, randn<vec>(NC)); EstimatedY obs_fcst(X, B); Uniform<Mat> tauY(0, 100, vec(1)); tauY[0] = 1.0; NormalLikelihood<Mat> likelihood(y, obs_fcst, tauY); int iterations = 1e5; likelihood.sample(iterations, 1e2, 4); const vector<vec>& coefs_hist(B.getHistory()); mat avg_coefs(2,1); avg_coefs.fill(0); ofstream outfile; outfile.open ("coefs.csv"); for(uint i = 0; i < coefs_hist.size(); i++) { outfile << coefs_hist[i][0] << "," << coefs_hist[i][1] << endl; } cout << "iterations: " << iterations << endl; cout << "collected " << coefs_hist.size() << " samples." << endl; cout << "lm coefs" << endl << coefs << endl; cout << "avg_coefs" << endl << avg_coefs << endl; return 1; }
#include <iostream> #include <Console.hpp> #include <widgets/Window.hpp> #include <widgets/Text.hpp> #include <widgets/Button.hpp> #include <widgets/Scale.hpp> class Demos{ private: Blame::Console *console; Blame::Widgets::Window *window; Blame::Widgets::Text *text, *scale_text; Blame::Widgets::Button *button; Blame::Widgets::Scale *scale; public: Demos(){ console = new Blame::Console(); console->setTitle("Hello, World!"); window = new Blame::Widgets::Window(console, "Hello World"); window->place(5, 5, 22, 18); text = new Blame::Widgets::Text(console, window); text->pack(Blame::Util::Direction::DOWN); button = new Blame::Widgets::Button(console, window, "Click Me", nullptr); button->command = [=]() {button->text = "Clicked!";}; button->pack(Blame::Util::Direction::DOWN); scale = new Blame::Widgets::Scale(console, window, Blame::Util::Orientation::HORIZONTAL, nullptr); scale->pack(Blame::Util::Direction::DOWN); scale->min = -1; scale->max = 1; scale_text = new Blame::Widgets::Text(console, window); scale_text->pack(Blame::Util::Direction::DOWN); scale_text->width = 8; scale_text->height = 3; scale_text->state = Blame::Util::State::DISABLED; scale->command = [=](){ scale_text->content.push_back(std::to_string(scale->current)); }; console->mainLoop(); } ~Demos(){ delete console; delete window; delete text; delete button; delete scale; delete scale_text; } }; int main() { Demos demos; return 0; }
#ifndef _CONTROLLER_H_ #define _CONTROLLER_H_ #include <SDL.h> #include "modellist.h" #include "view.h" #include "spriteaiengine.h" class Controller { public: Controller(ModelList& modellist, View& view); ~Controller(); void updateView(SDL_Surface *screen); private: ModelList modellist; View view; SpriteAIengine *_aiengine; }; #endif
#include <iostream> #include <cstdio> #include <algorithm> #include <vector> #include <functional> #include <queue> #include <string> #include <cstring> #include <numeric> #include <cstdlib> #include <cmath> #include <iomanip> using namespace std; typedef long long ll; #define INF 10e10 #define rep(i,n) for(int i=0; i<n; i++) #define rep_r(i,n,m) for(int i=m; i<n; i++) #define END cout << endl #define MOD 1000000007 #define pb push_back // 昇順sort #define sorti(x) sort(x.begin(), x.end()) // 降順sort #define sortd(x) sort(x.begin(), x.end(), std::greater<int>()) void solve(double x) { if (x == 0) { cout << "Y " << 0.0 << " " << 0.0 << endl; return; } if (x < 4) { cout<< "N" << endl; return; } double D = sqrt(x * ll(x - 4)); double a = (x + D) / 2.0; double b = (x - D) / 2.0; cout << "Y " << a << " " << b << endl; } int main() { cout << fixed << setprecision(9); int tc = 0; cin >> tc; ll x; rep(i,tc) { cin >> x; solve(x); } }
/** * Project: ows-qt-console * File name: edit_job_dialog.h * Description: this header describes the job editing dialog window * * @author Mathieu Grzybek on 2012-06-19 * @copyright 20?? Mathieu Grzybek. All rights reserved. * @version $Id: code-gpl-license.txt,v 1.2 2004/05/04 13:19:30 garry Exp $ * * @see The GNU Public License (GPL) version 3 or higher * * * ows-qt-console 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, write to the Free Software Foundation, Inc., * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef EDIT_JOB_DIALOG_H #define EDIT_JOB_DIALOG_H #include <QTreeWidgetItem> #include <QStandardItemModel> #include <QDateTime> #include <QDialog> #include <QDebug> #include "rpc_client.h" namespace Ui { class Edit_Job_Dialog; } class Edit_Job_Dialog : public QDialog { Q_OBJECT public: explicit Edit_Job_Dialog(QStandardItemModel* jobs, QStandardItemModel* nodes, rpc::t_job* j, const char* domain_name, QWidget* parent = 0); ~Edit_Job_Dialog(); protected: void changeEvent(QEvent* e); private slots: void on_Name_Edit_textChanged(const QString &arg1); void on_Cmd_Line_Edit_textChanged(const QString &arg1); void on_Node_List_clicked(const QModelIndex &index); void on_Time_Window_Radio_clicked(); void on_At_Radio_clicked(); void on_None_Radio_clicked(); void on_Control_Buttons_accepted(); private: Ui::Edit_Job_Dialog* ui; bool edit_mode; rpc::t_job* job; QStandardItemModel* jobs_model; QStandardItemModel* nodes_model; void activate_control_buttons(); void fill_in_job_data(); }; #endif // EDIT_JOB_DIALOG_H
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SERVICES_REAPER_REAPER_IMPL_H_ #define SERVICES_REAPER_REAPER_IMPL_H_ #include <map> #include <set> #include "base/macros.h" #include "mojo/common/binding_set.h" #include "mojo/public/cpp/application/application_delegate.h" #include "mojo/public/cpp/application/interface_factory.h" #include "mojo/public/cpp/bindings/array.h" #include "mojo/public/cpp/bindings/callback.h" #include "services/reaper/diagnostics.mojom.h" #include "services/reaper/reaper.mojom.h" #include "services/reaper/scythe.mojom.h" #include "url/gurl.h" namespace mojo { class ApplicationConnection; } // namespace mojo namespace reaper { class ReaperImpl : public Diagnostics, public mojo::ApplicationDelegate, public mojo::InterfaceFactory<Reaper>, public mojo::InterfaceFactory<Diagnostics> { public: typedef uint64 AppSecret; ReaperImpl(); ~ReaperImpl() override; void GetApplicationSecret(const GURL& caller_app, const mojo::Callback<void(AppSecret)>&); void CreateReference(const GURL& caller_app, uint32 source_node_id, uint32 target_node_id); void DropNode(const GURL& caller_app, uint32 node); void StartTransfer(const GURL& caller_app, uint32 node, mojo::InterfaceRequest<Transfer> request); void CompleteTransfer(uint32 source_node_id, uint64 dest_app_secret, uint32 dest_node_id); private: struct InternedURL; struct NodeLocator; struct NodeInfo; InternedURL InternURL(const GURL& app_url); NodeInfo* GetNode(const NodeLocator& locator); bool MoveNode(const NodeLocator& source, const NodeLocator& dest); void Mark(InternedURL app_url, std::set<InternedURL>* marked); void Collect(); // mojo::ApplicationDelegate bool ConfigureIncomingConnection( mojo::ApplicationConnection* connection) override; // mojo::InterfaceFactory<Reaper> void Create(mojo::ApplicationConnection* connection, mojo::InterfaceRequest<Reaper> request) override; // mojo::InterfaceFactory<Diagnostics> void Create(mojo::ApplicationConnection* connection, mojo::InterfaceRequest<Diagnostics> request) override; // Diagnostics void DumpNodes( const mojo::Callback<void(mojo::Array<NodePtr>)>& callback) override; void Reset() override; void GetReaperForApp(const mojo::String& url, mojo::InterfaceRequest<Reaper> request) override; void Ping(const mojo::Closure& callback) override; void SetIsRoot(const mojo::String& url, bool is_root) override; void SetScythe(ScythePtr scythe) override; GURL reaper_url_; // There will be a lot of nodes in a running system, so we intern app urls. std::map<GURL, GURL*> interned_urls_; // These are the ids assigned to nodes while they are being transferred. uint32 next_transfer_id_; std::map<InternedURL, AppSecret> app_url_to_secret_; std::map<AppSecret, InternedURL> app_secret_to_url_; // TODO(aa): The values in at least the first-level map should probably be // heap-allocated. typedef std::map<uint32, NodeInfo> NodeMap; typedef std::map<InternedURL, NodeMap> AppMap; AppMap nodes_; mojo::BindingSet<Diagnostics> diagnostics_bindings_; std::set<InternedURL> roots_; ScythePtr scythe_; DISALLOW_COPY_AND_ASSIGN(ReaperImpl); }; #endif // SERVICES_REAPER_REAPER_IMPL_H_ } // namespace reaper
/** * @file messagedecodertest.cpp * * @brief File contains an example message decoder. Essentially, this outlines what a new * decoder will have to look like. This implements the necessary overrides * for a full implementation. ExampleDecoder allows access to the internal * file system from a message, and then prints the result to serial. * * @version 0.1 * @date 2021-07-30 * * @copyright Copyright (c) 2021 * */ #include "messagedecodertest.h" #include "messagesystem.h" #include "storage.h" #include "utils.h" #include "respondersystem.h" using namespace Utils::LEDSerial; const char * ExampleDecoder::get_key() { return this->msgKey; } /** * @brief Allows the user to inquire about the data currently stored on the spiffs filesystem * * @param doc * @return true * @return false */ bool ExampleDecoder::decode(JsonDocument * doc) { initializeSerial(); print("Received New Data\n"); print(doc->data().asString()); Filesystem::launch(); const char * filename = (*doc)["file"]; bool save = (*doc)["save"]; bool format = (*doc)["format"]; bool deletefile = (*doc)["delete"]; bool help = (*doc)["help"]; bool encrypt = (*doc)["encrypt"]; bool decrypt = (*doc)["decrypt"]; bool kill = (*doc)["kill"]; bool enable = (*doc)["enable"]; bool disable = (*doc)["disable"]; bool sayhi = (*doc)["hello"]; if(enable){ Respond::enableAllResponders(); return true; } if(disable){ Respond::disableAllResponders(); return true; } if(sayhi){ Respond::sendDataUntilByte("The Responder says hello!", '\0'); return true; } if(kill){ print("Killing message system\n"); MessageSystem::killMessageSystem(); print("Killed\n"); // Not sure if we will reach this line or not return true; } if(help){ print("Welcome to the example decoder.\n"); print("To delete, set the \"delete\" flag\n"); print("To save, set the \"save\" flag\n"); print("To format, set the \"format\" flag\n"); return true; } if(save){ char * datum = (char *)(const char *)(*doc)["data"]; Filesystem::store_data(filename, datum); print("Saved new file as: "); print_char_until(filename, '\0', 100); print("\n"); return true; } if(format){ print("Formatting filesystem...\n"); Filesystem::format_filesystem(); print("Finished Formatting\n"); return true; } if(deletefile){ Filesystem::delete_file(filename); print("Finished deleting "); print_char_until(filename, '\0', 100); print("\n"); return true; } if(encrypt){ print("Saving encrypted data...\n"); char * datum = (char *)(const char *)(*doc)["data"]; Filesystem::store_encrypted_block(filename, datum, nullptr); print("Finished encrypted data save\n"); return true; } print_char_until(filename, '\0', 10); print("\n"); if(!Filesystem::file_exists(filename)){ print("File does not exist\n"); return true; }/** * @brief * * @param filename * @param datum * @param key * @return true * @return false */ if(decrypt){ char * data = Filesystem::get_encrypted_block(filename, nullptr); print_char_until(data, '\0', MAX_MESSAGE_LENGTH); delete[] data; } char * data = Filesystem::get_data(filename); print_char_until(data, '\0', MAX_MESSAGE_LENGTH); delete[] data; return true; } const char ExampleDecoder::msgKey[] = "example";
#pragma once #include <SFML/Graphics.hpp> #include <string> using namespace std; using namespace sf; class ball { public: ball(); ~ball(); ball(int pos_x, int pos_y, float _radius, Color _color); ball(int pos_x, int pos_y, float _radius); void setColor(Color _color); void setSize(float _radius); void setPosition(int pos_x, int pos_y); void move(int pos_x, int pos_y); void move(); Color getColor() const; CircleShape circleBall; int x, y; int radius; const int defaultSpeedX = 5, defaultSpeedY = 4; const int defaultX = 30, defaultY = 250; int speed = 20; int currentSpeedX = defaultSpeedX, currentSpeedY = defaultSpeedY; private: Color color; };
#pragma once namespace cvfn { public ref class MouseEvtArgs : public System::EventArgs { public: int Evt; int X; int Y; MouseEvtArgs( int evt, int x, int y) : Evt(evt), X(x), Y(y) {} virtual ~MouseEvtArgs(void) {} }; }
#ifndef _SCROLL_INTERFACE_H_ #define _SCROLL_INTERFACE_H_ class Scroll; class ScrollInterfaceMagicMissile; class ScrollInterface { public: ScrollInterface(); ~ScrollInterface(); virtual void accept(ScrollInterfaceMagicMissile *) = 0; }; #endif
#include <iostream> #include <cstring> #include "carddeck.h" #include "cardgame.h" #include "gameFunctions.h" #ifndef _USER_ROLES_H #define _USER_ROLES_H using namespace std; int menu(int DECKSIZE); int displayCards(); #endif
#pragma once #include "DRAW.h" using namespace std; /*string sticker[4] = { " ** ", "******", " **", "** **", };*/ //hàm vẽ bảng điểm string sticker[4] = { " __", " / ~'-*", " *--|_| --'", "(_)...(_)", }; string stickerleft[4] = { " __", "*-'~ \\", "'-- |_|--*", " (_)...(_)", }; void Draw_Board_Score() { SetColor(4); gotoXY(132, 6); cout << "SCORE"; SetColor(8); gotoXY(120, 7); cout << "______________________________"; gotoXY(120, 16); cout << "______________________________"; for (int y = 8; y <= 16; y++) { gotoXY(119, y); cout << "|"; gotoXY(150, y); cout << "|"; } } // vẽ khung void DrawBoard(int x, int y, int width, int height) { SetColor(8); gotoXY(x, y); cout << "_"; for (int i = 1; i < width; i++)cout << "_"; { Sleep(5); cout << "_"; } gotoXY(x, height + y); cout << "|"; for (int i = 1; i < width; i++)cout << "_"; {Sleep(5); cout << "|"; } for (int i = y + 1; i < height + y; i++) { Sleep(5); gotoXY(x, i); cout << "|"; gotoXY(x + width, i); cout << "|"; } int bienx = 8; while (bienx < 30) { gotoXY(6, bienx); Sleep(100); cout << "____________________________________________________________________________________________________"; bienx += 5; } gotoXY(0, 0); } // vẽ người void DrawSticker(int& x, int y) { SetColor(10); for (int i = 0; i < 4; i++) { gotoXY(x, y); for (int j = 0; j < sticker[i].size(); j++) cout << sticker[i][j]; cout << endl; y++; } } void DrawStickerLeft(int& x, int y) { SetColor(10); for (int i = 0; i < 4; i++) { gotoXY(x, y); for (int j = 0; j < stickerleft[i].size(); j++) cout << stickerleft[i][j]; cout << endl; y++; } } //xóa người void EraseSticker(int x, int y) { for (int i = 0; i < 4; i++) { gotoXY(x, y); for (int j = 0; j < 11; j++) cout << " "; cout << endl; y++; } }
#include<iostream> #include<cstdio> #include<map> #include<set> #include<vector> #include<stack> #include<queue> #include<string> #include<cstring> #include<sstream> #include<algorithm> #include<cmath> #define INF 0x3f3f3f3f #define eps 1e-8 #define pi acos(-1.0) using namespace std; typedef long long LL; struct Edge{ int to,next,dis; }; Edge edge[20010]; int head[10010],cnt; int sum[10010],f[10010][20]; void build(int from,int to,int dis) { edge[++cnt].to = to;edge[cnt].dis = dis;edge[cnt].next = head[from];head[from] = cnt; } int dfs(int s,int k,int fa) { for (int i = head[s];i ;i = edge[i].next) { int t = edge[i].to,dis = edge[i].dis; if (t == fa) continue; dfs(t,k,s); for (int j = k;j >= 0; j--) { f[s][j] += f[t][0] + dis*2; for (int x = 1;x <= j; x++) f[s][j] = min(f[s][j],f[s][j-x] + f[t][x] + x*dis); } } //for (int i = 1;i <= k; i++) cout << f[s][k] << " ";cout << endl; return f[s][k]; } int main() { int n,s,k; while (scanf("%d%d%d",&n,&s,&k) != EOF) { memset(f,0,sizeof(f)); memset(head,0,sizeof(head)); memset(sum,0,sizeof(sum)); cnt = 0; int from,to,dis; for (int i = 1;i < n; i++) { scanf("%d%d%d",&from,&to,&dis); build(from,to,dis); build(to,from,dis); } printf("%d\n",dfs(s,k,0)); } return 0; }
// // Created by ssi on 03.04.15. // #ifndef _TEMPLATESTACK_STACK_H_ #define _TEMPLATESTACK_STACK_H_ #include <glob.h> template< class T > class Stack { private: T *a; size_t count; public: Stack(const int &_a); Stack(); Stack(const Stack< T > &stack); ~Stack(); void push(const T &_a); T pop(); void incTop(); void decTop(); size_t getCount(); T &getTop(); Stack< T > &operator=(Stack< T > &); }; #include "Stack.cpp" #endif //_TEMPLATESTACK_STACK_H_
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmWIXFeaturesSourceWriter.h" cmWIXFeaturesSourceWriter::cmWIXFeaturesSourceWriter( cmCPackLog* logger, std::string const& filename, GuidType componentGuidType) : cmWIXSourceWriter(logger, filename, componentGuidType) { } void cmWIXFeaturesSourceWriter::CreateCMakePackageRegistryEntry( std::string const& package, std::string const& upgradeGuid) { BeginElement("Component"); AddAttribute("Id", "CM_PACKAGE_REGISTRY"); AddAttribute("Directory", "TARGETDIR"); AddAttribute("Guid", CreateGuidFromComponentId("CM_PACKAGE_REGISTRY")); std::string registryKey = std::string("Software\\Kitware\\CMake\\Packages\\") + package; BeginElement("RegistryValue"); AddAttribute("Root", "HKLM"); AddAttribute("Key", registryKey); AddAttribute("Name", upgradeGuid); AddAttribute("Type", "string"); AddAttribute("Value", "[INSTALL_ROOT]"); AddAttribute("KeyPath", "yes"); EndElement("RegistryValue"); EndElement("Component"); } void cmWIXFeaturesSourceWriter::EmitFeatureForComponentGroup( cmCPackComponentGroup const& group, cmWIXPatch& patch) { BeginElement("Feature"); AddAttribute("Id", "CM_G_" + group.Name); if (group.IsExpandedByDefault) { AddAttribute("Display", "expand"); } AddAttributeUnlessEmpty("Title", group.DisplayName); AddAttributeUnlessEmpty("Description", group.Description); patch.ApplyFragment("CM_G_" + group.Name, *this); for (cmCPackComponentGroup* subgroup : group.Subgroups) { EmitFeatureForComponentGroup(*subgroup, patch); } for (cmCPackComponent* component : group.Components) { EmitFeatureForComponent(*component, patch); } EndElement("Feature"); } void cmWIXFeaturesSourceWriter::EmitFeatureForComponent( cmCPackComponent const& component, cmWIXPatch& patch) { BeginElement("Feature"); AddAttribute("Id", "CM_C_" + component.Name); AddAttributeUnlessEmpty("Title", component.DisplayName); AddAttributeUnlessEmpty("Description", component.Description); if (component.IsRequired) { AddAttribute("Absent", "disallow"); } if (component.IsHidden) { AddAttribute("Display", "hidden"); } if (component.IsDisabledByDefault) { AddAttribute("Level", "2"); } patch.ApplyFragment("CM_C_" + component.Name, *this); EndElement("Feature"); } void cmWIXFeaturesSourceWriter::EmitComponentRef(std::string const& id) { BeginElement("ComponentRef"); AddAttribute("Id", id); EndElement("ComponentRef"); }
//--------------------------------------------------------------------------- //通信协议类,负责客户端和服务器端的通信协议,数据包生成,拆分,校验等工作 //By LinYi 2004.02.16 #ifndef accprotocolH #define accprotocolH #include <Windows.hpp> #include <dstring.h> #include "md5.h" #include "cryptclass.h" enum TCmdType {acLOGIN=0,acCREATE_USER,acSAVEPOINT,acCMDBACK,acQUERYCARD}; #pragma pack(push, 1) #define RSA_KEY_BUFFER_LEN 200 #define DATA_ENCRYPT_TYPE 1 //数据加密算法 0=不加密,1=Des,2=Blowfish,3=BaseXorAdd,4=idea #define MAX_USER_ID_LEN 31 //用户id最大长度 #define LOGIN_SUCCEED 0 //登陆成功 #define LOGIN_PASS_ERR 1 //用户名或密码错误 #define LOGIN_OVERTIME 3 //用户使用期限已过 #define LOGIN_QUERY_ERR 2 //查询数据库发生错误 #define LOGIN_WAIT_UPDATE 5 //等待软件更新 typedef struct tagMSGHEAD { WORD DataSize; //封包总大小 WORD PackFlag; //封包校验标志 BYTE Cmd; //命令编号 double RandKey; //随机密钥 char CmdMD5[36]; //命令封包的MD5校验 }MSGHEAD,*PMSGHEAD; typedef struct tagC_LOGIN_PACKET //从客户端来的登陆包 { MSGHEAD PackHead; //封包头 BYTE KeyLen; //数据解密key长度 char CryptKey[RSA_KEY_BUFFER_LEN]; //数据解密key内容 char UserId[MAX_USER_ID_LEN]; //用户Id char UserPass[31]; //用户密码 BYTE ItemType; //游戏编号 DWORD Reserve; //保留 }C_LOGIN_PACKET,*PC_LOGIN_PACKET; typedef struct tagS_LOGIN_PACKET_HEAD //从服务器端返回的登陆包头 { MSGHEAD PackHead; //封包头 BYTE KeyLen; //数据解密key长度 char CryptKey[RSA_KEY_BUFFER_LEN]; //数据解密key内容 BYTE ReturnCode; //返回值 char UserId[MAX_USER_ID_LEN]; //用户Id int LogNum; //登陆次数 double SP; //剩余存储点数或到期时间 WORD ExDataLen; //扩展数据长度 DWORD Reserve1; //保留 DWORD Reserve2; //保留 }S_LOGIN_PACKET_HEAD,*PS_LOGIN_PACKET_HEAD; typedef struct tagC_CREATE_USER_PACKET //从客户端来的建立用户封包 { MSGHEAD PackHead; //封包头 char UserId[MAX_USER_ID_LEN]; //用户Id char UserPass[31]; //用户密码 char EMail[61]; //用户email BYTE ItemType; //类型编号 DWORD Reserve; //保留 }C_CREATE_USER_PACKET,*PC_CREATE_USER_PACKET; typedef struct tagC_SAVE_POINT_PACKET //从客户端来的储值封包 { MSGHEAD PackHead; //封包头 char CardNo[31]; //卡号 char CardPass[31]; //密码 char UserId[MAX_USER_ID_LEN]; //用户名 char UserPass[31]; //用户密码 WORD Cardtype; //卡类型 BYTE ItemType; //类型编号 DWORD Reserve; //保留 char lgUserID[31]; //受赠送卡号 }C_SAVE_POINT_PACKET,*PC_SAVE_POINT_PACKET; typedef struct tagC_QUERY_CARD_PACKET //从客户端发送的查询充值卡的封包 { MSGHEAD PackHead; //封包头 char CardNO[11]; WORD Cardtype; WORD ItemType; DWORD Reserve; }C_QUERY_CARD_PACKET,*PC_QUERY_CARD_PACKET; typedef struct tagS_QUERY_CARD_PACKET //从服务器端发送的查询充值卡的封包 { MSGHEAD PackHead; //封包头 char CardNO[11]; BYTE Remain; //剩余使用次数 double SaveDate; //使用时间 BYTE FullTimes; //总使用次数 char UserId[210]; //充值记录 }S_QUERY_CARD_PACKET,*PS_QUERY_CARD_PACKET; typedef struct tagS_RETURN_PACKET //从服务器端返回的通用包 { MSGHEAD PackHead; int ReturnCode; }S_RETURN_PACKET,*PS_RETURN_PACKET; #pragma pack(pop) #define PACK_FLAG 0x6688 #define MSG_HEAD_SIZE sizeof(MSGHEAD) #define C_LOGIN_PACKET_SIZE sizeof(C_LOGIN_PACKET) #define S_LOGIN_PACKET_HEAD_SIZE sizeof(S_LOGIN_PACKET_HEAD) #define C_CREATE_USER_PACKET_SIZE sizeof(C_CREATE_USER_PACKET) #define C_SAVE_POINT_PACKET_SIZE sizeof(C_SAVE_POINT_PACKET) #define S_RETURN_PACKET_SIZE sizeof(S_RETURN_PACKET) typedef struct tagS_LOGIN_PACKET //从服务器端返回的登陆包 { S_LOGIN_PACKET_HEAD Head; //封包头 String ExData; String ToString() //生产缓冲区 { String DataBuffer; char * pBuf; int DataPos=0; DataBuffer.SetLength(sizeof(Head)+ExData.Length()); pBuf = DataBuffer.c_str(); CopyMemory(&pBuf[DataPos],(char *)&Head,sizeof(Head)); DataPos+=sizeof(Head); if (ExData.Length()>0) { CopyMemory(&pBuf[DataPos],ExData.c_str(),ExData.Length()); DataPos+=ExData.Length(); } return DataBuffer; } }S_LOGIN_PACKET,*PS_LOGIN_PACKET; class CAccBase { private: double LastRandKey; protected: WY_RSA m_Rsa; //rsa加密类 ,保护加密Key WY_CryptBase * m_lpCrypt; //数据加密类 ,保护数据 bool m_IsEncryptPacket; //是否加密封包数据 CMD5Checksum m_MD5; virtual double GetRandKey(); virtual bool IsValidityCmd(BYTE Cmd); //校验命令合法性 virtual int DecryptPacket(char *buf,int len,double RandKey) ; virtual int EncryptPacket(char *buf,int len,double RandKey) ; virtual String MakeKeyByID(String ID)=0; //虚拟函数,客户端和服务器端根据用户id,生成加密数据key public: __fastcall CAccBase(); __fastcall ~CAccBase(); virtual bool ReadHead(char *buf,int len,MSGHEAD &Head); //读取封包头 virtual bool CheckPacket(char *buf,int len); //校验封包合法性 virtual void SetPacketEncryptMode(bool Mode); //设置加密模式 virtual bool GetPacketEncryptMode(); //获取加密模式 virtual void SetRSA_Key_EncryptKey(const String &Key){m_Rsa.SetKeyDataDecryptKey(Key);} virtual void SetRSA_KeyData(const String &Key){m_Rsa.LoadEnKeyData(Key);} String LastError; virtual double GetLastRandKey(){return LastRandKey;} }; #ifdef SERVER_CRYPT_SIDE class CAccServerProtocol:public CAccBase //服务器端协议 { private: double LoginRandKey; protected: virtual String MakeKeyByID(String ID); public: __fastcall CAccServerProtocol(); virtual __fastcall ~CAccServerProtocol(); bool ReadLoginCmd(char *buf,int len,PC_LOGIN_PACKET LoginPacket); bool ReadCreateUserCmd(char *buf,int len,PC_CREATE_USER_PACKET CreatePacket); bool ReadSavePointCmd(char *buf,int len,PC_SAVE_POINT_PACKET SpPacket); bool ReadQueryCardCmd(char *buf,int len,PC_QUERY_CARD_PACKET SpPacket); String MakeLoginReturn(S_LOGIN_PACKET &ServerData); String MakeLoginReturn_Old(S_LOGIN_PACKET &ServerData); //旧版,弃用保留 bool MakeQueryReturn(S_QUERY_CARD_PACKET &ServerData); S_RETURN_PACKET MakeCommBackCmd(int ReturnCode,BYTE CmdType); void LoadPrivateKey(const String &PrivateKeyData){m_Rsa.LoadPrivateKey(PrivateKeyData);} }; #endif class CAccClientProtocol:public CAccBase //客户端用协议 { private: protected: virtual String MakeKeyByID(String ID); public: __fastcall CAccClientProtocol(); virtual __fastcall ~CAccClientProtocol(); virtual String MakeLoginCmd(String UserId,String PassWord,BYTE ItemType,DWORD Reserve); virtual C_CREATE_USER_PACKET MakeCreateUserCmd(String UserId,String PassWord,String Email,BYTE GameType,DWORD Reserve); virtual C_SAVE_POINT_PACKET MakeSavePointCmd(String CardNo,String CardPassWord,String UserId,String lgUserId,String PassWord,WORD CardType,BYTE GameType,int Reserve); virtual C_QUERY_CARD_PACKET MakeQueryCardCmd(String CardNo,WORD CardType,BYTE GameType,int Reserve); virtual bool ReadLoginBackCmd(char * buf,int len,PS_LOGIN_PACKET LoginCmd); virtual bool ReadPackBackCmd(char *buf,int len,PS_RETURN_PACKET ReturnPack); virtual bool ReadQueryCardCmd(char *buf,int len,PS_QUERY_CARD_PACKET ReturnPack); }; DWORD DoubleValueCRC(double Crc); //--------------------------------------------------------------------------- #endif
#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <string> #include <vector> using namespace std; class Point { public: void setX(int x) { mX = x; } void setY(int y) { mY = y; } int GetX() { return mX; } int GetY() { return mY; } private: int mX; int mY; }; class Circle { public: void setP(int x, int y) { mp.setX(x); mp.setY(y); } void setR(int r) { mR = r; } Point &GetP() { return mp; } int GetR() { return mR; } void IsPointInCircle(Point &point) { int distance = (point.GetX() - mp.GetX()) * (point.GetX() - mp.GetX()) + (point.GetY() - mp.GetY()) * (point.GetY() - mp.GetY()); int radius = mR * mR; if (distance < radius) { cout << "Point(" << point.GetX() << "," << point.GetY() << ")在圆内" << endl; } else if (distance > radius) { cout << "Point(" << point.GetX() << "," << point.GetY() << ")在圆外" << endl; } else { cout << "Point(" << point.GetX() << "," << point.GetY() << ")在圆上" << endl; } } private: Point mp; int mR; }; void test01() { //实例化圆 Circle circle; circle.setP(20, 20); circle.setR(5); //实例化点对象 Point point; point.setX(25); point.setY(20); circle.IsPointInCircle(point); } int main(int argc, char **argv) { test01(); return 0; }
//Phoenix_RK /* https://leetcode.com/problems/power-of-two/ Given an integer, write a function to determine if it is a power of two. Example 1: Input: 1 Output: true Explanation: 20 = 1 Example 2: Input: 16 Output: true Explanation: 24 = 16 Example 3: Input: 218 Output: false */ class Solution { public: bool isPowerOfTwo(int n) { if(n==0) return false; return (ceil(log2(n)) == floor(log2(n)))?true:false; } };
#include "jni/JniHelper.h" #include <string.h> #include <android/log.h> #include <jni.h> #include "CCDirector.h" #include "CCWebView.h" #define LOG_TAG "WebViewJni" #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__) #define JAVAVM cocos2d::JniHelper::getJavaVM() using namespace std; using namespace cocos2d; using namespace cocos2d::webview_plugin; extern "C" { static bool getEnv(JNIEnv **env) { bool bRet = false; do { if (JAVAVM->GetEnv((void**)env, JNI_VERSION_1_4) != JNI_OK) { LOGD("Failed to get the environment using GetEnv()"); break; } if (JAVAVM->AttachCurrentThread(env, 0) < 0) { LOGD("Failed to get the environment using AttachCurrentThread()"); break; } bRet = true; } while (0); return bRet; } bool getInstanceMethodInfo(JniMethodInfo &methodinfo, jobject &obj, const char *methodName, const char *paramCode){ jmethodID methodID = 0; JNIEnv *pEnv = 0; bool bRet = false; do{ if(!getEnv(&pEnv)){ break; } jclass classID = pEnv->GetObjectClass(obj); methodID = pEnv->GetMethodID(classID, methodName, paramCode); if(methodID == NULL){ CCLog("Failed to get method id of %s", methodName); break; } methodinfo.classID = classID; methodinfo.env = pEnv; methodinfo.methodID = methodID; bRet = true; }while(0); return bRet; } static jobject sContext = NULL; jobject createWebViewJni(){ JniMethodInfo t; jobject ret = NULL; if(JniHelper::getMethodInfo(t, "org/cocos2dx/lib/gree/webview/Cocos2dxWebView", "<init>", "()V")){ ret = t.env->NewObject(t.classID, t.methodID); t.env->DeleteLocalRef(t.classID); ret = t.env->NewGlobalRef(ret); } return ret; } void setJavascriptIfJni(jobject obj, void *delegate){ JniMethodInfo t; if(getInstanceMethodInfo(t, obj, "setJavascriptIf", "(J)V")){ t.env->CallVoidMethod(obj, t.methodID, delegate); t.env->DeleteLocalRef(t.classID); } } void setWebViewClientJni(jobject obj, void *delegate){ JniMethodInfo t; if(getInstanceMethodInfo(t, obj, "setWebViewClient", "(J)V")){ t.env->CallVoidMethod(obj, t.methodID, delegate); t.env->DeleteLocalRef(t.classID); } } void loadUrlJni(jobject obj, const char *url, bool transparent){ JniMethodInfo t; if(getInstanceMethodInfo(t, obj, "loadURL", "(Ljava/lang/String;Z)V")){ jstring jUrl; if(!url){ jUrl = t.env->NewStringUTF(""); }else{ jUrl = t.env->NewStringUTF(url); } t.env->CallVoidMethod(obj, t.methodID, jUrl, transparent); t.env->DeleteLocalRef(jUrl); t.env->DeleteLocalRef(t.classID); } } void clearCacheJni(jobject obj){ JniMethodInfo t; if(getInstanceMethodInfo(t, obj, "clearCache", "()V")){ t.env->CallVoidMethod(obj, t.methodID); t.env->DeleteLocalRef(t.classID); } } void evaluateJSJni(jobject obj, const char *js){ JniMethodInfo t; if(getInstanceMethodInfo(t, obj, "evaluateJS", "(Ljava/lang/String;)V")){ jstring jJS; if(!js){ jJS = t.env->NewStringUTF(""); }else{ jJS = t.env->NewStringUTF(js); } t.env->CallVoidMethod(obj, t.methodID, jJS); t.env->DeleteLocalRef(jJS); t.env->DeleteLocalRef(t.classID); } } void setVisibilityJni(jobject obj, bool enable){ JniMethodInfo t; if(getInstanceMethodInfo(t, obj, "setVisibility", "(Z)V")){ t.env->CallVoidMethod(obj, t.methodID, enable); t.env->DeleteLocalRef(t.classID); } } void setRectJni(jobject obj, int x, int y, int w, int h){ JniMethodInfo t; if(getInstanceMethodInfo(t, obj, "setMargins", "(IIII)V")){ t.env->CallVoidMethod(obj, t.methodID, x, y, w, h); t.env->DeleteLocalRef(t.classID); } } void destroyJni(jobject obj){ JniMethodInfo t; if(getInstanceMethodInfo(t, obj, "destroy", "()V")){ t.env->CallVoidMethod(obj, t.methodID); t.env->DeleteLocalRef(t.classID); t.env->DeleteGlobalRef(obj); } } void setBannerModeEnableJni(jobject obj, bool enable){ JniMethodInfo t; if(getInstanceMethodInfo(t, obj, "setBannerModeEnable", "(Z)V")){ t.env->CallVoidMethod(obj, t.methodID, enable); t.env->DeleteLocalRef(t.classID); } } void setCloseButtonJni(jobject obj, void* delegate, const char* imageName, int x, int y, int w, int h){ JniMethodInfo t; if(getInstanceMethodInfo(t, obj, "setCloseButton", "(Ljava/lang/String;IIII)V")){ jstring jName = t.env->NewStringUTF(imageName); t.env->CallVoidMethod(obj, t.methodID, jName, x, y, w, h); t.env->DeleteLocalRef(t.classID); } } void setUrlSchemeNotFoundMessageJni(jobject obj, const char* message){ JniMethodInfo t; if(getInstanceMethodInfo(t, obj, "setUrlSchemeNotFoundMessage", "(Ljava/lang/String;)V")){ jstring jMessage = t.env->NewStringUTF(message); t.env->CallVoidMethod(obj, t.methodID, jMessage); t.env->DeleteLocalRef(t.classID); } } // from Cocos2dxWebView JNIEXPORT void JNICALL Java_org_cocos2dx_lib_gree_webview_Cocos2dxWebView_nativeCalledFromJS(JNIEnv *env, jobject obj, jlong delegate, jstring message){ if(delegate){ const char* str = env->GetStringUTFChars(message, 0); CCWebView *webView = (CCWebView*)delegate; webView->handleCalledFromJS(str); env->ReleaseStringUTFChars(message, str); } } JNIEXPORT bool JNICALL Java_org_cocos2dx_lib_gree_webview_Cocos2dxWebView_nativeShouldOverrideUrlLoading(JNIEnv *env, jobject obj, jlong delegate, jstring url){ bool ret = false; if (delegate) { const char* str = env->GetStringUTFChars(url, 0); CCWebView *webView = (CCWebView*)delegate; ret = webView->handleShouldOverrideUrlLoading(str); env->ReleaseStringUTFChars(url, str); } return ret; //ret; } JNIEXPORT void JNICALL Java_org_cocos2dx_lib_gree_webview_Cocos2dxWebView_nativeOnPageFinished(JNIEnv *env, jobject obj, jlong delegate, jstring url){ if (delegate) { const char* str = env->GetStringUTFChars(url, 0); CCWebView *webView = (CCWebView*)delegate; webView->handleOnPageFinished(str); env->ReleaseStringUTFChars(url, str); } } JNIEXPORT void JNICALL Java_org_cocos2dx_lib_gree_webview_Cocos2dxWebView_nativeOnLoadError(JNIEnv *env, jobject obj, jlong delegate, jstring url){ if (delegate) { const char* str = env->GetStringUTFChars(url, 0); CCWebView *webView = (CCWebView*)delegate; webView->handleOnLoadError(str); env->ReleaseStringUTFChars(url, str); } } }
#pragma once #include "iconvar.h" #include "cdll_int.h" class ConVar; class CCommand; class ConCommand; class ConCommandBase; struct characterset_t; using CUtlString = std::string; class IConCommandBaseAccessor { public: virtual bool RegisterConCommandBase(ConCommandBase *pVar) = 0; }; typedef void (*FnCommandCallbackVoid_t)(void); typedef void (*FnCommandCallback_t)(const CCommand &command); #define COMMAND_COMPLETION_MAXITEMS 64 #define COMMAND_COMPLETION_ITEM_LENGTH 64 typedef int (*FnCommandCompletionCallback)(const char *partial, char commands[COMMAND_COMPLETION_MAXITEMS][COMMAND_COMPLETION_ITEM_LENGTH]); class ICommandCallback { public: virtual void CommandCallback(const CCommand &command) = 0; }; class ICommandCompletionCallback { public: virtual int CommandCompletionCallback(const char *pPartial, CUtlVector< CUtlString > &commands) = 0; }; struct CVarDLLIdentifier_t; class ConCommandBase { public: virtual ~ConCommandBase(void); virtual bool IsCommand(void) const; virtual bool IsFlagSet(int flag) const; virtual void AddFlags(int flags); virtual const char *GetName(void) const; virtual const char *GetHelpText(void) const; virtual bool IsRegistered(void) const; virtual CVarDLLIdentifier_t GetDLLIdentifier() const; virtual void CreateBase(const char *pName, const char *pHelpString = 0, int flags = 0); ConCommandBase *m_pNext; bool m_bRegistered; const char *m_pszName; const char *m_pszHelpString; int m_nFlags; protected: static ConCommandBase *s_pConCommandBases; static IConCommandBaseAccessor *s_pAccessor; }; class CCommand { public: enum { COMMAND_MAX_ARGC = 64, COMMAND_MAX_LENGTH = 512, }; int m_nArgc; int m_nArgv0Size; char m_pArgSBuffer[COMMAND_MAX_LENGTH]; char m_pArgvBuffer[COMMAND_MAX_LENGTH]; const char *m_ppArgv[COMMAND_MAX_ARGC]; }; class ConCommand : public ConCommandBase { public: typedef ConCommandBase BaseClass; virtual ~ConCommand(void); virtual bool IsCommand(void) const; virtual int AutoCompleteSuggest(const char *partial, CUtlVector< CUtlString > &commands); virtual bool CanAutoComplete(void); virtual void Dispatch(const CCommand &command); private: union { FnCommandCallbackVoid_t m_fnCommandCallbackV1; FnCommandCallback_t m_fnCommandCallback; ICommandCallback *m_pCommandCallback; }; union { FnCommandCompletionCallback m_fnCompletionCallback; ICommandCompletionCallback *m_pCommandCompletionCallback; }; bool m_bHasCompletionCallback : 1; bool m_bUsingNewCommandCallback : 1; bool m_bUsingCommandCallbackInterface : 1; }; class ConVar : public ConCommandBase, public IConVar { public: virtual ~ConVar(void); virtual bool IsFlagSet(int flag) const; virtual const char *GetHelpText(void) const; virtual bool IsRegistered(void) const; virtual const char *GetName(void) const; virtual void AddFlags(int flags); virtual bool IsCommand(void) const; virtual void SetValue(const char *value); virtual void SetValue(float value); virtual void SetValue(int value); virtual void InternalSetValue(const char *value); virtual void InternalSetFloatValue(float fNewValue, bool bForce = false); virtual void InternalSetIntValue(int nValue); virtual bool ClampValue(float &value); virtual void ChangeStringValue(const char *tempVal, float flOldValue); virtual void Init(); inline float GetFloat(void) const; inline int GetInt(void) const; inline bool GetBool() const { return !!GetInt(); } inline char const *GetString(void) const; private: ConVar *m_pParent; const char *m_pszDefaultValue; char *m_pszString; int m_StringLength; float m_fValue; int m_nValue; bool m_bHasMin; float m_fMinVal; bool m_bHasMax; float m_fMaxVal; bool m_bHasCompMin; float m_fCompMinVal; bool m_bHasCompMax; float m_fCompMaxVal; bool m_bCompetitiveRestrictions; FnChangeCallback_t m_fnChangeCallback; }; inline float ConVar::GetFloat(void) const { return m_pParent->m_fValue; } inline int ConVar::GetInt(void) const { return m_pParent->m_nValue; } inline const char *ConVar::GetString(void) const { if (m_nFlags & FCVAR_NEVER_AS_STRING) return "FCVAR_NEVER_AS_STRING"; return (m_pParent->m_pszString) ? m_pParent->m_pszString : ""; }
class Solution{ public: string Reduced_String(int k,string s){ stack<char> st; for(int i = 0;i<s.length();i++){ st.push(s[i]); //cout<<st.size()<<" "; if(st.size()>=k){ string t =""; t+=st.top(); //cout<<t<<endl; st.pop(); int i =1; int flag = 0; while(i<k&&st.size()!=0){ char temp = st.top(); if(temp!=t[t.length()-1]) { //cout<<"h"<<endl; flag = 1; break; } else { st.pop(); t+=temp; } i++; } //cout<<endl; if(flag==1){ for(int j = t.length()-1;j>=0;j--) { st.push(t[j]); //cout<<st.top()<<" "; } } } } string ans = ""; while(st.size()!=0){ ans+=st.top(); st.pop(); } reverse(ans.begin(),ans.end()); return ans; } };
#include "windowstimer.h" #include "defines.h" #ifdef OS_Windows #include "windows.h" WindowsTimer::WindowsTimer() { stopped = false; timeBeginPeriod(1); begin = timeGetTime(); } WindowsTimer::~WindowsTimer() { timeEndPeriod(1); //dtor } void WindowsTimer::start() { stopped = false; begin = timeGetTime(); } void WindowsTimer::stop() { stopped = true; end = timeGetTime(); } void WindowsTimer::Continue() { stopped = false; begin += timeGetTime() - end; } int WindowsTimer::get_elt() { if(stopped) return end - begin; return timeGetTime() - begin; } #endif
#ifndef JETFINDER_HH #define JETFINDER_HH #include "../../../../../APx_Gen0_Algo/VivadoHls/null_algo_unpacked/vivado_hls/src/algo_unpacked.h" #include "Config.hh" #include "JetInfo.hh" #include "Jet.hh" #include "Tower.hh" void findJets(Tower towers[M_TOWERS],Jet jets[M_JET]); #endif
// Created on: 1993-01-21 // Created by: Remi LEQUETTE // Copyright (c) 1993-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #ifndef _BRepTools_WireExplorer_HeaderFile #define _BRepTools_WireExplorer_HeaderFile #include <Standard.hxx> #include <Standard_DefineAlloc.hxx> #include <TopTools_DataMapOfShapeListOfShape.hxx> #include <TopoDS_Edge.hxx> #include <TopoDS_Vertex.hxx> #include <TopoDS_Face.hxx> #include <TopTools_MapOfShape.hxx> #include <TopAbs_Orientation.hxx> class TopoDS_Wire; //! The WireExplorer is a tool to explore the edges of //! a wire in a connection order. //! //! i.e. each edge is connected to the previous one by //! its origin. //! If a wire is not closed returns only a segment of edges which //! length depends on started in exploration edge. //! Algorithm suggests that wire is valid and has no any defects, which //! can stop edge exploration. Such defects can be loops, wrong orientation of edges //! (two edges go in to shared vertex or go out from shared vertex), branching of edges, //! the presens of edges with INTERNAL or EXTERNAL orientation. If wire has //! such kind of defects WireExplorer can return not all //! edges in a wire. it depends on type of defect and position of starting edge. class BRepTools_WireExplorer { public: DEFINE_STANDARD_ALLOC //! Constructs an empty explorer (which can be initialized using Init) Standard_EXPORT BRepTools_WireExplorer(); //! IInitializes an exploration of the wire <W>. Standard_EXPORT BRepTools_WireExplorer(const TopoDS_Wire& W); //! Initializes an exploration of the wire <W>. //! F is used to select the edge connected to the //! previous in the parametric representation of <F>. Standard_EXPORT BRepTools_WireExplorer(const TopoDS_Wire& W, const TopoDS_Face& F); //! Initializes an exploration of the wire <W>. Standard_EXPORT void Init (const TopoDS_Wire& W); //! Initializes an exploration of the wire <W>. //! F is used to select the edge connected to the //! previous in the parametric representation of <F>. Standard_EXPORT void Init (const TopoDS_Wire& W, const TopoDS_Face& F); //! Initializes an exploration of the wire <W>. //! F is used to select the edge connected to the //! previous in the parametric representation of <F>. //! <UMIn>, <UMax>, <VMin>, <VMax> - the UV bounds of the face <F>. Standard_EXPORT void Init(const TopoDS_Wire& W, const TopoDS_Face& F, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax); //! Returns True if there is a current edge. Standard_EXPORT Standard_Boolean More() const; //! Proceeds to the next edge. Standard_EXPORT void Next(); //! Returns the current edge. Standard_EXPORT const TopoDS_Edge& Current() const; //! Returns an Orientation for the current edge. Standard_EXPORT TopAbs_Orientation Orientation() const; //! Returns the vertex connecting the current edge to //! the previous one. Standard_EXPORT const TopoDS_Vertex& CurrentVertex() const; //! Clears the content of the explorer. Standard_EXPORT void Clear(); protected: private: TopTools_DataMapOfShapeListOfShape myMap; TopoDS_Edge myEdge; TopoDS_Vertex myVertex; TopoDS_Face myFace; TopTools_MapOfShape myDoubles; Standard_Boolean myReverse; Standard_Real myTolU; Standard_Real myTolV; }; #endif // _BRepTools_WireExplorer_HeaderFile
#include <iostream> #include <random> #include <chrono> #include <trevi.h> #include "udptransmitter.h" #include "udpreceiver.h" #include "Timer.h" #include "cmdline.h" int main( int argc, char** argv ) { cmdline::parser a; a.add<int>("input_port", 'i', "UDP port for input data", false, 5000 ); a.add<int>("output_port", 'o', "UDP port for encoded output data", false, 5001 ); a.add<string>("output_host", 'h', "address of destination host for encoded data", false, "127.0.0.1" ); a.add<string>("output_iface", 'I', "address of destination host for encoded data", false, "lo" ); a.add<int>("window_size", 'e', "Encoding window size (must be inferior or equal to 32)", false, 32 ); a.add<int>("nsrc_blocks", 's', "Number of source block after which we send code blocks", false, 1 ); a.add<int>("ncode_blocks", 'c', "Number of coded blocks to send after processing nsrc_blocks", false, 1 ); a.add<float>("loss_proba", 'p', "Simulated random uniform packet loss probability", false, 0.0f, cmdline::range(0.0, 1.0) ); a.parse_check(argc, argv); int udpInputPort = a.get<int>("input_port"); int udpOutputPort = a.get<int>("output_port"); std::string udpOutputHost = a.get<string>("output_host"); std::string udpOutputIface = a.get<string>("output_iface"); int encodingWindowSize = a.get<int>("window_size"); int nSrcBlocks = a.get<int>("nsrc_blocks"); int nCodeBlocks = a.get<int>("ncode_blocks"); float packetLossProba = a.get<float>("loss_proba"); std::default_random_engine generator; generator.seed(std::chrono::system_clock::now().time_since_epoch().count()); cerr << "Starting Trevi UDP encoder: " << endl; cerr << "UDP input port for input data: \t\t\t" << udpInputPort << endl; cerr << "UDP output for encoded data: \t\t\t" << udpOutputHost << ":" << udpOutputPort << endl; cerr << "Simulated channel loss probability: \t\t\t" << packetLossProba << endl; sleep(2); trevi_init(); // Create a Trevi encoder trevi_encoder * encoder = trevi_create_encoder(); // Add a new stream to the encoder, here stream of id 0, with an encoding window size of 32 trevi_encoder_add_stream( encoder, 0, encodingWindowSize, nSrcBlocks, nCodeBlocks ); UDPReceiver udpr( udpInputPort ); UDPTransmitter udpt( udpOutputPort, udpOutputHost, udpOutputIface ); uint8_t buffer[ 2048 ]; double t_sum = 0.0; int iterCpt = 0; Timer t; t.start(); for(;;) { int esize = 0; int rsize = udpr.receive( buffer, 2048 ); if( rsize > 0) { Timer t; t.start(); trevi_encode( encoder, 0, buffer, rsize ); t.stop(); t_sum += t.getElapsedTimeInMicroSec(); while(true) { esize = trevi_encoder_get_encoded_data( encoder, buffer ); if( esize > 0 ) { std::uniform_real_distribution<float> distribution(0.0, 1.0); float p = distribution(generator); if( p > packetLossProba ) { udpt.send( buffer, esize ); } else { // LOSS ! } } else { break; } } } iterCpt++; if( iterCpt % 1000 == 0 ) { double t_encode = t_sum / (double)iterCpt; cerr << "Average Encode processing time = " << t_encode << " microsec." << endl; } } return 0; }
#include <conio.h> #include <stdlib.h> #include <stdio.h> #include <time.h> #include <string.h> #include <math.h> #include <locale.h> #include <ctype.h> float p1,p2,p3,p4,p5,total,dinheiro,troco; int x=0; int main() { printf("\n Digite o valor do primeiro produto:\n"); scanf("%f",&p1); printf("\n Digite o valor do segundo produto:\n"); scanf("%f",&p2); printf("\n Digite o valor do terceiro produto:\n"); scanf("%f",&p3); printf("\n Digite o valor do quarto produto:\n"); scanf("%f",&p4); printf("\n Digite o valor do quinto produto:\n"); scanf("%f",&p5); total=(p1+p2+p3+p4+p5); printf("\n O valor total da compra e: %f", total); printf("\n Insira o valor que ira pagar: \n"); scanf("%f",&dinheiro); troco=dinheiro-total; printf("O seu troco e de %f reais",troco); }
#include<bits/stdc++.h> using namespace std; typedef long long ll; int t; ll n, lessThanN,lessAns, moreAns; // find the number which is less than n and is of the form 2^x ll findLessThanN(){ ll curr; for(int i = 0; i < 32; i++){ curr = 1 << i; if (curr > n) return curr >> 1; } } // find the two results of 2^x + 2^y which is closer to n ll findTwoAns(){ ll curr; for(int i = 0; i < 32; i++){ curr = 1 << i; if ((curr + lessThanN) >= n){ lessAns = (1 << i -1) + lessThanN; // check if 2 ^x == 2 ^ y if(curr == lessThanN) moreAns = curr + lessThanN + 1; else moreAns = curr + lessThanN; return 0; } } } int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); cin >> t; for(int i = 0; i < t; i++){ cin >> n; if(n == 1){ cout << "2" << endl; continue; } lessThanN = findLessThanN(); findTwoAns(); cout << min(n - lessAns, moreAns - n) << endl; } }
#pragma once class dadasd { public: dadasd(); ~dadasd(); };