blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 4
201
| content_id
stringlengths 40
40
| detected_licenses
sequencelengths 0
85
| license_type
stringclasses 2
values | repo_name
stringlengths 7
100
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringclasses 260
values | visit_date
timestamp[us] | revision_date
timestamp[us] | committer_date
timestamp[us] | github_id
int64 11.4k
681M
⌀ | star_events_count
int64 0
209k
| fork_events_count
int64 0
110k
| gha_license_id
stringclasses 17
values | gha_event_created_at
timestamp[us] | gha_created_at
timestamp[us] | gha_language
stringclasses 80
values | src_encoding
stringclasses 28
values | language
stringclasses 1
value | is_vendor
bool 1
class | is_generated
bool 2
classes | length_bytes
int64 8
9.86M
| extension
stringclasses 52
values | content
stringlengths 8
9.86M
| authors
sequencelengths 1
1
| author
stringlengths 0
119
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0182b8c50b080e25ca6f1b638eb6e72cefaa7a99 | 89d38f4c8c5ece12668854bd3ad82483367c4e84 | /servo_setter.ino | d5ee6844a24b73dc891d338a5e07420df121cede | [
"MIT"
] | permissive | cybeaer/arduinoServoSetter | 1e8edce77f9f5c9d2ad2016b392160b0ef77283f | 7d9101b542e23a2cb1c1e604c549a30cbe2e7356 | refs/heads/master | 2021-05-16T01:08:45.623080 | 2017-10-15T18:37:00 | 2017-10-15T18:37:00 | 107,038,506 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,141 | ino | #include <Arduino.h>
#include <Servo.h>
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);
#if (SSD1306_LCDHEIGHT != 32)
#error("Height incorrect, please fix Adafruit_SSD1306.h!");
#endif
const int buttonPinP10 = 2;
const int buttonPinP1 = 3;
const int buttonPinRes = 4;
const int buttonPinM1 = 5;
const int buttonPinM10 = 6;
const int ServoPin = 8;
int degree = 0;
Servo testServo;
void setup() {
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // initialize with the I2C addr 0x3C (for the 128x32)
display.clearDisplay();
pinMode(buttonPinP10, INPUT);
pinMode(buttonPinP1, INPUT);
pinMode(buttonPinRes, INPUT);
pinMode(buttonPinM1, INPUT);
pinMode(buttonPinM10, INPUT);
}
void loop() {
bool buttonPressed = false;
display.setTextSize(1);
display.setTextColor(WHITE);
display.setCursor(0,0);
if(digitalRead(buttonPinP10)) {
display.println("\n +10 button pressed");
degree += 10;
if(degree > 180)
degree=180;
buttonPressed = true;
} else if(digitalRead(buttonPinP1)) {
display.println("\n +1 button pressed");
degree += 1;
if(degree > 180)
degree=180;
buttonPressed = true;
} else if(digitalRead(buttonPinRes)) {
display.println("\n res button pressed");
degree = 90;
buttonPressed = true;
} else if(digitalRead(buttonPinM1)) {
display.println("\n -1 button pressed");
degree -= 1;
if(degree < 0)
degree=0;
buttonPressed = true;
} else if(digitalRead(buttonPinM10)) {
display.println("\n -10 button pressed");
degree -= 10;
if(degree < 0)
degree=0;
buttonPressed = true;
} else {
display.println("\n no button pressed");
display.print(" - set servo ");display.print(degree);display.println(" -");
}
if(buttonPressed){
testServo.attach(ServoPin);
testServo.write(degree);
display.print(" - set servo ");display.print(degree);display.println(" -");
buttonPressed = false;
}
display.display();
delay(1000);
testServo.detach();
display.clearDisplay();
}
| [
"[email protected]"
] | |
56805993d80296cc237ff40fa3c1bc5932dc44e4 | f5b9e575bd3256499802c75d4df5efa1bd99ddcd | /[Internal] BUCC Competitive Programming Contest Series. Segment-2/J - Problem J .cpp | 704425d1cd711ca56ae1c4d4f2319b93031239be | [] | no_license | arafat04/Internal-BUCC-Competitive-Programming-Contest-Series | d4d37b507583fc29d02de325431cf8ad9bd4d196 | 0e76c66126aba79c7dcdc06dfb818fb61dad1aaa | refs/heads/main | 2023-06-12T06:33:26.250910 | 2021-07-08T15:51:40 | 2021-07-08T15:51:40 | 379,742,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int T,N,value,low_count=0,highcount=0;
cin>>T;
for(int i =0;i<T;i++){
cin>>N;
int arr[N];
for(int j=0;j<N;j++){
cin>>value;
arr[j]=value;
}
for(int k=0;k<N-1;k++){
if(arr[k]<arr[k+1]){
highcount++;
continue;
}
else if(arr[k]>arr[k+1]){
low_count++;
continue;
}
}
cout<<"Case "<<i+1<<": "<<highcount<<" "<<low_count<<"\n";
low_count=0;
highcount=0;
}
return 0;
}
| [
"[email protected]"
] | |
afc1a91b7395e5a574b57c9ad6a1e18fe1b3b00f | fa52732ced625b455ac9bc7682f5e956a28c77b8 | /r3bsource/R3BFi2bReader.h | 5e45ae159a2cfa39760c63eaffd36239c4734510 | [] | no_license | matthiasholl/R3BRoot | 5ec66c40a7dbbb8371b170abc59ec0faed59469a | abf65dc291f675392959d538a9eee9cba79273a5 | refs/heads/master | 2020-04-27T00:44:33.116026 | 2018-11-05T14:18:02 | 2018-12-18T09:00:43 | 173,944,200 | 1 | 0 | null | 2019-03-05T12:40:41 | 2019-03-05T12:40:40 | null | UTF-8 | C++ | false | false | 477 | h | #ifndef R3BFI2BREADER_H
#define R3BFI2BREADER_H
#include "R3BBunchedFiberReader.h"
typedef struct EXT_STR_h101_FIBTWOB_t EXT_STR_h101_FIBTWOB;
typedef struct EXT_STR_h101_FIBTWOB_onion_t EXT_STR_h101_FIBTWOB_onion;
class R3BFi2bReader: public R3BBunchedFiberReader
{
public:
R3BFi2bReader(EXT_STR_h101_FIBTWOB *, UInt_t);
Bool_t Init(ext_data_struct_info *);
private:
EXT_STR_h101_FIBTWOB_onion *fData;
public:
ClassDef(R3BFi2bReader, 1);
};
#endif
| [
"[email protected]"
] | |
13ced44f3febd1b495567b6f155b9a8054cc08c0 | 3d8e58ae6374d141239476f96996f8d3cdd6f265 | /p79_Word_Search/p79.cpp | ad66e40553169772f2aea5217124122c14b4986c | [
"MIT"
] | permissive | Song1996/Leetcode | c07e0c7663c11c61396af0d1740367cf7df56d0e | ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb | refs/heads/master | 2021-06-18T14:52:36.439751 | 2019-08-07T03:35:37 | 2019-08-07T03:35:37 | 140,538,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,152 | cpp | #include <iostream>
#include <memory>
#include <vector>
#include <stack>
#include <map>
#include <string>
#include <assert.h>
#include <algorithm>
using namespace std;
class Solution {
public:
bool exist(vector<vector<char> >& board, string word) {
int m = board.size();
if(m<1&&word.length()>=1) return false;
if(m<1&&word.length()<1) return true;
int n = board[0].size();
for(int i = 0; i<m; i++) {
if(board[i].size()!=n) assert(0);
}
if(n<1&&word.length()>=1) return false;
if(n<1&&word.length()<1) return true;
for(int i=0; i<m; i++) {
for(int j=0; j<n; j++) {
if(dfs(board, word, 0, i, j, m, n)) return true;
}
}
return false;
}
bool dfs(vector<vector<char> >& board, string& word, int p, int x, int y, int m, int n) {
if(p==word.size()) return true;
if(x<0||x>=m) return false;
if(y<0||y>=n) return false;
if(board[x][y]!=word[p]) return false;
board[x][y] = char(-1);
if(dfs(board,word,p+1,x+1,y,m,n)) {
board[x][y] = word[p];
return true;
}
if(dfs(board,word,p+1,x,y+1,m,n)) {
board[x][y] = word[p];
return true;
}
if(dfs(board,word,p+1,x-1,y,m,n)) {
board[x][y] = word[p];
return true;
}
if(dfs(board,word,p+1,x,y-1,m,n)) {
board[x][y] = word[p];
return true;
}
board[x][y] = word[p];
return false;
}
};
int main () {
vector<vector<char> > x;
vector<char> t;
t.push_back('A'); t.push_back('B'); t.push_back('C'); t.push_back('E');
x.push_back(t); t.clear();
t.push_back('S'); t.push_back('F'); t.push_back('C'); t.push_back('S');
x.push_back(t); t.clear();
t.push_back('A'); t.push_back('D'); t.push_back('E'); t.push_back('E');
x.push_back(t);
Solution s;
printf("%s\n",s.exist(x,"ABCCED")?"true":"false");
printf("%s\n",s.exist(x,"SEE")?"true":"false");
printf("%s\n",s.exist(x,"ABCB")?"true":"false");
return 0;
} | [
"[email protected]"
] | |
0a4c2d6dca23d4cc66d06137b7b066f6e2a65717 | 83f461519bff4467a1a175ca686ad06a2a7e257b | /src/mlpack/bindings/R/print_doc_functions_impl.hpp | 47705c6f28556900bed3050bde98f91e67db378d | [] | no_license | Yashwants19/RcppMLPACK | 3af64c6b1327e895b99637649591d1671adf53a5 | 2d256c02058aa7a183d182079acff9037a80b662 | refs/heads/master | 2022-12-04T05:06:17.578747 | 2020-07-22T12:45:42 | 2020-07-22T12:45:42 | 252,217,735 | 9 | 0 | null | 2020-08-18T06:15:14 | 2020-04-01T15:41:38 | C++ | UTF-8 | C++ | false | false | 9,240 | hpp | /**
* @file bindings/R/print_doc_functions_impl.hpp
* @author Yashwant Singh Parihar
*
* This file contains functions useful for printing documentation strings
* related to R bindings.
*
* mlpack is free software; you may redistribute it and/or modify it under the
* terms of the 3-clause BSD license. You should have received a copy of the
* 3-clause BSD license along with mlpack. If not, see
* http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#ifndef MLPACK_BINDINGS_R_PRINT_DOC_FUNCTIONS_IMPL_HPP
#define MLPACK_BINDINGS_R_PRINT_DOC_FUNCTIONS_IMPL_HPP
#include <mlpack/core/util/hyphenate_string.hpp>
namespace mlpack {
namespace bindings {
namespace r {
/**
* Given the name of a binding, print its R name.
*/
inline std::string GetBindingName(const std::string& bindingName)
{
// No modification is needed to the name---we just use it as-is.
return bindingName + "()";
}
/**
* Print any import information for the R binding.
*/
inline std::string PrintImport()
{
return "library(mlpack)";
}
/**
* Print any special information about input options.
*/
inline std::string PrintInputOptionInfo()
{
return "";
}
/**
* Print any special information about output options.
*/
inline std::string PrintOutputOptionInfo()
{
return "Results are returned in a R list. The keys of the "
"list are the names of the output parameters.";
}
/**
* Given a parameter type, print the corresponding value.
*/
template<typename T>
inline std::string PrintValue(const T& value, bool quotes)
{
std::ostringstream oss;
if (quotes)
oss << "\"";
oss << value;
if (quotes)
oss << "\"";
return oss.str();
}
/**
* Given a parameter name, print its corresponding default value.
*/
inline std::string PrintDefault(const std::string& paramName)
{
if (IO::Parameters().count(paramName) == 0)
throw std::invalid_argument("unknown parameter " + paramName + "!");
util::ParamData& d = IO::Parameters()[paramName];
std::string defaultValue;
IO::GetSingleton().functionMap[d.tname]["DefaultParam"](d, NULL,
(void*) &defaultValue);
return defaultValue;
}
/**
* Special overload for booleans.
*/
template<>
inline std::string PrintValue(const bool& value, bool quotes)
{
if (quotes && value)
return "\"TRUE\"";
else if (quotes && !value)
return "\"FALSE\"";
else if (!quotes && value)
return "TRUE";
else
return "FALSE";
}
/**
* Recursion base case.
*/
std::string PrintInputOptions() { return ""; }
/**
* Print an input option. This will throw an exception if the parameter does
* not exist in IO.
*/
template<typename T, typename... Args>
std::string PrintInputOptions(const std::string& paramName,
const T& value,
Args... args)
{
// See if this is part of the program.
std::string result = "";
if (IO::Parameters().count(paramName) > 0)
{
util::ParamData& d = IO::Parameters()[paramName];
if (d.input)
{
// Print the input option.
std::ostringstream oss;
oss << paramName << "=";
oss << PrintValue(value, d.tname == TYPENAME(std::string));
result = oss.str();
}
}
else
{
// Unknown parameter!
throw std::runtime_error("Unknown parameter '" + paramName + "' " +
"encountered while assembling documentation! Check PROGRAM_INFO() " +
"declaration.");
}
// Continue recursion.
std::string rest = PrintInputOptions(args...);
if (rest != "" && result != "")
result += ", " + rest;
else if (result == "")
result = rest;
return result;
}
/**
* Recursion base case.
*/
inline std::string PrintOutputOptions(const bool /* markdown */) { return ""; }
template<typename T, typename... Args>
std::string PrintOutputOptions(const bool markdown,
const std::string& paramName,
const T& value,
Args... args)
{
// See if this is part of the program.
std::string result = "";
if (IO::Parameters().count(paramName) > 0)
{
util::ParamData& d = IO::Parameters()[paramName];
if (!d.input)
{
// Print a new line for the output option.
std::ostringstream oss;
if (markdown)
oss << "R> ";
oss << value << " <- output$" << paramName;
result = oss.str();
}
}
else
{
// Unknown parameter!
throw std::runtime_error("Unknown parameter '" + paramName + "' " +
"encountered while assembling documentation! Check PROGRAM_INFO() " +
"declaration.");
}
// Continue recursion.
std::string rest = PrintOutputOptions(markdown, args...);
if (rest != "" && result != "")
result += "\n";
result += rest;
return result;
}
/**
* Given a name of a binding and a variable number of arguments (and their
* contents), print the corresponding function call.
*/
template<typename... Args>
std::string ProgramCall(const bool markdown,
const std::string& programName,
Args... args)
{
std::ostringstream oss;
if (markdown)
oss << "R> ";
// Find out if we have any output options first.
std::ostringstream ossOutput;
oss << "output <- ";
oss << programName << "(";
// Now process each input option.
oss << PrintInputOptions(args...);
oss << ")";
std::string call = oss.str();
oss.str(""); // Reset it.
// Now process each output option.
oss << PrintOutputOptions(markdown, args...);
if (markdown)
{
if (oss.str() == "")
return util::HyphenateString(call, 2);
else
return util::HyphenateString(call, 2) + "\n" + oss.str();
}
if (oss.str() == "")
return "\\donttest{\n" + util::HyphenateString(call, 2) + "\n}";
else
return "\\donttest{\n" + util::HyphenateString(call, 2) + "\n" + oss.str() +
"\n}";
}
/**
* Given the name of a binding, print a program call assuming that all options
* are specified. The programName should not be the output of GetBindingName().
*/
inline std::string ProgramCall(const std::string& programName)
{
std::ostringstream oss;
oss << "R> ";
// Determine if we have any output options.
std::map<std::string, util::ParamData>& parameters = IO::Parameters();
bool hasOutput = false;
for (auto it = parameters.begin(); it != parameters.end(); ++it)
{
if (!it->second.input)
{
hasOutput = true;
break;
}
}
if (hasOutput)
oss << "d <- ";
oss << programName << "(";
// Now iterate over every input option.
bool first = true;
for (auto it = parameters.begin(); it != parameters.end(); ++it)
{
if (!it->second.input || (it->second.persistent &&
it->second.name != "verbose"))
continue;
if (!first)
oss << ", ";
else
first = false;
// Print the input option.
oss << it->second.name << "=";
std::string value;
IO::GetSingleton().functionMap[it->second.tname]["DefaultParam"](
it->second, NULL, (void*) &value);
oss << value;
}
oss << ")";
std::string result = util::HyphenateString(oss.str(), 8);
oss.str("");
oss << result;
// Now print output lines.
for (auto it = parameters.begin(); it != parameters.end(); ++it)
{
if (it->second.input)
continue;
// Print a new line for the output option.
oss << std::endl << "R> " << it->second.name << " <- d$" << it->second.name;
}
return oss.str();
}
/**
* Given the name of a model, print it. Here we do not need to modify anything.
*/
inline std::string PrintModel(const std::string& modelName)
{
return "\"" + modelName + "\"";
}
/**
* Given the name of a matrix, print it. Here we do not need to modify
* anything.
*/
inline std::string PrintDataset(const std::string& datasetName)
{
return "\"" + datasetName + "\"";
}
/**
* Print any closing call to a program.
*/
inline std::string ProgramCallClose()
{
return ")";
}
/**
* Given the parameter name, determine what it would actually be when passed to
* the command line.
*/
inline std::string ParamString(const std::string& paramName)
{
// For a R binding we don't need to know the type.
return "\"" + paramName + "\"";
}
/**
* Given the parameter name and an argument, return what should be written as
* documentation when referencing that argument.
*/
template<typename T>
inline std::string ParamString(const std::string& paramName, const T& value)
{
std::ostringstream oss;
oss << paramName << "=" << value;
return oss.str();
}
inline bool IgnoreCheck(const std::string& paramName)
{
return !IO::Parameters()[paramName].input;
}
inline bool IgnoreCheck(const std::vector<std::string>& constraints)
{
for (size_t i = 0; i < constraints.size(); ++i)
{
if (!IO::Parameters()[constraints[i]].input)
return true;
}
return false;
}
inline bool IgnoreCheck(
const std::vector<std::pair<std::string, bool>>& constraints,
const std::string& paramName)
{
for (size_t i = 0; i < constraints.size(); ++i)
{
if (!IO::Parameters()[constraints[i].first].input)
return true;
}
return !IO::Parameters()[paramName].input;
}
} // namespace r
} // namespace bindings
} // namespace mlpack
#endif
| [
"[email protected]"
] | |
d076fe1b3077065e9da744d0bd163f8ad8f94acf | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/agc014/A/1263908.cpp | 05496b68d22ec36a8e9b3b416d3e84048672f65f | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 678 | cpp | #include <iostream>
using namespace std;
template<typename T>
bool is_even(T const& val){
return val % 2 == 0;
}
template<typename T>
bool is_odd(T const& val){
return !is_even(val);
}
int main(void)
{
int A, B, C;
cin >> A >> B >> C;
if(is_odd(A) || is_odd(B) || is_odd(C)){
cout << 0 << endl;
return 0;
}
int a = (B+C)/2, b = (A+C)/2, c = (A+B)/2;
int ans = 1;
while(is_even(a) && is_even(b) && is_even(c)){
int aa = (b+c)/2, bb = (a+c)/2, cc = (a+b)/2;
ans++;
if(aa == A && bb == B && cc == C){
ans = -1;
break;
}
a = aa, b = bb, c = cc;
}
cout << ans << endl;
return 0;
} | [
"[email protected]"
] | |
13933750d30c11c01eeb054237a39997dbf01e37 | 260e5dec446d12a7dd3f32e331c1fde8157e5cea | /Indi/SDK/Indi_Helmet_DissRioter_Base_classes.hpp | f85516cd1ae485c3bd7d13957068d52e1efe1633 | [] | no_license | jfmherokiller/TheOuterWorldsSdkDump | 6e140fde4fcd1cade94ce0d7ea69f8a3f769e1c0 | 18a8c6b1f5d87bb1ad4334be4a9f22c52897f640 | refs/heads/main | 2023-08-30T09:27:17.723265 | 2021-09-17T00:24:52 | 2021-09-17T00:24:52 | 407,437,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | hpp | #pragma once
// TheOuterWorlds SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "Indi_Helmet_DissRioter_Base_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Helmet_DissRioter_Base.Helmet_DissRioter_Base_C
// 0x0000 (0x02B0 - 0x02B0)
class UHelmet_DissRioter_Base_C : public UHelmet
{
public:
static UClass* StaticClass()
{
static auto ptr = UObject::FindClass("BlueprintGeneratedClass Helmet_DissRioter_Base.Helmet_DissRioter_Base_C");
return ptr;
}
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"[email protected]"
] | |
54564daa776a25b29e7199244d4ad873c2774532 | 6e8a881b29df08c05496cf5547b6d313d32c0c96 | /TSPAnnealing/Individuo.cpp | f5dfc36a7f7db6cd84798f523746016d19bcf4db | [] | no_license | atorresleticia/TSPAnnealing | 252d2a96e65adf7cbaac2982d4b5535562503aa3 | 994c090d86e0a066aaff8b86e0e36867cece07fe | refs/heads/master | 2021-05-06T03:49:24.374880 | 2017-12-20T12:50:04 | 2017-12-20T12:50:04 | 114,886,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 615 | cpp | #include "stdafx.h"
#include "Individuo.h"
individuo individuo::get_melhor(individuo& a)
{
individuo melhor = this->get_aptidao() > a.get_aptidao() ? *this : a;
return melhor;
}
double individuo::distancia_ate(::cidade a, ::cidade b)
{
double dx = abs(a.x() - b.x());
double dy = abs(a.y() - b.y());
return sqrt(dx * dx + dy * dy);
}
double individuo::distancia()
{
if (distancia_ == 0)
{
for (int i = 0; i < rota_.size() - 1; i++)
{
distancia_ += distancia_ate(rota_.at(i), rota_.at(i + 1));
}
distancia_ += distancia_ate(rota_.at(0), rota_.at(rota_.size() - 1));
}
return distancia_;
}
| [
"[email protected]"
] | |
5f2e610ef245e791ae22f3f33fff837c1bf0bcb9 | 534eec831998a1b013d2c24b72b322febade8bc7 | /10 Objects and Classes/Exercise 8/main.cpp | bd8effa595d5d9f9628151fd79bfc6abba804b9a | [] | no_license | DimaZeland/Prata-cpp-Primer-Plus | 902f33def44f56f8382fd4d9f8ade407b9d1f19f | 3ede4943a87c8f53f8a9c96a3248d0f353ddc849 | refs/heads/master | 2023-04-02T01:45:04.120275 | 2023-03-29T15:49:05 | 2023-03-29T15:49:05 | 146,207,518 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | cpp | #include "List.h"
int main() {
Object first;
List Arr;
cout << "\nEnter the name of new object: ";
cin >> first.name;
cout << "\nEnter the years of new object: ";
cin >> first.years;
Arr.Push(first);
Arr.IsEmpty() ? std::cout << "\nThe list is empty\n" : std::cout << "\nThe list isn't empty\n";
std::cout << "\nEnter index of list item\n";
int ind = 0;
cin >> ind;
Arr.EditingElement(ind);
system("pause");
return 0;
}
| [
"[email protected]"
] | |
de71726c318747319b3ef729e0fdcc5e4d3a71ae | 1db7f51b89e9be64224111fdeae13bcea1edf3a6 | /Program.h | bf0fbceee017a1416fa42fe0eb22a5bde9915462 | [] | no_license | davlondev/weird-graphing-thing | 1f1dcf70ccc8223eb25201a9c0716ed019dc7fac | ec83e7f3a063e873ccd7f8b5166330a89a19d60d | refs/heads/main | 2023-04-02T07:33:52.314550 | 2021-04-02T13:12:56 | 2021-04-02T13:12:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | h | #ifndef PROGRAM_H
#define PROGRAM_H
#include "sdk.h"
struct gridPoint {
gridPoint(float x, float y) {
this->pos.x = x;
this->pos.y = y;
}
sf::Vector2f pos;
};
struct pointSet {
pointSet(sf::Color c = sf::Color::Red, sf::Vector2f initPos = sf::Vector2f(-999, -999)) {
this->clr = c;
if (initPos != sf::Vector2f(-999, -999)) {
AddPoint(initPos.x, initPos.y);
}
}
void AddPoint(float x, float y) {
this->points.push_back(gridPoint(x, y));
}
std::vector<gridPoint> points;
sf::Color clr;
};
void FixCalcs();
void AddPointSetToList(pointSet ps);
void AddNewPointSetWithoutFirstPoint();
void DeletePointSetFromList(int index);
void UpdateEvents();
void DrawMousePos();
void InitWidgets();
void ClearOutputTextBox();
void UpdateWidgets();
void DrawGridBackground();
void DrawGridLines();
void DragGrid();
void PlotPointToGrid(sf::Vector2f point, sf::Vector2i size, sf::Color clr);
sf::Vector2f CalculatePointToScreenGridPos(sf::Vector2f point);
void DrawPointsFromSetList();
void UpdatePointSetList();
sf::Vector2f ClosestSelectedPointSetPointToMouse();
void ResetGridView();
#endif
| [
"[email protected]"
] | |
5af03916fc5092e4c4cea4da62267f3ce3e0d7e2 | 6a924d718c08e3fefe23c12d1f0336b86a1f8491 | /arrows/ocv/detect_features_STAR.cxx | 70e4bf279b50636b9e1108d5bd06d73af8b434a3 | [] | no_license | gitter-badger/kwiver | b137c1d3f2d7a681df13f09ce44c8343286c3183 | ed50d98405f4ed9075957a37b76a306b5e4ed4de | refs/heads/master | 2021-01-23T17:18:52.929957 | 2016-08-30T11:45:50 | 2016-08-30T11:45:50 | 66,963,874 | 0 | 0 | null | 2016-08-30T17:44:33 | 2016-08-30T17:44:30 | null | UTF-8 | C++ | false | false | 5,434 | cxx | /*ckwg +29
* Copyright 2016 by Kitware, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* * Neither name of Kitware, Inc. nor the names of any contributors may be used
* to endorse or promote products derived from this software without specific
* prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/**
* \file
* \brief OCV Star feature detector wrapper implementation
*/
#include "detect_features_STAR.h"
#if ! defined(KWIVER_HAS_OPENCV_VER_3) || defined(HAVE_OPENCV_XFEATURES2D)
#ifndef KWIVER_HAS_OPENCV_VER_3
typedef cv::StarDetector cv_STAR_t;
#else
#include <opencv2/xfeatures2d.hpp>
typedef cv::xfeatures2d::StarDetector cv_STAR_t;
#endif
using namespace kwiver::vital;
namespace kwiver {
namespace arrows {
namespace ocv {
class detect_features_STAR::priv
{
public:
priv()
: max_size( 45 )
, response_threshold( 30 )
, line_threshold_projected( 10 )
, line_threshold_binarized( 8 )
, suppress_nonmax_size( 5 )
{
}
priv( priv const &other )
: max_size( other.max_size )
, response_threshold( other.response_threshold )
, line_threshold_projected( other.line_threshold_projected )
, line_threshold_binarized( other.line_threshold_binarized )
, suppress_nonmax_size( other.suppress_nonmax_size )
{
}
cv::Ptr<cv_STAR_t> create() const
{
#ifndef KWIVER_HAS_OPENCV_VER_3
return cv::Ptr<cv_STAR_t>(
new cv_STAR_t( max_size, response_threshold, line_threshold_projected,
line_threshold_binarized, suppress_nonmax_size )
);
#else
return cv_STAR_t::create( max_size, response_threshold,
line_threshold_projected,
line_threshold_binarized, suppress_nonmax_size );
#endif
}
#ifndef KWIVER_HAS_OPENCV_VER_3
void update( cv::Ptr<cv_STAR_t> a ) const
{
a->set( "maxSize", max_size );
a->set( "responseThreshold", response_threshold );
a->set( "lineThresholdProjected", line_threshold_projected );
a->set( "lineThresholdBinarized", line_threshold_binarized );
a->set( "suppressNonmaxSize", suppress_nonmax_size );
}
#endif
void update_config( config_block_sptr config ) const
{
config->set_value( "max_size", max_size );
config->set_value( "response_threshold", response_threshold );
config->set_value( "line_threshold_projected", line_threshold_projected );
config->set_value( "line_threshold_binarized", line_threshold_binarized );
config->set_value( "suppress_nonmax_size", suppress_nonmax_size );
}
void set_config( config_block_sptr config )
{
max_size = config->get_value<int>( "max_size" );
response_threshold = config->get_value<int>( "response_threshold" );
line_threshold_projected = config->get_value<int>( "line_threshold_projected" );
line_threshold_binarized = config->get_value<int>( "line_threshold_binarized" );
suppress_nonmax_size = config->get_value<int>( "suppress_nonmax_size" );
}
// Parameters
int max_size;
int response_threshold;
int line_threshold_projected;
int line_threshold_binarized;
int suppress_nonmax_size;
};
detect_features_STAR
::detect_features_STAR()
: p_( new priv )
{
attach_logger( "arrows.ocv.star" );
detector = p_->create();
}
detect_features_STAR
::detect_features_STAR(detect_features_STAR const &other)
: p_( new priv( *other.p_ ) )
{
attach_logger( "arrows.ocv.star" );
detector = p_->create();
}
detect_features_STAR
::~detect_features_STAR()
{
}
vital::config_block_sptr
detect_features_STAR
::get_configuration() const
{
config_block_sptr config = ocv::detect_features::get_configuration();
p_->update_config( config );
return config;
}
void
detect_features_STAR
::set_configuration(vital::config_block_sptr config)
{
config_block_sptr c = get_configuration();
c->merge_config( config );
p_->set_config( c );
#ifndef KWIVER_HAS_OPENCV_VER_3
p_->update( detector );
#else
detector = p_->create();
#endif
}
bool
detect_features_STAR
::check_configuration(vital::config_block_sptr config) const
{
return true;
}
} // end namespace ocv
} // end namespace arrows
} // end namespace kwiver
#endif //has OCV support
| [
"[email protected]"
] | |
38b0acec073d5b85a3a1925d4f16fe1551d1bdf7 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_4895.cpp | 1e6e610155c9ad9ea8b4844b497e5320febcf181 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | }
if (commit_tree(sb.buf, active_cache_tree->sha1, parents, commit_sha1,
author_ident.buf)) {
rollback_index_files();
die("failed to write commit object");
}
strbuf_release(&author_ident);
ref_lock = lock_any_ref_for_update("HEAD",
initial_commit ? NULL : head_sha1, | [
"[email protected]"
] | |
0d7e347306c54911d712352754827c7a51e770a5 | 27237ed26f25f096ca9daddc4ca3b2c9a92cfaeb | /02_concurrency/example03/Ex03_02.cpp | 472e2dedb78d06639bd2804d3ec34e7cb768a302 | [] | no_license | wanglg007/Cplusplus17 | 490fc71ef0f6bcfb856d95dec3c4ef309c45e9c4 | 423e2cec158148c66542e31d408066434fc2e97f | refs/heads/master | 2021-10-10T14:42:27.425103 | 2019-01-12T09:13:35 | 2019-01-12T09:13:35 | 148,996,016 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,726 | cpp | //不同线程对数据的读写
#include <vector>
#include <atomic>
#include <iostream>
#include <chrono>
#include <thread>
std::vector<int> data;
std::atomic_bool data_ready(false);
void reader_thread() {
while (!data_ready.load()) { // 1
std::this_thread::sleep_for(std::chrono::milliseconds(1));
}
std::cout << "The answer=" << data[0] << "\n"; // 2
}
void writer_thread() {
data.push_back(42); // 3
data_ready = true; // 4
}
int main() {
}
/**
* 把等待数据的低效循环①放在一边(需要这个循环,否则想要在线程间共享数据就是不切实际的:数据的每一项都必须是原子的)。当非原子读②和写③对同一数据结构
* 进行无序访问时,将会导致未定义行为的发生,因此这个循环就是确保访问循序被严格的遵守的。
*
* 强制访问顺序是由对std::atomic<bool>类型的data_ready变量进行操作完成的;这些操作通过“先行发生”(happens-before)和“同步发生”(synchronizes-with)确定
* 必要的顺序。写入数据③的操作,在写入data_ready标志④的操作前发生,并且读取标志①发生在读取数据②之前。当data_ready①为true,写操作就会与读操作同步,
* 建立一个“先行发生”关系。因为“先行发生”是可传递的,所以读取数据③先行与写入标志④,这两个行为有先行与读取标志的操作①,之前的操作都先行与读取数据②,
* 这样你就拥有了强制顺序:写入数据先行与读取数据,其他没问题。
*
*/ | [
"wangligang"
] | wangligang |
0049b7cdd2de7b7601d7463c8c6dde670665b359 | e45b4a403315b9b14428c40e008adf72ca8561f8 | /Karnet_zjazdowy.cpp | 8b22593c1a444cb727b6e804e2662c816b853c94 | [] | no_license | kjop118/Osrodek-narciarski | e64ddb1739ff00a3b06e386c7660d23cb2a51b3a | 87de3a51e42a225f62c7bb8a46af9f73ec34539e | refs/heads/master | 2020-09-18T18:42:43.228761 | 2020-01-28T10:29:52 | 2020-01-28T10:29:52 | 224,167,837 | 0 | 0 | null | 2020-01-21T11:09:25 | 2019-11-26T10:46:35 | C++ | UTF-8 | C++ | false | false | 55 | cpp | class Zjazdowy
{
public:
int ilosc_zjazdow;
};
| [
"[email protected]"
] | |
3a849fadd5f5e8178de30325cf2414282c390d1e | 9c7acb94cb056b2697b9abf58f074806718b3f90 | /locationitem.cpp | fc7ba5b66c4353bb2f1b12b8871023b17e431ab1 | [] | no_license | sarpich1204/DollarVPN | d7c1667f49b3a73c86ce1a09eef9f3d2d14dce5b | 89623879bf99def3dbda4816b5d1dcccf7600861 | refs/heads/master | 2020-03-20T20:07:59.442699 | 2018-06-17T16:45:35 | 2018-06-17T16:45:35 | 137,671,654 | 1 | 0 | null | 2018-06-17T17:04:40 | 2018-06-17T17:04:39 | null | UTF-8 | C++ | false | false | 100 | cpp | #include "locationitem.h"
LocationItem::LocationItem(QWidget *parent) : QWidget(parent)
{
}
| [
"[email protected]"
] | |
809c1b17b4c66fedc2433642654f0b5876a86061 | 7d35b56f371a98768f2dab2ebfe6671ffbd933bc | /test/unit/src/metal/lambda/trait.cpp | a2959f9934e7447058fdedf368c4f88bd6c23b4f | [
"MIT"
] | permissive | brunocodutra/metal | e3d36d480ce083564e5bc77c28bc8512c66db8fd | 9db9b403e58e0be0bbd295ff64f01e700965f25d | refs/heads/master | 2023-08-18T21:10:56.730925 | 2022-04-10T20:05:57 | 2022-04-10T21:19:44 | 31,686,207 | 362 | 30 | MIT | 2022-04-10T21:19:44 | 2015-03-04T23:47:59 | C++ | UTF-8 | C++ | false | false | 1,300 | cpp | #include <metal.hpp>
#include "test.hpp"
#define MATRIX(M, N) \
CHECK((metal::is_invocable<metal::trait<EXPR(N)>, VALUE(M)>), (BOOL(N == 1))); \
CHECK((metal::is_invocable<metal::trait<EXPR(N)>, NUMBER(M)>), (BOOL(N == 1))); \
CHECK((metal::is_invocable<metal::trait<EXPR(N)>, PAIR(M)>), (BOOL(N == 1))); \
CHECK((metal::is_invocable<metal::trait<EXPR(N)>, LIST(M)>), (BOOL(N == 1))); \
CHECK((metal::is_invocable<metal::trait<EXPR(N)>, MAP(M)>), (BOOL(N == 1))); \
CHECK((metal::is_invocable<metal::trait<EXPR(N)>, LAMBDA(M)>), (BOOL(N == 1))); \
CHECK((metal::is_invocable<metal::trait<EXPR(N)>, LAMBDA(_)>), (BOOL(N == 1))); \
CHECK((metal::is_invocable<metal::trait<EXPR(_)>, VALUE(M)>), (FALSE)); \
CHECK((metal::is_invocable<metal::trait<EXPR(_)>, NUMBER(M)>), (FALSE)); \
CHECK((metal::is_invocable<metal::trait<EXPR(_)>, PAIR(M)>), (FALSE)); \
CHECK((metal::is_invocable<metal::trait<EXPR(_)>, LIST(M)>), (FALSE)); \
CHECK((metal::is_invocable<metal::trait<EXPR(_)>, MAP(M)>), (FALSE)); \
CHECK((metal::is_invocable<metal::trait<EXPR(_)>, LAMBDA(M)>), (FALSE)); \
CHECK((metal::is_invocable<metal::trait<EXPR(_)>, LAMBDA(_)>), (FALSE)); \
CHECK((metal::invoke<metal::trait<EXPR(1)>, NUMBER(N)>), (NUMBER(1))); \
/**/
GEN(MATRIX)
| [
"[email protected]"
] | |
11d96c52e5dd70bf8bdf2e2347fc88660bdf6814 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /chrome/browser/chromeos/child_accounts/screen_time_controller.cc | eca6d9ad0cd8234f78cc1b6c99ba7eb6fe00fcd2 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 14,277 | cc | // Copyright 2018 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.
#include "chrome/browser/chromeos/child_accounts/screen_time_controller.h"
#include "ash/public/cpp/vector_icons/vector_icons.h"
#include "base/optional.h"
#include "chrome/browser/chromeos/profiles/profile_helper.h"
#include "chrome/browser/notifications/notification_display_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/ash/login_screen_client.h"
#include "chrome/common/pref_names.h"
#include "chrome/grit/generated_resources.h"
#include "chromeos/dbus/dbus_thread_manager.h"
#include "chromeos/dbus/session_manager_client.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"
#include "components/session_manager/core/session_manager.h"
#include "content/public/browser/browser_context.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/l10n/time_format.h"
#include "ui/message_center/public/cpp/notification.h"
namespace chromeos {
namespace {
constexpr base::TimeDelta kWarningNotificationTimeout =
base::TimeDelta::FromMinutes(5);
constexpr base::TimeDelta kExitNotificationTimeout =
base::TimeDelta::FromMinutes(1);
constexpr base::TimeDelta kScreenTimeUsageUpdateFrequency =
base::TimeDelta::FromMinutes(1);
// The notification id. All the time limit notifications share the same id so
// that a subsequent notification can replace the previous one.
constexpr char kTimeLimitNotificationId[] = "time-limit-notification";
// The notifier id representing the app.
constexpr char kTimeLimitNotifierId[] = "family-link";
// Dictionary keys for prefs::kScreenTimeLastState. Time relavant states are
// not saved because processor should not count on them as they could become
// invalid easiliy.
constexpr char kScreenStateLocked[] = "locked";
constexpr char kScreenStateCurrentPolicyType[] = "active_policy";
constexpr char kScreenStateTimeUsageLimitEnabled[] = "time_usage_limit_enabled";
constexpr char kScreenStateNextPolicyType[] = "next_active_policy";
} // namespace
// static
void ScreenTimeController::RegisterProfilePrefs(PrefRegistrySimple* registry) {
registry->RegisterTimePref(prefs::kCurrentScreenStartTime, base::Time());
registry->RegisterTimePref(prefs::kFirstScreenStartTime, base::Time());
registry->RegisterIntegerPref(prefs::kScreenTimeMinutesUsed, 0);
registry->RegisterDictionaryPref(prefs::kUsageTimeLimit);
registry->RegisterDictionaryPref(prefs::kScreenTimeLastState);
}
ScreenTimeController::ScreenTimeController(content::BrowserContext* context)
: context_(context),
pref_service_(Profile::FromBrowserContext(context)->GetPrefs()) {
session_manager::SessionManager::Get()->AddObserver(this);
pref_change_registrar_.Init(pref_service_);
pref_change_registrar_.Add(
prefs::kUsageTimeLimit,
base::BindRepeating(&ScreenTimeController::OnPolicyChanged,
base::Unretained(this)));
}
ScreenTimeController::~ScreenTimeController() {
session_manager::SessionManager::Get()->RemoveObserver(this);
SaveScreenTimeProgressBeforeExit();
}
base::TimeDelta ScreenTimeController::GetScreenTimeDuration() const {
base::TimeDelta previous_duration = base::TimeDelta::FromMinutes(
pref_service_->GetInteger(prefs::kScreenTimeMinutesUsed));
if (current_screen_start_time_.is_null())
return previous_duration;
base::TimeDelta current_screen_duration =
base::Time::Now() - current_screen_start_time_;
return current_screen_duration + previous_duration;
}
void ScreenTimeController::CheckTimeLimit() {
// Stop any currently running timer.
ResetTimers();
base::Time now = base::Time::Now();
const base::DictionaryValue* time_limit =
pref_service_->GetDictionary(prefs::kUsageTimeLimit);
usage_time_limit::State state = usage_time_limit::GetState(
time_limit->CreateDeepCopy(), GetScreenTimeDuration(),
first_screen_start_time_, now, GetLastStateFromPref());
SaveCurrentStateToPref(state);
if (state.is_locked) {
base::Time reset_time = usage_time_limit::GetExpectedResetTime(
time_limit->CreateDeepCopy(), now);
LockScreen(true /*force_lock_by_policy*/, reset_time);
} else {
usage_time_limit::ActivePolicies active_policy = state.active_policy;
if (active_policy == usage_time_limit::ActivePolicies::kNoActivePolicy)
RefreshScreenLimit();
LockScreen(false /*force_lock_by_policy*/, base::Time() /*come_back_time*/);
if (!state.next_state_change_time.is_null() &&
(active_policy == usage_time_limit::ActivePolicies::kFixedLimit ||
active_policy == usage_time_limit::ActivePolicies::kUsageLimit)) {
// Schedule notification based on the remaining screen time.
const base::TimeDelta remaining_usage = state.remaining_usage;
const TimeLimitNotificationType notification_type =
active_policy == usage_time_limit::ActivePolicies::kFixedLimit
? kBedTime
: kScreenTime;
if (remaining_usage >= kWarningNotificationTimeout) {
warning_notification_timer_.Start(
FROM_HERE, remaining_usage - kWarningNotificationTimeout,
base::BindRepeating(&ScreenTimeController::ShowNotification,
base::Unretained(this), notification_type,
kWarningNotificationTimeout));
}
if (remaining_usage >= kExitNotificationTimeout) {
exit_notification_timer_.Start(
FROM_HERE, remaining_usage - kExitNotificationTimeout,
base::BindRepeating(&ScreenTimeController::ShowNotification,
base::Unretained(this), notification_type,
kExitNotificationTimeout));
}
}
}
if (!state.next_state_change_time.is_null()) {
next_state_timer_.Start(
FROM_HERE, state.next_state_change_time - base::Time::Now(),
base::BindRepeating(&ScreenTimeController::CheckTimeLimit,
base::Unretained(this)));
}
}
void ScreenTimeController::LockScreen(bool force_lock_by_policy,
base::Time come_back_time) {
bool is_locked = session_manager::SessionManager::Get()->IsScreenLocked();
// No-op if the screen is currently not locked and policy does not force the
// lock.
if (!is_locked && !force_lock_by_policy)
return;
// Request to show lock screen.
if (!is_locked && force_lock_by_policy) {
chromeos::DBusThreadManager::Get()
->GetSessionManagerClient()
->RequestLockScreen();
}
AccountId account_id =
chromeos::ProfileHelper::Get()
->GetUserByProfile(Profile::FromBrowserContext(context_))
->GetAccountId();
LoginScreenClient::Get()->login_screen()->SetAuthEnabledForUser(
account_id, !force_lock_by_policy,
force_lock_by_policy ? come_back_time : base::Optional<base::Time>());
}
void ScreenTimeController::ShowNotification(
ScreenTimeController::TimeLimitNotificationType type,
const base::TimeDelta& time_remaining) {
const base::string16 title = l10n_util::GetStringUTF16(
type == kScreenTime ? IDS_SCREEN_TIME_NOTIFICATION_TITLE
: IDS_BED_TIME_NOTIFICATION_TITLE);
std::unique_ptr<message_center::Notification> notification =
message_center::Notification::CreateSystemNotification(
message_center::NOTIFICATION_TYPE_SIMPLE, kTimeLimitNotificationId,
title,
ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_DURATION,
ui::TimeFormat::LENGTH_LONG, time_remaining),
gfx::Image(),
l10n_util::GetStringUTF16(IDS_TIME_LIMIT_NOTIFICATION_DISPLAY_SOURCE),
GURL(),
message_center::NotifierId(
message_center::NotifierId::SYSTEM_COMPONENT,
kTimeLimitNotifierId),
message_center::RichNotificationData(),
new message_center::NotificationDelegate(),
ash::kNotificationSupervisedUserIcon,
message_center::SystemNotificationWarningLevel::NORMAL);
NotificationDisplayService::GetForProfile(
Profile::FromBrowserContext(context_))
->Display(NotificationHandler::Type::TRANSIENT, *notification);
}
void ScreenTimeController::RefreshScreenLimit() {
base::Time now = base::Time::Now();
pref_service_->SetTime(prefs::kFirstScreenStartTime, now);
pref_service_->SetTime(prefs::kCurrentScreenStartTime, now);
pref_service_->SetInteger(prefs::kScreenTimeMinutesUsed, 0);
pref_service_->CommitPendingWrite();
first_screen_start_time_ = now;
current_screen_start_time_ = now;
}
void ScreenTimeController::OnPolicyChanged() {
CheckTimeLimit();
}
void ScreenTimeController::ResetTimers() {
next_state_timer_.Stop();
warning_notification_timer_.Stop();
exit_notification_timer_.Stop();
save_screen_time_timer_.Stop();
}
void ScreenTimeController::SaveScreenTimeProgressBeforeExit() {
pref_service_->SetInteger(prefs::kScreenTimeMinutesUsed,
GetScreenTimeDuration().InMinutes());
pref_service_->ClearPref(prefs::kCurrentScreenStartTime);
pref_service_->CommitPendingWrite();
current_screen_start_time_ = base::Time();
ResetTimers();
}
void ScreenTimeController::SaveScreenTimeProgressPeriodically() {
pref_service_->SetInteger(prefs::kScreenTimeMinutesUsed,
GetScreenTimeDuration().InMinutes());
current_screen_start_time_ = base::Time::Now();
pref_service_->SetTime(prefs::kCurrentScreenStartTime,
current_screen_start_time_);
pref_service_->CommitPendingWrite();
}
void ScreenTimeController::SaveCurrentStateToPref(
const usage_time_limit::State& state) {
auto state_dict =
std::make_unique<base::Value>(base::Value::Type::DICTIONARY);
state_dict->SetKey(kScreenStateLocked, base::Value(state.is_locked));
state_dict->SetKey(kScreenStateCurrentPolicyType,
base::Value(static_cast<int>(state.active_policy)));
state_dict->SetKey(kScreenStateTimeUsageLimitEnabled,
base::Value(state.is_time_usage_limit_enabled));
state_dict->SetKey(
kScreenStateNextPolicyType,
base::Value(static_cast<int>(state.next_state_active_policy)));
pref_service_->Set(prefs::kScreenTimeLastState, *state_dict);
pref_service_->CommitPendingWrite();
}
base::Optional<usage_time_limit::State>
ScreenTimeController::GetLastStateFromPref() {
const base::DictionaryValue* last_state =
pref_service_->GetDictionary(prefs::kScreenTimeLastState);
usage_time_limit::State result;
if (last_state->empty())
return base::nullopt;
// Verify is_locked from the pref is a boolean value.
const base::Value* is_locked = last_state->FindKey(kScreenStateLocked);
if (!is_locked || !is_locked->is_bool())
return base::nullopt;
result.is_locked = is_locked->GetBool();
// Verify active policy type is a value of usage_time_limit::ActivePolicies.
const base::Value* active_policy =
last_state->FindKey(kScreenStateCurrentPolicyType);
// TODO(crbug.com/823536): Add kCount in usage_time_limit::ActivePolicies
// instead of checking kUsageLimit here.
if (!active_policy || !active_policy->is_int() ||
active_policy->GetInt() < 0 ||
active_policy->GetInt() >
static_cast<int>(usage_time_limit::ActivePolicies::kUsageLimit)) {
return base::nullopt;
}
result.active_policy =
static_cast<usage_time_limit::ActivePolicies>(active_policy->GetInt());
// Verify time_usage_limit_enabled from the pref is a boolean value.
const base::Value* time_usage_limit_enabled =
last_state->FindKey(kScreenStateTimeUsageLimitEnabled);
if (!time_usage_limit_enabled || !time_usage_limit_enabled->is_bool())
return base::nullopt;
result.is_time_usage_limit_enabled = time_usage_limit_enabled->GetBool();
// Verify next policy type is a value of usage_time_limit::ActivePolicies.
const base::Value* next_active_policy =
last_state->FindKey(kScreenStateNextPolicyType);
if (!next_active_policy || !next_active_policy->is_int() ||
next_active_policy->GetInt() < 0 ||
next_active_policy->GetInt() >
static_cast<int>(usage_time_limit::ActivePolicies::kUsageLimit)) {
return base::nullopt;
}
result.next_state_active_policy =
static_cast<usage_time_limit::ActivePolicies>(
next_active_policy->GetInt());
return result;
}
void ScreenTimeController::OnSessionStateChanged() {
session_manager::SessionState session_state =
session_manager::SessionManager::Get()->session_state();
if (session_state == session_manager::SessionState::LOCKED) {
SaveScreenTimeProgressBeforeExit();
} else if (session_state == session_manager::SessionState::ACTIVE) {
base::Time now = base::Time::Now();
const base::Time first_screen_start_time =
pref_service_->GetTime(prefs::kFirstScreenStartTime);
if (first_screen_start_time.is_null()) {
pref_service_->SetTime(prefs::kFirstScreenStartTime, now);
first_screen_start_time_ = now;
} else {
first_screen_start_time_ = first_screen_start_time;
}
const base::Time current_screen_start_time =
pref_service_->GetTime(prefs::kCurrentScreenStartTime);
if (!current_screen_start_time.is_null() &&
current_screen_start_time < now &&
(now - current_screen_start_time) <
2 * kScreenTimeUsageUpdateFrequency) {
current_screen_start_time_ = current_screen_start_time;
} else {
// If kCurrentScreenStartTime is not set or it's been too long since the
// last update, set the time to now.
current_screen_start_time_ = now;
}
pref_service_->SetTime(prefs::kCurrentScreenStartTime,
current_screen_start_time_);
pref_service_->CommitPendingWrite();
CheckTimeLimit();
save_screen_time_timer_.Start(
FROM_HERE, kScreenTimeUsageUpdateFrequency,
base::BindRepeating(
&ScreenTimeController::SaveScreenTimeProgressPeriodically,
base::Unretained(this)));
}
}
} // namespace chromeos
| [
"[email protected]"
] | |
d4f364d9f4f3a8cf1cec33184917636b30aac058 | ba5d1d776888be6ae9688d850f0445d80973ee8f | /public/XZip.cpp | 2b187a85354b061750344af5c07c2d7622dc2d4c | [
"MIT"
] | permissive | BerntA/tfo-code | eb127b86111dce2b6f66e98c9476adc9ddbbd267 | b82efd940246af8fe90cb76fa6a96bba42c277b7 | refs/heads/master | 2023-08-17T06:57:13.107323 | 2023-08-09T18:37:54 | 2023-08-09T18:37:54 | 41,260,457 | 16 | 5 | MIT | 2023-05-29T23:35:33 | 2015-08-23T17:52:50 | C++ | UTF-8 | C++ | false | false | 113,459 | cpp | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
// XZip.cpp Version 1.1
//
// Authors: Mark Adler et al. (see below)
//
// Modified by: Lucian Wischik
// [email protected]
//
// Version 1.0 - Turned C files into just a single CPP file
// - Made them compile cleanly as C++ files
// - Gave them simpler APIs
// - Added the ability to zip/unzip directly in memory without
// any intermediate files
//
// Modified by: Hans Dietrich
// [email protected]
//
// Version 1.1: - Added Unicode support to CreateZip() and ZipAdd()
// - Changed file names to avoid conflicts with Lucian's files
//
///////////////////////////////////////////////////////////////////////////////
//
// Lucian Wischik's comments:
// --------------------------
// THIS FILE is almost entirely based upon code by Info-ZIP.
// It has been modified by Lucian Wischik.
// The original code may be found at http://www.info-zip.org
// The original copyright text follows.
//
///////////////////////////////////////////////////////////////////////////////
//
// Original authors' comments:
// ---------------------------
// This is version 2002-Feb-16 of the Info-ZIP copyright and license. The
// definitive version of this document should be available at
// ftp://ftp.info-zip.org/pub/infozip/license.html indefinitely.
//
// Copyright (c) 1990-2002 Info-ZIP. All rights reserved.
//
// For the purposes of this copyright and license, "Info-ZIP" is defined as
// the following set of individuals:
//
// Mark Adler, John Bush, Karl Davis, Harald Denker, Jean-Michel Dubois,
// Jean-loup Gailly, Hunter Goatley, Ian Gorman, Chris Herborth, Dirk Haase,
// Greg Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz,
// David Kirschbaum, Johnny Lee, Onno van der Linden, Igor Mandrichenko,
// Steve P. Miller, Sergio Monesi, Keith Owens, George Petrov, Greg Roelofs,
// Kai Uwe Rommel, Steve Salisbury, Dave Smith, Christian Spieler,
// Antoine Verheijen, Paul von Behren, Rich Wales, Mike White
//
// This software is provided "as is", without warranty of any kind, express
// or implied. In no event shall Info-ZIP or its contributors be held liable
// for any direct, indirect, incidental, special or consequential damages
// arising out of the use of or inability to use this software.
//
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it
// freely, subject to the following restrictions:
//
// 1. Redistributions of source code must retain the above copyright notice,
// definition, disclaimer, and this list of conditions.
//
// 2. Redistributions in binary form (compiled executables) must reproduce
// the above copyright notice, definition, disclaimer, and this list of
// conditions in documentation and/or other materials provided with the
// distribution. The sole exception to this condition is redistribution
// of a standard UnZipSFX binary as part of a self-extracting archive;
// that is permitted without inclusion of this license, as long as the
// normal UnZipSFX banner has not been removed from the binary or disabled.
//
// 3. Altered versions--including, but not limited to, ports to new
// operating systems, existing ports with new graphical interfaces, and
// dynamic, shared, or static library versions--must be plainly marked
// as such and must not be misrepresented as being the original source.
// Such altered versions also must not be misrepresented as being
// Info-ZIP releases--including, but not limited to, labeling of the
// altered versions with the names "Info-ZIP" (or any variation thereof,
// including, but not limited to, different capitalizations),
// "Pocket UnZip", "WiZ" or "MacZip" without the explicit permission of
// Info-ZIP. Such altered versions are further prohibited from
// misrepresentative use of the Zip-Bugs or Info-ZIP e-mail addresses or
// of the Info-ZIP URL(s).
//
// 4. Info-ZIP retains the right to use the names "Info-ZIP", "Zip", "UnZip",
// "UnZipSFX", "WiZ", "Pocket UnZip", "Pocket Zip", and "MacZip" for its
// own source and binary releases.
//
///////////////////////////////////////////////////////////////////////////////
#if defined( WIN32) && !defined( _X360 )
#define STRICT
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#elif !defined(_X360)
#define far
#define near
#define INVALID_HANDLE_VALUE (void*)-1
#define _tzset tzset
#endif
#if defined( _X360 )
#include "xbox/xbox_win32stubs.h"
#endif
#include <time.h>
#include "zip/XZip.h"
#ifdef __clang__
// These clang 3.1 warnings don't seem very useful, and cannot easily be
// avoided in this file.
#pragma GCC diagnostic ignored "-Wdangling-else" // warning: add explicit braces to avoid dangling else [-Wdangling-else]
#endif
#ifdef OSX
#define MAP_ANONYMOUS MAP_ANON
#endif
#ifdef XZIP_NOT_THREAD_SAFE
static ZRESULT lasterrorZ=ZR_OK;
#else
#include "tier0/threadtools.h"
static CThreadLocalInt<ZRESULT> lasterrorZ;
#endif
typedef unsigned char uch; // unsigned 8-bit value
typedef unsigned short ush; // unsigned 16-bit value
typedef unsigned long ulg; // unsigned 32-bit value
typedef size_t extent; // file size
typedef unsigned Pos; // must be at least 32 bits
typedef unsigned IPos; // A Pos is an index in the character window. Pos is used only for parameter passing
#ifndef EOF
#define EOF (-1)
#endif
// Error return values. The values 0..4 and 12..18 follow the conventions
// of PKZIP. The values 4..10 are all assigned to "insufficient memory"
// by PKZIP, so the codes 5..10 are used here for other purposes.
#define ZE_MISS -1 // used by procname(), zipbare()
#define ZE_OK 0 // success
#define ZE_EOF 2 // unexpected end of zip file
#define ZE_FORM 3 // zip file structure error
#define ZE_MEM 4 // out of memory
#define ZE_LOGIC 5 // internal logic error
#define ZE_BIG 6 // entry too large to split
#define ZE_NOTE 7 // invalid comment format
#define ZE_TEST 8 // zip test (-T) failed or out of memory
#define ZE_ABORT 9 // user interrupt or termination
#define ZE_TEMP 10 // error using a temp file
#define ZE_READ 11 // read or seek error
#define ZE_NONE 12 // nothing to do
#define ZE_NAME 13 // missing or empty zip file
#define ZE_WRITE 14 // error writing to a file
#define ZE_CREAT 15 // couldn't open to write
#define ZE_PARMS 16 // bad command line
#define ZE_OPEN 18 // could not open a specified file to read
#define ZE_MAXERR 18 // the highest error number
// internal file attribute
#define UNKNOWN (-1)
#define BINARY 0
#define ASCII 1
#define BEST -1 // Use best method (deflation or store)
#define STORE 0 // Store method
#define DEFLATE 8 // Deflation method
#define CRCVAL_INITIAL 0L
// MSDOS file or directory attributes
#define MSDOS_HIDDEN_ATTR 0x02
#define MSDOS_DIR_ATTR 0x10
// Lengths of headers after signatures in bytes
#define LOCHEAD 26
#define CENHEAD 42
#define ENDHEAD 18
// Definitions for extra field handling:
#define EB_HEADSIZE 4 /* length of a extra field block header */
#define EB_LEN 2 /* offset of data length field in header */
#define EB_UT_MINLEN 1 /* minimal UT field contains Flags byte */
#define EB_UT_FLAGS 0 /* byte offset of Flags field */
#define EB_UT_TIME1 1 /* byte offset of 1st time value */
#define EB_UT_FL_MTIME (1 << 0) /* mtime present */
#define EB_UT_FL_ATIME (1 << 1) /* atime present */
#define EB_UT_FL_CTIME (1 << 2) /* ctime present */
#define EB_UT_LEN(n) (EB_UT_MINLEN + 4 * (n))
#define EB_L_UT_SIZE (EB_HEADSIZE + EB_UT_LEN(3))
#define EB_C_UT_SIZE (EB_HEADSIZE + EB_UT_LEN(1))
// Macros for writing machine integers to little-endian format
#define PUTSH(a,f) {char _putsh_c=(char)((a)&0xff); wfunc(param,&_putsh_c,1); _putsh_c=(char)((a)>>8); wfunc(param,&_putsh_c,1);}
#define PUTLG(a,f) {PUTSH((a) & 0xffff,(f)) PUTSH((a) >> 16,(f))}
// -- Structure of a ZIP file --
// Signatures for zip file information headers
#define LOCSIG 0x04034b50L
#define CENSIG 0x02014b50L
#define ENDSIG 0x06054b50L
#define EXTLOCSIG 0x08074b50L
#define MIN_MATCH 3
#define MAX_MATCH 258
// The minimum and maximum match lengths
#define WSIZE (0x8000)
// Maximum window size = 32K. If you are really short of memory, compile
// with a smaller WSIZE but this reduces the compression ratio for files
// of size > WSIZE. WSIZE must be a power of two in the current implementation.
//
#define MIN_LOOKAHEAD (MAX_MATCH+MIN_MATCH+1)
// Minimum amount of lookahead, except at the end of the input file.
// See deflate.c for comments about the MIN_MATCH+1.
//
#define MAX_DIST (WSIZE-MIN_LOOKAHEAD)
// In order to simplify the code, particularly on 16 bit machines, match
// distances are limited to MAX_DIST instead of WSIZE.
//
// ===========================================================================
// Constants
//
#define MAX_BITS 15
// All codes must not exceed MAX_BITS bits
#define MAX_BL_BITS 7
// Bit length codes must not exceed MAX_BL_BITS bits
#define LENGTH_CODES 29
// number of length codes, not counting the special END_BLOCK code
#define LITERALS 256
// number of literal bytes 0..255
#define END_BLOCK 256
// end of block literal code
#define L_CODES (LITERALS+1+LENGTH_CODES)
// number of Literal or Length codes, including the END_BLOCK code
#define D_CODES 30
// number of distance codes
#define BL_CODES 19
// number of codes used to transfer the bit lengths
#define STORED_BLOCK 0
#define STATIC_TREES 1
#define DYN_TREES 2
// The three kinds of block type
#define LIT_BUFSIZE 0x8000
#define DIST_BUFSIZE LIT_BUFSIZE
// Sizes of match buffers for literals/lengths and distances. There are
// 4 reasons for limiting LIT_BUFSIZE to 64K:
// - frequencies can be kept in 16 bit counters
// - if compression is not successful for the first block, all input data is
// still in the window so we can still emit a stored block even when input
// comes from standard input. (This can also be done for all blocks if
// LIT_BUFSIZE is not greater than 32K.)
// - if compression is not successful for a file smaller than 64K, we can
// even emit a stored file instead of a stored block (saving 5 bytes).
// - creating new Huffman trees less frequently may not provide fast
// adaptation to changes in the input data statistics. (Take for
// example a binary file with poorly compressible code followed by
// a highly compressible string table.) Smaller buffer sizes give
// fast adaptation but have of course the overhead of transmitting trees
// more frequently.
// - I can't count above 4
// The current code is general and allows DIST_BUFSIZE < LIT_BUFSIZE (to save
// memory at the expense of compression). Some optimizations would be possible
// if we rely on DIST_BUFSIZE == LIT_BUFSIZE.
//
#define REP_3_6 16
// repeat previous bit length 3-6 times (2 bits of repeat count)
#define REPZ_3_10 17
// repeat a zero length 3-10 times (3 bits of repeat count)
#define REPZ_11_138 18
// repeat a zero length 11-138 times (7 bits of repeat count)
#define HEAP_SIZE (2*L_CODES+1)
// maximum heap size
// ===========================================================================
// Local data used by the "bit string" routines.
//
#define Buf_size (8 * 2*sizeof(char))
// Number of bits used within bi_buf. (bi_buf may be implemented on
// more than 16 bits on some systems.)
// Output a 16 bit value to the bit stream, lower (oldest) byte first
#define PUTSHORT(state,w) \
{ if (state.bs.out_offset >= state.bs.out_size-1) \
state.flush_outbuf(state.param,state.bs.out_buf, &state.bs.out_offset); \
/* flush may fail, so only write into the buffer if there's actually room (same below) */ \
if (state.bs.out_offset < state.bs.out_size-1) { \
state.bs.out_buf[state.bs.out_offset++] = (char) ((w) & 0xff); \
state.bs.out_buf[state.bs.out_offset++] = (char) ((ush)(w) >> 8); \
} \
}
#define PUTBYTE(state,b) \
{ if (state.bs.out_offset >= state.bs.out_size) \
state.flush_outbuf(state.param,state.bs.out_buf, &state.bs.out_offset); \
if (state.bs.out_offset < state.bs.out_size) \
state.bs.out_buf[state.bs.out_offset++] = (char) (b); \
}
// DEFLATE.CPP HEADER
#define HASH_BITS 15
// For portability to 16 bit machines, do not use values above 15.
#define HASH_SIZE (unsigned)(1<<HASH_BITS)
#define HASH_MASK (HASH_SIZE-1)
#define WMASK (WSIZE-1)
// HASH_SIZE and WSIZE must be powers of two
#define NIL 0
// Tail of hash chains
#define FAST 4
#define SLOW 2
// speed options for the general purpose bit flag
#define TOO_FAR 4096
// Matches of length 3 are discarded if their distance exceeds TOO_FAR
#define EQUAL 0
// result of memcmp for equal strings
// ===========================================================================
// Local data used by the "longest match" routines.
#define H_SHIFT ((HASH_BITS+MIN_MATCH-1)/MIN_MATCH)
// Number of bits by which ins_h and del_h must be shifted at each
// input step. It must be such that after MIN_MATCH steps, the oldest
// byte no longer takes part in the hash key, that is:
// H_SHIFT * MIN_MATCH >= HASH_BITS
#define max_insert_length max_lazy_match
// Insert new strings in the hash table only if the match length
// is not greater than this length. This saves time but degrades compression.
// max_insert_length is used only for compression levels <= 3.
const int extra_lbits[LENGTH_CODES] // extra bits for each length code
= {0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0};
const int extra_dbits[D_CODES] // extra bits for each distance code
= {0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13};
const int extra_blbits[BL_CODES]// extra bits for each bit length code
= {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7};
const uch bl_order[BL_CODES] = {16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15};
// The lengths of the bit length codes are sent in order of decreasing
// probability, to avoid transmitting the lengths for unused bit length codes.
typedef struct config {
ush good_length; // reduce lazy search above this match length
ush max_lazy; // do not perform lazy search above this match length
ush nice_length; // quit search above this match length
ush max_chain;
} config;
// Values for max_lazy_match, good_match, nice_match and max_chain_length,
// depending on the desired pack level (0..9). The values given below have
// been tuned to exclude worst case performance for pathological files.
// Better values may be found for specific files.
//
const config configuration_table[10] = {
// good lazy nice chain
{0, 0, 0, 0}, // 0 store only
{4, 4, 8, 4}, // 1 maximum speed, no lazy matches
{4, 5, 16, 8}, // 2
{4, 6, 32, 32}, // 3
{4, 4, 16, 16}, // 4 lazy matches */
{8, 16, 32, 32}, // 5
{8, 16, 128, 128}, // 6
{8, 32, 128, 256}, // 7
{32, 128, 258, 1024}, // 8
{32, 258, 258, 4096}};// 9 maximum compression */
// Note: the deflate() code requires max_lazy >= MIN_MATCH and max_chain >= 4
// For deflate_fast() (levels <= 3) good is ignored and lazy has a different meaning.
// Data structure describing a single value and its code string.
typedef struct ct_data {
union {
ush freq; // frequency count
ush code; // bit string
} fc;
union {
ush dad; // father node in Huffman tree
ush len; // length of bit string
} dl;
} ct_data;
typedef struct tree_desc {
ct_data *dyn_tree; // the dynamic tree
ct_data *static_tree; // corresponding static tree or NULL
const int *extra_bits; // extra bits for each code or NULL
int extra_base; // base index for extra_bits
int elems; // max number of elements in the tree
int max_length; // max bit length for the codes
int max_code; // largest code with non zero frequency
} tree_desc;
class TTreeState
{ public:
TTreeState();
ct_data dyn_ltree[HEAP_SIZE]; // literal and length tree
ct_data dyn_dtree[2*D_CODES+1]; // distance tree
ct_data static_ltree[L_CODES+2]; // the static literal tree...
// ... Since the bit lengths are imposed, there is no need for the L_CODES
// extra codes used during heap construction. However the codes 286 and 287
// are needed to build a canonical tree (see ct_init below).
ct_data static_dtree[D_CODES]; // the static distance tree...
// ... (Actually a trivial tree since all codes use 5 bits.)
ct_data bl_tree[2*BL_CODES+1]; // Huffman tree for the bit lengths
tree_desc l_desc;
tree_desc d_desc;
tree_desc bl_desc;
ush bl_count[MAX_BITS+1]; // number of codes at each bit length for an optimal tree
int heap[2*L_CODES+1]; // heap used to build the Huffman trees
int heap_len; // number of elements in the heap
int heap_max; // element of largest frequency
// The sons of heap[n] are heap[2*n] and heap[2*n+1]. heap[0] is not used.
// The same heap array is used to build all trees.
uch depth[2*L_CODES+1];
// Depth of each subtree used as tie breaker for trees of equal frequency
uch length_code[MAX_MATCH-MIN_MATCH+1];
// length code for each normalized match length (0 == MIN_MATCH)
uch dist_code[512];
// distance codes. The first 256 values correspond to the distances
// 3 .. 258, the last 256 values correspond to the top 8 bits of
// the 15 bit distances.
int base_length[LENGTH_CODES];
// First normalized length for each code (0 = MIN_MATCH)
int base_dist[D_CODES];
// First normalized distance for each code (0 = distance of 1)
uch far l_buf[LIT_BUFSIZE]; // buffer for literals/lengths
ush far d_buf[DIST_BUFSIZE]; // buffer for distances
uch flag_buf[(LIT_BUFSIZE/8)];
// flag_buf is a bit array distinguishing literals from lengths in
// l_buf, and thus indicating the presence or absence of a distance.
unsigned last_lit; // running index in l_buf
unsigned last_dist; // running index in d_buf
unsigned last_flags; // running index in flag_buf
uch flags; // current flags not yet saved in flag_buf
uch flag_bit; // current bit used in flags
// bits are filled in flags starting at bit 0 (least significant).
// Note: these flags are overkill in the current code since we don't
// take advantage of DIST_BUFSIZE == LIT_BUFSIZE.
ulg opt_len; // bit length of current block with optimal trees
ulg static_len; // bit length of current block with static trees
ulg cmpr_bytelen; // total byte length of compressed file
ulg cmpr_len_bits; // number of bits past 'cmpr_bytelen'
ulg input_len; // total byte length of input file
// input_len is for debugging only since we can get it by other means.
ush *file_type; // pointer to UNKNOWN, BINARY or ASCII
// int *file_method; // pointer to DEFLATE or STORE
};
TTreeState::TTreeState()
{ tree_desc a = {dyn_ltree, static_ltree, extra_lbits, LITERALS+1, L_CODES, MAX_BITS, 0}; l_desc = a;
tree_desc b = {dyn_dtree, static_dtree, extra_dbits, 0, D_CODES, MAX_BITS, 0}; d_desc = b;
tree_desc c = {bl_tree, NULL, extra_blbits, 0, BL_CODES, MAX_BL_BITS, 0}; bl_desc = c;
last_lit=0;
last_dist=0;
last_flags=0;
}
class TBitState
{ public:
int flush_flg;
//
unsigned bi_buf;
// Output buffer. bits are inserted starting at the bottom (least significant
// bits). The width of bi_buf must be at least 16 bits.
int bi_valid;
// Number of valid bits in bi_buf. All bits above the last valid bit
// are always zero.
char *out_buf;
// Current output buffer.
unsigned out_offset;
// Current offset in output buffer.
// On 16 bit machines, the buffer is limited to 64K.
unsigned out_size;
// Size of current output buffer
ulg bits_sent; // bit length of the compressed data only needed for debugging???
};
class TDeflateState
{ public:
TDeflateState() {window_size=0;}
uch window[2L*WSIZE];
// Sliding window. Input bytes are read into the second half of the window,
// and move to the first half later to keep a dictionary of at least WSIZE
// bytes. With this organization, matches are limited to a distance of
// WSIZE-MAX_MATCH bytes, but this ensures that IO is always
// performed with a length multiple of the block size. Also, it limits
// the window size to 64K, which is quite useful on MSDOS.
// To do: limit the window size to WSIZE+CBSZ if SMALL_MEM (the code would
// be less efficient since the data would have to be copied WSIZE/CBSZ times)
Pos prev[WSIZE];
// Link to older string with same hash index. To limit the size of this
// array to 64K, this link is maintained only for the last 32K strings.
// An index in this array is thus a window index modulo 32K.
Pos head[HASH_SIZE];
// Heads of the hash chains or NIL. If your compiler thinks that
// HASH_SIZE is a dynamic value, recompile with -DDYN_ALLOC.
ulg window_size;
// window size, 2*WSIZE except for MMAP or BIG_MEM, where it is the
// input file length plus MIN_LOOKAHEAD.
long block_start;
// window position at the beginning of the current output block. Gets
// negative when the window is moved backwards.
int sliding;
// Set to false when the input file is already in memory
unsigned ins_h; // hash index of string to be inserted
unsigned int prev_length;
// Length of the best match at previous step. Matches not greater than this
// are discarded. This is used in the lazy match evaluation.
unsigned strstart; // start of string to insert
unsigned match_start; // start of matching string
int eofile; // flag set at end of input file
unsigned lookahead; // number of valid bytes ahead in window
unsigned max_chain_length;
// To speed up deflation, hash chains are never searched beyond this length.
// A higher limit improves compression ratio but degrades the speed.
unsigned int max_lazy_match;
// Attempt to find a better match only when the current match is strictly
// smaller than this value. This mechanism is used only for compression
// levels >= 4.
unsigned good_match;
// Use a faster search when the previous match is longer than this
int nice_match; // Stop searching when current match exceeds this
};
typedef struct iztimes {
time_t atime,mtime,ctime;
} iztimes; // access, modify, create times
typedef struct zlist {
ush vem, ver, flg, how; // See central header in zipfile.c for what vem..off are
ulg tim, crc, siz, len;
extent nam, ext, cext, com; // offset of ext must be >= LOCHEAD
ush dsk, att, lflg; // offset of lflg must be >= LOCHEAD
ulg atx, off;
char name[MAX_PATH]; // File name in zip file
char *extra; // Extra field (set only if ext != 0)
char *cextra; // Extra in central (set only if cext != 0)
char *comment; // Comment (set only if com != 0)
char iname[MAX_PATH]; // Internal file name after cleanup
char zname[MAX_PATH]; // External version of internal name
int mark; // Marker for files to operate on
int trash; // Marker for files to delete
int dosflag; // Set to force MSDOS file attributes
struct zlist far *nxt; // Pointer to next header in list
} TZipFileInfo;
class TState;
typedef unsigned (*READFUNC)(TState &state, char *buf,unsigned size);
typedef unsigned (*FLUSHFUNC)(void *param, const char *buf, unsigned *size);
typedef unsigned (*WRITEFUNC)(void *param, const char *buf, unsigned size);
class TState
{ public: TState() {err=0;}
//
void *param;
int level; bool seekable;
READFUNC readfunc; FLUSHFUNC flush_outbuf;
TTreeState ts; TBitState bs; TDeflateState ds;
const char *err;
};
#undef Assert
void Assert(TState &state,bool cond, const char *msg)
{ if (cond) return;
state.err=msg;
}
void __cdecl Trace(const char *x, ...) {va_list paramList; va_start(paramList, x); paramList; va_end(paramList);}
void __cdecl Tracec(bool ,const char *x, ...) {va_list paramList; va_start(paramList, x); paramList; va_end(paramList);}
// ===========================================================================
// Local (static) routines in this file.
//
void init_block (TState &);
void pqdownheap (TState &,ct_data *tree, int k);
void gen_bitlen (TState &,tree_desc *desc);
void gen_codes (TState &state,ct_data *tree, int max_code);
void build_tree (TState &,tree_desc *desc);
void scan_tree (TState &,ct_data *tree, int max_code);
void send_tree (TState &state,ct_data *tree, int max_code);
int build_bl_tree (TState &);
void send_all_trees (TState &state,int lcodes, int dcodes, int blcodes);
void compress_block (TState &state,ct_data *ltree, ct_data *dtree);
void set_file_type (TState &);
void send_bits (TState &state, int value, int length);
unsigned bi_reverse (unsigned code, int len);
void bi_windup (TState &state);
void copy_block (TState &state,char *buf, unsigned len, int header);
#define send_code(state, c, tree) send_bits(state, tree[c].fc.code, tree[c].dl.len)
// Send a code of the given tree. c and tree must not have side effects
// alternatively...
//#define send_code(state, c, tree)
// { if (state.verbose>1) fprintf(stderr,"\ncd %3d ",(c));
// send_bits(state, tree[c].fc.code, tree[c].dl.len); }
#define d_code(dist) ((dist) < 256 ? state.ts.dist_code[dist] : state.ts.dist_code[256+((dist)>>7)])
// Mapping from a distance to a distance code. dist is the distance - 1 and
// must not have side effects. dist_code[256] and dist_code[257] are never used.
#define Max(a,b) (a >= b ? a : b)
/* the arguments must not have side effects */
/* ===========================================================================
* Allocate the match buffer, initialize the various tables and save the
* location of the internal file attribute (ascii/binary) and method
* (DEFLATE/STORE).
*/
void ct_init(TState &state, ush *attr)
{
int n; /* iterates over tree elements */
int bits; /* bit counter */
int length; /* length value */
int code; /* code value */
int dist; /* distance index */
state.ts.file_type = attr;
//state.ts.file_method = method;
state.ts.cmpr_bytelen = state.ts.cmpr_len_bits = 0L;
state.ts.input_len = 0L;
if (state.ts.static_dtree[0].dl.len != 0) return; /* ct_init already called */
/* Initialize the mapping length (0..255) -> length code (0..28) */
length = 0;
for (code = 0; code < LENGTH_CODES-1; code++) {
state.ts.base_length[code] = length;
for (n = 0; n < (1<<extra_lbits[code]); n++) {
state.ts.length_code[length++] = (uch)code;
}
}
Assert(state,length == 256, "ct_init: length != 256");
/* Note that the length 255 (match length 258) can be represented
* in two different ways: code 284 + 5 bits or code 285, so we
* overwrite length_code[255] to use the best encoding:
*/
state.ts.length_code[length-1] = (uch)code;
/* Initialize the mapping dist (0..32K) -> dist code (0..29) */
dist = 0;
for (code = 0 ; code < 16; code++) {
state.ts.base_dist[code] = dist;
for (n = 0; n < (1<<extra_dbits[code]); n++) {
state.ts.dist_code[dist++] = (uch)code;
}
}
Assert(state,dist == 256, "ct_init: dist != 256");
dist >>= 7; /* from now on, all distances are divided by 128 */
for ( ; code < D_CODES; code++) {
state.ts.base_dist[code] = dist << 7;
for (n = 0; n < (1<<(extra_dbits[code]-7)); n++) {
state.ts.dist_code[256 + dist++] = (uch)code;
}
}
Assert(state,dist == 256, "ct_init: 256+dist != 512");
/* Construct the codes of the static literal tree */
for (bits = 0; bits <= MAX_BITS; bits++) state.ts.bl_count[bits] = 0;
n = 0;
while (n <= 143) state.ts.static_ltree[n++].dl.len = 8, state.ts.bl_count[8]++;
while (n <= 255) state.ts.static_ltree[n++].dl.len = 9, state.ts.bl_count[9]++;
while (n <= 279) state.ts.static_ltree[n++].dl.len = 7, state.ts.bl_count[7]++;
while (n <= 287) state.ts.static_ltree[n++].dl.len = 8, state.ts.bl_count[8]++;
/* fc.codes 286 and 287 do not exist, but we must include them in the
* tree construction to get a canonical Huffman tree (longest code
* all ones)
*/
gen_codes(state,(ct_data *)state.ts.static_ltree, L_CODES+1);
/* The static distance tree is trivial: */
for (n = 0; n < D_CODES; n++) {
state.ts.static_dtree[n].dl.len = 5;
state.ts.static_dtree[n].fc.code = (ush)bi_reverse(n, 5);
}
/* Initialize the first block of the first file: */
init_block(state);
}
/* ===========================================================================
* Initialize a new block.
*/
void init_block(TState &state)
{
int n; /* iterates over tree elements */
/* Initialize the trees. */
for (n = 0; n < L_CODES; n++) state.ts.dyn_ltree[n].fc.freq = 0;
for (n = 0; n < D_CODES; n++) state.ts.dyn_dtree[n].fc.freq = 0;
for (n = 0; n < BL_CODES; n++) state.ts.bl_tree[n].fc.freq = 0;
state.ts.dyn_ltree[END_BLOCK].fc.freq = 1;
state.ts.opt_len = state.ts.static_len = 0L;
state.ts.last_lit = state.ts.last_dist = state.ts.last_flags = 0;
state.ts.flags = 0; state.ts.flag_bit = 1;
}
#define SMALLEST 1
/* Index within the heap array of least frequent node in the Huffman tree */
/* ===========================================================================
* Remove the smallest element from the heap and recreate the heap with
* one less element. Updates heap and heap_len.
*/
#define pqremove(tree, top) \
{\
top = state.ts.heap[SMALLEST]; \
state.ts.heap[SMALLEST] = state.ts.heap[state.ts.heap_len--]; \
pqdownheap(state,tree, SMALLEST); \
}
/* ===========================================================================
* Compares to subtrees, using the tree depth as tie breaker when
* the subtrees have equal frequency. This minimizes the worst case length.
*/
#define smaller(tree, n, m) \
(tree[n].fc.freq < tree[m].fc.freq || \
(tree[n].fc.freq == tree[m].fc.freq && state.ts.depth[n] <= state.ts.depth[m]))
/* ===========================================================================
* Restore the heap property by moving down the tree starting at node k,
* exchanging a node with the smallest of its two sons if necessary, stopping
* when the heap property is re-established (each father smaller than its
* two sons).
*/
void pqdownheap(TState &state,ct_data *tree, int k)
{
int v = state.ts.heap[k];
int j = k << 1; /* left son of k */
int htemp; /* required because of bug in SASC compiler */
while (j <= state.ts.heap_len) {
/* Set j to the smallest of the two sons: */
if (j < state.ts.heap_len && smaller(tree, state.ts.heap[j+1], state.ts.heap[j])) j++;
/* Exit if v is smaller than both sons */
htemp = state.ts.heap[j];
if (smaller(tree, v, htemp)) break;
/* Exchange v with the smallest son */
state.ts.heap[k] = htemp;
k = j;
/* And continue down the tree, setting j to the left son of k */
j <<= 1;
}
state.ts.heap[k] = v;
}
/* ===========================================================================
* Compute the optimal bit lengths for a tree and update the total bit length
* for the current block.
* IN assertion: the fields freq and dad are set, heap[heap_max] and
* above are the tree nodes sorted by increasing frequency.
* OUT assertions: the field len is set to the optimal bit length, the
* array bl_count contains the frequencies for each bit length.
* The length opt_len is updated; static_len is also updated if stree is
* not null.
*/
void gen_bitlen(TState &state,tree_desc *desc)
{
ct_data *tree = desc->dyn_tree;
const int *extra = desc->extra_bits;
int base = desc->extra_base;
int max_code = desc->max_code;
int max_length = desc->max_length;
ct_data *stree = desc->static_tree;
int h; /* heap index */
int n, m; /* iterate over the tree elements */
int bits; /* bit length */
int xbits; /* extra bits */
ush f; /* frequency */
int overflow = 0; /* number of elements with bit length too large */
for (bits = 0; bits <= MAX_BITS; bits++) state.ts.bl_count[bits] = 0;
/* In a first pass, compute the optimal bit lengths (which may
* overflow in the case of the bit length tree).
*/
tree[state.ts.heap[state.ts.heap_max]].dl.len = 0; /* root of the heap */
for (h = state.ts.heap_max+1; h < HEAP_SIZE; h++) {
n = state.ts.heap[h];
bits = tree[tree[n].dl.dad].dl.len + 1;
if (bits > max_length) bits = max_length, overflow++;
tree[n].dl.len = (ush)bits;
/* We overwrite tree[n].dl.dad which is no longer needed */
if (n > max_code) continue; /* not a leaf node */
state.ts.bl_count[bits]++;
xbits = 0;
if (n >= base) xbits = extra[n-base];
f = tree[n].fc.freq;
state.ts.opt_len += (ulg)f * (bits + xbits);
if (stree) state.ts.static_len += (ulg)f * (stree[n].dl.len + xbits);
}
if (overflow == 0) return;
Trace("\nbit length overflow\n");
/* This happens for example on obj2 and pic of the Calgary corpus */
/* Find the first bit length which could increase: */
do {
bits = max_length-1;
while (state.ts.bl_count[bits] == 0) bits--;
state.ts.bl_count[bits]--; /* move one leaf down the tree */
state.ts.bl_count[bits+1] += (ush)2; /* move one overflow item as its brother */
state.ts.bl_count[max_length]--;
/* The brother of the overflow item also moves one step up,
* but this does not affect bl_count[max_length]
*/
overflow -= 2;
} while (overflow > 0);
/* Now recompute all bit lengths, scanning in increasing frequency.
* h is still equal to HEAP_SIZE. (It is simpler to reconstruct all
* lengths instead of fixing only the wrong ones. This idea is taken
* from 'ar' written by Haruhiko Okumura.)
*/
for (bits = max_length; bits != 0; bits--) {
n = state.ts.bl_count[bits];
while (n != 0) {
m = state.ts.heap[--h];
if (m > max_code) continue;
if (tree[m].dl.len != (ush)bits) {
Trace("code %d bits %d->%d\n", m, tree[m].dl.len, bits);
state.ts.opt_len += ((long)bits-(long)tree[m].dl.len)*(long)tree[m].fc.freq;
tree[m].dl.len = (ush)bits;
}
n--;
}
}
}
/* ===========================================================================
* Generate the codes for a given tree and bit counts (which need not be
* optimal).
* IN assertion: the array bl_count contains the bit length statistics for
* the given tree and the field len is set for all tree elements.
* OUT assertion: the field code is set for all tree elements of non
* zero code length.
*/
void gen_codes (TState &state, ct_data *tree, int max_code)
{
ush next_code[MAX_BITS+1]; /* next code value for each bit length */
ush code = 0; /* running code value */
int bits; /* bit index */
int n; /* code index */
/* The distribution counts are first used to generate the code values
* without bit reversal.
*/
for (bits = 1; bits <= MAX_BITS; bits++) {
next_code[bits] = code = (ush)((code + state.ts.bl_count[bits-1]) << 1);
}
/* Check that the bit counts in bl_count are consistent. The last code
* must be all ones.
*/
Assert(state,code + state.ts.bl_count[MAX_BITS]-1 == (1<< ((ush) MAX_BITS)) - 1,
"inconsistent bit counts");
Trace("\ngen_codes: max_code %d ", max_code);
for (n = 0; n <= max_code; n++) {
int len = tree[n].dl.len;
if (len == 0) continue;
/* Now reverse the bits */
tree[n].fc.code = (ush)bi_reverse(next_code[len]++, len);
//Tracec(tree != state.ts.static_ltree, "\nn %3d %c l %2d c %4x (%x) ", n, (isgraph(n) ? n : ' '), len, tree[n].fc.code, next_code[len]-1);
}
}
/* ===========================================================================
* Construct one Huffman tree and assigns the code bit strings and lengths.
* Update the total bit length for the current block.
* IN assertion: the field freq is set for all tree elements.
* OUT assertions: the fields len and code are set to the optimal bit length
* and corresponding code. The length opt_len is updated; static_len is
* also updated if stree is not null. The field max_code is set.
*/
void build_tree(TState &state,tree_desc *desc)
{
ct_data *tree = desc->dyn_tree;
ct_data *stree = desc->static_tree;
int elems = desc->elems;
int n, m; /* iterate over heap elements */
int max_code = -1; /* largest code with non zero frequency */
int node = elems; /* next internal node of the tree */
/* Construct the initial heap, with least frequent element in
* heap[SMALLEST]. The sons of heap[n] are heap[2*n] and heap[2*n+1].
* heap[0] is not used.
*/
state.ts.heap_len = 0, state.ts.heap_max = HEAP_SIZE;
for (n = 0; n < elems; n++) {
if (tree[n].fc.freq != 0) {
state.ts.heap[++state.ts.heap_len] = max_code = n;
state.ts.depth[n] = 0;
} else {
tree[n].dl.len = 0;
}
}
/* The pkzip format requires that at least one distance code exists,
* and that at least one bit should be sent even if there is only one
* possible code. So to avoid special checks later on we force at least
* two codes of non zero frequency.
*/
while (state.ts.heap_len < 2) {
int newcp = state.ts.heap[++state.ts.heap_len] = (max_code < 2 ? ++max_code : 0);
tree[newcp].fc.freq = 1;
state.ts.depth[newcp] = 0;
state.ts.opt_len--; if (stree) state.ts.static_len -= stree[newcp].dl.len;
/* new is 0 or 1 so it does not have extra bits */
}
desc->max_code = max_code;
/* The elements heap[heap_len/2+1 .. heap_len] are leaves of the tree,
* establish sub-heaps of increasing lengths:
*/
for (n = state.ts.heap_len/2; n >= 1; n--) pqdownheap(state,tree, n);
/* Construct the Huffman tree by repeatedly combining the least two
* frequent nodes.
*/
do {
pqremove(tree, n); /* n = node of least frequency */
m = state.ts.heap[SMALLEST]; /* m = node of next least frequency */
state.ts.heap[--state.ts.heap_max] = n; /* keep the nodes sorted by frequency */
state.ts.heap[--state.ts.heap_max] = m;
/* Create a new node father of n and m */
tree[node].fc.freq = (ush)(tree[n].fc.freq + tree[m].fc.freq);
state.ts.depth[node] = (uch) (Max(state.ts.depth[n], state.ts.depth[m]) + 1);
tree[n].dl.dad = tree[m].dl.dad = (ush)node;
/* and insert the new node in the heap */
state.ts.heap[SMALLEST] = node++;
pqdownheap(state,tree, SMALLEST);
} while (state.ts.heap_len >= 2);
state.ts.heap[--state.ts.heap_max] = state.ts.heap[SMALLEST];
/* At this point, the fields freq and dad are set. We can now
* generate the bit lengths.
*/
gen_bitlen(state,(tree_desc *)desc);
/* The field len is now set, we can generate the bit codes */
gen_codes (state,(ct_data *)tree, max_code);
}
/* ===========================================================================
* Scan a literal or distance tree to determine the frequencies of the codes
* in the bit length tree. Updates opt_len to take into account the repeat
* counts. (The contribution of the bit length codes will be added later
* during the construction of bl_tree.)
*/
void scan_tree (TState &state,ct_data *tree, int max_code)
{
int n; /* iterates over all tree elements */
int prevlen = -1; /* last emitted length */
int curlen; /* length of current code */
int nextlen = tree[0].dl.len; /* length of next code */
int count = 0; /* repeat count of the current code */
int max_count = 7; /* max repeat count */
int min_count = 4; /* min repeat count */
if (nextlen == 0) max_count = 138, min_count = 3;
tree[max_code+1].dl.len = (ush)-1; /* guard */
for (n = 0; n <= max_code; n++) {
curlen = nextlen; nextlen = tree[n+1].dl.len;
if (++count < max_count && curlen == nextlen) {
continue;
} else if (count < min_count) {
state.ts.bl_tree[curlen].fc.freq = (ush)(state.ts.bl_tree[curlen].fc.freq + count);
} else if (curlen != 0) {
if (curlen != prevlen) state.ts.bl_tree[curlen].fc.freq++;
state.ts.bl_tree[REP_3_6].fc.freq++;
} else if (count <= 10) {
state.ts.bl_tree[REPZ_3_10].fc.freq++;
} else {
state.ts.bl_tree[REPZ_11_138].fc.freq++;
}
count = 0; prevlen = curlen;
if (nextlen == 0) {
max_count = 138, min_count = 3;
} else if (curlen == nextlen) {
max_count = 6, min_count = 3;
} else {
max_count = 7, min_count = 4;
}
}
}
/* ===========================================================================
* Send a literal or distance tree in compressed form, using the codes in
* bl_tree.
*/
void send_tree (TState &state, ct_data *tree, int max_code)
{
int n; /* iterates over all tree elements */
int prevlen = -1; /* last emitted length */
int curlen; /* length of current code */
int nextlen = tree[0].dl.len; /* length of next code */
int count = 0; /* repeat count of the current code */
int max_count = 7; /* max repeat count */
int min_count = 4; /* min repeat count */
/* tree[max_code+1].dl.len = -1; */ /* guard already set */
if (nextlen == 0) max_count = 138, min_count = 3;
for (n = 0; n <= max_code; n++) {
curlen = nextlen; nextlen = tree[n+1].dl.len;
if (++count < max_count && curlen == nextlen) {
continue;
} else if (count < min_count) {
do { send_code(state, curlen, state.ts.bl_tree); } while (--count != 0);
} else if (curlen != 0) {
if (curlen != prevlen) {
send_code(state, curlen, state.ts.bl_tree); count--;
}
Assert(state,count >= 3 && count <= 6, " 3_6?");
send_code(state,REP_3_6, state.ts.bl_tree); send_bits(state,count-3, 2);
} else if (count <= 10) {
send_code(state,REPZ_3_10, state.ts.bl_tree); send_bits(state,count-3, 3);
} else {
send_code(state,REPZ_11_138, state.ts.bl_tree); send_bits(state,count-11, 7);
}
count = 0; prevlen = curlen;
if (nextlen == 0) {
max_count = 138, min_count = 3;
} else if (curlen == nextlen) {
max_count = 6, min_count = 3;
} else {
max_count = 7, min_count = 4;
}
}
}
/* ===========================================================================
* Construct the Huffman tree for the bit lengths and return the index in
* bl_order of the last bit length code to send.
*/
int build_bl_tree(TState &state)
{
int max_blindex; /* index of last bit length code of non zero freq */
/* Determine the bit length frequencies for literal and distance trees */
scan_tree(state,(ct_data *)state.ts.dyn_ltree, state.ts.l_desc.max_code);
scan_tree(state,(ct_data *)state.ts.dyn_dtree, state.ts.d_desc.max_code);
/* Build the bit length tree: */
build_tree(state,(tree_desc *)(&state.ts.bl_desc));
/* opt_len now includes the length of the tree representations, except
* the lengths of the bit lengths codes and the 5+5+4 bits for the counts.
*/
/* Determine the number of bit length codes to send. The pkzip format
* requires that at least 4 bit length codes be sent. (appnote.txt says
* 3 but the actual value used is 4.)
*/
for (max_blindex = BL_CODES-1; max_blindex >= 3; max_blindex--) {
if (state.ts.bl_tree[bl_order[max_blindex]].dl.len != 0) break;
}
/* Update opt_len to include the bit length tree and counts */
state.ts.opt_len += 3*(max_blindex+1) + 5+5+4;
Trace("\ndyn trees: dyn %ld, stat %ld", state.ts.opt_len, state.ts.static_len);
return max_blindex;
}
/* ===========================================================================
* Send the header for a block using dynamic Huffman trees: the counts, the
* lengths of the bit length codes, the literal tree and the distance tree.
* IN assertion: lcodes >= 257, dcodes >= 1, blcodes >= 4.
*/
void send_all_trees(TState &state,int lcodes, int dcodes, int blcodes)
{
int rank; /* index in bl_order */
Assert(state,lcodes >= 257 && dcodes >= 1 && blcodes >= 4, "not enough codes");
Assert(state,lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES,
"too many codes");
Trace("\nbl counts: ");
send_bits(state,lcodes-257, 5);
/* not +255 as stated in appnote.txt 1.93a or -256 in 2.04c */
send_bits(state,dcodes-1, 5);
send_bits(state,blcodes-4, 4); /* not -3 as stated in appnote.txt */
for (rank = 0; rank < blcodes; rank++) {
Trace("\nbl code %2d ", bl_order[rank]);
send_bits(state,state.ts.bl_tree[bl_order[rank]].dl.len, 3);
}
Trace("\nbl tree: sent %ld", state.bs.bits_sent);
send_tree(state,(ct_data *)state.ts.dyn_ltree, lcodes-1); /* send the literal tree */
Trace("\nlit tree: sent %ld", state.bs.bits_sent);
send_tree(state,(ct_data *)state.ts.dyn_dtree, dcodes-1); /* send the distance tree */
Trace("\ndist tree: sent %ld", state.bs.bits_sent);
}
/* ===========================================================================
* Determine the best encoding for the current block: dynamic trees, static
* trees or store, and output the encoded block to the zip file. This function
* returns the total compressed length (in bytes) for the file so far.
*/
ulg flush_block(TState &state,char *buf, ulg stored_len, int eof)
{
ulg opt_lenb, static_lenb; /* opt_len and static_len in bytes */
int max_blindex; /* index of last bit length code of non zero freq */
state.ts.flag_buf[state.ts.last_flags] = state.ts.flags; /* Save the flags for the last 8 items */
/* Check if the file is ascii or binary */
if (*state.ts.file_type == (ush)UNKNOWN) set_file_type(state);
/* Construct the literal and distance trees */
build_tree(state,(tree_desc *)(&state.ts.l_desc));
Trace("\nlit data: dyn %ld, stat %ld", state.ts.opt_len, state.ts.static_len);
build_tree(state,(tree_desc *)(&state.ts.d_desc));
Trace("\ndist data: dyn %ld, stat %ld", state.ts.opt_len, state.ts.static_len);
/* At this point, opt_len and static_len are the total bit lengths of
* the compressed block data, excluding the tree representations.
*/
/* Build the bit length tree for the above two trees, and get the index
* in bl_order of the last bit length code to send.
*/
max_blindex = build_bl_tree(state);
/* Determine the best encoding. Compute first the block length in bytes */
opt_lenb = (state.ts.opt_len+3+7)>>3;
static_lenb = (state.ts.static_len+3+7)>>3;
state.ts.input_len += stored_len; /* for debugging only */
Trace("\nopt %lu(%lu) stat %lu(%lu) stored %lu lit %u dist %u ",
opt_lenb, state.ts.opt_len, static_lenb, state.ts.static_len, stored_len,
state.ts.last_lit, state.ts.last_dist);
if (static_lenb <= opt_lenb) opt_lenb = static_lenb;
// Originally, zip allowed the file to be transformed from a compressed
// into a stored file in the case where compression failed, there
// was only one block, and it was allowed to change. I've removed this
// possibility since the code's cleaner if no changes are allowed.
//if (stored_len <= opt_lenb && eof && state.ts.cmpr_bytelen == 0L
// && state.ts.cmpr_len_bits == 0L && state.seekable)
//{ // && state.ts.file_method != NULL
// // Since LIT_BUFSIZE <= 2*WSIZE, the input data must be there:
// Assert(state,buf!=NULL,"block vanished");
// copy_block(state,buf, (unsigned)stored_len, 0); // without header
// state.ts.cmpr_bytelen = stored_len;
// Assert(state,false,"unimplemented *state.ts.file_method = STORE;");
// //*state.ts.file_method = STORE;
//}
//else
if (stored_len+4 <= opt_lenb && buf != (char*)NULL) {
/* 4: two words for the lengths */
/* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE.
* Otherwise we can't have processed more than WSIZE input bytes since
* the last block flush, because compression would have been
* successful. If LIT_BUFSIZE <= WSIZE, it is never too late to
* transform a block into a stored block.
*/
send_bits(state,(STORED_BLOCK<<1)+eof, 3); /* send block type */
state.ts.cmpr_bytelen += ((state.ts.cmpr_len_bits + 3 + 7) >> 3) + stored_len + 4;
state.ts.cmpr_len_bits = 0L;
copy_block(state,buf, (unsigned)stored_len, 1); /* with header */
}
else if (static_lenb == opt_lenb) {
send_bits(state,(STATIC_TREES<<1)+eof, 3);
compress_block(state,(ct_data *)state.ts.static_ltree, (ct_data *)state.ts.static_dtree);
state.ts.cmpr_len_bits += 3 + state.ts.static_len;
state.ts.cmpr_bytelen += state.ts.cmpr_len_bits >> 3;
state.ts.cmpr_len_bits &= 7L;
}
else {
send_bits(state,(DYN_TREES<<1)+eof, 3);
send_all_trees(state,state.ts.l_desc.max_code+1, state.ts.d_desc.max_code+1, max_blindex+1);
compress_block(state,(ct_data *)state.ts.dyn_ltree, (ct_data *)state.ts.dyn_dtree);
state.ts.cmpr_len_bits += 3 + state.ts.opt_len;
state.ts.cmpr_bytelen += state.ts.cmpr_len_bits >> 3;
state.ts.cmpr_len_bits &= 7L;
}
Assert(state,((state.ts.cmpr_bytelen << 3) + state.ts.cmpr_len_bits) == state.bs.bits_sent, "bad compressed size");
init_block(state);
if (eof) {
// Assert(state,input_len == isize, "bad input size");
bi_windup(state);
state.ts.cmpr_len_bits += 7; /* align on byte boundary */
}
Trace("\n");
return state.ts.cmpr_bytelen + (state.ts.cmpr_len_bits >> 3);
}
/* ===========================================================================
* Save the match info and tally the frequency counts. Return true if
* the current block must be flushed.
*/
int ct_tally (TState &state,int dist, int lc)
{
state.ts.l_buf[state.ts.last_lit++] = (uch)lc;
if (dist == 0) {
/* lc is the unmatched char */
state.ts.dyn_ltree[lc].fc.freq++;
} else {
/* Here, lc is the match length - MIN_MATCH */
dist--; /* dist = match distance - 1 */
Assert(state,(ush)dist < (ush)MAX_DIST &&
(ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&
(ush)d_code(dist) < (ush)D_CODES, "ct_tally: bad match");
state.ts.dyn_ltree[state.ts.length_code[lc]+LITERALS+1].fc.freq++;
state.ts.dyn_dtree[d_code(dist)].fc.freq++;
state.ts.d_buf[state.ts.last_dist++] = (ush)dist;
state.ts.flags |= state.ts.flag_bit;
}
state.ts.flag_bit <<= 1;
/* Output the flags if they fill a byte: */
if ((state.ts.last_lit & 7) == 0) {
state.ts.flag_buf[state.ts.last_flags++] = state.ts.flags;
state.ts.flags = 0, state.ts.flag_bit = 1;
}
/* Try to guess if it is profitable to stop the current block here */
if (state.level > 2 && (state.ts.last_lit & 0xfff) == 0) {
/* Compute an upper bound for the compressed length */
ulg out_length = (ulg)state.ts.last_lit*8L;
ulg in_length = (ulg)state.ds.strstart-state.ds.block_start;
int dcode;
for (dcode = 0; dcode < D_CODES; dcode++) {
out_length += (ulg)state.ts.dyn_dtree[dcode].fc.freq*(5L+extra_dbits[dcode]);
}
out_length >>= 3;
Trace("\nlast_lit %u, last_dist %u, in %ld, out ~%ld(%ld%%) ",
state.ts.last_lit, state.ts.last_dist, in_length, out_length,
100L - out_length*100L/in_length);
if (state.ts.last_dist < state.ts.last_lit/2 && out_length < in_length/2) return 1;
}
return (state.ts.last_lit == LIT_BUFSIZE-1 || state.ts.last_dist == DIST_BUFSIZE);
/* We avoid equality with LIT_BUFSIZE because of wraparound at 64K
* on 16 bit machines and because stored blocks are restricted to
* 64K-1 bytes.
*/
}
/* ===========================================================================
* Send the block data compressed using the given Huffman trees
*/
void compress_block(TState &state,ct_data *ltree, ct_data *dtree)
{
unsigned dist; /* distance of matched string */
int lc; /* match length or unmatched char (if dist == 0) */
unsigned lx = 0; /* running index in l_buf */
unsigned dx = 0; /* running index in d_buf */
unsigned fx = 0; /* running index in flag_buf */
uch flag = 0; /* current flags */
unsigned code; /* the code to send */
int extra; /* number of extra bits to send */
if (state.ts.last_lit != 0) do {
if ((lx & 7) == 0) flag = state.ts.flag_buf[fx++];
lc = state.ts.l_buf[lx++];
if ((flag & 1) == 0) {
send_code(state,lc, ltree); /* send a literal byte */
} else {
/* Here, lc is the match length - MIN_MATCH */
code = state.ts.length_code[lc];
send_code(state,code+LITERALS+1, ltree); /* send the length code */
extra = extra_lbits[code];
if (extra != 0) {
lc -= state.ts.base_length[code];
send_bits(state,lc, extra); /* send the extra length bits */
}
dist = state.ts.d_buf[dx++];
/* Here, dist is the match distance - 1 */
code = d_code(dist);
Assert(state,code < D_CODES, "bad d_code");
send_code(state,code, dtree); /* send the distance code */
extra = extra_dbits[code];
if (extra != 0) {
dist -= state.ts.base_dist[code];
send_bits(state,dist, extra); /* send the extra distance bits */
}
} /* literal or match pair ? */
flag >>= 1;
} while (lx < state.ts.last_lit);
send_code(state,END_BLOCK, ltree);
}
/* ===========================================================================
* Set the file type to ASCII or BINARY, using a crude approximation:
* binary if more than 20% of the bytes are <= 6 or >= 128, ascii otherwise.
* IN assertion: the fields freq of dyn_ltree are set and the total of all
* frequencies does not exceed 64K (to fit in an int on 16 bit machines).
*/
void set_file_type(TState &state)
{
int n = 0;
unsigned ascii_freq = 0;
unsigned bin_freq = 0;
while (n < 7) bin_freq += state.ts.dyn_ltree[n++].fc.freq;
while (n < 128) ascii_freq += state.ts.dyn_ltree[n++].fc.freq;
while (n < LITERALS) bin_freq += state.ts.dyn_ltree[n++].fc.freq;
*state.ts.file_type = (ush)(bin_freq > (ascii_freq >> 2) ? BINARY : ASCII);
}
/* ===========================================================================
* Initialize the bit string routines.
*/
void bi_init (TState &state,char *tgt_buf, unsigned tgt_size, int flsh_allowed)
{
state.bs.out_buf = tgt_buf;
state.bs.out_size = tgt_size;
state.bs.out_offset = 0;
state.bs.flush_flg = flsh_allowed;
state.bs.bi_buf = 0;
state.bs.bi_valid = 0;
state.bs.bits_sent = 0L;
}
/* ===========================================================================
* Send a value on a given number of bits.
* IN assertion: length <= 16 and value fits in length bits.
*/
void send_bits(TState &state,int value, int length)
{
Assert(state,length > 0 && length <= 15, "invalid length");
state.bs.bits_sent += (ulg)length;
/* If not enough room in bi_buf, use (bi_valid) bits from bi_buf and
* (Buf_size - bi_valid) bits from value to flush the filled bi_buf,
* then fill in the rest of (value), leaving (length - (Buf_size-bi_valid))
* unused bits in bi_buf.
*/
state.bs.bi_buf |= (value << state.bs.bi_valid);
state.bs.bi_valid += length;
if (state.bs.bi_valid > (int)Buf_size) {
PUTSHORT(state,state.bs.bi_buf);
state.bs.bi_valid -= Buf_size;
state.bs.bi_buf = (unsigned)value >> (length - state.bs.bi_valid);
}
}
/* ===========================================================================
* Reverse the first len bits of a code, using straightforward code (a faster
* method would use a table)
* IN assertion: 1 <= len <= 15
*/
unsigned bi_reverse(unsigned code, int len)
{
register unsigned res = 0;
do {
res |= code & 1;
code >>= 1, res <<= 1;
} while (--len > 0);
return res >> 1;
}
/* ===========================================================================
* Write out any remaining bits in an incomplete byte.
*/
void bi_windup(TState &state)
{
if (state.bs.bi_valid > 8) {
PUTSHORT(state,state.bs.bi_buf);
} else if (state.bs.bi_valid > 0) {
PUTBYTE(state,state.bs.bi_buf);
}
if (state.bs.flush_flg) {
state.flush_outbuf(state.param, state.bs.out_buf, &state.bs.out_offset);
}
state.bs.bi_buf = 0;
state.bs.bi_valid = 0;
state.bs.bits_sent = (state.bs.bits_sent+7) & ~7;
}
/* ===========================================================================
* Copy a stored block to the zip file, storing first the length and its
* one's complement if requested.
*/
void copy_block(TState &state, char *block, unsigned len, int header)
{
bi_windup(state); /* align on byte boundary */
if (header) {
PUTSHORT(state,(ush)len);
PUTSHORT(state,(ush)~len);
state.bs.bits_sent += 2*16;
}
if (state.bs.flush_flg) {
state.flush_outbuf(state.param, state.bs.out_buf, &state.bs.out_offset);
state.bs.out_offset = len;
state.flush_outbuf(state.param, block, &state.bs.out_offset);
} else if (state.bs.out_offset + len > state.bs.out_size) {
Assert(state,false,"output buffer too small for in-memory compression");
} else {
memcpy(state.bs.out_buf + state.bs.out_offset, block, len);
state.bs.out_offset += len;
}
state.bs.bits_sent += (ulg)len<<3;
}
/* ===========================================================================
* Prototypes for functions.
*/
void fill_window (TState &state);
ulg deflate_fast (TState &state);
int longest_match (TState &state,IPos cur_match);
/* ===========================================================================
* Update a hash value with the given input byte
* IN assertion: all calls to to UPDATE_HASH are made with consecutive
* input characters, so that a running hash key can be computed from the
* previous key instead of complete recalculation each time.
*/
#define UPDATE_HASH(h,c) (h = (((h)<<H_SHIFT) ^ (c)) & HASH_MASK)
/* ===========================================================================
* Insert string s in the dictionary and set match_head to the previous head
* of the hash chain (the most recent string with same hash key). Return
* the previous length of the hash chain.
* IN assertion: all calls to to INSERT_STRING are made with consecutive
* input characters and the first MIN_MATCH bytes of s are valid
* (except for the last MIN_MATCH-1 bytes of the input file).
*/
#define INSERT_STRING(s, match_head) \
(UPDATE_HASH(state.ds.ins_h, state.ds.window[(s) + (MIN_MATCH-1)]), \
state.ds.prev[(s) & WMASK] = match_head = state.ds.head[state.ds.ins_h], \
state.ds.head[state.ds.ins_h] = (s))
/* ===========================================================================
* Initialize the "longest match" routines for a new file
*
* IN assertion: window_size is > 0 if the input file is already read or
* mmap'ed in the window[] array, 0 otherwise. In the first case,
* window_size is sufficient to contain the whole input file plus
* MIN_LOOKAHEAD bytes (to avoid referencing memory beyond the end
* of window[] when looking for matches towards the end).
*/
void lm_init (TState &state, int pack_level, ush *flags)
{
register unsigned j;
Assert(state,pack_level>=1 && pack_level<=8,"bad pack level");
/* Do not slide the window if the whole input is already in memory
* (window_size > 0)
*/
state.ds.sliding = 0;
if (state.ds.window_size == 0L) {
state.ds.sliding = 1;
state.ds.window_size = (ulg)2L*WSIZE;
}
/* Initialize the hash table (avoiding 64K overflow for 16 bit systems).
* prev[] will be initialized on the fly.
*/
state.ds.head[HASH_SIZE-1] = NIL;
memset((char*)state.ds.head, NIL, (unsigned)(HASH_SIZE-1)*sizeof(*state.ds.head));
/* Set the default configuration parameters:
*/
state.ds.max_lazy_match = configuration_table[pack_level].max_lazy;
state.ds.good_match = configuration_table[pack_level].good_length;
state.ds.nice_match = configuration_table[pack_level].nice_length;
state.ds.max_chain_length = configuration_table[pack_level].max_chain;
if (pack_level <= 2) {
*flags |= FAST;
} else if (pack_level >= 8) {
*flags |= SLOW;
}
/* ??? reduce max_chain_length for binary files */
state.ds.strstart = 0;
state.ds.block_start = 0L;
j = WSIZE;
j <<= 1; // Can read 64K in one step
state.ds.lookahead = state.readfunc(state, (char*)state.ds.window, j);
if (state.ds.lookahead == 0 || state.ds.lookahead == (unsigned)EOF) {
state.ds.eofile = 1, state.ds.lookahead = 0;
return;
}
state.ds.eofile = 0;
/* Make sure that we always have enough lookahead. This is important
* if input comes from a device such as a tty.
*/
if (state.ds.lookahead < MIN_LOOKAHEAD) fill_window(state);
state.ds.ins_h = 0;
for (j=0; j<MIN_MATCH-1; j++) UPDATE_HASH(state.ds.ins_h, state.ds.window[j]);
/* If lookahead < MIN_MATCH, ins_h is garbage, but this is
* not important since only literal bytes will be emitted.
*/
}
/* ===========================================================================
* Set match_start to the longest match starting at the given string and
* return its length. Matches shorter or equal to prev_length are discarded,
* in which case the result is equal to prev_length and match_start is
* garbage.
* IN assertions: cur_match is the head of the hash chain for the current
* string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1
*/
// For 80x86 and 680x0 and ARM, an optimized version is in match.asm or
// match.S. The code is functionally equivalent, so you can use the C version
// if desired. Which I do so desire!
int longest_match(TState &state,IPos cur_match)
{
unsigned chain_length = state.ds.max_chain_length; /* max hash chain length */
register uch far *scan = state.ds.window + state.ds.strstart; /* current string */
register uch far *match; /* matched string */
register int len; /* length of current match */
int best_len = state.ds.prev_length; /* best match length so far */
IPos limit = state.ds.strstart > (IPos)MAX_DIST ? state.ds.strstart - (IPos)MAX_DIST : NIL;
/* Stop when cur_match becomes <= limit. To simplify the code,
* we prevent matches with the string of window index 0.
*/
// The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.
// It is easy to get rid of this optimization if necessary.
Assert(state,HASH_BITS>=8 && MAX_MATCH==258,"Code too clever");
register uch far *strend = state.ds.window + state.ds.strstart + MAX_MATCH;
register uch scan_end1 = scan[best_len-1];
register uch scan_end = scan[best_len];
/* Do not waste too much time if we already have a good match: */
if (state.ds.prev_length >= state.ds.good_match) {
chain_length >>= 2;
}
Assert(state,state.ds.strstart <= state.ds.window_size-MIN_LOOKAHEAD, "insufficient lookahead");
do {
Assert(state,cur_match < state.ds.strstart, "no future");
match = state.ds.window + cur_match;
/* Skip to next match if the match length cannot increase
* or if the match length is less than 2:
*/
if (match[best_len] != scan_end ||
match[best_len-1] != scan_end1 ||
*match != *scan ||
*++match != scan[1]) continue;
/* The check at best_len-1 can be removed because it will be made
* again later. (This heuristic is not always a win.)
* It is not necessary to compare scan[2] and match[2] since they
* are always equal when the other bytes match, given that
* the hash keys are equal and that HASH_BITS >= 8.
*/
scan += 2, match++;
/* We check for insufficient lookahead only every 8th comparison;
* the 256th check will be made at strstart+258.
*/
do {
} while (*++scan == *++match && *++scan == *++match &&
*++scan == *++match && *++scan == *++match &&
*++scan == *++match && *++scan == *++match &&
*++scan == *++match && *++scan == *++match &&
scan < strend);
Assert(state,scan <= state.ds.window+(unsigned)(state.ds.window_size-1), "wild scan");
len = MAX_MATCH - (int)(strend - scan);
scan = strend - MAX_MATCH;
if (len > best_len) {
state.ds.match_start = cur_match;
best_len = len;
if (len >= state.ds.nice_match) break;
scan_end1 = scan[best_len-1];
scan_end = scan[best_len];
}
} while ((cur_match = state.ds.prev[cur_match & WMASK]) > limit
&& --chain_length != 0);
return best_len;
}
#define check_match(state,start, match, length)
// or alternatively...
//void check_match(TState &state,IPos start, IPos match, int length)
//{ // check that the match is indeed a match
// if (memcmp((char*)state.ds.window + match,
// (char*)state.ds.window + start, length) != EQUAL) {
// fprintf(stderr,
// " start %d, match %d, length %d\n",
// start, match, length);
// error("invalid match");
// }
// if (state.verbose > 1) {
// fprintf(stderr,"\\[%d,%d]", start-match, length);
// do { fprintf(stdout,"%c",state.ds.window[start++]); } while (--length != 0);
// }
//}
/* ===========================================================================
* Fill the window when the lookahead becomes insufficient.
* Updates strstart and lookahead, and sets eofile if end of input file.
*
* IN assertion: lookahead < MIN_LOOKAHEAD && strstart + lookahead > 0
* OUT assertions: strstart <= window_size-MIN_LOOKAHEAD
* At least one byte has been read, or eofile is set; file reads are
* performed for at least two bytes (required for the translate_eol option).
*/
void fill_window(TState &state)
{
register unsigned n, m;
unsigned more; /* Amount of free space at the end of the window. */
do {
more = (unsigned)(state.ds.window_size - (ulg)state.ds.lookahead - (ulg)state.ds.strstart);
/* If the window is almost full and there is insufficient lookahead,
* move the upper half to the lower one to make room in the upper half.
*/
if (more == (unsigned)EOF) {
/* Very unlikely, but possible on 16 bit machine if strstart == 0
* and lookahead == 1 (input done one byte at time)
*/
more--;
/* For MMAP or BIG_MEM, the whole input file is already in memory so
* we must not perform sliding. We must however call (*read_buf)() in
* order to compute the crc, update lookahead and possibly set eofile.
*/
} else if (state.ds.strstart >= WSIZE+MAX_DIST && state.ds.sliding) {
/* By the IN assertion, the window is not empty so we can't confuse
* more == 0 with more == 64K on a 16 bit machine.
*/
memcpy((char*)state.ds.window, (char*)state.ds.window+WSIZE, (unsigned)WSIZE);
state.ds.match_start -= WSIZE;
state.ds.strstart -= WSIZE; /* we now have strstart >= MAX_DIST: */
state.ds.block_start -= (long) WSIZE;
for (n = 0; n < HASH_SIZE; n++) {
m = state.ds.head[n];
state.ds.head[n] = (Pos)(m >= WSIZE ? m-WSIZE : NIL);
}
for (n = 0; n < WSIZE; n++) {
m = state.ds.prev[n];
state.ds.prev[n] = (Pos)(m >= WSIZE ? m-WSIZE : NIL);
/* If n is not on any hash chain, prev[n] is garbage but
* its value will never be used.
*/
}
more += WSIZE;
}
if (state.ds.eofile) return;
/* If there was no sliding:
* strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&
* more == window_size - lookahead - strstart
* => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)
* => more >= window_size - 2*WSIZE + 2
* In the MMAP or BIG_MEM case (not yet supported in gzip),
* window_size == input_size + MIN_LOOKAHEAD &&
* strstart + lookahead <= input_size => more >= MIN_LOOKAHEAD.
* Otherwise, window_size == 2*WSIZE so more >= 2.
* If there was sliding, more >= WSIZE. So in all cases, more >= 2.
*/
Assert(state,more >= 2, "more < 2");
n = state.readfunc(state, (char*)state.ds.window+state.ds.strstart+state.ds.lookahead, more);
if (n == 0 || n == (unsigned)EOF) {
state.ds.eofile = 1;
} else {
state.ds.lookahead += n;
}
} while (state.ds.lookahead < MIN_LOOKAHEAD && !state.ds.eofile);
}
/* ===========================================================================
* Flush the current block, with given end-of-file flag.
* IN assertion: strstart is set to the end of the current match.
*/
#define FLUSH_BLOCK(state,eof) \
flush_block(state,state.ds.block_start >= 0L ? (char*)&state.ds.window[(unsigned)state.ds.block_start] : \
(char*)NULL, (long)state.ds.strstart - state.ds.block_start, (eof))
/* ===========================================================================
* Processes a new input file and return its compressed length. This
* function does not perform lazy evaluation of matches and inserts
* new strings in the dictionary only for unmatched strings or for short
* matches. It is used only for the fast compression options.
*/
ulg deflate_fast(TState &state)
{
IPos hash_head = NIL; /* head of the hash chain */
int flush; /* set if current block must be flushed */
unsigned match_length = 0; /* length of best match */
state.ds.prev_length = MIN_MATCH-1;
while (state.ds.lookahead != 0) {
/* Insert the string window[strstart .. strstart+2] in the
* dictionary, and set hash_head to the head of the hash chain:
*/
if (state.ds.lookahead >= MIN_MATCH)
INSERT_STRING(state.ds.strstart, hash_head);
/* Find the longest match, discarding those <= prev_length.
* At this point we have always match_length < MIN_MATCH
*/
if (hash_head != NIL && state.ds.strstart - hash_head <= MAX_DIST) {
/* To simplify the code, we prevent matches with the string
* of window index 0 (in particular we have to avoid a match
* of the string with itself at the start of the input file).
*/
/* Do not look for matches beyond the end of the input.
* This is necessary to make deflate deterministic.
*/
if ((unsigned)state.ds.nice_match > state.ds.lookahead) state.ds.nice_match = (int)state.ds.lookahead;
match_length = longest_match (state,hash_head);
/* longest_match() sets match_start */
if (match_length > state.ds.lookahead) match_length = state.ds.lookahead;
}
if (match_length >= MIN_MATCH) {
check_match(state,state.ds.strstart, state.ds.match_start, match_length);
flush = ct_tally(state,state.ds.strstart-state.ds.match_start, match_length - MIN_MATCH);
state.ds.lookahead -= match_length;
/* Insert new strings in the hash table only if the match length
* is not too large. This saves time but degrades compression.
*/
if (match_length <= state.ds.max_insert_length
&& state.ds.lookahead >= MIN_MATCH) {
match_length--; /* string at strstart already in hash table */
do {
state.ds.strstart++;
INSERT_STRING(state.ds.strstart, hash_head);
/* strstart never exceeds WSIZE-MAX_MATCH, so there are
* always MIN_MATCH bytes ahead.
*/
} while (--match_length != 0);
state.ds.strstart++;
} else {
state.ds.strstart += match_length;
match_length = 0;
state.ds.ins_h = state.ds.window[state.ds.strstart];
UPDATE_HASH(state.ds.ins_h, state.ds.window[state.ds.strstart+1]);
Assert(state,MIN_MATCH==3,"Call UPDATE_HASH() MIN_MATCH-3 more times");
}
} else {
/* No match, output a literal byte */
flush = ct_tally (state,0, state.ds.window[state.ds.strstart]);
state.ds.lookahead--;
state.ds.strstart++;
}
if (flush) FLUSH_BLOCK(state,0), state.ds.block_start = state.ds.strstart;
/* Make sure that we always have enough lookahead, except
* at the end of the input file. We need MAX_MATCH bytes
* for the next match, plus MIN_MATCH bytes to insert the
* string following the next match.
*/
if (state.ds.lookahead < MIN_LOOKAHEAD) fill_window(state);
}
return FLUSH_BLOCK(state,1); /* eof */
}
/* ===========================================================================
* Same as above, but achieves better compression. We use a lazy
* evaluation for matches: a match is finally adopted only if there is
* no better match at the next window position.
*/
ulg deflate(TState &state)
{
IPos hash_head = NIL; /* head of hash chain */
IPos prev_match; /* previous match */
int flush; /* set if current block must be flushed */
int match_available = 0; /* set if previous match exists */
register unsigned match_length = MIN_MATCH-1; /* length of best match */
if (state.level <= 3) return deflate_fast(state); /* optimized for speed */
/* Process the input block. */
while (state.ds.lookahead != 0) {
/* Insert the string window[strstart .. strstart+2] in the
* dictionary, and set hash_head to the head of the hash chain:
*/
if (state.ds.lookahead >= MIN_MATCH)
INSERT_STRING(state.ds.strstart, hash_head);
/* Find the longest match, discarding those <= prev_length.
*/
state.ds.prev_length = match_length, prev_match = state.ds.match_start;
match_length = MIN_MATCH-1;
if (hash_head != NIL && state.ds.prev_length < state.ds.max_lazy_match &&
state.ds.strstart - hash_head <= MAX_DIST) {
/* To simplify the code, we prevent matches with the string
* of window index 0 (in particular we have to avoid a match
* of the string with itself at the start of the input file).
*/
/* Do not look for matches beyond the end of the input.
* This is necessary to make deflate deterministic.
*/
if ((unsigned)state.ds.nice_match > state.ds.lookahead) state.ds.nice_match = (int)state.ds.lookahead;
match_length = longest_match (state,hash_head);
/* longest_match() sets match_start */
if (match_length > state.ds.lookahead) match_length = state.ds.lookahead;
/* Ignore a length 3 match if it is too distant: */
if (match_length == MIN_MATCH && state.ds.strstart-state.ds.match_start > TOO_FAR){
/* If prev_match is also MIN_MATCH, match_start is garbage
* but we will ignore the current match anyway.
*/
match_length = MIN_MATCH-1;
}
}
/* If there was a match at the previous step and the current
* match is not better, output the previous match:
*/
if (state.ds.prev_length >= MIN_MATCH && match_length <= state.ds.prev_length) {
unsigned max_insert = state.ds.strstart + state.ds.lookahead - MIN_MATCH;
check_match(state,state.ds.strstart-1, prev_match, state.ds.prev_length);
flush = ct_tally(state,state.ds.strstart-1-prev_match, state.ds.prev_length - MIN_MATCH);
/* Insert in hash table all strings up to the end of the match.
* strstart-1 and strstart are already inserted.
*/
state.ds.lookahead -= state.ds.prev_length-1;
state.ds.prev_length -= 2;
do {
if (++state.ds.strstart <= max_insert) {
INSERT_STRING(state.ds.strstart, hash_head);
/* strstart never exceeds WSIZE-MAX_MATCH, so there are
* always MIN_MATCH bytes ahead.
*/
}
} while (--state.ds.prev_length != 0);
state.ds.strstart++;
match_available = 0;
match_length = MIN_MATCH-1;
if (flush) FLUSH_BLOCK(state,0), state.ds.block_start = state.ds.strstart;
} else if (match_available) {
/* If there was no match at the previous position, output a
* single literal. If there was a match but the current match
* is longer, truncate the previous match to a single literal.
*/
if (ct_tally (state,0, state.ds.window[state.ds.strstart-1])) {
FLUSH_BLOCK(state,0), state.ds.block_start = state.ds.strstart;
}
state.ds.strstart++;
state.ds.lookahead--;
} else {
/* There is no previous match to compare with, wait for
* the next step to decide.
*/
match_available = 1;
state.ds.strstart++;
state.ds.lookahead--;
}
// Assert(state,strstart <= isize && lookahead <= isize, "a bit too far");
/* Make sure that we always have enough lookahead, except
* at the end of the input file. We need MAX_MATCH bytes
* for the next match, plus MIN_MATCH bytes to insert the
* string following the next match.
*/
if (state.ds.lookahead < MIN_LOOKAHEAD) fill_window(state);
}
if (match_available) ct_tally (state,0, state.ds.window[state.ds.strstart-1]);
return FLUSH_BLOCK(state,1); /* eof */
}
int putlocal(struct zlist far *z, WRITEFUNC wfunc,void *param)
{ // Write a local header described by *z to file *f. Return a ZE_ error code.
PUTLG(LOCSIG, f);
PUTSH(z->ver, f);
PUTSH(z->lflg, f);
PUTSH(z->how, f);
PUTLG(z->tim, f);
PUTLG(z->crc, f);
PUTLG(z->siz, f);
PUTLG(z->len, f);
PUTSH(z->nam, f);
PUTSH(z->ext, f);
size_t res = (size_t)wfunc(param, z->iname, (unsigned int)z->nam);
if (res!=z->nam) return ZE_TEMP;
if (z->ext)
{ res = (size_t)wfunc(param, z->extra, (unsigned int)z->ext);
if (res!=z->ext) return ZE_TEMP;
}
return ZE_OK;
}
int putextended(struct zlist far *z, WRITEFUNC wfunc, void *param)
{ // Write an extended local header described by *z to file *f. Returns a ZE_ code
PUTLG(EXTLOCSIG, f);
PUTLG(z->crc, f);
PUTLG(z->siz, f);
PUTLG(z->len, f);
return ZE_OK;
}
int putcentral(struct zlist far *z, WRITEFUNC wfunc, void *param)
{ // Write a central header entry of *z to file *f. Returns a ZE_ code.
PUTLG(CENSIG, f);
PUTSH(z->vem, f);
PUTSH(z->ver, f);
PUTSH(z->flg, f);
PUTSH(z->how, f);
PUTLG(z->tim, f);
PUTLG(z->crc, f);
PUTLG(z->siz, f);
PUTLG(z->len, f);
PUTSH(z->nam, f);
PUTSH(z->cext, f);
PUTSH(z->com, f);
PUTSH(z->dsk, f);
PUTSH(z->att, f);
PUTLG(z->atx, f);
PUTLG(z->off, f);
if ((size_t)wfunc(param, z->iname, (unsigned int)z->nam) != z->nam ||
(z->cext && (size_t)wfunc(param, z->cextra, (unsigned int)z->cext) != z->cext) ||
(z->com && (size_t)wfunc(param, z->comment, (unsigned int)z->com) != z->com))
return ZE_TEMP;
return ZE_OK;
}
int putend(int n, ulg s, ulg c, extent m, char *z, WRITEFUNC wfunc, void *param)
{ // write the end of the central-directory-data to file *f.
PUTLG(ENDSIG, f);
PUTSH(0, f);
PUTSH(0, f);
PUTSH(n, f);
PUTSH(n, f);
PUTLG(s, f);
PUTLG(c, f);
PUTSH(m, f);
// Write the comment, if any
if (m && wfunc(param, z, (unsigned int)m) != m) return ZE_TEMP;
return ZE_OK;
}
const ulg crc_table[256] = {
0x00000000L, 0x77073096L, 0xee0e612cL, 0x990951baL, 0x076dc419L,
0x706af48fL, 0xe963a535L, 0x9e6495a3L, 0x0edb8832L, 0x79dcb8a4L,
0xe0d5e91eL, 0x97d2d988L, 0x09b64c2bL, 0x7eb17cbdL, 0xe7b82d07L,
0x90bf1d91L, 0x1db71064L, 0x6ab020f2L, 0xf3b97148L, 0x84be41deL,
0x1adad47dL, 0x6ddde4ebL, 0xf4d4b551L, 0x83d385c7L, 0x136c9856L,
0x646ba8c0L, 0xfd62f97aL, 0x8a65c9ecL, 0x14015c4fL, 0x63066cd9L,
0xfa0f3d63L, 0x8d080df5L, 0x3b6e20c8L, 0x4c69105eL, 0xd56041e4L,
0xa2677172L, 0x3c03e4d1L, 0x4b04d447L, 0xd20d85fdL, 0xa50ab56bL,
0x35b5a8faL, 0x42b2986cL, 0xdbbbc9d6L, 0xacbcf940L, 0x32d86ce3L,
0x45df5c75L, 0xdcd60dcfL, 0xabd13d59L, 0x26d930acL, 0x51de003aL,
0xc8d75180L, 0xbfd06116L, 0x21b4f4b5L, 0x56b3c423L, 0xcfba9599L,
0xb8bda50fL, 0x2802b89eL, 0x5f058808L, 0xc60cd9b2L, 0xb10be924L,
0x2f6f7c87L, 0x58684c11L, 0xc1611dabL, 0xb6662d3dL, 0x76dc4190L,
0x01db7106L, 0x98d220bcL, 0xefd5102aL, 0x71b18589L, 0x06b6b51fL,
0x9fbfe4a5L, 0xe8b8d433L, 0x7807c9a2L, 0x0f00f934L, 0x9609a88eL,
0xe10e9818L, 0x7f6a0dbbL, 0x086d3d2dL, 0x91646c97L, 0xe6635c01L,
0x6b6b51f4L, 0x1c6c6162L, 0x856530d8L, 0xf262004eL, 0x6c0695edL,
0x1b01a57bL, 0x8208f4c1L, 0xf50fc457L, 0x65b0d9c6L, 0x12b7e950L,
0x8bbeb8eaL, 0xfcb9887cL, 0x62dd1ddfL, 0x15da2d49L, 0x8cd37cf3L,
0xfbd44c65L, 0x4db26158L, 0x3ab551ceL, 0xa3bc0074L, 0xd4bb30e2L,
0x4adfa541L, 0x3dd895d7L, 0xa4d1c46dL, 0xd3d6f4fbL, 0x4369e96aL,
0x346ed9fcL, 0xad678846L, 0xda60b8d0L, 0x44042d73L, 0x33031de5L,
0xaa0a4c5fL, 0xdd0d7cc9L, 0x5005713cL, 0x270241aaL, 0xbe0b1010L,
0xc90c2086L, 0x5768b525L, 0x206f85b3L, 0xb966d409L, 0xce61e49fL,
0x5edef90eL, 0x29d9c998L, 0xb0d09822L, 0xc7d7a8b4L, 0x59b33d17L,
0x2eb40d81L, 0xb7bd5c3bL, 0xc0ba6cadL, 0xedb88320L, 0x9abfb3b6L,
0x03b6e20cL, 0x74b1d29aL, 0xead54739L, 0x9dd277afL, 0x04db2615L,
0x73dc1683L, 0xe3630b12L, 0x94643b84L, 0x0d6d6a3eL, 0x7a6a5aa8L,
0xe40ecf0bL, 0x9309ff9dL, 0x0a00ae27L, 0x7d079eb1L, 0xf00f9344L,
0x8708a3d2L, 0x1e01f268L, 0x6906c2feL, 0xf762575dL, 0x806567cbL,
0x196c3671L, 0x6e6b06e7L, 0xfed41b76L, 0x89d32be0L, 0x10da7a5aL,
0x67dd4accL, 0xf9b9df6fL, 0x8ebeeff9L, 0x17b7be43L, 0x60b08ed5L,
0xd6d6a3e8L, 0xa1d1937eL, 0x38d8c2c4L, 0x4fdff252L, 0xd1bb67f1L,
0xa6bc5767L, 0x3fb506ddL, 0x48b2364bL, 0xd80d2bdaL, 0xaf0a1b4cL,
0x36034af6L, 0x41047a60L, 0xdf60efc3L, 0xa867df55L, 0x316e8eefL,
0x4669be79L, 0xcb61b38cL, 0xbc66831aL, 0x256fd2a0L, 0x5268e236L,
0xcc0c7795L, 0xbb0b4703L, 0x220216b9L, 0x5505262fL, 0xc5ba3bbeL,
0xb2bd0b28L, 0x2bb45a92L, 0x5cb36a04L, 0xc2d7ffa7L, 0xb5d0cf31L,
0x2cd99e8bL, 0x5bdeae1dL, 0x9b64c2b0L, 0xec63f226L, 0x756aa39cL,
0x026d930aL, 0x9c0906a9L, 0xeb0e363fL, 0x72076785L, 0x05005713L,
0x95bf4a82L, 0xe2b87a14L, 0x7bb12baeL, 0x0cb61b38L, 0x92d28e9bL,
0xe5d5be0dL, 0x7cdcefb7L, 0x0bdbdf21L, 0x86d3d2d4L, 0xf1d4e242L,
0x68ddb3f8L, 0x1fda836eL, 0x81be16cdL, 0xf6b9265bL, 0x6fb077e1L,
0x18b74777L, 0x88085ae6L, 0xff0f6a70L, 0x66063bcaL, 0x11010b5cL,
0x8f659effL, 0xf862ae69L, 0x616bffd3L, 0x166ccf45L, 0xa00ae278L,
0xd70dd2eeL, 0x4e048354L, 0x3903b3c2L, 0xa7672661L, 0xd06016f7L,
0x4969474dL, 0x3e6e77dbL, 0xaed16a4aL, 0xd9d65adcL, 0x40df0b66L,
0x37d83bf0L, 0xa9bcae53L, 0xdebb9ec5L, 0x47b2cf7fL, 0x30b5ffe9L,
0xbdbdf21cL, 0xcabac28aL, 0x53b39330L, 0x24b4a3a6L, 0xbad03605L,
0xcdd70693L, 0x54de5729L, 0x23d967bfL, 0xb3667a2eL, 0xc4614ab8L,
0x5d681b02L, 0x2a6f2b94L, 0xb40bbe37L, 0xc30c8ea1L, 0x5a05df1bL,
0x2d02ef8dL
};
#define CRC32(c, b) (crc_table[((int)(c) ^ (b)) & 0xff] ^ ((c) >> 8))
#define DO1(buf) crc = CRC32(crc, *buf++)
#define DO2(buf) DO1(buf); DO1(buf)
#define DO4(buf) DO2(buf); DO2(buf)
#define DO8(buf) DO4(buf); DO4(buf)
ulg crc32(ulg crc, const uch *buf, extent len)
{ if (buf==NULL) return 0L;
crc = crc ^ 0xffffffffL;
while (len >= 8) {DO8(buf); len -= 8;}
if (len) do {DO1(buf);} while (--len);
return crc ^ 0xffffffffL; // (instead of ~c for 64-bit machines)
}
bool HasZipSuffix(const char *fn)
{ const char *ext = fn+strlen(fn);
while (ext>fn && *ext!='.') ext--;
if (ext==fn && *ext!='.') return false;
if (_stricmp(ext,".Z")==0) return true;
if (_stricmp(ext,".zip")==0) return true;
if (_stricmp(ext,".zoo")==0) return true;
if (_stricmp(ext,".arc")==0) return true;
if (_stricmp(ext,".lzh")==0) return true;
if (_stricmp(ext,".arj")==0) return true;
if (_stricmp(ext,".gz")==0) return true;
if (_stricmp(ext,".tgz")==0) return true;
return false;
}
#ifdef _WIN32
time_t filetime2timet(const FILETIME ft)
{ SYSTEMTIME st; FileTimeToSystemTime(&ft,&st);
if (st.wYear<1970) {st.wYear=1970; st.wMonth=1; st.wDay=1;}
if (st.wYear>=2038) {st.wYear=2037; st.wMonth=12; st.wDay=31;}
struct tm tm;
tm.tm_sec = st.wSecond;
tm.tm_min = st.wMinute;
tm.tm_hour = st.wHour;
tm.tm_mday = st.wDay;
tm.tm_mon = st.wMonth-1;
tm.tm_year = st.wYear-1900;
tm.tm_isdst = 0;
time_t t = mktime(&tm);
return t;
}
ZRESULT GetFileInfo(HANDLE hf, ulg *attr, long *size, iztimes *times, ulg *timestamp)
{
DWORD type=GetFileType(hf);
if (type!=FILE_TYPE_DISK)
return ZR_NOTINITED;
// The handle must be a handle to a file
// The date and time is returned in a long with the date most significant to allow
// unsigned integer comparison of absolute times. The attributes have two
// high bytes unix attr, and two low bytes a mapping of that to DOS attr.
//struct stat s; int res=stat(fn,&s); if (res!=0) return false;
// translate windows file attributes into zip ones.
BY_HANDLE_FILE_INFORMATION bhi;
BOOL res=GetFileInformationByHandle(hf,&bhi);
if (!res)
return ZR_NOFILE;
FileTimeToLocalFileTime( &bhi.ftLastAccessTime, &bhi.ftLastAccessTime );
FileTimeToLocalFileTime( &bhi.ftLastWriteTime, &bhi.ftLastWriteTime );
FileTimeToLocalFileTime( &bhi.ftCreationTime, &bhi.ftCreationTime );
DWORD fa=bhi.dwFileAttributes;
ulg a=0;
// Zip uses the lower word for its interpretation of windows stuff
if (fa&FILE_ATTRIBUTE_READONLY) a|=0x01;
if (fa&FILE_ATTRIBUTE_HIDDEN) a|=0x02;
if (fa&FILE_ATTRIBUTE_SYSTEM) a|=0x04;
if (fa&FILE_ATTRIBUTE_DIRECTORY)a|=0x10;
if (fa&FILE_ATTRIBUTE_ARCHIVE) a|=0x20;
// It uses the upper word for standard unix attr, which we must manually construct
if (fa&FILE_ATTRIBUTE_DIRECTORY)a|=0x40000000; // directory
else a|=0x80000000; // normal file
a|=0x01000000; // readable
if (fa&FILE_ATTRIBUTE_READONLY) {}
else a|=0x00800000; // writeable
// now just a small heuristic to check if it's an executable:
DWORD red, hsize=GetFileSize(hf,NULL); if (hsize>40)
{ SetFilePointer(hf,0,NULL,FILE_BEGIN); unsigned short magic; ReadFile(hf,&magic,sizeof(magic),&red,NULL);
SetFilePointer(hf,36,NULL,FILE_BEGIN); unsigned long hpos; ReadFile(hf,&hpos,sizeof(hpos),&red,NULL);
if (magic==0x54AD && hsize>hpos+4+20+28)
{ SetFilePointer(hf,hpos,NULL,FILE_BEGIN); unsigned long signature; ReadFile(hf,&signature,sizeof(signature),&red,NULL);
if (signature==IMAGE_DOS_SIGNATURE || signature==IMAGE_OS2_SIGNATURE
|| signature==IMAGE_OS2_SIGNATURE_LE || signature==IMAGE_NT_SIGNATURE)
{ a |= 0x00400000; // executable
}
}
}
//
if (attr!=NULL) *attr = a;
if (size!=NULL) *size = hsize;
if (times!=NULL)
{ // time_t is 32bit number of seconds elapsed since 0:0:0GMT, Jan1, 1970.
// but FILETIME is 64bit number of 100-nanosecs since Jan1, 1601
times->atime = filetime2timet(bhi.ftLastAccessTime);
times->mtime = filetime2timet(bhi.ftLastWriteTime);
times->ctime = filetime2timet(bhi.ftCreationTime);
}
if (timestamp!=NULL)
{ WORD dosdate,dostime;
FileTimeToDosDateTime(&bhi.ftLastWriteTime,&dosdate,&dostime);
*timestamp = (WORD)dostime | (((DWORD)dosdate)<<16);
}
return ZR_OK;
}
#endif
#ifndef _WIN32
int timet_to_timestamp( time_t time )
{
struct tm *tm;
tm = localtime( &time );
if ( !tm )
return 0;
int date = 0;
date |= ( ( ( tm->tm_year & 0x7f ) + ( 1900 - 1980 ) ) << 9 );
date |= ( ( ( tm->tm_mon & 0x0f ) + 1 ) << 5 );
date |= ( ( ( tm->tm_mday & 0x1f ) ) );
int timepart = 0;
timepart |= ( ( ( tm->tm_hour & 0x1f ) ) << 11 );
timepart |= ( ( ( tm->tm_min & 0x3f ) ) << 5 );
timepart |= ( ( ( tm->tm_sec & 0x3e ) ) >> 1 );
return time | (date << 16 );
}
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
class TZip
{ public:
TZip() : hfout(0),hmapout(0),zfis(0),obuf(0),hfin(0),writ(0),oerr(false),hasputcen(false),ooffset(0) {}
~TZip() {}
// These variables say about the file we're writing into
// We can write to pipe, file-by-handle, file-by-name, memory-to-memmapfile
HANDLE hfout; // if valid, we'll write here (for files or pipes)
HANDLE hmapout; // otherwise, we'll write here (for memmap)
unsigned ooffset; // for hfout, this is where the pointer was initially
ZRESULT oerr; // did a write operation give rise to an error?
unsigned writ; // how far have we written. This is maintained by Add, not write(), to avoid confusion over seeks
bool ocanseek; // can we seek?
char *obuf; // this is where we've locked mmap to view.
unsigned int opos; // current pos in the mmap
unsigned int mapsize; // the size of the map we created
bool hasputcen; // have we yet placed the central directory?
//
TZipFileInfo *zfis; // each file gets added onto this list, for writing the table at the end
ZRESULT Create(void *z,unsigned int len,DWORD flags);
static unsigned sflush(void *param,const char *buf, unsigned *size);
static unsigned swrite(void *param,const char *buf, unsigned size);
unsigned int write(const char *buf,unsigned int size);
bool oseek(unsigned int pos);
ZRESULT GetMemory(void **pbuf, unsigned long *plen);
ZRESULT Close();
// some variables to do with the file currently being read:
// I haven't done it object-orientedly here, just put them all
// together, since OO didn't seem to make the design any clearer.
ulg attr; iztimes times; ulg timestamp; // all open_* methods set these
bool iseekable; long isize,ired; // size is not set until close() on pips
ulg crc; // crc is not set until close(). iwrit is cumulative
HANDLE hfin; bool selfclosehf; // for input files and pipes
const char *bufin; unsigned int lenin,posin; // for memory
// and a variable for what we've done with the input: (i.e. compressed it!)
ulg csize; // compressed size, set by the compression routines
// and this is used by some of the compression routines
char buf[16384];
ZRESULT open_file(const TCHAR *fn);
ZRESULT open_handle(HANDLE hf,unsigned int len);
ZRESULT open_mem(void *src,unsigned int len);
ZRESULT open_dir();
static unsigned sread(TState &s,char *buf,unsigned size);
unsigned read(char *buf, unsigned size);
ZRESULT iclose();
ZRESULT ideflate(TZipFileInfo *zfi);
ZRESULT istore();
ZRESULT Add(const char *odstzn, void *src,unsigned int len, DWORD flags);
ZRESULT AddCentral();
};
ZRESULT TZip::Create(void *z,unsigned int len,DWORD flags)
{
if (hfout!=0 || hmapout!=0 || obuf!=0 || writ!=0 || oerr!=ZR_OK || hasputcen)
return ZR_NOTINITED;
//
if (flags==ZIP_MEMORY)
{
if (len==0)
return ZR_MEMSIZE;
if (z!=0)
obuf=(char*)z;
else
{
#ifdef _WIN32
hmapout = CreateFileMapping(INVALID_HANDLE_VALUE,NULL,PAGE_READWRITE,0,len,NULL);
if (hmapout==NULL)
return ZR_NOALLOC;
obuf = (char*)MapViewOfFile(hmapout,FILE_MAP_ALL_ACCESS,0,0,len);
if (obuf==0)
{
CloseHandle(hmapout);
hmapout=0;
return ZR_NOALLOC;
}
#endif
#ifdef POSIX
obuf = (char*) calloc( len, 1 );
hmapout = (void*)-1; // sentinel to let close know it's a file in posix.
if ( !obuf )
return ZR_NOALLOC;
#endif
}
ocanseek=true;
opos=0;
mapsize=len;
return ZR_OK;
}
#ifdef _WIN32
else if (flags==ZIP_HANDLE)
{
HANDLE hf = (HANDLE)z;
BOOL res = DuplicateHandle(GetCurrentProcess(),hf,GetCurrentProcess(),&hfout,0,FALSE,DUPLICATE_SAME_ACCESS);
if (!res)
return ZR_NODUPH;
// now we have our own hfout, which we must close. And the caller will close hf
DWORD type = GetFileType(hfout);
ocanseek = (type==FILE_TYPE_DISK);
if (type==FILE_TYPE_DISK)
ooffset=SetFilePointer(hfout,0,NULL,FILE_CURRENT);
else
ooffset=0;
return ZR_OK;
}
else if (flags==ZIP_FILENAME)
{
#ifdef _UNICODE
const TCHAR *fn = (const TCHAR*)z;
hfout = CreateFileW(fn,GENERIC_WRITE,0,NULL,CREATE_ALWAYS,FILE_ATTRIBUTE_NORMAL,NULL);
#else
const char *fn = (const char*)z;
hfout = CreateFileA(fn,GENERIC_WRITE,0,NULL,CREATE_ALWAYS,FILE_ATTRIBUTE_NORMAL,NULL);
#endif
if (hfout==INVALID_HANDLE_VALUE)
{
hfout=0;
return ZR_NOFILE;
}
ocanseek=true;
ooffset=0;
return ZR_OK;
}
#endif
else
return ZR_ARGS;
}
unsigned TZip::sflush(void *param,const char *buf, unsigned *size)
{ // static
if (*size==0) return 0;
TZip *zip = (TZip*)param;
unsigned int writ = zip->write(buf,*size);
if (writ!=0) *size=0;
return writ;
}
unsigned TZip::swrite(void *param,const char *buf, unsigned size)
{ // static
if (size==0) return 0;
TZip *zip=(TZip*)param; return zip->write(buf,size);
}
unsigned int TZip::write(const char *buf,unsigned int size)
{ if (obuf!=0)
{ if (opos+size>=mapsize) {oerr=ZR_MEMSIZE; return 0;}
memcpy(obuf+opos, buf, size);
opos+=size;
return size;
}
#ifdef _WIN32
else if (hfout!=0)
{ DWORD writ; WriteFile(hfout,buf,size,&writ,NULL);
return writ;
}
#endif
oerr=ZR_NOTINITED; return 0;
}
bool TZip::oseek(unsigned int pos)
{ if (!ocanseek) {oerr=ZR_SEEK; return false;}
if (obuf!=0)
{ if (pos>=mapsize) {oerr=ZR_MEMSIZE; return false;}
opos=pos;
return true;
}
#ifdef _WIN32
else if (hfout!=0)
{ SetFilePointer(hfout,pos+ooffset,NULL,FILE_BEGIN);
return true;
}
#endif
oerr=ZR_NOTINITED; return 0;
}
ZRESULT TZip::GetMemory(void **pbuf, unsigned long *plen)
{ // When the user calls GetMemory, they're presumably at the end
// of all their adding. In any case, we have to add the central
// directory now, otherwise the memory we tell them won't be complete.
if (!hasputcen) AddCentral(); hasputcen=true;
if (pbuf!=NULL) *pbuf=(void*)obuf;
if (plen!=NULL) *plen=writ;
if (obuf==NULL) return ZR_NOTMMAP;
return ZR_OK;
}
ZRESULT TZip::Close()
{ // if the directory hadn't already been added through a call to GetMemory,
// then we do it now
ZRESULT res=ZR_OK; if (!hasputcen) res=AddCentral(); hasputcen=true;
if (obuf!=0 && hmapout!=0)
#ifdef _WIN32
UnmapViewOfFile(obuf);
#elif defined( POSIX )
free(obuf);
#endif
obuf=0;
#ifdef _WIN32
if (hmapout!=0) CloseHandle(hmapout); hmapout=0;
if (hfout!=0) CloseHandle(hfout); hfout=0;
#endif
return res;
}
ZRESULT TZip::open_file(const TCHAR *fn)
{ hfin=0; bufin=0; selfclosehf=false; crc=CRCVAL_INITIAL; isize=0; csize=0; ired=0;
if (fn==0) return ZR_ARGS;
HANDLE hf = INVALID_HANDLE_VALUE;
#ifdef _WIN32
hf = CreateFile(fn,GENERIC_READ,FILE_SHARE_READ,NULL,OPEN_EXISTING,0,NULL);
#endif
if (hf==INVALID_HANDLE_VALUE) return ZR_NOFILE;
ZRESULT res = open_handle(hf,0);
if (res!=ZR_OK) {
#ifdef _WIN32
CloseHandle(hf);
#endif
return res;
}
selfclosehf=true;
return ZR_OK;
}
ZRESULT TZip::open_handle(HANDLE hf,unsigned int len)
{ hfin=0; bufin=0; selfclosehf=false; crc=CRCVAL_INITIAL; isize=0; csize=0; ired=0;
if (hf==0 || hf==INVALID_HANDLE_VALUE) return ZR_ARGS;
#ifdef _WIN32
DWORD type = GetFileType(hf);
if (type==FILE_TYPE_DISK)
{ ZRESULT res = GetFileInfo(hf,&attr,&isize,×,×tamp);
if (res!=ZR_OK) return res;
SetFilePointer(hf,0,NULL,FILE_BEGIN); // because GetFileInfo will have screwed it up
iseekable=true; hfin=hf;
return ZR_OK;
}
else
{ attr= 0x80000000; // just a normal file
isize = -1; // can't know size until at the end
if (len!=0) isize=len; // unless we were told explicitly!
iseekable=false;
SYSTEMTIME st; GetLocalTime(&st);
FILETIME ft; SystemTimeToFileTime(&st,&ft);
WORD dosdate,dostime; FileTimeToDosDateTime(&ft,&dosdate,&dostime);
times.atime = filetime2timet(ft);
times.mtime = times.atime;
times.ctime = times.atime;
timestamp = (WORD)dostime | (((DWORD)dosdate)<<16);
hfin=hf;
return ZR_OK;
}
#else
return ZR_FAILED;
#endif
}
ZRESULT TZip::open_mem(void *src,unsigned int len)
{ hfin=0; bufin=(const char*)src; selfclosehf=false; crc=CRCVAL_INITIAL; ired=0; csize=0; ired=0;
lenin=len; posin=0;
if (src==0 || len==0) return ZR_ARGS;
#ifdef _WIN32
attr= 0x80000000; // just a normal file
isize = len;
iseekable=true;
SYSTEMTIME st; GetLocalTime(&st);
FILETIME ft; SystemTimeToFileTime(&st,&ft);
WORD dosdate,dostime; FileTimeToDosDateTime(&ft,&dosdate,&dostime);
times.atime = filetime2timet(ft);
times.mtime = times.atime;
times.ctime = times.atime;
timestamp = (WORD)dostime | (((DWORD)dosdate)<<16);
return ZR_OK;
#else
times.atime = time(NULL);
times.mtime = times.atime;
times.ctime = times.atime;
timestamp = timet_to_timestamp( times.atime );
return ZR_OK;
#endif
}
ZRESULT TZip::open_dir()
{ hfin=0; bufin=0; selfclosehf=false; crc=CRCVAL_INITIAL; isize=0; csize=0; ired=0;
#ifdef _WIN32
attr= 0x41C00010; // a readable writable directory, and again directory
isize = 0;
iseekable=false;
SYSTEMTIME st; GetLocalTime(&st);
FILETIME ft; SystemTimeToFileTime(&st,&ft);
WORD dosdate,dostime; FileTimeToDosDateTime(&ft,&dosdate,&dostime);
times.atime = filetime2timet(ft);
times.mtime = times.atime;
times.ctime = times.atime;
timestamp = (WORD)dostime | (((DWORD)dosdate)<<16);
return ZR_OK;
#else
times.atime = time(NULL);
times.mtime = times.atime;
times.ctime = times.atime;
timestamp = timet_to_timestamp( times.atime );
return ZR_OK;
#endif
}
unsigned TZip::sread(TState &s,char *buf,unsigned size)
{ // static
TZip *zip = (TZip*)s.param;
return zip->read(buf,size);
}
unsigned TZip::read(char *buf, unsigned size)
{ if (bufin!=0)
{ if (posin>=lenin) return 0; // end of input
ulg red = lenin-posin;
if (red>size) red=size;
memcpy(buf, bufin+posin, red);
posin += red;
ired += red;
crc = crc32(crc, (uch*)buf, red);
return red;
}
#ifdef _WIN32
else if (hfin!=0)
{ DWORD red;
BOOL ok = ReadFile(hfin,buf,size,&red,NULL);
if (!ok) return 0;
ired += red;
crc = crc32(crc, (uch*)buf, red);
return red;
}
#endif
else {oerr=ZR_NOTINITED; return 0;}
}
ZRESULT TZip::iclose()
{
#ifdef _WIN32
if (selfclosehf && hfin!=0) CloseHandle(hfin);
#endif
hfin=0;
bool mismatch = (isize!=-1 && isize!=ired);
isize=ired; // and crc has been being updated anyway
if (mismatch) return ZR_MISSIZE;
else return ZR_OK;
}
ZRESULT TZip::ideflate(TZipFileInfo *zfi)
{ TState state;
state.readfunc=sread; state.flush_outbuf=sflush;
state.param=this; state.level=8; state.seekable=iseekable; state.err=NULL;
// the following line will make ct_init realise it has to perform the init
state.ts.static_dtree[0].dl.len = 0;
// It would be nicer if I could figure out precisely which data had to
// be initted each time, and which didn't, but that's kind of difficult.
// Maybe for the next version...
//
bi_init(state,buf, sizeof(buf), TRUE); // it used to be just 1024-size, not 16384 as here
ct_init(state,&zfi->att);
lm_init(state,state.level, &zfi->flg);
ulg sz = deflate(state);
csize=sz;
if (state.err!=NULL) return ZR_FLATE;
else return ZR_OK;
}
ZRESULT TZip::istore()
{ ulg size=0;
for (;;)
{ unsigned int cin=read(buf,16384); if (cin<=0 || cin==(unsigned int)EOF) break;
unsigned int cout = write(buf,cin); if (cout!=cin) return ZR_MISSIZE;
size += cin;
}
csize=size;
return ZR_OK;
}
ZRESULT TZip::Add(const char *odstzn, void *src,unsigned int len, DWORD flags)
{
if (oerr)
return ZR_FAILED;
if (hasputcen)
return ZR_ENDED;
// zip has its own notion of what its names should look like: i.e. dir/file.stuff
char dstzn[MAX_PATH];
strcpy(dstzn, odstzn);
if (*dstzn == 0)
return ZR_ARGS;
char *d=dstzn;
while (*d != 0)
{
if (*d == '\\')
*d = '/';
d++;
}
bool isdir = (flags==ZIP_FOLDER);
bool needs_trailing_slash = (isdir && dstzn[strlen(dstzn)-1]!='/');
int method=DEFLATE;
if (isdir || HasZipSuffix(dstzn))
method=STORE;
// now open whatever was our input source:
ZRESULT openres;
if (flags==ZIP_FILENAME)
openres=open_file((const TCHAR*)src);
else if (flags==ZIP_HANDLE)
openres=open_handle((HANDLE)src,len);
else if (flags==ZIP_MEMORY)
openres=open_mem(src,len);
else if (flags==ZIP_FOLDER)
openres=open_dir();
else return ZR_ARGS;
if (openres!=ZR_OK)
return openres;
// A zip "entry" consists of a local header (which includes the file name),
// then the compressed data, and possibly an extended local header.
// Initialize the local header
TZipFileInfo zfi; zfi.nxt=NULL;
strcpy(zfi.name,"");
strcpy(zfi.iname,dstzn);
zfi.nam=strlen(zfi.iname);
if (needs_trailing_slash)
{
strcat(zfi.iname,"/");
zfi.nam++;
}
strcpy(zfi.zname,"");
zfi.extra=NULL; zfi.ext=0; // extra header to go after this compressed data, and its length
zfi.cextra=NULL; zfi.cext=0; // extra header to go in the central end-of-zip directory, and its length
zfi.comment=NULL; zfi.com=0; // comment, and its length
zfi.mark = 1;
zfi.dosflag = 0;
zfi.att = (ush)BINARY;
zfi.vem = (ush)0xB17; // 0xB00 is win32 os-code. 0x17 is 23 in decimal: zip 2.3
zfi.ver = (ush)20; // Needs PKUNZIP 2.0 to unzip it
zfi.tim = timestamp;
// Even though we write the header now, it will have to be rewritten, since we don't know compressed size or crc.
zfi.crc = 0; // to be updated later
zfi.flg = 8; // 8 means 'there is an extra header'. Assume for the moment that we need it.
zfi.lflg = zfi.flg; // to be updated later
zfi.how = (ush)method; // to be updated later
zfi.siz = (ulg)(method==STORE && isize>=0 ? isize : 0); // to be updated later
zfi.len = (ulg)(isize); // to be updated later
zfi.dsk = 0;
zfi.atx = attr;
zfi.off = writ+ooffset; // offset within file of the start of this local record
// stuff the 'times' structure into zfi.extra
char xloc[EB_L_UT_SIZE];
zfi.extra=xloc;
zfi.ext=EB_L_UT_SIZE;
char xcen[EB_C_UT_SIZE];
zfi.cextra=xcen;
zfi.cext=EB_C_UT_SIZE;
xloc[0] = 'U';
xloc[1] = 'T';
xloc[2] = EB_UT_LEN(3); // length of data part of e.f.
xloc[3] = 0;
xloc[4] = EB_UT_FL_MTIME | EB_UT_FL_ATIME | EB_UT_FL_CTIME;
xloc[5] = (char)(times.mtime);
xloc[6] = (char)(times.mtime >> 8);
xloc[7] = (char)(times.mtime >> 16);
xloc[8] = (char)(times.mtime >> 24);
xloc[9] = (char)(times.atime);
xloc[10] = (char)(times.atime >> 8);
xloc[11] = (char)(times.atime >> 16);
xloc[12] = (char)(times.atime >> 24);
xloc[13] = (char)(times.ctime);
xloc[14] = (char)(times.ctime >> 8);
xloc[15] = (char)(times.ctime >> 16);
xloc[16] = (char)(times.ctime >> 24);
memcpy(zfi.cextra,zfi.extra,EB_C_UT_SIZE);
zfi.cextra[EB_LEN] = EB_UT_LEN(1);
// (1) Start by writing the local header:
int r = putlocal(&zfi,swrite,this);
if (r!=ZE_OK)
{
iclose();
return ZR_WRITE;
}
writ += 4 + LOCHEAD + (unsigned int)zfi.nam + (unsigned int)zfi.ext;
if (oerr!=ZR_OK)
{
iclose();
return oerr;
}
//(2) Write deflated/stored file to zip file
ZRESULT writeres=ZR_OK;
if (!isdir && method==DEFLATE)
writeres=ideflate(&zfi);
else if (!isdir && method==STORE)
writeres=istore();
else if (isdir)
csize=0;
iclose();
writ += csize;
if (oerr!=ZR_OK)
return oerr;
if (writeres!=ZR_OK)
return ZR_WRITE;
// (3) Either rewrite the local header with correct information...
bool first_header_has_size_right = (zfi.siz==csize);
zfi.crc = crc;
zfi.siz = csize;
zfi.len = isize;
if (ocanseek)
{
zfi.how = (ush)method;
if ((zfi.flg & 1) == 0)
zfi.flg &= ~8; // clear the extended local header flag
zfi.lflg = zfi.flg;
// rewrite the local header:
if (!oseek(zfi.off-ooffset))
return ZR_SEEK;
if ((r = putlocal(&zfi, swrite,this)) != ZE_OK)
return ZR_WRITE;
if (!oseek(writ))
return ZR_SEEK;
}
else
{
// (4) ... or put an updated header at the end
if (zfi.how != (ush) method)
return ZR_NOCHANGE;
if (method==STORE && !first_header_has_size_right)
return ZR_NOCHANGE;
if ((r = putextended(&zfi, swrite,this)) != ZE_OK)
return ZR_WRITE;
writ += 16L;
zfi.flg = zfi.lflg; // if flg modified by inflate, for the central index
}
if (oerr!=ZR_OK)
return oerr;
// Keep a copy of the zipfileinfo, for our end-of-zip directory
char *cextra = new char[zfi.cext];
memcpy(cextra,zfi.cextra,zfi.cext); zfi.cextra=cextra;
TZipFileInfo *pzfi = new TZipFileInfo;
memcpy(pzfi,&zfi,sizeof(zfi));
if (zfis==NULL)
zfis=pzfi;
else
{
TZipFileInfo *z=zfis;
while (z->nxt!=NULL)
z=z->nxt;
z->nxt=pzfi;
}
return ZR_OK;
}
ZRESULT TZip::AddCentral()
{ // write central directory
int numentries = 0;
ulg pos_at_start_of_central = writ;
//ulg tot_unc_size=0, tot_compressed_size=0;
bool okay=true;
for (TZipFileInfo *zfi=zfis; zfi!=NULL; )
{ if (okay)
{ int res = putcentral(zfi, swrite,this);
if (res!=ZE_OK) okay=false;
}
writ += 4 + CENHEAD + (unsigned int)zfi->nam + (unsigned int)zfi->cext + (unsigned int)zfi->com;
//tot_unc_size += zfi->len;
//tot_compressed_size += zfi->siz;
numentries++;
//
TZipFileInfo *zfinext = zfi->nxt;
if (zfi->cextra!=0) delete[] zfi->cextra;
delete zfi;
zfi = zfinext;
}
ulg center_size = writ - pos_at_start_of_central;
if (okay)
{ int res = putend(numentries, center_size, pos_at_start_of_central+ooffset, 0, NULL, swrite,this);
if (res!=ZE_OK) okay=false;
writ += 4 + ENDHEAD + 0;
}
if (!okay) return ZR_WRITE;
return ZR_OK;
}
unsigned int FormatZipMessageZ(ZRESULT code, char *buf,unsigned int len)
{ if (code==ZR_RECENT) code=lasterrorZ;
const char *msg="unknown zip result code";
switch (code)
{ case ZR_OK: msg="Success"; break;
case ZR_NODUPH: msg="Culdn't duplicate handle"; break;
case ZR_NOFILE: msg="Couldn't create/open file"; break;
case ZR_NOALLOC: msg="Failed to allocate memory"; break;
case ZR_WRITE: msg="Error writing to file"; break;
case ZR_NOTFOUND: msg="File not found in the zipfile"; break;
case ZR_MORE: msg="Still more data to unzip"; break;
case ZR_CORRUPT: msg="Zipfile is corrupt or not a zipfile"; break;
case ZR_READ: msg="Error reading file"; break;
case ZR_ARGS: msg="Caller: faulty arguments"; break;
case ZR_PARTIALUNZ: msg="Caller: the file had already been partially unzipped"; break;
case ZR_NOTMMAP: msg="Caller: can only get memory of a memory zipfile"; break;
case ZR_MEMSIZE: msg="Caller: not enough space allocated for memory zipfile"; break;
case ZR_FAILED: msg="Caller: there was a previous error"; break;
case ZR_ENDED: msg="Caller: additions to the zip have already been ended"; break;
case ZR_ZMODE: msg="Caller: mixing creation and opening of zip"; break;
case ZR_NOTINITED: msg="Zip-bug: internal initialisation not completed"; break;
case ZR_SEEK: msg="Zip-bug: trying to seek the unseekable"; break;
case ZR_MISSIZE: msg="Zip-bug: the anticipated size turned out wrong"; break;
case ZR_NOCHANGE: msg="Zip-bug: tried to change mind, but not allowed"; break;
case ZR_FLATE: msg="Zip-bug: an internal error during flation"; break;
}
unsigned int mlen=(unsigned int)strlen(msg);
if (buf==0 || len==0) return mlen;
unsigned int n=mlen; if (n+1>len) n=len-1;
memcpy(buf,msg,n); buf[n]=0;
return mlen;
}
typedef struct
{ DWORD flag;
TZip *zip;
} TZipHandleData;
HZIP CreateZipZ(void *z,unsigned int len,DWORD flags)
{
_tzset();
TZip *zip = new TZip();
lasterrorZ = zip->Create(z,len,flags);
if (lasterrorZ != ZR_OK)
{
delete zip;
return 0;
}
TZipHandleData *han = new TZipHandleData;
han->flag = 2;
han->zip = zip;
return (HZIP)han;
}
ZRESULT ZipAdd(HZIP hz, const TCHAR *dstzn, void *src, unsigned int len, DWORD flags)
{
if (hz == 0)
{
lasterrorZ = ZR_ARGS;
return ZR_ARGS;
}
TZipHandleData *han = (TZipHandleData*)hz;
if (han->flag != 2)
{
lasterrorZ = ZR_ZMODE;
return ZR_ZMODE;
}
TZip *zip = han->zip;
if (flags == ZIP_FILENAME)
{
char szDest[MAX_PATH*2];
memset(szDest, 0, sizeof(szDest));
#ifdef _UNICODE
// need to convert Unicode dest to ANSI
int nActualChars = WideCharToMultiByte(CP_ACP, // code page
0, // performance and mapping flags
(LPCWSTR) dstzn, // wide-character string
-1, // number of chars in string
szDest, // buffer for new string
MAX_PATH*2-2, // size of buffer
NULL, // default for unmappable chars
NULL); // set when default char used
if (nActualChars == 0)
return ZR_ARGS;
#else
strcpy(szDest, dstzn);
#endif
lasterrorZ = zip->Add(szDest, src, len, flags);
}
else
{
lasterrorZ = zip->Add((char *)dstzn, src, len, flags);
}
return lasterrorZ;
}
ZRESULT ZipGetMemory(HZIP hz, void **buf, unsigned long *len)
{ if (hz==0) {if (buf!=0) *buf=0; if (len!=0) *len=0; lasterrorZ=ZR_ARGS;return ZR_ARGS;}
TZipHandleData *han = (TZipHandleData*)hz;
if (han->flag!=2) {lasterrorZ=ZR_ZMODE;return ZR_ZMODE;}
TZip *zip = han->zip;
lasterrorZ = zip->GetMemory(buf,len);
return lasterrorZ;
}
ZRESULT CloseZipZ(HZIP hz)
{ if (hz==0) {lasterrorZ=ZR_ARGS;return ZR_ARGS;}
TZipHandleData *han = (TZipHandleData*)hz;
if (han->flag!=2) {lasterrorZ=ZR_ZMODE;return ZR_ZMODE;}
TZip *zip = han->zip;
lasterrorZ = zip->Close();
delete zip;
delete han;
return lasterrorZ;
}
bool IsZipHandleZ(HZIP hz)
{ if (hz==0) return true;
TZipHandleData *han = (TZipHandleData*)hz;
return (han->flag==2);
}
| [
"[email protected]"
] | |
de03f4a3b2e4b0a141d67388d1f2110aeef38053 | 8af8871325be3ef2c872fdca0e958254370f4216 | /lab03/List.h | a1f316ac5b7e8a6f2a7d4ac8d9f5db8be2971724 | [] | no_license | czc3wa/CS2150-DataStructures | 3d43703d0e61e35a3b5054d590c2b11048c0e91f | 92a1f76cc22eb01eb0f5d3a66ff18cdb405922f3 | refs/heads/master | 2021-01-22T05:47:20.405985 | 2017-02-12T05:11:43 | 2017-02-12T05:11:43 | 81,704,385 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,172 | h | //Corey Chen 9/8/16 List.h
/*
* Filename: List.h
* Description: List class definition
* also includes the prototype for non-member function print()
*/
#ifndef LIST_H
#define LIST_H
#include <iostream>
#include "ListNode.h"
#include "ListItr.h"
using namespace std;
// When reading in ListItr.h first, it starts reading in this file
// before declaring that ListItr is a class. This file then include
// ListItr.h, but beacuse of the #ifndef LISTITR_H statement, the code
// in that file is not read. Thus, in this case, this List.h file
// will be read in, and will not know that ListItr is a class, which
// will cause compilation problems later on in this file. Got it?
// Isn't C++ fun???
class ListItr;
class List {
public:
List(); //Constructor
List(const List& source); //Copy Constructor
~List(); //Destructor
List& operator=(const List& source); //Equals Operator
bool isEmpty() const; //Returns true if empty; else false
void makeEmpty(); //Removes all items except blank head and tail
ListItr first(); //Returns an iterator that points to
//the ListNode in the first position
ListItr last(); //Returns an iterator that points to
//the ListNode in the last position
void insertAfter(int x, ListItr position);
//Inserts x after current iterator position p
void insertBefore(int x, ListItr position);
//Inserts x before current iterator position p
void insertAtTail(int x); //Insert x at tail of list
void remove(int x); //Removes the first occurrence of x
ListItr find(int x); //Returns an iterator that points to
// the first occurrence of x, else return a iterator to the dummy tail node
int size() const; //Returns the number of elements in the list
private:
ListNode *head, *tail; //indicates beginning and end of the list
int count; //#of elements in list
friend class ListItr;
};
// printList: non-member function prototype
void printList(List& source, bool direction);
//prints list forwards when direction is true
//or backwards when direction is false
#endif
/* end of List.h */
| [
"[email protected]"
] | |
5a62dbe3c0a4c266bd7a7941cb17a62a3c06ba33 | 684d6cd65a59e3cf3674a3c7d1df1005db3814d9 | /src/SG.h | 02e15405f72736212c9848d49105ddac0c23b62d | [] | no_license | ATX-PRAGMA/LoadoutShuffle | c0fc50121ce39026c9ef7279758eebd3dba5c910 | b2c7eaa82c6fb57163ff10ca2265fb78b47c6d5f | refs/heads/master | 2021-03-31T16:45:38.333980 | 2020-03-19T00:53:51 | 2020-03-19T00:53:51 | 248,120,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 565 | h | #ifndef SG_H
#define SG_H
#include <string>
#include "PrimWeapon.h"
class SG : public PrimWeapon {
public:
SG();
void setSights();
void setAttachments();
private:
inline static const std::string sg_list[] = {"BY15", "HS0405", "HS2126", "KRM-262", "Striker"};
inline static const std::string sg_sight_list[] = {"Iron Sights"};
inline static const std::string sg_attachment_list[] = {"None", "Extended Mag", "Fast Mag", "Suppressor", "Long Barrel", "Laser Sight"};
static const int sights_end = 0;
static const int attach_end = 5;
};
#endif | [
"[email protected]"
] | |
1ad3b8257f157bd18ae8b9ca0263dac7ed1c3cdf | 813284b9dac4477f4893cb6b30ffafab8e181cc4 | /src/qt/modaloverlay.cpp | ea5ecd7cffbdc668213a751d4b9a45a6c1ba547d | [
"MIT"
] | permissive | phoenixkonsole/xbtx | 609809c29c32e2c4373a26204480a0e2a9f0922e | 2f9db3d0ca34103e315a5bc9ef2fa2d42cb71810 | refs/heads/master | 2023-05-11T17:37:28.762478 | 2023-05-03T09:54:14 | 2023-05-03T09:54:14 | 243,993,348 | 3 | 11 | MIT | 2023-05-03T09:54:15 | 2020-02-29T15:30:47 | C++ | UTF-8 | C++ | false | false | 5,846 | cpp | // Copyright (c) 2016 The Bitcoin Core developers
// Copyright (c) 2017 The BitcoinSubsidium Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "modaloverlay.h"
#include "ui_modaloverlay.h"
#include "guiutil.h"
#include "chainparams.h"
#include <QResizeEvent>
#include <QPropertyAnimation>
ModalOverlay::ModalOverlay(QWidget *parent) :
QWidget(parent),
ui(new Ui::ModalOverlay),
bestHeaderHeight(0),
bestHeaderDate(QDateTime()),
layerIsVisible(false),
userClosed(false)
{
ui->setupUi(this);
connect(ui->closeButton, SIGNAL(clicked()), this, SLOT(closeClicked()));
if (parent) {
parent->installEventFilter(this);
raise();
}
blockProcessTime.clear();
setVisible(false);
}
ModalOverlay::~ModalOverlay()
{
delete ui;
}
bool ModalOverlay::eventFilter(QObject * obj, QEvent * ev) {
if (obj == parent()) {
if (ev->type() == QEvent::Resize) {
QResizeEvent * rev = static_cast<QResizeEvent*>(ev);
resize(rev->size());
if (!layerIsVisible)
setGeometry(0, height(), width(), height());
}
else if (ev->type() == QEvent::ChildAdded) {
raise();
}
}
return QWidget::eventFilter(obj, ev);
}
//! Tracks parent widget changes
bool ModalOverlay::event(QEvent* ev) {
if (ev->type() == QEvent::ParentAboutToChange) {
if (parent()) parent()->removeEventFilter(this);
}
else if (ev->type() == QEvent::ParentChange) {
if (parent()) {
parent()->installEventFilter(this);
raise();
}
}
return QWidget::event(ev);
}
void ModalOverlay::setKnownBestHeight(int count, const QDateTime& blockDate)
{
if (count > bestHeaderHeight) {
bestHeaderHeight = count;
bestHeaderDate = blockDate;
}
}
void ModalOverlay::tipUpdate(int count, const QDateTime& blockDate, double nVerificationProgress)
{
QDateTime currentDate = QDateTime::currentDateTime();
// keep a vector of samples of verification progress at height
blockProcessTime.push_front(qMakePair(currentDate.toMSecsSinceEpoch(), nVerificationProgress));
// show progress speed if we have more then one sample
if (blockProcessTime.size() >= 2) {
double progressDelta = 0;
double progressPerHour = 0;
qint64 timeDelta = 0;
qint64 remainingMSecs = 0;
double remainingProgress = 1.0 - nVerificationProgress;
for (int i = 1; i < blockProcessTime.size(); i++) {
QPair<qint64, double> sample = blockProcessTime[i];
// take first sample after 500 seconds or last available one
if (sample.first < (currentDate.toMSecsSinceEpoch() - 500 * 1000) || i == blockProcessTime.size() - 1) {
progressDelta = blockProcessTime[0].second - sample.second;
timeDelta = blockProcessTime[0].first - sample.first;
progressPerHour = progressDelta / (double) timeDelta * 1000 * 3600;
remainingMSecs = (progressDelta > 0) ? remainingProgress / progressDelta * timeDelta : -1;
break;
}
}
// show progress increase per hour
ui->progressIncreasePerH->setText(QString::number(progressPerHour * 100, 'f', 2)+"%");
// show expected remaining time
if(remainingMSecs >= 0) {
ui->expectedTimeLeft->setText(GUIUtil::formatNiceTimeOffset(remainingMSecs / 1000.0));
} else {
ui->expectedTimeLeft->setText(QObject::tr("unknown"));
}
static const int MAX_SAMPLES = 5000;
if (blockProcessTime.count() > MAX_SAMPLES) {
blockProcessTime.remove(MAX_SAMPLES, blockProcessTime.count() - MAX_SAMPLES);
}
}
// show the last block date
ui->newestBlockDate->setText(blockDate.toString());
// show the percentage done according to nVerificationProgress
ui->percentageProgress->setText(QString::number(nVerificationProgress*100, 'f', 2)+"%");
ui->progressBar->setValue(nVerificationProgress*100);
if (!bestHeaderDate.isValid())
// not syncing
return;
// estimate the number of headers left based on nPowTargetSpacing
// and check if the gui is not aware of the best header (happens rarely)
int estimateNumHeadersLeft = bestHeaderDate.secsTo(currentDate) / Params().GetConsensus().nPowTargetSpacing;
bool hasBestHeader = bestHeaderHeight >= count;
// show remaining number of blocks
if (estimateNumHeadersLeft < HEADER_HEIGHT_DELTA_SYNC && hasBestHeader) {
ui->numberOfBlocksLeft->setText(QString::number(bestHeaderHeight - count));
} else {
ui->numberOfBlocksLeft->setText(tr("Unknown. Syncing Headers (%1)...").arg(bestHeaderHeight));
ui->expectedTimeLeft->setText(tr("Unknown..."));
}
}
void ModalOverlay::toggleVisibility()
{
showHide(layerIsVisible, true);
if (!layerIsVisible)
userClosed = true;
}
void ModalOverlay::showHide(bool hide, bool userRequested)
{
if ( (layerIsVisible && !hide) || (!layerIsVisible && hide) || (!hide && userClosed && !userRequested))
return;
if (!isVisible() && !hide)
setVisible(true);
setGeometry(0, hide ? 0 : height(), width(), height());
QPropertyAnimation* animation = new QPropertyAnimation(this, "pos");
animation->setDuration(300);
animation->setStartValue(QPoint(0, hide ? 0 : this->height()));
animation->setEndValue(QPoint(0, hide ? this->height() : 0));
animation->setEasingCurve(QEasingCurve::OutQuad);
animation->start(QAbstractAnimation::DeleteWhenStopped);
layerIsVisible = !hide;
}
void ModalOverlay::closeClicked()
{
showHide(true);
userClosed = true;
}
| [
"[email protected]"
] | |
0c96b822488a9d68d73666d5953c7f265728631d | a75149e54ccc92fcd62580add40ec9b4bda797dd | /reto6.cpp | ef91d7f33d93707adef72cb11b4d9a076764686c | [] | no_license | davidrdz1/retosPOO | 640994322753a206805e25c578035899c01415cb | 1e8f9d9fbc2aad820f911dc8133fa27730776482 | refs/heads/master | 2021-03-03T07:13:55.472270 | 2020-05-26T03:34:53 | 2020-05-26T03:34:53 | 245,941,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | #include<iostream>
using namespace std;
#include<vector>
#include <bits/stdc++.h>
int solution(vector <int> A){
sort(A.begin(), A.end());
for(int i=0; i<A.size(); i++){
cout<<A[i];
}
return 5;
}
int main(){
int faltante;
vector<int> A={2, 5, 4, 1, 6};
faltante = solution(A);
cout<<"\nEl número faltante es: "<<faltante<<endl;
} | [
"[email protected]"
] | |
08e39764d689e5db1dafdaf954caf0b868176ff0 | f366ec7980e9377aeca1d767f48cef84fd07442a | /dijkstra/dijkstra.cpp | a40c354148997c1decf63b89c2841901fc582adb | [
"CC0-1.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | RyanRizzo96/Industrial-Path-Planning-Application | 3ad5be6e06cbf477f849b8b0223259f0453e4561 | d19c6f501ebee7554e517271af681682826edd67 | refs/heads/master | 2021-10-26T22:35:37.134208 | 2019-04-14T12:46:08 | 2019-04-14T12:46:08 | 111,674,761 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,672 | cpp | #include <iostream>
#include <vector>
#include <fstream>
#include <string>
using namespace std;
//Declare an input and output file stream (ifstream) (ofstream) variable.
ofstream outFile;
ifstream inFile;
int N; //number of nodes
int a, b, w; //Node a to Node b and weight w
int node_matrix[10][10]; //2D node matrix
int path_matrix[10][10]; //2D matrix to store paths
int distances[10]; //1-D array distance
int visited[10]; //Set initally to 0
int finish_node;
int print_node;
vector<int> extracted_path;
vector<vector<int>> all_paths(7, vector<int>(10));
void writeFile() {
int nodes;
//int input;
int input_count = 0;
//outFile.open("C:\\Users\\Marka\\Desktop\\dijkstra3");
outFile.open("C:\\Users\\ryanr\\Desktop\\dijkstra3.txt");
if (outFile.is_open())
{
cout << "Enter Number of nodes present. Enter '0' to exit: " << endl;
cin >> nodes;
outFile << nodes << endl;
cout << endl << "Enter correct input type to describe map (1 2 30): " << endl;
for (int input; cin >> input;) {
if (input == 0) {
break;
}
input_count++;
outFile << input << " ";
if (input_count % 3 == 0) {
outFile << endl;
}
}
cout << endl;
}
else {
cout << "Unable to open file\n" << endl;
cout << errno;
}
outFile.close();
}
void readFile() {
//Open the file stream. Path names in MS Windows use backslashes (\). Because the backslash is also the string escape character,
//it must be doubled. If the full path is not given, most systems will look in the directory that contains the object program.
//inFile.open("C:\\Users\\Marka\\Desktop\\dijkstra3");
inFile.open("C:\\Users\\ryanr\\Desktop\\dijkstra3.txt");
//Check that the file was opened.For example, the open fails if the file doesn't exist, or if it can't be read
//because another program is writing it.A failure can be detected with code like that below using the !(logical not) operator
if (!inFile) {
cerr << "Unable to open file \n";
cout << errno; //call errno to give more insight reagrding the error
exit(1); // call system to stop
}
//reading number of nodes
inFile >> N;
//for all nodes fill in node_matrix and set to -1
for (int i = 0; i <= N; i++) {
for (int j = 0; j <= N; j++) {
node_matrix[i][j] = -1; //setting all to -1 meaning there is no connection between nodes
path_matrix[i][j] = 0; //no path establsihed.
}
}
//initializing distance
for (int i = 0; i <= N; i++) {
distances[i] = -1; //setting distance to -1 (or infinity)
}
//initializing root
distances[1] = 0; //distance of 1 set to 0
while (!inFile.eof()) { //reading till end of file
inFile >> a >> b >> w;
node_matrix[a][b] = w; //updating matrix
//this line is vital for correct functionality.
//make sure to update both paths TO and FROM each node
node_matrix[b][a] = w;
}
}
int dijkstra(int x) {
//dijkstra function. gets current node
visited[x] = 1; //sets current node as visited, marked as 1. They were all 0 before
//updates the nodes
for (int i = 1; i <= N; i++) { //for all the nodes
//check if they are not visited and they are connected
if ((visited[i] == 0) && (node_matrix[x][i] != -1)) {
//if distancefrom node 1 (0) + distance in node matrix of node + next node is less than the distance in the distances array then this is the new shortest path, update
//OR if distance in array distance is -1, update aswell. This will be true for the first round.
if ((distances[x] + node_matrix[x][i] < distances[i]) || (distances[i] == -1)) {
distances[i] = distances[x] + node_matrix[x][i]; //update i
//here we are storing shortest path.
//the for loop goes through the columns setting all longer distances to 0, therefore we are left only with the node with the shortest distance
for (int j = 1; j <= N; j++) {
path_matrix[j][i] = 0;
}
//update node with shortest distance
path_matrix[x][i] = i;
}
}
}
//after updating all the nodes, we are going to select a new node
int new_node = -1, smaller_weight = -1;
//for all the nodes, going to check which will be the next node
for (int i = 0; i <= N; i++) {
//node should not be visited and the distance should be greater than 0. smaller_weight should be bigger than current distance or else equal to -1
if ((visited[i] == 0) && (distances[i] >= 0) && ((smaller_weight > distances[i]) || (smaller_weight == -1))) {
smaller_weight = distances[i]; //distance from node 1 to 2 is now the smallest weight
new_node = i; //new node is now 4
}
}
if (new_node != -1) {
dijkstra(new_node); //run dijkstra function with new node. First run new node will be 4
return 0;
}
//output
for (int i = 1; i <= N; i++) {
cout << "Distance from Node 1 to Node " << i << " is: " << distances[i] << endl;
}
return 0;
}
void printPaths() {
//This function needs to be improved. I am merely printing the paths and not saving them in any way. These paths need to be stored separately, but permanently
//during the running of the program, such that the robot may have access to them at any moment.
int clear_count = 0;
all_paths[0].clear();
all_paths[0].push_back(1);
//extracting shortest paths from path_matrix
int preservedNodeState = 0;
for (int searchNodePath = N; searchNodePath >= 1; searchNodePath--) { //rows
for (int col_path = N; col_path >= 1; col_path--) {
if (path_matrix[searchNodePath][col_path] != 0) {
extracted_path.push_back(path_matrix[searchNodePath][col_path]);
extracted_path.push_back(searchNodePath);
//save the searchNodePath row we are currently on as we will be altering this in the following loop.
preservedNodeState = searchNodePath;
for (int row_previousNode = N; row_previousNode >= 1; row_previousNode--) {
for (int col_path2 = N; col_path2 >= 1; col_path2--) {
if (path_matrix[row_previousNode][col_path2] == searchNodePath) {
extracted_path.push_back(row_previousNode);
//in order to keep on searching through the path matrix
searchNodePath = row_previousNode; //set row_previousNode which is the previous node in the path to row_searchnodePath which we are looking for
row_previousNode = N; //reset row_node2 to number of nodes present, to start search from beginning
col_path2 = N; //reset col_path2 to number of nodes present, to start search from beginning
}
}
}
//reversing path vector to start from node 1.
reverse(extracted_path.begin(), extracted_path.end());
finish_node = extracted_path.back();
if (finish_node == 2) {
all_paths[finish_node - 1].clear();
for (int i = 0; i < extracted_path.size(); i++) {
all_paths[finish_node - 1].push_back(extracted_path[i]);
}
}
if (finish_node == 3) {
all_paths[finish_node - 1].clear();
for (int i = 0; i < extracted_path.size(); i++) {
all_paths[finish_node - 1].push_back(extracted_path[i]);
}
}
if (finish_node == 4) {
all_paths[finish_node - 1].clear();
for (int i = 0; i < extracted_path.size(); i++) {
all_paths[finish_node - 1].push_back(extracted_path[i]);
}
}
if (finish_node == 5) {
all_paths[finish_node - 1].clear();
for (int i = 0; i < extracted_path.size(); i++) {
all_paths[finish_node - 1].push_back(extracted_path[i]);
}
}
if (finish_node == 6) {
all_paths[finish_node - 1].clear();
for (int i = 0; i < extracted_path.size(); i++) {
all_paths[finish_node - 1].push_back(extracted_path[i]);
}
}
if (finish_node == 7) {
all_paths[finish_node -1].clear();
for (int i = 0; i < extracted_path.size(); i++) {
all_paths[finish_node - 1].push_back(extracted_path[i]);
}
}
//.clear() removes all elements of the current path, since we are now starting a new path
extracted_path.clear();
clear_count++;
//the searchNodePath which was altered, now retains its value in the original pathMatrix
searchNodePath = preservedNodeState;
}
}
}
cout << endl;
for (int i = 0; i < all_paths.size(); ++i)
{
for (int j = 0; j < all_paths[i].size(); ++j)
{
cout << all_paths[i][j];
}
cout <<endl;
}
cout << endl;
}
int main() {
writeFile();
//reading from file and setting matrices accordingly
readFile();
//running dijkstra function
dijkstra(1);
//function to print paths
printPaths();
cout << "Enter node to print path to that node: " << endl;
//cin >> print_node;
while (cin >> print_node)
{
for (int i = 0; i < all_paths[print_node - 1].size(); ++i)
{
cout << all_paths[print_node - 1][i];
}
cout << endl;
}
}
| [
"[email protected]"
] | |
421e39bd82bf7f78acec6d8ce499501822e86fb8 | 8875785c91080172101e73215542382c64fbdf67 | /algorithms/Lisa's Workbook.cpp | 1485ad3e10d09891526a1ae4ce2ae7382dae9a6b | [] | no_license | amitoj-singh/HackerRank | 4cfd60c0d9299cf8bcdd00c68a7507c65c0fad87 | 7f191757c59efd4fc366d3eadbfef422c82144f8 | refs/heads/master | 2021-06-26T09:16:33.198417 | 2020-12-09T08:26:14 | 2020-12-09T08:26:14 | 184,209,083 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,784 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the workbook function below.
int workbook(int n, int k, vector<int> arr) {
int special = 0, page = 0;
for (int i = 0; i < n; i++) {
page++;
for (int p = 1; p <= arr[i]; p++) {
if (p == page)
special++;
if (p%k == 0 && p < arr[i])
page++;
}
}
return special;
}
int main()
{
ofstream fout(getenv("OUTPUT_PATH"));
string nk_temp;
getline(cin, nk_temp);
vector<string> nk = split_string(nk_temp);
int n = stoi(nk[0]);
int k = stoi(nk[1]);
string arr_temp_temp;
getline(cin, arr_temp_temp);
vector<string> arr_temp = split_string(arr_temp_temp);
vector<int> arr(n);
for (int i = 0; i < n; i++) {
int arr_item = stoi(arr_temp[i]);
arr[i] = arr_item;
}
int result = workbook(n, k, arr);
fout << result << "\n";
fout.close();
return 0;
}
vector<string> split_string(string input_string) {
string::iterator new_end = unique(input_string.begin(), input_string.end(), [] (const char &x, const char &y) {
return x == y and x == ' ';
});
input_string.erase(new_end, input_string.end());
while (input_string[input_string.length() - 1] == ' ') {
input_string.pop_back();
}
vector<string> splits;
char delimiter = ' ';
size_t i = 0;
size_t pos = input_string.find(delimiter);
while (pos != string::npos) {
splits.push_back(input_string.substr(i, pos - i));
i = pos + 1;
pos = input_string.find(delimiter, i);
}
splits.push_back(input_string.substr(i, min(pos, input_string.length()) - i + 1));
return splits;
}
| [
"[email protected]"
] | |
70a9c2553356f4d7e59f74ac58a2d4a1597a4bb9 | 486a8375d4e9e7b9be325c72c3a592f5dfee7256 | /libraries/MySensors/Sensor.cpp | 69c1b8546c75f691be5ee50b60ad2cdb252e2611 | [] | no_license | datammwv/Arduino-1 | 8a2fc017c7d11dfc2ad2b33d9745392d97429656 | 8681e37f48673fbb9315312d1c0d8efde29431be | refs/heads/master | 2021-01-18T02:19:14.487718 | 2014-03-07T07:49:57 | 2014-03-07T07:49:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,064 | cpp | /*
The Sensor Net Arduino library adds a new layer on top of the RF24 library.
It handles radio network routing, relaying and ids.
Created by Henrik Ekblad <[email protected]>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundation.
*/
#include "Sensor.h"
Sensor::Sensor(uint8_t _cepin, uint8_t _cspin) : RF24(_cepin, _cspin) {
isRelay = false;
}
void Sensor::setupRadio(rf24_pa_dbm_e paLevel, uint8_t channel, rf24_datarate_e dataRate) {
failedTransmissions = 0;
// Start up the radio library
RF24::begin();
RF24::enableDynamicPayloads();
RF24::setAutoAck(false);
RF24::setRetries(15, 15);
RF24::setPALevel(paLevel);
RF24::setChannel(channel);
RF24::setDataRate(dataRate);
RF24::setCRCLength(RF24_CRC_16);
// All repeater nodes and gateway listen to broadcast pipe (for PING messages)
if (isRelay) {
RF24::openReadingPipe(BROADCAST_PIPE, TO_ADDR(BROADCAST_ADDRESS));
}
}
void Sensor::begin(uint8_t _radioId, rf24_pa_dbm_e paLevel, uint8_t channel, rf24_datarate_e dataRate) {
Serial.begin(BAUD_RATE);
radioId = _radioId;
debug(PSTR("Started %s.\n"), isRelay?"relay":"sensor");
setupRadio(paLevel, channel, dataRate);
// Fetch relay from EEPROM
relayId = EEPROM.read(EEPROM_RELAY_ID_ADDRESS);
// Fetch distance from eeprom
distance = EEPROM.read(EEPROM_DISTANCE_ADDRESS);
if (relayId == 0xff) {
// No relay previously fetched and stored in eeprom. Try to find one.
findRelay();
}
debug(PSTR("Relay=%d, distance=%d\n"), relayId, distance);
initializeRadioId();
// Open reading pipe for messages directed to this node
RF24::openReadingPipe(CURRENT_NODE_PIPE, TO_ADDR(radioId));
// Send presentation for this radio node
sendSensorPresentation(NODE_CHILD_ID, isRelay? S_ARDUINO_RELAY : S_ARDUINO_NODE);
// Send relay information back to sensor net gateway.
sendInternal(I_RELAY_NODE, itoa(relayId, convBuffer, 10));
// Initialize ack message header
ack.header.version = PROTOCOL_VERSION;
ack.header.binary = 0;
ack.header.from = radioId;
ack.header.to = GATEWAY_ADDRESS;
ack.header.messageType = M_SET_VARIABLE;
}
uint8_t Sensor::getRadioId() {
return radioId;
}
void Sensor::initializeRadioId() {
if (radioId == AUTO) {
radioId = EEPROM.read(EEPROM_RADIO_ID_ADDRESS);
if (radioId == 0xFF || radioId == 0) {
radioId = AUTO;
debug(PSTR("No radio id found in EEPROM fetching one from sensor net gateway\n"));
// No radio id has been fetched yet ant EEPROM is unwritten.
// Request new id from sensor net gateway. Use radioId 4095 temporarily
// to be able to receive my correct nodeId.
RF24::openReadingPipe(CURRENT_NODE_PIPE, TO_ADDR(radioId));
radioId = atoi(getInternal(I_REQUEST_ID));
// Write id to EEPROM
if (radioId == AUTO) { // sensor net gateway will return max id if all sensor id are taken
debug(PSTR("Sensor network is full! You already have the maximum of sensors!\n"));
while (1) {} // Wait here. Nothing else we can do...
} else {
debug(PSTR("Radio id received: %d\n"), radioId);
EEPROM.write(EEPROM_RADIO_ID_ADDRESS, radioId);
}
}
debug(PSTR("Radio id stored in EEPROM was: %d\n"), radioId);
}
}
void Sensor::findRelay() {
// This can be improved by using status = read_register(OBSERVE_TX,&observe_tx,1) on the
// sending side.. the problem is getting this information here without too much fuss.
// Stay in this method until one or more relay nodes answers ping message.
if (radioId == GATEWAY_ADDRESS)
return; // Gateway has no business here!
failedTransmissions = 0;
// Open a reading pipe for current radioId (if it differs from broadcast)
if (radioId != BROADCAST_PIPE) {
RF24::openReadingPipe(CURRENT_NODE_PIPE, TO_ADDR(radioId));
debug(PSTR("Open ping reading pipe: %d\n"), radioId);
}
distance = 255;
uint8_t oldRelayId = relayId;
while (distance == 255) {
// Send ping message to BROADCAST_ADDRESS (to which all nodes listens and should reply to)
buildMsg(radioId, BROADCAST_ADDRESS, NODE_CHILD_ID, M_INTERNAL, I_PING, "", 0, false);
sendWrite(BROADCAST_ADDRESS, msg, 0);
// Wait for replies for max 10 seconds (or when buffer for all relay nodes have been filled up)
unsigned long enter = millis();
uint8_t neighborDistanceToGW;
// Wait for ack responses 5 seconds
while (millis() - enter < 5000) {
if (messageAvailable()) {
if (msg.header.messageType == M_INTERNAL &&
msg.header.type == I_PING_ACK &&
msg.header.to == radioId) {
neighborDistanceToGW = atoi(msg.data);
if (neighborDistanceToGW<distance-1) {
// Found a neighbor closer to GW than previously found
distance = neighborDistanceToGW + 1;
relayId = msg.header.from;
debug(PSTR("Using relay %d. Distance is %d\n"), msg.header.from, neighborDistanceToGW);
if (neighborDistanceToGW == 0) // We found gateway. Search no more.
break;
} else {
debug(PSTR("Discarded relay %d. Distance is %d\n"), msg.header.from, neighborDistanceToGW);
}
}
}
}
if (distance == 255) {
debug(PSTR("No relay nodes was found. Trying again in 10 seconds.\n"));
delay(10000);
}
}
// Store new relay address in EEPROM
if (relayId != oldRelayId) {
EEPROM.write(EEPROM_RELAY_ID_ADDRESS, relayId);
EEPROM.write(EEPROM_DISTANCE_ADDRESS, distance);
}
}
void Sensor::buildMsg(uint8_t from, uint8_t to, uint8_t childId, uint8_t messageType, uint8_t type, const char *data, uint8_t length, boolean binary) {
msg.header.version = PROTOCOL_VERSION;
msg.header.binary = binary;
msg.header.from = from;
msg.header.to = to;
msg.header.childId = childId;
msg.header.messageType = messageType;
msg.header.type = type;
strncpy(msg.data, data, length);
if(length < sizeof(msg.data)-1) {
memset(&msg.data[length], 0, sizeof(msg.data) - 1 - length);
}
}
boolean Sensor::sendData(uint8_t from, uint8_t to, uint8_t childId, uint8_t messageType, uint8_t type, const char *data, uint8_t length, boolean binary) {
if (length < sizeof(msg.data)) {
buildMsg(from, to, childId, messageType, type, data, length, binary);
return send(msg,length);
} else {
debug(PSTR("Message too large\n"));
}
return false;
}
boolean Sensor::sendVariableAck() {
ack.header.childId = msg.header.childId;
ack.header.type = msg.header.type;
strncpy(ack.data, msg.data, sizeof(ack.data)-1); // will terminate properly not exceeding message.data
return send(ack,strlen(ack.data));
}
boolean Sensor::send(message_s message, int length) {
debug(PSTR("Relaying message back to gateway.\n"));
// We're a sensor node. Always send messages back to relay node
bool ok = sendWrite(relayId, message, length);
if (!ok && radioId != GATEWAY_ADDRESS) {
// Failure when sending to relay node. The relay node might be down and we
// need to find another route to gateway. Max 20 retries before giving up.
if (failedTransmissions > FIND_RELAY_RETRIES) {
findRelay();
}
failedTransmissions++;
} else {
failedTransmissions = 0;
}
return ok;
}
boolean Sensor::sendWrite(uint8_t dest, message_s message, int length) {
message.header.last = radioId;
message.header.crc = crc8Message(message, length);
debug(PSTR("Tx: fr=%d,to=%d,la=%d,ne=%d,ci=%d,mt=%d,ty=%d,cr=%d: %s\n"),
message.header.from,message.header.to, message.header.last, dest, message.header.childId, message.header.messageType, message.header.type, message.header.crc, message.data);
bool ok = true;
bool broadcast = message.header.messageType == M_INTERNAL && message.header.type == I_PING;
// int retry = WRITE_RETRY;
RF24::stopListening();
RF24::openWritingPipe(TO_ADDR(dest));
RF24::write(&message, min(MAX_MESSAGE_LENGTH, sizeof(message.header) + length), broadcast);
RF24::startListening();
RF24::closeReadingPipe(WRITE_PIPE); // Stop listening to write-pipe after transmit
if (!broadcast) {
// ---------------- WAIT FOR ACK ------------------
unsigned long startedWaiting = millis();
bool timeout = false;
// Wait max 100 ms
while ( !RF24::available() && !timeout ) {
if (millis() - startedWaiting > 100 ) {
timeout = true;
ok = false;
}
}
// Check payload size and content
if ( !timeout && RF24::getDynamicPayloadSize()==sizeof(uint8_t)) {
uint8_t idest;
RF24::read( &idest, sizeof(uint8_t));
if (dest != idest) {
ok = false;
}
} else {
ok = false;
}
//--------------------
}
if (ok) {
debug(PSTR("Sent successfully\n"));
} else {
debug(PSTR("Send failed.\n"));
}
return ok;
}
void Sensor::sendInternal(uint8_t variableType, const char *value) {
sendData(radioId, GATEWAY_ADDRESS, NODE_CHILD_ID, M_INTERNAL, variableType, value, strlen(value), false);
}
// This will be added in 1.4
/*void Sensor::sendVariable(uint8_t childId, uint8_t variableType,
const char *value, length) {
sendData(radioId, GATEWAY_ADDRESS, childId, M_SET_VARIABLE, variableType, value, length, true);
}*/
void Sensor::sendVariable(uint8_t childId, uint8_t variableType,
const char *value) {
sendData(radioId, GATEWAY_ADDRESS, childId, M_SET_VARIABLE, variableType, value, strlen(value), false);
}
void Sensor::sendVariable(uint8_t childId, uint8_t variableType, double value, int decimals) {
sendVariable(childId, variableType, dtostrf(value,2,decimals,convBuffer));
}
void Sensor::sendVariable(uint8_t childId, uint8_t variableType, int value) {
sendVariable(childId, variableType, itoa(value, convBuffer, 10));
}
void Sensor::sendVariable(uint8_t childId, uint8_t variableType, long value) {
sendVariable(childId, variableType, ltoa(value, convBuffer, 10));
}
void Sensor::sendVariable(uint8_t childId, uint8_t variableType, unsigned long value) {
sendVariable(childId, variableType, ltoa(value, convBuffer, 10));
}
void Sensor::sendVariable(uint8_t childId, uint8_t variableType, unsigned int value) {
sendVariable(childId, variableType, ltoa(value, convBuffer, 10));
}
void Sensor::sendVariable(uint8_t nodeId, uint8_t childId, uint8_t variableType,
const char *value) {
sendData(radioId, nodeId, childId, M_SET_VARIABLE, variableType, value, strlen(value), false);
}
void Sensor::sendVariable(uint8_t nodeId, uint8_t childId, uint8_t variableType, double value, int decimals) {
sendVariable(nodeId, childId, variableType, dtostrf(value,2,decimals,convBuffer));
}
void Sensor::sendVariable(uint8_t nodeId, uint8_t childId, uint8_t variableType, int value) {
sendVariable(nodeId, childId, variableType, itoa(value, convBuffer, 10));
}
void Sensor::sendVariable(uint8_t nodeId, uint8_t childId, uint8_t variableType, long value) {
sendVariable(nodeId, childId, variableType, ltoa(value, convBuffer, 10));
}
void Sensor::sendVariable(uint8_t nodeId, uint8_t childId, uint8_t variableType, unsigned long value) {
sendVariable(nodeId, childId, variableType, ltoa(value, convBuffer, 10));
}
void Sensor::sendVariable(uint8_t nodeId, uint8_t childId, uint8_t variableType, unsigned int value) {
sendVariable(nodeId, childId, variableType, ltoa(value, convBuffer, 10));
}
void Sensor::sendSensorPresentation(uint8_t childId, uint8_t sensorType) {
sendData(radioId, GATEWAY_ADDRESS, childId, M_PRESENTATION, sensorType, LIBRARY_VERSION, strlen(LIBRARY_VERSION), false);
}
void Sensor::requestStatus(uint8_t childId, uint8_t variableType) {
sendData(radioId, GATEWAY_ADDRESS, childId, M_REQ_VARIABLE, variableType, "", 0, false);
}
void Sensor::requestStatus(uint8_t nodeId, int8_t childId, uint8_t variableType) {
sendData(radioId, nodeId, childId, M_REQ_VARIABLE, variableType, "", 0, false);
}
void Sensor::sendBatteryLevel(int value) {
sendInternal(I_BATTERY_LEVEL, ltoa(value, convBuffer, 10));
}
char* Sensor::get(uint8_t nodeId, uint8_t childId, uint8_t sendType, uint8_t receiveType, uint8_t variableType) {
while (1) {
sendData(radioId, nodeId, childId, sendType, variableType, "", 0, false);
uint8_t i = 0;
while (i < 100) { // 5 seconds timeout before re-sending status request
while (messageAvailable()) {
// Check that it is right type of message and not a routing message
if (msg.header.messageType == receiveType &&
msg.header.type == variableType &&
msg.header.childId == childId) {
return msg.data;
}
}
delay(50);
i++;
}
}
return NULL;
}
char* Sensor::getStatus(uint8_t childId, uint8_t variableType) {
return get(GATEWAY_ADDRESS, childId, M_REQ_VARIABLE, M_ACK_VARIABLE, variableType);
}
char * Sensor::getStatus(uint8_t nodeId, int8_t childId, uint8_t variableType) {
return get(nodeId, childId, M_REQ_VARIABLE, M_ACK_VARIABLE, variableType);
}
char* Sensor::getInternal(uint8_t variableType) {
return get(GATEWAY_ADDRESS, NODE_CHILD_ID, M_INTERNAL, M_INTERNAL, variableType);
}
unsigned long Sensor::getTime() {
return atol(getInternal(I_TIME));
}
void Sensor::requestTime() {
sendData(radioId, GATEWAY_ADDRESS, NODE_CHILD_ID, M_INTERNAL, I_TIME, "", 0, false);
}
bool Sensor::isMetricSystem() {
return getInternal(I_UNIT)[0] == 'M';
}
void Sensor::requestIsMetricSystem() {
sendData(radioId, GATEWAY_ADDRESS, NODE_CHILD_ID, M_INTERNAL, I_UNIT, "", 0, false);
}
boolean Sensor::messageAvailable() {
uint8_t pipe;
boolean available = RF24::available(&pipe);
if (available) {
debug(PSTR("Message available on pipe %d\n"),pipe);
}
if (available && pipe<7) {
boolean ok = readMessage();
if (ok && msg.header.to == radioId) {
// This message is addressed to this node
debug(PSTR("Message addressed for this node.\n"));
if (msg.header.from == GATEWAY_ADDRESS &&
// If this is variable message from sensor net gateway. Send ack back.
msg.header.messageType == M_SET_VARIABLE) {
// Send back ack message to sensor net gateway
sendVariableAck();
}
// Return message to waiting sketch...
return true;
}
}
return false;
}
message_s Sensor::waitForMessage() {
while (1) {
if (messageAvailable()) {
return msg;
}
}
}
message_s Sensor::getMessage() {
return msg;
}
boolean Sensor::readMessage() {
uint8_t len = RF24::getDynamicPayloadSize();
RF24::read(&msg, len);
if (!(msg.header.messageType==M_INTERNAL && msg.header.type == I_PING_ACK)) {
RF24::stopListening();
RF24::openWritingPipe(TO_ADDR(msg.header.last));
RF24::write(&radioId, sizeof(uint8_t));
RF24::startListening();
RF24::closeReadingPipe(WRITE_PIPE); // Stop listening to write-pipe after transmit
}
uint8_t valid = validate(len-sizeof(header_s));
boolean ok = valid == VALIDATE_OK;
// Make sure string gets terminated ok for full sized messages.
msg.data[len - sizeof(header_s) ] = '\0';
debug(PSTR("Rx: fr=%d,to=%d,la=%d,ci=%d,mt=%d,t=%d,cr=%d(%s): %s\n"),
msg.header.from,msg.header.to, msg.header.last, msg.header.childId, msg.header.messageType, msg.header.type, msg.header.crc, valid==0?"ok":valid==1?"ec":"ev", msg.data);
return ok;
}
/*
* calculate CRC8 on message_s data taking care of data structure and protocol version
*/
uint8_t Sensor::crc8Message(message_s var_msg, uint8_t len) {
uint8_t crc = 0x00;
uint8_t loop_count;
uint8_t bit_counter;
uint8_t data;
uint8_t feedback_bit;
uint8_t number_of_bytes_to_read = (uint8_t)sizeof(var_msg);
// Must set crc to a constant value.
var_msg.header.crc = 0;
// fill unused space by zeroes for string data only
if(len>=0 && len < sizeof(var_msg.data)-1) {
memset(&var_msg.data[len], 0, sizeof(var_msg.data) - 1 - len);
}
for (loop_count = 0; loop_count != number_of_bytes_to_read; loop_count++)
{
data = ((uint8_t*)&var_msg)[loop_count];
bit_counter = 8;
do {
feedback_bit = (crc ^ data) & 0x01;
if ( feedback_bit == 0x01 ) {
crc = crc ^ 0x18; //0X18 = X^8+X^5+X^4+X^0
}
crc = (crc >> 1) & 0x7F;
if ( feedback_bit == 0x01 ) {
crc = crc | 0x80;
}
data = data >> 1;
bit_counter--;
} while (bit_counter > 0);
}
return crc;
}
uint8_t Sensor::validate(uint8_t length) {
uint8_t oldCrc = msg.header.crc;
uint8_t newCrc = crc8Message(msg, length);
if(!(msg.header.version == PROTOCOL_VERSION)) return VALIDATE_BAD_VERSION;
if(!(oldCrc == newCrc)) return VALIDATE_BAD_CRC;
return VALIDATE_OK;
}
#ifdef DEBUG
void Sensor::debugPrint(const char *fmt, ... ) {
char fmtBuffer[300];
if (radioId == GATEWAY_ADDRESS) {
// prepend debug message to be handled correctly by gw
Serial.print("0;0;4;11;");
}
va_list args;
va_start (args, fmt );
vsnprintf_P(fmtBuffer, 300, fmt, args);
va_end (args);
if (radioId == GATEWAY_ADDRESS) {
// Truncate message if this is gateway node
vsnprintf_P(fmtBuffer, 60, fmt, args);
fmtBuffer[59] = '\n';
fmtBuffer[60] = '\0';
} else {
vsnprintf_P(fmtBuffer, 299, fmt, args);
}
va_end (args);
Serial.print(fmtBuffer);
//Serial.print("0;0;4;11;Mem free:");
//Serial.println(freeRam());
}
#endif
#ifdef DEBUG
int Sensor::freeRam (void) {
extern int __heap_start, *__brkval;
int v;
return (int) &v - (__brkval == 0 ? (int) &__heap_start : (int) __brkval);
}
#endif
| [
"[email protected]"
] | |
141f39c7261c5814a64b083a9d08f450288aab1f | cb6ffcac8b7cbae2a724d2f50a50dd02440c15e4 | /E17_BulletConfig/AppClass.h | 2ac0b68d483ecc4c52ebbecb7bcda00430ce8723 | [
"MIT"
] | permissive | APGMac21/ReEngineApp_2015s | 915c0643b4cc94ee19fd5a5f40d7b1675b30e250 | 2ba2a64c5eb83e2fe65bcc6e3b19878dbe998902 | refs/heads/master | 2021-01-16T20:53:21.571280 | 2016-05-10T22:21:58 | 2016-05-10T22:21:58 | 51,518,289 | 0 | 0 | null | 2016-02-11T14:01:42 | 2016-02-11T14:01:41 | null | UTF-8 | C++ | false | false | 2,874 | h | /*----------------------------------------------
Programmer: Alberto Bobadilla ([email protected])
Date: 2015/09 (Last Modified on: 15/11)
----------------------------------------------*/
#ifndef __APPLICATION_H_
#define __APPLICATION_H_
#include "RE\ReEngAppClass.h"
#include <SFML\Graphics.hpp>
#include "Bullet\btBulletCollisionCommon.h"
#include "Bullet\btBulletDynamicsCommon.h"
using namespace ReEng; //Using ReEng namespace to use all the classes in the dll
class AppClass : public ReEngAppClass
{
int m_nCubes;
btBroadphaseInterface* broadphase;
btDefaultCollisionConfiguration* collisionConfiguration;
btCollisionDispatcher* dispatcher;
btSequentialImpulseConstraintSolver* solver;
btDiscreteDynamicsWorld* dynamicsWorld;
btCollisionShape* groundShape;
btCollisionShape* fallShape;
btDefaultMotionState* groundMotionState;
btRigidBody* groundRigidBody;
std::vector<btDefaultMotionState*> fallMotionState;
std::vector<btRigidBody*> fallRigidBody;
public:
typedef ReEngAppClass super;
/*
USAGE: Constructor
ARGUMENTS:
- HINSTANCE hInstance -> Instance of the window
- LPWSTR lpCmdLine -> Command line
- int nCmdShow -> Number or arguments
- bool a_bConsole = false -> create command window flag
OUTPUT: ---
*/
AppClass(HINSTANCE hInstance, LPWSTR lpCmdLine, int nCmdShow, bool a_bUsingConsole = false) : super(hInstance, lpCmdLine, nCmdShow, a_bUsingConsole) {}
/*
USAGE: Reads the configuration of the application to a file
ARGUMENTS: ---
OUTPUT: ---
*/
virtual void ReadConfig(void) final {}
/*
USAGE: Writes the configuration of the application to a file
ARGUMENTS: ---
OUTPUT: ---
*/
virtual void WriteConfig(void) final {}
/*
USAGE: Initialize ReEng variables necessary to create the window
ARGUMENTS: String a_sWindowName -> Name of the window
OUTPUT: ---
*/
virtual void InitWindow(String a_sWindowName) final;
/*
USAGE: Initializes user specific variables, this is executed right after InitApplicationVariables,
the purpose of this member function is to initialize member variables specific for this lesson
ARGUMENTS: ---
OUTPUT: ---
*/
virtual void InitVariables(void) final;
/*
USAGE: Updates the scene
ARGUMENTS: ---
OUTPUT: ---
*/
virtual void Update(void) final;
/*
USAGE: Displays the scene
ARGUMENTS: ---
OUTPUT: ---
*/
virtual void Display(void) final;
/*
USAGE: Manage the response of key presses
ARGUMENTS: ---
OUTPUT: ---
*/
virtual void ProcessKeyboard(void) final;
/*
USAGE: Manage the response of key presses and mouse position
ARGUMENTS: ---
OUTPUT: ---
*/
virtual void ProcessMouse(void) final;
/*
USAGE: Releases the application
IF INHERITED AND OVERRIDEN MAKE SURE TO RELEASE BASE POINTERS (OR CALL BASED CLASS RELEASE)
ARGUMENTS: ---
OUTPUT: ---
*/
virtual void Release(void) final;
};
/*
USAGE:
ARGUMENTS: ---
OUTPUT: ---
*/
#endif //__APPLICATION_H_
| [
"[email protected]"
] | |
cf8c8be43f998fd0b8c82a8aedf62d07c1435147 | c841ae473f20ac74cdb9ac30243498176411618f | /sapphire/unity_sdk.hpp | 7c9941dab0ec87c42f2e54cb15ca0f57886dc893 | [] | no_license | proflylab/sapphire | bd83d70af6ca7962688feaffd6dcbbde2259be07 | fb8e70c867de45e065e9d87e1437bee8eb0d95e4 | refs/heads/main | 2023-08-25T09:51:50.798279 | 2021-10-29T23:39:22 | 2021-10-29T23:39:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,802 | hpp | #pragma once
#include "il2cpp_lib.hpp"
#include "include.hpp"
namespace unity
{
inline std::uintptr_t asset_bundle, camera;
enum class key_code // todo; clean this mess up. maybe put both of these in enums.hpp
{
Backspace = 8, Delete = 127, Tab = 9, Clear = 12,
Return = 13, Pause = 19, Escape = 27, Space = 32,
Keypad0 = 256, Keypad1 = 257, Keypad2 = 258, Keypad3 = 259,
Keypad4 = 260, Keypad5 = 261, Keypad6 = 262, Keypad7 = 263,
Keypad8 = 264, Keypad9 = 265, KeypadPeriod = 266, KeypadDivide = 267,
KeypadMultiply = 268, KeypadMinus = 269, KeypadPlus = 270, KeypadEnter = 271,
KeypadEquals = 272, UpArrow = 273, DownArrow = 274, RightArrow = 275,
LeftArrow = 276, Insert = 277, Home = 278, End = 279,
PageUp = 280, PageDown = 281, F1 = 282, F2 = 283,
F3 = 284, F4 = 285, F5 = 286, F6 = 287,
F7 = 288, F8 = 289, F9 = 290, F10 = 291,
F11 = 292, F12 = 293, F13 = 294, F14 = 295,
F15 = 296, Alpha0 = 48, Alpha1 = 49, Alpha2 = 50,
Alpha3 = 51, Alpha4 = 52, Alpha5 = 53, Alpha6 = 54,
Alpha7 = 55, Alpha8 = 56, Alpha9 = 57, Exclaim = 33,
DoubleQuote = 34, Hash = 35, Dollar = 36, Percent = 37,
Ampersand = 38, Quote = 39, LeftParen = 40, RightParen = 41,
Asterisk = 42, Plus = 43, Comma = 44, Minus = 45,
Period = 46, Slash = 47, Colon = 58, Semicolon = 59,
Less = 60, Equals = 61, Greater = 62, Question = 63,
At = 64, LeftBracket = 91, Backslash = 92, RightBracket = 93,
Caret = 94, Underscore = 95, BackQuote = 96, A = 97,
B = 98, C = 99, D = 100, E = 101,
F = 102, G = 103, H = 104, I = 105,
J = 106, K = 107, L = 108, M = 109,
N = 110, O = 111, P = 112, Q = 113,
R = 114, S = 115, T = 116, U = 117,
V = 118, W = 119, X = 120, Y = 121,
Z = 122, LeftCurlyBracket = 123, Pipe = 124, RightCurlyBracket = 125, Tilde = 126,
Numlock = 300, CapsLock = 301, ScrollLock = 302, RightShift = 303,
LeftShift = 304, RightControl = 305, LeftControl = 306, RightAlt = 307,
LeftAlt = 308, LeftCommand = 310, LeftApple = 310, LeftWindows = 311,
RightCommand = 309, RightApple = 309, RightWindows = 312, AltGr = 313,
Help = 315, Pr = 316, SysReq = 317, Break = 318,
Menu = 319, Mouse0 = 323, Mouse1 = 324, Mouse2 = 325,
Mouse3 = 326, Mouse4 = 327, Mouse5 = 328, Mouse6 = 329
};
enum class e_engine_layers
{
terrain = 8388608,
world = 65536,
ragdolls = 512,
construction = 2097152,
construction_socket = 4194304,
craters = 1,
game_trace = 16384,
trigger = 262144,
vehicles_detailed = 8192,
rain_fall = 1101070337,
deploy = 1235288065,
default_deploy_volume_check = 537001984,
build_line_of_sight_check = 2097152,
projectile_line_of_sight_check = 2162688,
projectile_line_of_sight_check_terrain = 10551296,
meele_line_of_sight_check = 2162688,
eye_line_of_sight_check = 2162688,
entity_line_of_sight_check = 1218519041,
player_buildings = 18874624,
planner_placement = 161546496,
solid = 1218652417,
vis_culling = 10551297,
altitude_check = 1218511105,
hab_ground_effect = 1218511105,
ai_line_of_sight = 1218519297,
dismount_check = 1486946561,
ai_placement = 278986753,
wheel_ray = 1235321089,
};
enum class event_type : int
{
mouse_down = 0,
mouse_up = 1,
mouse_drag = 3,
key_down = 4,
key_up = 5,
repaint = 7
};
struct rect_t
{
float x, y, w, h;
rect_t( float _x, float _y, float _w, float _h ) : x( _x ), y( _y ), w( _w ), h( _h ) { }
rect_t( ) : x( 0 ), y( 0 ), w( 0 ), h( 0 ) { }
auto contains( math::vector_2d_t point ) -> bool
{
return point.x >= x && point.x < ( x + w ) && point.y >= y && point.y < ( y + h );
}
};
inline auto get_key( unity::key_code key ) -> bool
{
SAPPHIRE_METHOD( get_key_fn, "UnityEngine::Input.GetKeyInt()", 1, "", -1, bool( * )( unity::key_code ) );
return get_key_fn( key );
}
inline auto line_of_sight( math::vector_t source, math::vector_t destination ) -> bool
{
SAPPHIRE_METHOD( line_of_sight_fn, "GamePhysics.LineOfSight()", -1, "", -1, bool( * )( math::vector_t, math::vector_t, unity::e_engine_layers, float ) );
return line_of_sight_fn( source, destination, unity::e_engine_layers::projectile_line_of_sight_check_terrain, 0 );
}
inline auto view_matrix( ) -> math::mat4x4_t
{
SAPPHIRE_ICALL( get_main_camera_fn, "UnityEngine.Camera::get_main()", std::uintptr_t( * )( ) );
if ( !camera ) {
camera = get_main_camera_fn( );
}
auto camera_ = *reinterpret_cast< std::uintptr_t* >( camera + 0x10 );
if ( !camera_ ) {
return {};
}
auto matrix = *reinterpret_cast< math::mat4x4_t* >( camera_ + 0x2e4 );
if ( !matrix.m ) {
return {};
}
return matrix;
}
inline auto screen_transform( math::vector_t wrld ) -> math::vector_t
{
auto matrix = view_matrix( );
SAPPHIRE_METHOD( get_screen_width_fn, "UnityEngine::Screen.get_width()", 0, "", -1, int ( * )( ) );
SAPPHIRE_METHOD( get_screen_height_fn, "UnityEngine::Screen.get_height()", 0, "", -1, int ( * )( ) );
if ( !matrix.m ) {
return { 0,0,0 };
}
math::vector_t out;
const auto temp = matrix.transpose( );
auto trans = math::vector_t{ temp[ 3 ][ 0 ], temp[ 3 ][ 1 ], temp[ 3 ][ 2 ] };
auto up = math::vector_t{ temp[ 1 ][ 0 ], temp[ 1 ][ 1 ], temp[ 1 ][ 2 ] };
auto right = math::vector_t{ temp[ 0 ][ 0 ], temp[ 0 ][ 1 ], temp[ 0 ][ 2 ] };
float w = trans.dot( wrld ) + temp[ 3 ][ 3 ];
if ( w < 0.001f ) {
return math::vector_t( 0, 0, 0 );
}
float x = right.dot( wrld ) + temp[ 0 ][ 3 ];
float y = up.dot( wrld ) + temp[ 1 ][ 3 ];
out.x = ( static_cast< float >( get_screen_width_fn( ) ) / 2 )* ( 1 + x / w );
out.y = ( static_cast< float >( get_screen_height_fn( ) ) / 2 )* ( 1 - y / w );
out.z = 0.0f;
return out;
}
inline auto calculate_fov( math::vector_t pos ) -> float
{
auto screen_pos = screen_transform( pos );
if ( screen_pos.is_empty( ) )
return 10000;
SAPPHIRE_METHOD( get_screen_width_fn, "UnityEngine::Screen.get_width()", 0, "", -1, int ( * )( ) );
SAPPHIRE_METHOD( get_screen_height_fn, "UnityEngine::Screen.get_height()", 0, "", -1, int ( * )( ) );
auto get_2d_dist = [ & ]( const math::vector_2d_t& source, const math::vector_t& dest ) {
return math::vector_t::sqrtf( powf( source.x - dest.x ) + powf( source.y - dest.y ) );
};
return get_2d_dist( math::vector_2d_t( get_screen_width_fn( ) / 2, get_screen_height_fn( ) / 2 ), screen_pos );
}
inline auto camera_pos( ) -> math::vector_t
{
SAPPHIRE_ICALL( get_main_camera_fn, "UnityEngine.Camera::get_main()", std::uintptr_t( * )( ) );
if ( !camera )
camera = get_main_camera_fn( );
auto camera_ = *reinterpret_cast< std::uintptr_t* >( camera + 0x10 );
if ( !camera_ ) {
return {};
}
auto position = *reinterpret_cast< math::vector_t* >( camera_ + 0x42c );
if ( !position.x || !position.y ) {
return {};
}
return position;
}
} | [
"[email protected]"
] | |
ae6dbb1b9ac1ddb6c70ebe05cec30610fbf10271 | a747e79e6670284dd1cf646d3d8eb38e083225f0 | /Classes/LSFEnv.h | fa5a53631bac32864bc50399c861db2f7e2a72c6 | [] | no_license | Gibom/L.S.F | 46b2df6b6d63f6285406126e181ef3d072d3e228 | 1456169e78fc468b94086ff849fa26c462acc53a | refs/heads/master | 2021-01-01T04:06:17.713722 | 2016-06-02T23:08:17 | 2016-06-02T23:08:17 | 56,972,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | h | #ifndef __LSFENV__
#define __LSFENV__
#include "cocos2d.h"
using namespace cocos2d;
class LSFEnv
{
public:
virtual bool init();
void worldDate(float dt);
void worldWeather(float dt);
void fishingProb(float dt);
};
#endif // define __LSFENV__ | [
"[email protected]"
] | |
4005258607e720621439926daf9f0f161491c793 | 5246473d1f2ddb7b966c9c2ab978ca6d9b7ae310 | /entity.cpp | b83229d4eb48df1a27c19128d9d0fe18a33fb8a9 | [] | no_license | XushengHai180/FEM | a3cfbfd42c90c19960acbc9eab0449577ca04dc8 | ff0f999ff43131891319a50d98cf706c552f9ff2 | refs/heads/master | 2020-09-16T08:11:43.247574 | 2019-12-10T14:16:08 | 2019-12-10T14:16:08 | 223,707,503 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,680 | cpp | #include"entity.h"
#include"stdlib.h"
void entity::mesh(int ne_new,int nnpe_new,double l_new,double a,double e,double rho)
{
ne=ne_new;
nnpe=nnpe_new;
l=l_new;
nn=ne*(nnpe-1)+1;
ele=(element*)malloc(sizeof(element)*(ne+1));
for(int i=0;i<ne;i++)
{
ele[i].nnpe=nnpe;
ele[i].initial(a,e,rho,i*l/ne,(i+1.0)*l/ne);//assignment to each element
}
k=(double**)malloc(sizeof(double*)*(nn+50));
for(int i=0;i<(nn+50);i++)
{
k[i]=(double*)malloc(sizeof(double*)*(nn+50));
}
m=(double**)malloc(sizeof(double*)*(nn+50));//这里开辟了较大的空间是为了抵消某种未知的bug(以后有时间再弄清楚)
for(int i=0;i<(nn+50);i++)
{
m[i]=(double*)malloc(sizeof(double*)*(nn+50));
}
}
void entity::assembleKOnly(void)
{
for(int i=0;i<nn;i++)
{
for(int j=0;j<nn;j++)
{
k[i][j]=0;
}
}
int xx,yy;
for(int i=0;i<ne;i++)
{
for(int j=0;j<nnpe;j++)
{
for(int l=0;l<nnpe;l++)
{
xx=i*(nnpe-1)+j;
yy=i*(nnpe-1)+l;
k[xx][yy]=k[xx][yy]+ele[i].k[j][l];
}
}
}
return;
}
void entity::assemble(void)
{
for(int i=0;i<nn;i++)
{
for(int j=0;j<nn;j++)
{
m[i][j]=0;
k[i][j]=0;
}
}
int xx,yy;
for(int i=0;i<ne;i++)
{
for(int j=0;j<nnpe;j++)
{
for(int l=0;l<nnpe;l++)
{
xx=i*(nnpe-1)+j;
yy=i*(nnpe-1)+l;
m[xx][yy]=m[xx][yy]+ele[i].m[j][l];
k[xx][yy]=k[xx][yy]+ele[i].k[j][l];
}
}
}
u=(double*)malloc(sizeof(double)*(nn+1));
v=(double*)malloc(sizeof(double)*(nn+1));
a=(double*)malloc(sizeof(double)*(nn+1));
for(int i=0;i<nn;i++)
{
u[i]=0;
v[i]=0;
a[i]=0;
}
return;
} | [
"[email protected]"
] | |
545f838a16cea983cef00c04e241ae408664fdc7 | 72852e07bb30adbee608275d6048b2121a5b9d82 | /algorithms/problem_0530/other3.cpp | 13e82ef22b27004602ce169f07f98ffb95618b81 | [] | no_license | drlongle/leetcode | e172ae29ea63911ccc3afb815f6dbff041609939 | 8e61ddf06fb3a4fb4a4e3d8466f3367ee1f27e13 | refs/heads/master | 2023-01-08T16:26:12.370098 | 2023-01-03T09:08:24 | 2023-01-03T09:08:24 | 81,335,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | class Solution {
public:
void helper(TreeNode* root, vector<int>& result) {
if (!root)
return;
helper(root->left, result);
result.push_back(root->val);
helper(root->right, result);
}
int getMinimumDifference(TreeNode* root) {
vector<int> result;
helper(root, result);
int diff = INT_MAX;
for (int i = 1; i < result.size(); i++){
diff = min(diff, result[i]-result[i-1]);
}
return diff;
}
};
| [
"[email protected]"
] | |
3a80525ad2c350b31952de5e1a5a5659b0f3cdfc | 99f1550e0a3c2e21088e2ffc72bc5dadabb1188f | /ui/UICTRL/Src/Control/RichText/parser/htmlnode_u.cpp | 9fe041b6e02a6da0e90bf59842b623e0e0f2a6f9 | [] | no_license | flymolon/UI2017 | 0d0bb1c173e015e7fe26ada47358b4581f3b0e29 | e7182b19d9227abe6d3f91600e85d13c85917e71 | refs/heads/master | 2020-04-11T01:42:49.336393 | 2017-02-12T04:15:19 | 2017-02-12T04:15:19 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 590 | cpp | #include "stdafx.h"
#include "HtmlNode_U.h"
HtmlNode* HtmlNode_U::CreateInstance(HtmlParser* pParser)
{
HtmlNode_U* p = new HtmlNode_U();
p->SetHtmlParser(pParser);
p->AddRef();
return p;
}
void HtmlNode_U::ParseTag(PARSETAGDATA* pData)
{
if (pData->bStartBacklash)
{
// 取消堆栈上的一个<a>
m_pHtmlParser->RemoveLastTagNode(GetTagType());
}
else
{
// 没有闭合,放入堆栈中,等待下一个</a>
if (!pData->bEndBacklash)
m_pHtmlParser->AddNode(this);
}
}
bool HtmlNode_U::FillCharFormat(CharFormat* pcf)
{
pcf->bUnderline = true;
return true;
} | [
"[email protected]"
] | |
ba42c8c01283296df448ae545330b8a16e039dd1 | d547e16fcea3a1dce5a935b001e2095e5708de33 | /WTF/wtf/UnusedParam.h | 028bd39a1bd3e7f711dbc118f3327369b3d6cac0 | [] | no_license | rognar/webkit-wince-5-6-7-2013-mobile- | a9c963257a56d606fdd2a226e9001fd49e644958 | 1a7fde35a7da9eacfbfc7fd88de13a359408affc | refs/heads/master | 2022-04-11T01:02:02.992600 | 2020-04-10T20:23:55 | 2020-04-10T20:23:55 | 254,726,862 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,509 | h | /*
* Copyright (C) 2006 Apple Computer, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*
*/
#ifndef WTF_UnusedParam_h
#define WTF_UnusedParam_h
#include <wtf/Platform.h>
#if COMPILER(INTEL) && !OS(WINDOWS) || COMPILER(RVCT)
template<typename T>
inline void unusedParam(T& x) { (void)x; }
#define UNUSED_PARAM(variable) unusedParam(variable)
#else
#define UNUSED_PARAM(variable) //(void)variable
#endif
/* This is to keep the compiler from complaining when for local labels are
declared but not referenced. For example, this can happen with code that
works with auto-generated code.
*/
#if COMPILER(MSVC)
#define UNUSED_LABEL(label) if (false) goto label
#else
#define UNUSED_LABEL(label) UNUSED_PARAM(&& label)
#endif
#endif /* WTF_UnusedParam_h */
| [
"[email protected]"
] | |
1e4ca9a0091838be4c8f0fb6e383250586f7d485 | 9b93cf11a522ad3d8a02b9995db98b7cdf165cd0 | /C++_Practice_Codes/6p.cpp | 4f12eed158ec34dd889d26a4959615722ce3fdb9 | [] | no_license | Rachit1606/C_practiceCodes | f62e64f233e89d2a5f5b0a64f602d14ef6db61cd | abcfb25d40eba7f2d4e26c9b011791332a0b3883 | refs/heads/master | 2023-01-23T17:05:52.387494 | 2020-12-09T11:30:10 | 2020-12-09T11:30:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | cpp | #include<iostream>
#include<cstring>
using namespace std;
class city{
char *name;
int len;
public:
city(){
len = 0;
name = new char[len+1];
}
void getname(){
char *s;
s= new char[30];
cout<<"Enter City Name"<<endl;
cin>>s;
len = strlen(s);
name = new char[len+1];
strcpy(name,s);
}
void printname(){
cout<<name<<endl;
}
};
int main(){
city *cptr[10];
int n=1;
int option;
do{
cptr[n]= new city;
cptr[n]->getname();
n++;
cout<<"Enter City Name"<<endl;
cout<<"(Enter 1 for yes and 0 for no)";
cin>>option;
}
while(option);
for(int i=0;i<n;i++){
cptr[i]->printname();
}
return 0;
}
| [
"[email protected]"
] | |
3030023ad08f614a1c099d61cfb4ddbaabb7e9e2 | d823973228dee483812a03c2e1096932868dbb88 | /example/example.cpp | 52a1feb9451d729f5d8065fec421d69c1ed3dd45 | [
"MIT"
] | permissive | goldbeef/luna | 5648946afb9f72c2255527e6dedf3f3861c6624b | 9f09b86197a95da91585298ee69ead82f345c60e | refs/heads/master | 2021-02-05T02:15:16.796647 | 2020-03-10T02:05:07 | 2020-03-10T02:05:07 | 243,732,622 | 0 | 0 | MIT | 2020-02-28T10:07:59 | 2020-02-28T10:07:58 | null | UTF-8 | C++ | false | false | 3,710 | cpp | #include <iostream>
#include "luna.h"
//#include "luna11.h"
#include <lauxlib.h>
using namespace std;
int add(int a, int b) {
return a + b;
}
int del(int a, int b) {
return a - b;
}
void stackDump1(lua_State* L) {
int top = lua_gettop(L);
printf("stack begin, total[%d]\n", top);
for (int i = 1; i <= top; i++) {
int type = lua_type(L, i);
switch (type) {
case LUA_TSTRING:
printf("'%s'", lua_tostring(L, i)); break;
case LUA_TBOOLEAN:
printf(lua_toboolean(L, i) ? "true" : "false"); break;
case LUA_TNUMBER:
printf("%g", lua_tonumber(L, i)); break;
default:
printf("%s", lua_typename(L, type)); break;
}
printf("\t");
}
printf("\n");
printf("stack end\n");
}
class my_class final {
int func_a(const char* a, int b) {
printf("func_a, a[%s], b[%d]\n", a, b);
return 0;
}
public:
char m_name[32];
my_class() {
snprintf(m_name, sizeof(m_name), "hello");
}
~my_class() {
printf("my_class::~my_class\n");
}
/*
void __gc() {
printf("my_class::__gc\n");
}
*/
//类导出声明
DECLARE_LUA_CLASS(my_class);
};
//导出类
LUA_EXPORT_CLASS_BEGIN(my_class)
//导出类方法
LUA_EXPORT_METHOD(func_a)
//导出类成员
LUA_EXPORT_PROPERTY(m_name)
LUA_EXPORT_CLASS_END()
my_class* NewMyClass() {
my_class* ptr = new my_class();
return ptr;
}
int main(){
lua_State* L = luaL_newstate();
luaL_openlibs(L);
//导出全局函数
lua_register_function(L, "add", add);
//luaL_loadstring(L, "print(add(1+a))");
//lua_register_function(L, "del", del);
//导出函数对象
lua_register_function(L, "NewMyClass", NewMyClass);//导出全局函数
luaL_dofile(L, "./test.lua");
/*
//c++ call
stackDump(L);
luaL_loadstring(L, "print(add(1+a))");
stackDump(L);
lua_pcall(L, 0, 0, 0);
stackDump(L);
*/
/*
//lua call
//调用整个文件
luaL_loadfile(L, "./test.lua");
stackDump(L);
lua_pcall(L, 0, 0, 0);
//调用局部方法
lua_guard g(L); //用它来做栈保护
int x, y;
const char* name = nullptr;
// 小心,如果用char*做字符串返回值的话,确保name变量不要在lua_guard g的作用域之外使用
"cout << lua_call_table_function(L, nullptr, "s2s", "some_func0") << endl; //true
cout << lua_call_table_function(L, nullptr, "s2s", "some_func_no_such") << endl; //false
cout << lua_call_table_function(L, nullptr, "s2s", "some_func2", std::tie(), 11, 2) << endl;
cout << lua_call_table_function(L, nullptr, "s2s", "some_func3", std::tie(), 11, 2, 3) << endl;
//调用对象的 方法
cout << lua_call_table_function(L, nullptr, "myClass", "some_func0") << endl;
//覆盖对象的 方法
cout << lua_call_table_function(L, nullptr, "myClass", "func_a") << endl;
lua_close(L);
*/
//调用全局函数
/*
int a, b;
lua_call_global_function(L, nullptr, "globalAdd", std::tie(a, b), 1, 2);
printf("a[%d], b[%d]\n", a, b);
*/
//调用全局表中的函数
/*
printf("c++-------------------------------\n");
cout << lua_call_table_function(L, nullptr, "s2s", "some_func0") << endl; //true
printf("c++-------------------------------\n");
*/
//调用对象中附加的函数
//lua_call_object_function()
printf("c++-------------------------------\n");
cout << lua_call_table_function(L, nullptr, "myClass", "some_func0") << endl; //true
printf("c++-------------------------------\n");
return 0;
} | [
"[email protected]"
] | |
66dfe2e4a0891c76cf86e09c0482672d27561351 | d06a6d9d29b3675e533d6b5f7fb30b7f98d498b2 | /src/Agent.cpp | 65bb0e82624f66a5816e4855392ef5e7e182c769 | [] | no_license | stevenandrewcarter/bulwark | eb536be961f43a9b1c347bb15eeb26fddaefd0bd | 58c72228d8931bd6926e560b15acb4fd2da9b32e | refs/heads/master | 2020-03-17T20:55:30.634153 | 2018-05-21T19:49:52 | 2018-05-21T19:49:52 | 133,935,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cpp | #include "Agent.h"
#include "State.h"
namespace Bulwark {
Agent::Agent(State *state) {
this->state = state;
}
void Agent::Calculate() {
// Calculate the cost of the columns
// Determine the strongest / weakest column
// Decide if it wants to be aggressive or defensive (Depends on opponent)
// Return Move
}
}
| [
"[email protected]"
] | |
8822d6eebf85ec13b9ae87261546aefd3bbc7a57 | 5b7e69802b8075da18dc14b94ea968a4a2a275ad | /DRG-SDK/SDK/DRG_UI_MissionStats_Categories_functions.cpp | aa4a860694891bb93b1c81af2f98aab8a537b711 | [] | no_license | ue4sdk/DRG-SDK | 7effecf98a08282e07d5190467c71b1021732a00 | 15cc1f8507ccab588480528c65b9623390643abd | refs/heads/master | 2022-07-13T15:34:38.499953 | 2019-03-16T19:29:44 | 2019-03-16T19:29:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,927 | cpp | // Deep Rock Galactic (0.22) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "DRG_UI_MissionStats_Categories_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.SelectNext
// (FUNC_Public, FUNC_BlueprintCallable, FUNC_BlueprintEvent)
// Parameters:
// bool ForwardDirection (CPF_BlueprintVisible, CPF_BlueprintReadOnly, CPF_Parm, CPF_ZeroConstructor, CPF_IsPlainOldData)
void UUI_MissionStats_Categories_C::SelectNext(bool ForwardDirection)
{
static auto fn = UObject::FindObject<UFunction>("Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.SelectNext");
struct
{
bool ForwardDirection;
} params;
params.ForwardDirection = ForwardDirection;
UObject::ProcessEvent(fn, ¶ms);
}
// Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.Add Vertical Bar
// (FUNC_Private, FUNC_BlueprintCallable, FUNC_BlueprintEvent)
void UUI_MissionStats_Categories_C::Add_Vertical_Bar()
{
static auto fn = UObject::FindObject<UFunction>("Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.Add Vertical Bar");
struct
{
} params;
UObject::ProcessEvent(fn, ¶ms);
}
// Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.Add Category
// (FUNC_Public, FUNC_HasOutParms, FUNC_BlueprintCallable, FUNC_BlueprintEvent)
// Parameters:
// class UTexture2D* CategoryIcon (CPF_BlueprintVisible, CPF_BlueprintReadOnly, CPF_Parm, CPF_ZeroConstructor, CPF_IsPlainOldData)
// bool IsAllCategory (CPF_BlueprintVisible, CPF_BlueprintReadOnly, CPF_Parm, CPF_ZeroConstructor, CPF_IsPlainOldData)
// class UUI_MissionStats_Category_C* CategoryWidget (CPF_Parm, CPF_OutParm, CPF_ZeroConstructor, CPF_InstancedReference, CPF_IsPlainOldData)
void UUI_MissionStats_Categories_C::Add_Category(class UTexture2D* CategoryIcon, bool IsAllCategory, class UUI_MissionStats_Category_C** CategoryWidget)
{
static auto fn = UObject::FindObject<UFunction>("Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.Add Category");
struct
{
class UTexture2D* CategoryIcon;
bool IsAllCategory;
class UUI_MissionStats_Category_C* CategoryWidget;
} params;
params.CategoryIcon = CategoryIcon;
params.IsAllCategory = IsAllCategory;
UObject::ProcessEvent(fn, ¶ms);
if (CategoryWidget != nullptr)
*CategoryWidget = params.CategoryWidget;
}
// Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.GetCategorySelection
// (FUNC_Public, FUNC_HasOutParms, FUNC_BlueprintCallable, FUNC_BlueprintEvent, FUNC_BlueprintPure)
// Parameters:
// TArray<class UTexture2D*> Selection (CPF_Parm, CPF_OutParm, CPF_ZeroConstructor)
void UUI_MissionStats_Categories_C::GetCategorySelection(TArray<class UTexture2D*>* Selection)
{
static auto fn = UObject::FindObject<UFunction>("Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.GetCategorySelection");
struct
{
TArray<class UTexture2D*> Selection;
} params;
UObject::ProcessEvent(fn, ¶ms);
if (Selection != nullptr)
*Selection = params.Selection;
}
// Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.PreConstruct
// (FUNC_BlueprintCosmetic, FUNC_Event, FUNC_Public, FUNC_BlueprintEvent)
// Parameters:
// bool IsDesignTime (CPF_BlueprintVisible, CPF_BlueprintReadOnly, CPF_Parm, CPF_ZeroConstructor, CPF_IsPlainOldData)
void UUI_MissionStats_Categories_C::PreConstruct(bool IsDesignTime)
{
static auto fn = UObject::FindObject<UFunction>("Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.PreConstruct");
struct
{
bool IsDesignTime;
} params;
params.IsDesignTime = IsDesignTime;
UObject::ProcessEvent(fn, ¶ms);
}
// Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.Set Categories
// (FUNC_HasOutParms, FUNC_BlueprintCallable, FUNC_BlueprintEvent)
// Parameters:
// TArray<class UTexture2D*> CategoryIcons (CPF_ConstParm, CPF_BlueprintVisible, CPF_BlueprintReadOnly, CPF_Parm, CPF_OutParm, CPF_ZeroConstructor, CPF_ReferenceParm)
void UUI_MissionStats_Categories_C::Set_Categories(TArray<class UTexture2D*> CategoryIcons)
{
static auto fn = UObject::FindObject<UFunction>("Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.Set Categories");
struct
{
TArray<class UTexture2D*> CategoryIcons;
} params;
params.CategoryIcons = CategoryIcons;
UObject::ProcessEvent(fn, ¶ms);
}
// Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.Setup Widget Events
// (FUNC_BlueprintCallable, FUNC_BlueprintEvent)
// Parameters:
// class UUI_MissionStats_Category_C* Widget (CPF_BlueprintVisible, CPF_BlueprintReadOnly, CPF_Parm, CPF_ZeroConstructor, CPF_InstancedReference, CPF_IsPlainOldData)
void UUI_MissionStats_Categories_C::Setup_Widget_Events(class UUI_MissionStats_Category_C* Widget)
{
static auto fn = UObject::FindObject<UFunction>("Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.Setup Widget Events");
struct
{
class UUI_MissionStats_Category_C* Widget;
} params;
params.Widget = Widget;
UObject::ProcessEvent(fn, ¶ms);
}
// Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.On Category Clicked
// (FUNC_BlueprintCallable, FUNC_BlueprintEvent)
// Parameters:
// class UUI_MissionStats_Category_C* CategoryWidget (CPF_BlueprintVisible, CPF_BlueprintReadOnly, CPF_Parm, CPF_ZeroConstructor, CPF_InstancedReference, CPF_IsPlainOldData)
// bool Is_Selected (CPF_BlueprintVisible, CPF_BlueprintReadOnly, CPF_Parm, CPF_ZeroConstructor, CPF_IsPlainOldData)
void UUI_MissionStats_Categories_C::On_Category_Clicked(class UUI_MissionStats_Category_C* CategoryWidget, bool Is_Selected)
{
static auto fn = UObject::FindObject<UFunction>("Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.On Category Clicked");
struct
{
class UUI_MissionStats_Category_C* CategoryWidget;
bool Is_Selected;
} params;
params.CategoryWidget = CategoryWidget;
params.Is_Selected = Is_Selected;
UObject::ProcessEvent(fn, ¶ms);
}
// Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.BndEvt__ArrowLeft_K2Node_ComponentBoundEvent_4_OnClicked__DelegateSignature
// (FUNC_BlueprintEvent)
void UUI_MissionStats_Categories_C::BndEvt__ArrowLeft_K2Node_ComponentBoundEvent_4_OnClicked__DelegateSignature()
{
static auto fn = UObject::FindObject<UFunction>("Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.BndEvt__ArrowLeft_K2Node_ComponentBoundEvent_4_OnClicked__DelegateSignature");
struct
{
} params;
UObject::ProcessEvent(fn, ¶ms);
}
// Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.BndEvt__ArrowRight_K2Node_ComponentBoundEvent_11_OnClicked__DelegateSignature
// (FUNC_BlueprintEvent)
void UUI_MissionStats_Categories_C::BndEvt__ArrowRight_K2Node_ComponentBoundEvent_11_OnClicked__DelegateSignature()
{
static auto fn = UObject::FindObject<UFunction>("Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.BndEvt__ArrowRight_K2Node_ComponentBoundEvent_11_OnClicked__DelegateSignature");
struct
{
} params;
UObject::ProcessEvent(fn, ¶ms);
}
// Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.ExecuteUbergraph_UI_MissionStats_Categories
// (FUNC_Final)
// Parameters:
// int EntryPoint (CPF_BlueprintVisible, CPF_BlueprintReadOnly, CPF_Parm, CPF_ZeroConstructor, CPF_IsPlainOldData)
void UUI_MissionStats_Categories_C::ExecuteUbergraph_UI_MissionStats_Categories(int EntryPoint)
{
static auto fn = UObject::FindObject<UFunction>("Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.ExecuteUbergraph_UI_MissionStats_Categories");
struct
{
int EntryPoint;
} params;
params.EntryPoint = EntryPoint;
UObject::ProcessEvent(fn, ¶ms);
}
// Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.OnSelectedChanged__DelegateSignature
// (FUNC_Public, FUNC_Delegate, FUNC_BlueprintCallable, FUNC_BlueprintEvent)
void UUI_MissionStats_Categories_C::OnSelectedChanged__DelegateSignature()
{
static auto fn = UObject::FindObject<UFunction>("Function UI_MissionStats_Categories.UI_MissionStats_Categories_C.OnSelectedChanged__DelegateSignature");
struct
{
} params;
UObject::ProcessEvent(fn, ¶ms);
}
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"[email protected]"
] | |
9941434ad7c2a8d28f87e024cc6ae8077cbe86e9 | 2c5fc7a281b7d6d9b4a8062f747c14ae3bddc380 | /webaccess/webaccess.h | 11adc825e004c5a8fe12a1735f9c845cca3e756b | [
"Apache-2.0"
] | permissive | lelazary/qlcplus | 156d647ee201d2b242e6e25d447e734240a0ae4e | ad86b7eeec473f9959bb0e9a478dc05c1afc2de6 | refs/heads/master | 2021-01-17T19:09:09.230225 | 2014-10-23T23:46:29 | 2014-10-23T23:46:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,979 | h | /*
Q Light Controller Plus
webaccess.h
Copyright (c) Massimo Callegari
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0.txt
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#ifndef WEBACCESS_H
#define WEBACCESS_H
#include <QThread>
#include "mongoose.h"
#if defined(Q_WS_X11) || defined(Q_OS_LINUX)
class WebAccessNetwork;
#endif
class VCAudioTriggers;
class VirtualConsole;
class VCSoloFrame;
class SimpleDesk;
class VCCueList;
class VCWidget;
class VCButton;
class VCSlider;
class VCLabel;
class VCFrame;
class Doc;
class WebAccess : public QThread
{
Q_OBJECT
public:
explicit WebAccess(Doc *doc, VirtualConsole *vcInstance, SimpleDesk *sdInstance, QObject *parent = 0);
/** Destructor */
~WebAccess();
mg_result beginRequestHandler(struct mg_connection *conn);
mg_result websocketDataHandler(struct mg_connection *conn);
private:
QString loadXMLPost(struct mg_connection *conn, QString &filename);
QString getWidgetHTML(VCWidget *widget);
QString getFrameHTML(VCFrame *frame);
QString getSoloFrameHTML(VCSoloFrame *frame);
QString getButtonHTML(VCButton *btn);
QString getSliderHTML(VCSlider *slider);
QString getLabelHTML(VCLabel *label);
QString getAudioTriggersHTML(VCAudioTriggers *triggers);
QString getCueListHTML(VCCueList *cue);
QString getChildrenHTML(VCWidget *frame, int pagesNum, int currentPageIdx);
QString getVCHTML();
QString getSimpleDeskHTML();
private:
/** Input data thread worker method */
virtual void run();
protected slots:
void slotVCLoaded();
void slotButtonToggled(bool on);
void slotSliderValueChanged(QString val);
void slotCueIndexChanged(int idx);
void slotFramePageChanged(int pageNum);
protected:
QString m_JScode;
QString m_CSScode;
bool m_genericFound;
bool m_buttonFound;
bool m_frameFound;
bool m_soloFrameFound;
bool m_labelFound;
bool m_cueListFound;
bool m_sliderFound;
bool m_knobFound;
bool m_xyPadFound;
bool m_speedDialFound;
bool m_audioTriggersFound;
protected:
Doc *m_doc;
VirtualConsole *m_vc;
SimpleDesk *m_sd;
#if defined(Q_WS_X11) || defined(Q_OS_LINUX)
WebAccessNetwork *m_netConfig;
#endif
struct mg_server *m_server;
struct mg_connection *m_conn;
bool m_running;
bool m_pendingProjectLoaded;
signals:
void toggleDocMode();
void loadProject(QString xmlData);
void storeAutostartProject(QString filename);
public slots:
};
#endif // WEBACCESS_H
| [
"[email protected]"
] | |
20756a15087e99d33e718e33c379bbfa60cb672b | e46bd22112c15d9558ad9531deef183849636d62 | /UVA/Volume 4 (400-499)/422 - Word-Search Wonder.cpp | 31d95b6b27a76609aaa30ca4d0ad68a895c09de5 | [] | no_license | jariasf/Online-Judges-Solutions | 9082b89cc6d572477dbfb89ddd42f81ecdb2859a | 81745281bd0099b8d215754022e1818244407721 | refs/heads/master | 2023-04-29T20:56:32.925487 | 2023-04-21T04:59:27 | 2023-04-21T04:59:27 | 11,259,169 | 34 | 43 | null | 2020-10-01T01:41:21 | 2013-07-08T16:23:08 | C++ | UTF-8 | C++ | false | false | 1,781 | cpp | /*****************************************
***Problema: Word-Search Wonder
***ID: 422
***Juez: UVA
***Tipo: Ad hoc
***Autor: Jhosimar George Arias Figueroa
******************************************/
#include <stdio.h>
#include <algorithm>
#include <cstring>
#include <stdlib.h>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <functional>
#include <numeric>
#include <utility>
#include <deque>
#include <stack>
#include <bitset>
#include <map>
#include <set>
#include <string>
#include <vector>
#include <queue>
#include <limits>
#include <fstream>
#include <list>
#include <sstream>
#include <iostream>
#include <iomanip>
using namespace std;
#define MAX 105
char ady[ MAX ][ MAX ] , s[ MAX ];
int n , len;
int dx[ 7 ] = { 1 , 0 , 0 , 1 , 1 , -1 , -1 };
int dy[ 7 ] = { 0 , 1 , -1 , 1 , -1 , 1 , -1};
bool solve( int x , int y){
int i , k , nx , ny;
for( i = 0 ; i < 7 ; ++i ){
k = 0;
while( true ){
nx = dx[ i ] * k + x; ny = dy[ i ] * k + y;
if( nx >= 0 && ny >= 0 && nx < n && ny < n && ady[ nx ][ ny ] == s[ k ] ){
k++;
}
else break;
if( k == len ){
printf("%d,%d %d,%d\n" , x + 1 , y + 1 , nx + 1 , ny + 1 );
return true;
}
}
}
return false;
}
int main(){
int i, j;
scanf("%d" , &n );
for( i = 0 ; i < n && scanf("%s" , &ady[ i ] ) ; ++i );
while( scanf("%s" , &s) , s[ 0 ] != '0' ){
len = strlen( s );
for( i = 0 ; i < n ; ++i ){
for( j = 0 ; j < n ; ++j ){
if( solve( i , j ) ){ goto end;}
}
}
end:
if( i == n ) puts("Not found");
}
return 0;
}
| [
"[email protected]"
] | |
b97a14aea9fcb111a9e5ecc9c797d3d8ef05d393 | c4bb25af13526d3079da2669ce268a9a2f5bedff | /TerraFighterDev/DisplayObject.h | f3a535dfc9a2d5d9dc2aba34645dfdc98c40a221 | [
"Apache-2.0"
] | permissive | cjburchell/terrafighter | 3c0c935cebd58d2ede5dbc54fcf83e4938731732 | 7bbfa22f3616bc0f3a9539afc2af3409e7f524f5 | refs/heads/master | 2023-04-10T21:30:49.717568 | 2023-03-28T00:24:12 | 2023-03-28T00:24:12 | 243,773,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,837 | h | // DisplayObject.h: interface for the CDisplayObject class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_DISPLAYOBJECT_H__3D117DB7_F0F1_46B9_9B5C_E20EDA3CE4D1__INCLUDED_)
#define AFX_DISPLAYOBJECT_H__3D117DB7_F0F1_46B9_9B5C_E20EDA3CE4D1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "d3dfile.h"
#include "FOVClipper.h"
#include "LevelData.h"
#include "ChatDlg.h"
//-----------------------------------------------------------------------------
// Name: struct ShadowVolume
// Desc: A shadow volume object
//-----------------------------------------------------------------------------
class CShadowVolumeData
{
public:
CShadowVolumeData()
{
m_pVertices = NULL;
m_dwNumVertices = 0;
}
~CShadowVolumeData()
{
if(m_pVertices)
delete [] m_pVertices;
}
D3DXVECTOR3* m_pVertices; // Vertex data for rendering shadow volume
DWORD m_dwNumVertices;
D3DXMATRIX m_MeshMat;
};
class CShadowVolume
{
std::vector<CShadowVolumeData*> m_Data;
// used for bulding the mesh
D3DXVECTOR3 m_TempLightPos;
BOOL m_bTempFullBuild;
int m_CurrIndex;
public:
CShadowVolume()
{
}
~CShadowVolume()
{
for(UINT i=0;i<m_Data.size();i++)
{
delete m_Data[i];
}
}
void Reset()
{
for(UINT i=0;i<m_Data.size();i++)
{
m_Data[i]->m_dwNumVertices = 0;
}
}
static bool BuildMeshCB(Xfile::Mesh* pMeshObj,const D3DXMATRIX& MeshMat,VOID* pData);
HRESULT BuildFromMesh( Xfile::Mesh* pMesh, const D3DXVECTOR3& LightPos, const D3DXMATRIX& MeshMat, BOOL bFullBuild, int shadowindex = 0);
HRESULT BuildFromMeshFile( Xfile::File* pMeshObj, const D3DXVECTOR3& LightPos,const D3DXMATRIX& MeshMat, BOOL bFullBuild );
HRESULT Render( LPDIRECT3DDEVICE9 pd3dDevice );
};
class CDisplayObject
{
public:
CDisplayObject();
virtual ~CDisplayObject();
public:
virtual void BuildShadow(const D3DXVECTOR3& lightpos) = 0;
virtual HRESULT Render(LPDIRECT3DDEVICE9 pd3dDevice,CFOVClipper* pClipper) = 0;
virtual HRESULT RenderSimple(LPDIRECT3DDEVICE9 pd3dDevice) = 0;
virtual HRESULT RestoreDeviceObjects(LPDIRECT3DDEVICE9 pd3dDevice) = 0;
virtual void DeleteDeviceObjects() = 0;
const D3DXMATRIX& GetMatrix()
{
return m_Matrix;
}
void SetMatrix(const D3DXMATRIX* pMat)
{
m_Matrix = *pMat;
}
const D3DXVECTOR3& GetPos()
{
return m_Pos;
}
FLOAT GetScale()
{
return m_Scale;
}
virtual FLOAT GetRadius()
{
return m_Radius;
}
void SetPos(const D3DXVECTOR3* p)
{
m_Pos = *p;
}
virtual FLOAT GetSpeed()
{
return 0.0f;
}
virtual BOOL IsInvisable(){return FALSE;}
virtual DWORD GetTeamColour(){return D3DCOLOR_XRGB(255,255,255);}
FLOAT CheckCollision(const D3DXVECTOR3& point, FLOAT Rad);
virtual void DoCollision(CDisplayObject* pObj,std::vector<CGameAction>* pActions,CChatDlg* pChatDlg) = 0;
virtual HRESULT Create(const char* object, FLOAT Scale,D3DXVECTOR3 pos);
virtual HRESULT RenderShadow(LPDIRECT3DDEVICE9 pd3dDevice,CFOVClipper* pClipper);
static void EndRenderShadow(LPDIRECT3DDEVICE9 pd3dDevice);
static void StartRenderShadow(LPDIRECT3DDEVICE9 pd3dDevice);
const D3DXVECTOR3& GetCenterPoint(){return m_Center;}
BOOL IsSprite(){return m_bSprite;}
CString GetName(){return m_Name;}
void SetName(const char* name){m_Name = name;}
protected:
CString m_Name;
D3DXMATRIX m_Rotate;
D3DXVECTOR3 m_Center;
CShadowVolume* m_pShadowVolume;
FLOAT m_Radius;
D3DXMATRIX m_Matrix;
D3DXVECTOR3 m_Pos;
FLOAT m_Scale;
BOOL m_bSprite;
};
#endif // !defined(AFX_DISPLAYOBJECT_H__3D117DB7_F0F1_46B9_9B5C_E20EDA3CE4D1__INCLUDED_)
| [
"[email protected]"
] | |
7a96c93cb4bc43e36a97097f19ac32c533995ff2 | 675312546d88d9cbddb351b4462adef38f5e687d | /dir_entry.h | 1959b0ed93bfa0bca305a584cb6f5161347e0908 | [] | no_license | itskyf/failed-fat32 | 0fabba69b43a7f00c0397f94b55d3c998a84f4f8 | 7caeb76da4ea9b52be195f33d473c89151278356 | refs/heads/master | 2022-07-21T08:15:36.719932 | 2020-05-21T12:11:36 | 2020-05-21T12:11:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,392 | h | #pragma once
#include <cstdint>
#include <fstream>
enum class EntryType { main = 0, sub };
class DirEntry {
public:
virtual void Read(char buf[32]) = 0;
virtual void Write(std::ofstream &file) = 0;
virtual bool isEmpty() = 0;
EntryType entryType;
static bool isMain(char buf[32]);
DirEntry(EntryType _entryType) : entryType(_entryType) {}
};
enum class EntryAttribute : uint8_t { empty = 0, file, dir, pass, dirpass };
class MainEntry : public DirEntry {
public:
MainEntry(char buf[32]) : DirEntry(EntryType::main) { Read(buf); };
void Init(char shortName[11], EntryAttribute _att, uint32_t fSize);
void Read(char buf[32]);
void Write(std::ofstream &fo);
bool isEmpty();
uint8_t filename[8]; // 8
uint8_t extension[3]; // 3
EntryAttribute attribute; // 1
char useless[10]; // 10
uint16_t modifiedTime; // 2
uint16_t modifiedDate; // 2
uint16_t firstCluster; // 2
uint32_t fileSize; // 4
};
class SubEntry : public DirEntry {
public:
SubEntry(char buf[32]) : DirEntry(EntryType::sub) { Read(buf); }
void Read(char buf[32]);
void Write(std::ofstream &fo);
bool isEmpty();
void InitName(char16_t *_name, uint8_t nb, int length = 10);
uint8_t sequence_number_name = 0; // 6 bit luu so thu tu, 2 bit ket thuc
uint8_t pass[10];
uint8_t const signature = 0xF; // TODO
wchar_t name[10];
};
| [
"[email protected]"
] | |
aa86472dc99387a3dd52c9a2e1bb5df76e151649 | dac5254630fefae851da7c843dcab7f6a6af9703 | /Linux/Sources/PP_Sources/Tables/UNX_LTableArrayStorage.h | e5569b639b6e656c9b47422a5153b50c01485210 | [
"Apache-2.0"
] | permissive | gpreviato/Mulberry-Mail | dd4e3618468fff36361bd2aeb0a725593faa0f8d | ce5c56ca7044e5ea290af8d3d2124c1d06f36f3a | refs/heads/master | 2021-01-20T03:31:39.515653 | 2017-09-21T13:09:55 | 2017-09-21T13:09:55 | 18,178,314 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,474 | h | /*
Copyright (c) 2007 Cyrus Daboo. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Stores data for a TableView in an Array
#ifndef _H_LTableArrayStorage
#define _H_LTableArrayStorage
#include <UNX_UTableHelpers.h>
#include <vector>
// ---------------------------------------------------------------------------
class LTableArrayStorage : public LTableStorage {
public:
typedef std::pair<void*, UInt32> LTableStorageElement;
typedef std::vector<LTableStorageElement> LTableStorageArray;
LTableArrayStorage(
LTableView* inTableView,
UInt32 inDataSize);
LTableArrayStorage(
LTableView* inTableView,
LTableStorageArray* inDataArray);
virtual ~LTableArrayStorage();
virtual void SetCellData(
const STableCell& inCell,
const void* inDataPtr,
UInt32 inDataSize);
virtual void GetCellData(
const STableCell& inCell,
void* outDataPtr,
UInt32& ioDataSize) const;
void GetCellDataByIndex(
TableIndexT inCellIndex,
void* outDataPtr,
UInt32& ioDataSize) const;
virtual bool FindCellData(
STableCell& outCell,
const void* inDataPtr,
UInt32 inDataSize) const;
virtual void InsertRows(
UInt32 inHowMany,
TableIndexT inAfterRow,
const void* inDataPtr,
UInt32 inDataSize);
virtual void InsertCols(
UInt32 inHowMany,
TableIndexT inAfterCol,
const void* inDataPtr,
UInt32 inDataSize);
virtual void RemoveRows(
UInt32 inHowMany,
TableIndexT inFromRow);
virtual void RemoveCols(
UInt32 inHowMany,
TableIndexT inFromCol);
virtual void GetStorageSize(
TableIndexT& outRows,
TableIndexT& outCols);
protected:
LTableStorageArray *mDataArray;
bool mOwnsArray;
};
#endif
| [
"svnusers@a91246af-f21b-0410-bd1c-c3c7fc455132"
] | svnusers@a91246af-f21b-0410-bd1c-c3c7fc455132 |
93f8322cb1438d46fdb75fae5655c9371a0b3df1 | 6724a50019898d43d53742a7d9d6c73e7baa09af | /Screens.hpp | 09878ae7496dae3e9eb8aba90eb810a032cc5df1 | [
"Apache-2.0"
] | permissive | bvanderlaan/RSSReaderDesktopWidget | 19665295ea7b6f32699125ef20e727d4bc7d5083 | 1b31d7cfcf8fe0b2fb01c7765efc7160005ab942 | refs/heads/master | 2021-01-01T18:17:01.735775 | 2015-08-12T02:53:17 | 2015-08-12T02:53:17 | 40,516,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,141 | hpp | /*
* Copyright 2015 ImaginativeThinking
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef SCREENS_HPP
#define SCREENS_HPP
#include <QObject>
#include <QDesktopWidget>
namespace ImaginativeThinking
{
namespace RSSReader
{
class Screens : public QObject
{
Q_OBJECT
Q_PROPERTY(int numberOfScreens READ getNumberOfScreens CONSTANT )
public:
explicit Screens(QObject *parent = 0);
~Screens() {}
int getNumberOfScreens() const;
private:
QDesktopWidget m_desktopWidget;
};
}
}
#endif // SCREENS_HPP
| [
"[email protected]"
] | |
ddce3f27ff7dc9d4f55f898a93efdd47232a7358 | f37de3f4dc6386c2bbd494f38df1d21318833540 | /library-package/Seeed_Arduino_rpcWiFi/src/WiFiMulti.cpp | 39db103d9d99e497f7ff4055473cc8d0731f732e | [
"MIT"
] | permissive | egouvernante/sensorterminal-quickstart | e740d60715609d5f0a477da1d48fe225e5e2e067 | 5d33b984822f109bde08d976611cbbbef06c08cd | refs/heads/main | 2023-09-06T05:25:51.225555 | 2021-11-17T08:39:16 | 2021-11-17T08:39:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,953 | cpp | /**
*
* @file WiFiMulti.cpp
* @date 16.05.2015
* @author Markus Sattler
*
* Copyright (c) 2015 Markus Sattler. All rights reserved.
* This file is part of the esp8266 core for Arduino environment.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
#include "WiFiMulti.h"
#include <limits.h>
#include <string.h>
WiFiMulti::WiFiMulti()
{
}
WiFiMulti::~WiFiMulti()
{
for(uint32_t i = 0; i < APlist.size(); i++) {
WifiAPlist_t entry = APlist[i];
if(entry.ssid) {
free(entry.ssid);
}
if(entry.passphrase) {
free(entry.passphrase);
}
}
APlist.clear();
}
bool WiFiMulti::addAP(const char* ssid, const char *passphrase)
{
WifiAPlist_t newAP;
if(!ssid || *ssid == 0x00 || strlen(ssid) > 31) {
// fail SSID too long or missing!
log_e("[WIFI][APlistAdd] no ssid or ssid too long");
return false;
}
if(passphrase && strlen(passphrase) > 63) {
// fail passphrase too long!
log_e("[WIFI][APlistAdd] passphrase too long");
return false;
}
newAP.ssid = strdup(ssid);
if(!newAP.ssid) {
log_e("[WIFI][APlistAdd] fail newAP.ssid == 0");
return false;
}
if(passphrase && *passphrase != 0x00) {
newAP.passphrase = strdup(passphrase);
if(!newAP.passphrase) {
log_e("[WIFI][APlistAdd] fail newAP.passphrase == 0");
free(newAP.ssid);
return false;
}
} else {
newAP.passphrase = NULL;
}
APlist.push_back(newAP);
log_i("[WIFI][APlistAdd] add SSID: %s", newAP.ssid);
return true;
}
uint8_t WiFiMulti::run(uint32_t connectTimeout)
{
int8_t scanResult;
uint8_t status = WiFi.status();
if(status == WL_CONNECTED) {
for(uint32_t x = 0; x < APlist.size(); x++) {
if(WiFi.SSID()==APlist[x].ssid) {
return status;
}
}
WiFi.disconnect(false,false);
delay(10);
status = WiFi.status();
}
scanResult = WiFi.scanNetworks();
if(scanResult == WIFI_SCAN_RUNNING) {
// scan is running
return WL_NO_SSID_AVAIL;
} else if(scanResult >= 0) {
// scan done analyze
WifiAPlist_t bestNetwork { NULL, NULL };
int bestNetworkDb = INT_MIN;
uint8_t bestBSSID[6];
int32_t bestChannel = 0;
log_i("[WIFI] scan done");
if(scanResult == 0) {
log_e("[WIFI] no networks found");
} else {
log_i("[WIFI] %d networks found", scanResult);
for(int8_t i = 0; i < scanResult; ++i) {
String ssid_scan;
int32_t rssi_scan;
uint8_t sec_scan;
uint8_t* BSSID_scan;
int32_t chan_scan;
WiFi.getNetworkInfo(i, ssid_scan, sec_scan, rssi_scan, BSSID_scan, chan_scan);
bool known = false;
for(uint32_t x = 0; x < APlist.size(); x++) {
WifiAPlist_t entry = APlist[x];
if(ssid_scan == entry.ssid) { // SSID match
known = true;
if(rssi_scan > bestNetworkDb) { // best network
if(sec_scan == WIFI_AUTH_OPEN || entry.passphrase) { // check for passphrase if not open wlan
bestNetworkDb = rssi_scan;
bestChannel = chan_scan;
memcpy((void*) &bestNetwork, (void*) &entry, sizeof(bestNetwork));
memcpy((void*) &bestBSSID, (void*) BSSID_scan, sizeof(bestBSSID));
}
}
break;
}
}
if(known) {
log_d(" ---> %d: [%d][%02X:%02X:%02X:%02X:%02X:%02X] %s (%d) %c", i, chan_scan, BSSID_scan[0], BSSID_scan[1], BSSID_scan[2], BSSID_scan[3], BSSID_scan[4], BSSID_scan[5], ssid_scan.c_str(), rssi_scan, (sec_scan == WIFI_AUTH_OPEN) ? ' ' : '*');
} else {
log_d(" %d: [%d][%02X:%02X:%02X:%02X:%02X:%02X] %s (%d) %c", i, chan_scan, BSSID_scan[0], BSSID_scan[1], BSSID_scan[2], BSSID_scan[3], BSSID_scan[4], BSSID_scan[5], ssid_scan.c_str(), rssi_scan, (sec_scan == WIFI_AUTH_OPEN) ? ' ' : '*');
}
}
}
// clean up ram
WiFi.scanDelete();
if(bestNetwork.ssid) {
log_i("[WIFI] Connecting BSSID: %02X:%02X:%02X:%02X:%02X:%02X SSID: %s Channal: %d (%d)", bestBSSID[0], bestBSSID[1], bestBSSID[2], bestBSSID[3], bestBSSID[4], bestBSSID[5], bestNetwork.ssid, bestChannel, bestNetworkDb);
WiFi.begin(bestNetwork.ssid, bestNetwork.passphrase, bestChannel, bestBSSID);
status = WiFi.status();
auto startTime = millis();
// wait for connection, fail, or timeout
while(status != WL_CONNECTED && status != WL_NO_SSID_AVAIL && status != WL_CONNECT_FAILED && (millis() - startTime) <= connectTimeout) {
delay(10);
status = WiFi.status();
}
switch(status) {
case WL_CONNECTED:
log_i("[WIFI] Connecting done.");
log_d("[WIFI] SSID: %s", WiFi.SSID().c_str());
log_d("[WIFI] IP: %s", WiFi.localIP().toString().c_str());
log_d("[WIFI] MAC: %s", WiFi.BSSIDstr().c_str());
log_d("[WIFI] Channel: %d", WiFi.channel());
break;
case WL_NO_SSID_AVAIL:
log_e("[WIFI] Connecting Failed AP not found.");
break;
case WL_CONNECT_FAILED:
log_e("[WIFI] Connecting Failed.");
break;
default:
log_e("[WIFI] Connecting Failed (%d).", status);
break;
}
} else {
log_e("[WIFI] no matching wifi found!");
}
} else {
// start scan
log_d("[WIFI] delete old wifi config...");
WiFi.disconnect();
log_d("[WIFI] start scan");
// scan wifi async mode
WiFi.scanNetworks(true);
}
return status;
}
| [
"[email protected]"
] | |
95d2c2b12c4707dec826ff6f3a1165c4c8362ea5 | c60ec627e13fa69677c5c251c8564bc4c87bbaca | /CODE/1011.cpp | dfacf2030f32cff2a6a1a6cf5aea4dbcc67595dd | [] | no_license | chuanchang/noip-langzhenjun | ab682a390ee7e9a1c6e9cf29f3ece0705ec8a7a3 | b79229a0264da17c7a3775dd85c02f89b66fd72c | refs/heads/master | 2023-08-08T05:40:08.617413 | 2019-08-01T15:31:45 | 2019-08-01T15:31:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | #include <iostream>
int main(int argc, char** args) {
float x, y;
while (scanf("%f %f", &x, &y) != EOF) {
if (x >= -1 && x <= 1 && y >= -1 && y <= 1) {
printf("Yes\r\n");
} else {
printf("No\r\n");
}
}
return 0;
}
| [
"[email protected]"
] | |
973e74385cdd47ee54482dd35e5c12fa57e9fc37 | 2bfe33dae576a1b642e050a7e75f9a5de44e9266 | /digitanks/src/digitanks/dt_renderer.cpp | ef6722a6df74f89324b1b0b20e6e8c1d83d6d767 | [
"BSD-2-Clause"
] | permissive | BSVino/Digitanks | 5c25dd6576b878b9c887fbf8bd9068b38c0f02d2 | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | refs/heads/master | 2021-03-19T07:11:46.713983 | 2014-04-19T21:15:50 | 2014-04-19T21:15:50 | 1,963,881 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,367 | cpp | #include "dt_renderer.h"
#include <maths.h>
#include <renderer/shaders.h>
#include <models/models.h>
#include <textures/texturelibrary.h>
#include <renderer/shaders.h>
#include <tinker/cvar.h>
#include <tinker/profiler.h>
#include <renderer/game_renderingcontext.h>
#include <renderer/roperenderer.h>
#include <glgui/rootpanel.h>
#include <digitanksentity.h>
#include <digitanksgame.h>
#include <ui/digitankswindow.h>
#include <dt_camera.h>
CDigitanksRenderer::CDigitanksRenderer()
: CGameRenderer(DigitanksWindow()->GetWindowWidth(), DigitanksWindow()->GetWindowHeight()),
#ifdef _DEBUG
m_oDebugBuffer("debug"),
#endif
m_oExplosionBuffer("explosion"), m_oVisibility1Buffer("vis1"), m_oVisibility2Buffer("vis2"),
m_oVisibilityMaskedBuffer("vismasked"), m_oAvailableAreaBuffer("availablearea")
{
// Clear these buffers.
m_bAvailableAreasThisFrame = true;
m_bExplosionsThisFrame = true;
}
void CDigitanksRenderer::Initialize()
{
BaseClass::Initialize();
glgui::RootPanel()->SetDesignHeight(768);
DigitanksWindow()->RenderLoading();
m_hVignetting = CTextureLibrary::AddTexture("textures/vignetting.png");
SetSkybox(
CTextureLibrary::AddTexture("textures/skybox/standard-ft.png", 1),
CTextureLibrary::AddTexture("textures/skybox/standard-bk.png", 1),
CTextureLibrary::AddTexture("textures/skybox/standard-lf.png", 1),
CTextureLibrary::AddTexture("textures/skybox/standard-rt.png", 1),
CTextureLibrary::AddTexture("textures/skybox/standard-up.png", 1),
CTextureLibrary::AddTexture("textures/skybox/standard-dn.png", 1)
);
m_oExplosionBuffer = CreateFrameBuffer("explosion", m_iViewportWidth, m_iViewportHeight, (fb_options_e)(FB_TEXTURE|FB_SCENE_DEPTH));
m_oVisibility1Buffer = CreateFrameBuffer("vis1", m_iViewportWidth, m_iViewportHeight, (fb_options_e)(FB_TEXTURE | FB_SCENE_DEPTH));
m_oVisibility2Buffer = CreateFrameBuffer("vis2", m_iViewportWidth, m_iViewportHeight, (fb_options_e)(FB_TEXTURE));
m_oVisibilityMaskedBuffer = CreateFrameBuffer("vismasked", m_iViewportWidth, m_iViewportHeight, (fb_options_e)(FB_TEXTURE | FB_SCENE_DEPTH));
m_oAvailableAreaBuffer = CreateFrameBuffer("availablearea", m_iViewportWidth, m_iViewportHeight, (fb_options_e)(FB_TEXTURE));
#ifdef _DEBUG
m_oDebugBuffer = CreateFrameBuffer("debug", m_iViewportWidth, m_iViewportHeight, (fb_options_e)(FB_TEXTURE));
#endif
m_hNoise = CTextureLibrary::AddTexture("textures/noise.png");
m_iRing1 = CModelLibrary::Get()->AddModel("models/skybox/ring1.toy");
m_iRing2 = CModelLibrary::Get()->AddModel("models/skybox/ring2.toy");
m_iRing3 = CModelLibrary::Get()->AddModel("models/skybox/ring3.toy");
m_flRing1Yaw = 0;
m_flRing2Yaw = 90;
m_flRing3Yaw = 190;
m_iVortex = CModelLibrary::Get()->AddModel("models/skybox/vortex.toy");
m_flVortexYaw = 0;
m_iDigiverse = CModelLibrary::Get()->AddModel("models/skybox/digiverse.toy");
m_iFloaters[0] = CModelLibrary::Get()->AddModel("models/skybox/floaters/float01.toy");
m_iFloaters[1] = CModelLibrary::Get()->AddModel("models/skybox/floaters/float02.toy");
m_iFloaters[2] = CModelLibrary::Get()->AddModel("models/skybox/floaters/float03.toy");
m_iFloaters[3] = CModelLibrary::Get()->AddModel("models/skybox/floaters/float04.toy");
m_iFloaters[4] = CModelLibrary::Get()->AddModel("models/skybox/floaters/float05.toy");
m_iFloaters[5] = CModelLibrary::Get()->AddModel("models/skybox/floaters/float06.toy");
m_iFloaters[6] = CModelLibrary::Get()->AddModel("models/skybox/floaters/float07.toy");
m_iFloaters[7] = CModelLibrary::Get()->AddModel("models/skybox/floaters/float08.toy");
m_iFloaters[8] = CModelLibrary::Get()->AddModel("models/skybox/floaters/float09.toy");
m_iFloaters[9] = CModelLibrary::Get()->AddModel("models/skybox/floaters/float10.toy");
m_iFloaters[10] = CModelLibrary::Get()->AddModel("models/skybox/floaters/float11.toy");
m_iFloaters[11] = CModelLibrary::Get()->AddModel("models/skybox/floaters/float12.toy");
m_iFloaters[12] = CModelLibrary::Get()->AddModel("models/skybox/floaters/float13.toy");
m_iFloaters[13] = CModelLibrary::Get()->AddModel("models/skybox/floaters/float14.toy");
m_iFloaters[14] = CModelLibrary::Get()->AddModel("models/skybox/floaters/float15.toy");
m_flLastBloomPulse = -100;
}
void CDigitanksRenderer::SetupFrame(class CRenderingContext* pContext)
{
TPROF("CDigitanksRenderer::SetupFrame");
{
CRenderingContext c(this);
if (m_bExplosionsThisFrame)
{
c.UseFrameBuffer(&m_oExplosionBuffer);
c.ClearColor();
m_bExplosionsThisFrame = false;
}
if (DigitanksGame()->ShouldRenderFogOfWar())
{
c.UseFrameBuffer(&m_oVisibility2Buffer);
c.ClearColor();
c.UseFrameBuffer(&m_oVisibilityMaskedBuffer);
c.ClearColor();
}
if (m_bAvailableAreasThisFrame)
{
c.UseFrameBuffer(&m_oAvailableAreaBuffer);
c.ClearColor();
m_bAvailableAreasThisFrame = false;
}
}
pContext->UseFrameBuffer(&m_oSceneBuffer);
CRenderingContext::DebugFinish();
BaseClass::SetupFrame(pContext);
CRenderingContext::DebugFinish();
}
void CDigitanksRenderer::StartRendering(class CRenderingContext* pContext)
{
TPROF("CDigitanksRenderer::StartRendering");
ClearTendrilBatches();
CRenderingContext::DebugFinish();
BaseClass::StartRendering(pContext);
}
void CDigitanksRenderer::DrawSkybox(class CRenderingContext* pContext)
{
if (!DigitanksGame())
return;
if (DigitanksGame()->GetGameType() == GAMETYPE_MENU || DigitanksGame()->GetGameType() == GAMETYPE_EMPTY)
{
BaseClass::DrawBackground(pContext);
return;
}
BaseClass::DrawSkybox(pContext);
}
void CDigitanksRenderer::OnDrawSkybox(class CRenderingContext* pContext)
{
TPROF("CDigitanksRenderer::OnDrawSkybox");
BaseClass::OnDrawSkybox(pContext);
m_bRenderingTransparent = true;
CGameRenderingContext r(this, true);
r.Scale(1.0f/16, 1.0f/16, 1.0f/16);
#ifndef TINKER_OPTIMIZE_SOFTWARE
if (true)
{
CGameRenderingContext r(this, true);
r.SetBlend(BLEND_ALPHA);
r.Rotate(m_flVortexYaw, Vector(0, 0, 1));
r.RenderModel(m_iVortex);
r.SetBlend(BLEND_ADDITIVE);
r.ResetTransformations();
r.Translate(Vector(0, 0, 1));
r.Rotate(-m_flVortexYaw, Vector(0, 0, 1));
r.RenderModel(m_iVortex);
m_flVortexYaw -= (float)GameServer()->GetFrameTime()*2;
}
if (true)
{
CGameRenderingContext r(this, true);
r.SetBlend(BLEND_ALPHA);
r.RenderModel(m_iDigiverse);
}
m_bRenderingTransparent = false;
if (true)
{
float flGameTime = (float)GameServer()->GetGameTime();
CGameRenderingContext r(this, true);
r.Translate(Vector(-20.6999f, 74.3044f, -9)*1.5f);
r.Translate(Vector(Gain(Oscillate(flGameTime, 4.0f), 0.2f), Gain(Oscillate(flGameTime, 5.0f), 0.2f), Gain(Oscillate(flGameTime, 6.0f), 0.2f)));
r.RenderModel(m_iFloaters[0]);
r.ResetTransformations();
r.Translate(Vector(23.2488f, 72.435f, -12)*1.5f);
r.Translate(Vector(Gain(Oscillate(flGameTime, 6.0f), 0.2f), Gain(Oscillate(flGameTime, 5.5f), 0.2f), Gain(Oscillate(flGameTime, 4.0f), 0.2f)));
r.RenderModel(m_iFloaters[1]);
r.ResetTransformations();
r.Translate(Vector(-51.14f, 40.3445f, -11)*1.5f);
r.Translate(Vector(Gain(Oscillate(flGameTime, 4.5f), 0.2f), Gain(Oscillate(flGameTime, 5.0f), 0.2f), Gain(Oscillate(flGameTime, 6.5f), 0.2f)));
r.RenderModel(m_iFloaters[2]);
r.ResetTransformations();
r.Translate(Vector(-14.3265f, 46.879f, -10)*1.5f);
r.Translate(Vector(Gain(Oscillate(flGameTime, 6.5f), 0.2f), Gain(Oscillate(flGameTime, 5.5f), 0.2f), Gain(Oscillate(flGameTime, 4.5f), 0.2f)));
r.RenderModel(m_iFloaters[3]);
r.ResetTransformations();
r.Translate(Vector(20.1533f, 33.2295f, -9)*1.5f);
r.Translate(Vector(Gain(Oscillate(flGameTime, 4.1f), 0.2f), Gain(Oscillate(flGameTime, 5.1f), 0.2f), Gain(Oscillate(flGameTime, 6.1f), 0.2f)));
r.RenderModel(m_iFloaters[4]);
r.ResetTransformations();
r.Translate(Vector(56.8932f, 18.9258f, -12)*1.5f);
r.Translate(Vector(Gain(Oscillate(flGameTime, 6.1f), 0.2f), Gain(Oscillate(flGameTime, 5.9f), 0.2f), Gain(Oscillate(flGameTime, 4.1f), 0.2f)));
r.RenderModel(m_iFloaters[5]);
r.ResetTransformations();
r.Translate(Vector(-43.3788f, -1.81977f, -11)*1.5f);
r.Translate(Vector(Gain(Oscillate(flGameTime, 4.9f), 0.2f), Gain(Oscillate(flGameTime, 5.9f), 0.2f), Gain(Oscillate(flGameTime, 6.9f), 0.2f)));
r.RenderModel(m_iFloaters[6]);
r.ResetTransformations();
r.Translate(Vector(-69.7944f, -15.5551f, -10)*1.5f);
r.Translate(Vector(Gain(Oscillate(flGameTime, 6.9f), 0.2f), Gain(Oscillate(flGameTime, 5.1f), 0.2f), Gain(Oscillate(flGameTime, 4.9f), 0.2f)));
r.RenderModel(m_iFloaters[7]);
r.ResetTransformations();
r.Translate(Vector(38.0865f, -11.1743f, -9)*1.5f);
r.Translate(Vector(Gain(Oscillate(flGameTime, 4.6f), 0.2f), Gain(Oscillate(flGameTime, 5.4f), 0.2f), Gain(Oscillate(flGameTime, 6.6f), 0.2f)));
r.RenderModel(m_iFloaters[8]);
r.ResetTransformations();
r.Translate(Vector(-16.6582f, -28.5136f, -12)*1.5f);
r.Translate(Vector(Gain(Oscillate(flGameTime, 6.4f), 0.2f), Gain(Oscillate(flGameTime, 5.6f), 0.2f), Gain(Oscillate(flGameTime, 4.4f), 0.2f)));
r.RenderModel(m_iFloaters[9]);
r.ResetTransformations();
r.Translate(Vector(65.7498f, -27.7423f, -11)*1.5f);
r.Translate(Vector(Gain(Oscillate(flGameTime, 4.3f), 0.2f), Gain(Oscillate(flGameTime, 5.7f), 0.2f), Gain(Oscillate(flGameTime, 6.3f), 0.2f)));
r.RenderModel(m_iFloaters[10]);
r.ResetTransformations();
r.Translate(Vector(-47.0167f, -48.2766f, -10)*1.5f);
r.Translate(Vector(Gain(Oscillate(flGameTime, 6.7f), 0.2f), Gain(Oscillate(flGameTime, 5.3f), 0.2f), Gain(Oscillate(flGameTime, 4.7f), 0.2f)));
r.RenderModel(m_iFloaters[11]);
r.ResetTransformations();
r.Translate(Vector(-13.8358f, -62.4203f, -9)*1.5f);
r.Translate(Vector(Gain(Oscillate(flGameTime, 4.2f), 0.2f), Gain(Oscillate(flGameTime, 5.8f), 0.2f), Gain(Oscillate(flGameTime, 6.0f), 0.2f)));
r.RenderModel(m_iFloaters[12]);
r.ResetTransformations();
r.Translate(Vector(15.7742f, -40.5895f, -12)*1.5f);
r.Translate(Vector(Gain(Oscillate(flGameTime, 6.8f), 0.2f), Gain(Oscillate(flGameTime, 5.2f), 0.2f), Gain(Oscillate(flGameTime, 4.8f), 0.2f)));
r.RenderModel(m_iFloaters[13]);
r.ResetTransformations();
r.Translate(Vector(32.4053f, -53.7385f, -11)*1.5f);
r.Translate(Vector(Gain(Oscillate(flGameTime, 4.0f), 0.2f), Gain(Oscillate(flGameTime, 5.0f), 0.2f), Gain(Oscillate(flGameTime, 6.2f), 0.2f)));
r.RenderModel(m_iFloaters[14]);
}
m_bRenderingTransparent = true;
if (true)
{
CGameRenderingContext r(this, true);
r.SetBlend(BLEND_ADDITIVE);
r.SetDepthMask(false);
r.Rotate(m_flRing1Yaw, Vector(0, 0, 1));
r.SetAlpha(Oscillate((float)GameServer()->GetGameTime(), 25));
r.RenderModel(m_iRing1);
m_flRing1Yaw += (float)GameServer()->GetFrameTime()*5;
}
if (true)
{
CGameRenderingContext r(this, true);
r.SetBlend(BLEND_ADDITIVE);
r.SetDepthMask(false);
r.Rotate(m_flRing2Yaw, Vector(0, 0, 1));
r.SetAlpha(Oscillate((float)GameServer()->GetGameTime(), 30));
r.RenderModel(m_iRing2);
m_flRing2Yaw -= (float)GameServer()->GetFrameTime()*5;
}
if (true)
{
CGameRenderingContext r(this, true);
r.SetBlend(BLEND_ADDITIVE);
r.SetDepthMask(false);
r.Rotate(m_flRing3Yaw, Vector(0, 0, 1));
r.SetAlpha(Oscillate((float)GameServer()->GetGameTime(), 35));
r.RenderModel(m_iRing3);
m_flRing3Yaw -= (float)GameServer()->GetFrameTime()*10;
}
#endif
r.ClearDepth();
CRenderingContext::DebugFinish();
}
void CDigitanksRenderer::FinishRendering(class CRenderingContext* pContext)
{
TPROF("CDigitanksRenderer::FinishRendering");
RenderTendrilBatches();
RenderPreviewModes();
RenderFogOfWar();
RenderAvailableAreas();
CRenderingContext::DebugFinish();
BaseClass::FinishRendering(pContext);
}
void CDigitanksRenderer::RenderPreviewModes()
{
TPROF("CDigitanksRenderer::RenderPreviewModes");
if (!DigitanksGame())
return;
CDigitanksPlayer* pTeam = DigitanksGame()->GetCurrentLocalDigitanksPlayer();
CSelectable* pCurrentSelection = DigitanksGame()->GetPrimarySelection();
CDigitank* pCurrentTank = DigitanksGame()->GetPrimarySelectionTank();
Vector vecPreviewMove;
Vector vecPreviewDirection;
if (pCurrentTank)
{
vecPreviewMove = pCurrentTank->GetPreviewMove();
if ((vecPreviewMove - pCurrentTank->GetGlobalOrigin()).LengthSqr() == 0)
vecPreviewDirection = Vector(0, 0, 0);
else
vecPreviewDirection = (vecPreviewMove - pCurrentTank->GetGlobalOrigin()).Normalized();
}
if (!pTeam)
return;
size_t iFormation = 0;
Vector vecLookAt;
bool bMouseOK = false;
#ifndef T_PLATFORM_TOUCH
if (!CVar::GetCVarBool("m_emulate_touch"))
bMouseOK = DigitanksWindow()->GetMouseGridPosition(vecLookAt);
#endif
for (size_t i = 0; i < pTeam->GetNumUnits(); i++)
{
const CDigitank* pTank = dynamic_cast<const CDigitank*>(pTeam->GetUnit(i));
if (pTank)
{
if (DigitanksGame()->GetControlMode() == MODE_TURN)
{
EAngle angTurn = EAngle(0, pTank->GetGlobalAngles().y, 0);
if (pTank->TurnsWith(pCurrentTank))
{
bool bNoTurn = bMouseOK && (vecLookAt - DigitanksGame()->GetPrimarySelectionTank()->GetGlobalOrigin()).LengthSqr() < 3*3;
if (!bNoTurn && bMouseOK)
{
Vector vecDirection = (vecLookAt - pTank->GetGlobalOrigin()).Normalized();
float flYaw = atan2(vecDirection.z, vecDirection.x) * 180/M_PI;
float flTankTurn = AngleDifference(flYaw, pTank->GetGlobalAngles().y);
if (fabs(flTankTurn)/pTank->TurnPerPower() > pTank->GetRemainingMovementEnergy())
flTankTurn = (flTankTurn / fabs(flTankTurn)) * pTank->GetRemainingMovementEnergy() * pTank->TurnPerPower() * 0.95f;
angTurn = EAngle(0, pTank->GetGlobalAngles().y + flTankTurn, 0);
}
CGameRenderingContext r(GameServer()->GetRenderer());
r.Translate(pTank->GetRenderOrigin());
r.Rotate(-pTank->GetGlobalAngles().y, Vector(0, 0, 1));
r.SetAlpha(50.0f/255);
r.SetBlend(BLEND_ALPHA);
r.SetUniform("bColorSwapInAlpha", true);
r.SetUniform("vecColorSwap", pTank->GetPlayerOwner()->GetColor());
r.RenderModel(pTank->GetModelID());
pTank->RenderTurret(50.0f/255);
}
}
if (pCurrentTank && DigitanksGame()->GetControlMode() == MODE_MOVE)
{
if (pTank->GetDigitanksPlayer()->IsSelected(pTank) && pTank->MovesWith(pCurrentTank))
{
Vector vecNewPosition = DigitanksGame()->GetFormationPosition(vecPreviewMove, vecPreviewDirection, pTeam->GetNumTanks(), iFormation++);
vecNewPosition.y = pTank->FindHoverHeight(vecNewPosition);
CGameRenderingContext r(GameServer()->GetRenderer());
r.UseProgram("model");
r.Translate(vecNewPosition + Vector(0, 0, 1));
r.Rotate(-VectorAngles(vecPreviewDirection).y, Vector(0, 0, 1));
if (DigitanksGame()->GetGameType() == GAMETYPE_ARTILLERY)
r.Scale(2, 2, 2);
r.SetAlpha(50.0f/255);
r.SetBlend(BLEND_ALPHA);
r.SetUniform("bColorSwapInAlpha", true);
r.SetUniform("vecColorSwap", pTank->GetPlayerOwner()->GetColor());
r.RenderModel(pTank->GetModelID());
pTank->RenderTurret(50.0f/255);
}
}
if (pTank->ShouldDisplayAim())
{
int iAlpha = 100;
if (pTank->GetDigitanksPlayer()->IsSelected(pTank) && DigitanksGame()->GetControlMode() == MODE_AIM)
iAlpha = 255;
Vector vecTankOrigin = pTank->GetGlobalOrigin();
float flGravity = DigitanksGame()->GetGravity();
float flTime;
Vector vecForce;
FindLaunchVelocity(vecTankOrigin, pTank->GetDisplayAim(), flGravity, vecForce, flTime, pTank->ProjectileCurve());
CRopeRenderer oRope(GameServer()->GetRenderer(), CDigitank::GetAimBeamMaterial(), vecTankOrigin, 0.5f);
oRope.SetColor(Color(255, 0, 0, iAlpha));
oRope.SetTextureScale(50);
oRope.SetTextureOffset(-(float)fmod(GameServer()->GetGameTime(), 1.0));
size_t iLinks = 20;
float flTimePerLink = flTime/iLinks;
for (size_t i = 1; i < iLinks; i++)
{
float flCurrentTime = flTimePerLink*i;
Vector vecCurrentOrigin = vecTankOrigin + vecForce*flCurrentTime + Vector(0, 0, flGravity*flCurrentTime*flCurrentTime/2);
oRope.AddLink(vecCurrentOrigin);
}
oRope.Finish(pTank->GetDisplayAim());
}
bool bShowGoalMove = false;
Vector vecGoalMove;
int iAlpha = 255;
if (pTank->HasGoalMovePosition())
{
bShowGoalMove = true;
vecGoalMove = pTank->GetGoalMovePosition();
}
else if (pTank == pCurrentTank && DigitanksGame()->GetControlMode() == MODE_MOVE)
{
if (!pCurrentTank->IsPreviewMoveValid() && bMouseOK)
{
bShowGoalMove = true;
vecGoalMove = pTank->GetPreviewMove();
iAlpha = 100;
}
}
if (pTank->GetPlayerOwner() != DigitanksGame()->GetCurrentLocalDigitanksPlayer())
bShowGoalMove = false;
if (false)// bShowGoalMove)
{
CRenderingContext r(GameServer()->GetRenderer());
r.SetBlend(BLEND_ALPHA);
CRopeRenderer oRope(GameServer()->GetRenderer(), CDigitank::GetAutoMoveMaterial(), DigitanksGame()->GetTerrain()->GetPointHeight(pTank->GetRealOrigin()) + Vector(0, 0, 1), 2);
oRope.SetColor(Color(255, 255, 255, iAlpha));
oRope.SetTextureScale(4);
oRope.SetTextureOffset(-(float)fmod(GameServer()->GetGameTime(), 1.0));
Vector vecPath = vecGoalMove - pTank->GetRealOrigin();
vecPath.z = 0;
float flDistance = vecPath.Length2D();
float flDistancePerSegment = 5;
Vector vecPathFlat = vecPath;
vecPathFlat.z = 0;
Vector vecDirection = vecPathFlat.Normalized();
size_t iSegments = (size_t)(flDistance/flDistancePerSegment);
Vector vecLastSegmentStart = pTank->GetRealOrigin();
float flMaxMoveDistance = pTank->GetMaxMovementDistance();
float flSegmentLength = flMaxMoveDistance;
if ((vecGoalMove - pTank->GetRealOrigin()).LengthSqr() < flMaxMoveDistance*flMaxMoveDistance)
flSegmentLength = (vecGoalMove - pTank->GetRealOrigin()).Length();
for (size_t i = 1; i < iSegments; i++)
{
float flCurrentDistance = ((float)i*flDistancePerSegment);
Vector vecLink = DigitanksGame()->GetTerrain()->GetPointHeight(pTank->GetRealOrigin() + vecDirection*flCurrentDistance) + Vector(0, 0, 1);
float flDistanceFromSegmentStartSqr = (vecLink - vecLastSegmentStart).LengthSqr();
float flRamp = flDistanceFromSegmentStartSqr / (flSegmentLength*flSegmentLength);
if (flDistanceFromSegmentStartSqr > flMaxMoveDistance*flMaxMoveDistance)
{
vecLastSegmentStart = DigitanksGame()->GetTerrain()->GetPointHeight(vecLastSegmentStart + vecDirection*flSegmentLength) + Vector(0, 0, 1);
oRope.SetWidth(0);
oRope.FinishSegment(vecLastSegmentStart, vecLastSegmentStart, 2);
// Skip to the next one if it goes backwards.
if ((vecLink - pTank->GetRealOrigin()).LengthSqr() < (vecLastSegmentStart - pTank->GetRealOrigin()).LengthSqr())
continue;
flDistanceFromSegmentStartSqr = (vecLink - vecLastSegmentStart).LengthSqr();
if ((vecGoalMove - vecLastSegmentStart).LengthSqr() < flMaxMoveDistance*flMaxMoveDistance)
flSegmentLength = (vecGoalMove - vecLastSegmentStart).Length();
flRamp = flDistanceFromSegmentStartSqr / (flSegmentLength*flSegmentLength);
}
oRope.SetWidth((1-flRamp)*2);
oRope.AddLink(vecLink);
}
oRope.SetWidth(0);
oRope.Finish(DigitanksGame()->GetTerrain()->GetPointHeight(vecGoalMove) + Vector(0, 0, 1));
}
if (pTank->GetDigitanksPlayer()->IsPrimarySelection(pTank) && DigitanksGame()->GetControlMode() == MODE_AIM && DigitanksGame()->GetAimType() == AIM_MOVEMENT)
{
CBaseEntity* pChargeTarget = pTank->GetPreviewCharge();
if (pChargeTarget)
{
Vector vecPreviewTank = pTank->GetChargePosition(pChargeTarget);
Vector vecChargeDirection = (pChargeTarget->GetGlobalOrigin() - pTank->GetGlobalOrigin()).Normalized();
CGameRenderingContext r(GameServer()->GetRenderer());
r.UseProgram("model");
r.Translate(vecPreviewTank + Vector(0, 0, 1));
r.Rotate(-VectorAngles(vecChargeDirection).y, Vector(0, 0, 1));
r.SetAlpha(50.0f/255);
r.SetBlend(BLEND_ALPHA);
r.SetUniform("bColorSwapInAlpha", true);
r.SetUniform("vecColorSwap", pTank->GetPlayerOwner()->GetColor());
r.RenderModel(pTank->GetModelID());
pTank->RenderTurret(50.0f/255);
}
}
continue;
}
CCPU* pCPU = dynamic_cast<CCPU*>(pTeam->GetUnit(i));
if (pCPU)
{
if (DigitanksGame()->GetControlMode() == MODE_BUILD)
{
CGameRenderingContext r(GameServer()->GetRenderer());
r.Translate(pCPU->GetPreviewBuild() + Vector(0, 0, 3));
r.Rotate(-pCPU->GetGlobalAngles().y, Vector(0, 0, 1));
if (pCPU->IsPreviewBuildValid())
{
r.SetUniform("bColorSwapInAlpha", true);
r.SetUniform("vecColorSwap", Color(255, 255, 255));
r.SetAlpha(0.5f);
r.SetBlend(BLEND_ALPHA);
DigitanksWindow()->SetMouseCursor(MOUSECURSOR_BUILD);
}
else
{
r.SetUniform("bColorSwapInAlpha", true);
r.SetUniform("vecColorSwap", Color(255, 0, 0));
r.SetAlpha(0.3f);
r.SetBlend(BLEND_ADDITIVE);
DigitanksWindow()->SetMouseCursor(MOUSECURSOR_BUILDINVALID);
}
size_t iModel = 0;
switch (pCPU->GetPreviewStructure())
{
case STRUCTURE_FIREWALL:
iModel = CModelLibrary::Get()->FindModel("models/digitanks/autoturret.toy");
break;
case STRUCTURE_MINIBUFFER:
iModel = CModelLibrary::Get()->FindModel("models/structures/minibuffer.toy");
break;
case STRUCTURE_BUFFER:
iModel = CModelLibrary::Get()->FindModel("models/structures/buffer.toy");
break;
case STRUCTURE_BATTERY:
iModel = CModelLibrary::Get()->FindModel("models/structures/battery.toy");
break;
case STRUCTURE_PSU:
iModel = CModelLibrary::Get()->FindModel("models/structures/psu.toy");
break;
case STRUCTURE_INFANTRYLOADER:
iModel = CModelLibrary::Get()->FindModel("models/structures/loader-infantry.toy");
break;
case STRUCTURE_TANKLOADER:
iModel = CModelLibrary::Get()->FindModel("models/structures/loader-main.toy");
break;
case STRUCTURE_ARTILLERYLOADER:
iModel = CModelLibrary::Get()->FindModel("models/structures/loader-artillery.toy");
break;
}
r.RenderModel(iModel);
}
continue;
}
}
CRenderingContext::DebugFinish();
}
CVar r_fogofwar("r_fogofwar", "1");
void CDigitanksRenderer::RenderFogOfWar()
{
if (!DigitanksGame())
return;
if (!DigitanksGame()->ShouldRenderFogOfWar())
return;
if (!r_fogofwar.GetBool())
return;
TPROF("CDigitanksRenderer::RenderFogOfWar");
CDigitanksPlayer* pTeam = DigitanksGame()->GetCurrentLocalDigitanksPlayer();
if (!pTeam)
return;
// Render each visibility volume one at a time. If we do them all at once they interfere with each other.
for (size_t i = 0; i < pTeam->GetNumUnits(); i++)
{
CBaseEntity* pEntity = pTeam->GetUnit(i);
if (!pEntity)
continue;
CDigitanksEntity* pDTEntity = dynamic_cast<CDigitanksEntity*>(pEntity);
if (!pDTEntity)
continue;
if (pDTEntity->VisibleRange() == 0)
continue;
if (!IsSphereInFrustum(pDTEntity->GetRenderOrigin(), pDTEntity->VisibleRange()))
continue;
CRenderingContext c(this, true);
c.UseFrameBuffer(&m_oVisibility1Buffer);
c.ClearColor();
c.SetDepthMask(false);
c.SetDepthFunction(DF_GREATER);
// Render this guy's visibility volume to the first buffer
c.SetCullFace(CF_FRONT);
c.SetColor(Color(255, 255, 255));
pDTEntity->RenderVisibleArea();
c.SetCullFace(CF_BACK);
c.SetColor(Color(0, 0, 0));
pDTEntity->RenderVisibleArea();
c.SetBlend(BLEND_BOTH);
c.SetColor(Color(255, 255, 255));
c.SetDepthTest(false);
// Copy the results to the second buffer
RenderMapToBuffer(m_oVisibility1Buffer.m_iMap, &m_oVisibility2Buffer);
}
CRenderingContext::DebugFinish();
}
void CDigitanksRenderer::RenderAvailableAreas()
{
if (!DigitanksGame())
return;
TPROF("CDigitanksRenderer::RenderAvailableAreas");
// Render each visibility volume one at a time. If we do them all at once they interfere with each other.
for (size_t i = 0; i < GameServer()->GetMaxEntities(); i++)
{
CBaseEntity* pEntity = CBaseEntity::GetEntity(i);
if (!pEntity)
continue;
CDigitanksEntity* pDTEntity = dynamic_cast<CDigitanksEntity*>(pEntity);
if (!pDTEntity)
continue;
int iAreas = pDTEntity->GetNumAvailableAreas();
for (int j = 0; j < iAreas; j++)
{
if (!pDTEntity->IsAvailableAreaActive(j))
continue;
CRenderingContext c(this, true);
c.UseFrameBuffer(&m_oVisibility1Buffer);
c.UseProgram("volume");
c.ClearColor();
c.SetDepthMask(false);
c.SetDepthFunction(DF_GREATER);
// Render this guy's visibility volume to the first buffer
c.SetCullFace(CF_FRONT);
c.SetUniform("vecColor", Color(255, 255, 255));
pDTEntity->RenderAvailableArea(j);
c.SetCullFace(CF_BACK);
c.SetUniform("vecColor", Color(0, 0, 0));
pDTEntity->RenderAvailableArea(j);
c.UseProgram("quad");
c.SetBlend(BLEND_BOTH);
c.SetColor(Color(255, 255, 255));
c.SetDepthTest(false);
c.SetDepthMask(false);
// Copy the results to the second buffer
RenderMapToBuffer(m_oVisibility1Buffer.m_iMap, &m_oAvailableAreaBuffer);
m_bAvailableAreasThisFrame = true;
}
}
CRenderingContext::DebugFinish();
}
void CDigitanksRenderer::RenderOffscreenBuffers(class CRenderingContext* pContext)
{
TPROF("CDigitanksRenderer::RenderOffscreenBuffers");
if (!DigitanksGame())
return;
if (m_bExplosionsThisFrame)
{
TPROF("Explosions");
CGameRenderingContext c(this, true);
c.UseFrameBuffer(&m_oSceneBuffer);
c.BindTexture(m_hNoise->m_iGLID, 1);
c.UseProgram("explosion");
c.SetUniform("iExplosion", 0);
c.SetUniform("iNoise", 1);
c.SetBlend(BLEND_ADDITIVE);
RenderMapToBuffer(m_oExplosionBuffer.m_iMap, &m_oSceneBuffer);
CRenderingContext::DebugFinish();
}
if (m_bAvailableAreasThisFrame)
{
TPROF("Available areas");
CGameRenderingContext c(this, true);
c.SetBlend(BLEND_ADDITIVE);
c.UseProgram("quad");
if (DigitanksGame()->GetControlMode() == MODE_BUILD || DigitanksGame()->GetControlMode() == MODE_AIM)
c.SetUniform("vecColor", Color(50, 250, 50, 100));
else
c.SetUniform("vecColor", Color(50, 250, 50, 30));
RenderMapToBuffer(m_oAvailableAreaBuffer.m_iMap, &m_oSceneBuffer);
CRenderingContext::DebugFinish();
}
// Draw the fog of war.
if (DigitanksGame()->ShouldRenderFogOfWar() && r_fogofwar.GetBool())
{
TPROF("Fog of war");
// Explosion buffer's not in use anymore, reduce reuse recycle!
RenderMapToBuffer(m_oSceneBuffer.m_iMap, &m_oExplosionBuffer);
CGameRenderingContext c(this, true);
c.BindTexture(m_oVisibility2Buffer.m_iMap);
c.UseProgram("darken");
c.SetUniform("iImage", 0);
c.SetUniform("iDarkMap", 1);
c.SetUniform("flFactor", 3.0f);
if (DigitanksGame()->GetControlMode() == MODE_BUILD || DigitanksGame()->GetControlMode() == MODE_AIM)
c.SetUniform("vecColor", Color(150, 150, 150));
else
c.SetUniform("vecColor", Color(255, 255, 255));
RenderMapToBuffer(m_oExplosionBuffer.m_iMap, &m_oSceneBuffer);
// Render the visibility-masked buffer, using the shadow volumes as a stencil.
c.UseProgram("stencil");
c.SetUniform("iStencilMap", 1);
c.SetUniform("iImage", 0);
c.SetBlend(BLEND_BOTH);
RenderMapToBuffer(m_oVisibilityMaskedBuffer.m_iMap, &m_oSceneBuffer);
CRenderingContext::DebugFinish();
}
BaseClass::RenderOffscreenBuffers(pContext);
CRenderingContext::DebugFinish();
}
#ifdef _DEBUG
CVar r_show_debug("r_show_debug", "0");
#endif
static float g_flBloomPulseLength = 0.5f;
void CDigitanksRenderer::RenderFullscreenBuffers(class CRenderingContext* pContext)
{
TPROF("CDigitanksRenderer::RenderFullscreenBuffers");
if (!DigitanksGame())
return;
if (true)
{
if (GameServer()->GetGameTime() > m_flLastBloomPulse + g_flBloomPulseLength)
m_flLastBloomPulse = 0;
}
#ifndef TINKER_OPTIMIZE_SOFTWARE
if (true)
{
TPROF("Vignette");
CRenderingContext c(this, true);
c.SetBlend(BLEND_ADDITIVE);
RenderMapFullscreen(m_hVignetting->m_iGLID);
CRenderingContext::DebugFinish();
}
#endif
BaseClass::RenderFullscreenBuffers(pContext);
#ifdef _DEBUG
if (r_show_debug.GetBool())
RenderFrameBufferFullscreen(&m_oDebugBuffer);
#endif
CRenderingContext::DebugFinish();
}
float CDigitanksRenderer::BloomBrightnessCutoff() const
{
return 0.6f + Bias((float)RemapValClamped(GameServer()->GetGameTime(), m_flLastBloomPulse, m_flLastBloomPulse + g_flBloomPulseLength, 1.0, 0.0), 0.2f) * 0.1f;
}
float CDigitanksRenderer::BloomScale() const
{
return 1.0f + Bias((float)RemapValClamped(GameServer()->GetGameTime(), m_flLastBloomPulse, m_flLastBloomPulse + g_flBloomPulseLength, 1.0, 0.0), 0.2f);
}
void CDigitanksRenderer::BloomPulse()
{
m_flLastBloomPulse = GameServer()->GetGameTime();
}
void CDigitanksRenderer::ClearTendrilBatches()
{
m_ahTendrilBatches.clear();
}
void CDigitanksRenderer::AddTendrilBatch(const CSupplier* pSupplier)
{
m_ahTendrilBatches.push_back() = pSupplier;
}
void CDigitanksRenderer::RenderTendrilBatches()
{
TPROF("CDigitanksRenderer::RenderTendrilBatches");
if (!DigitanksGame())
return;
CRenderingContext r(GameServer()->GetRenderer(), true);
r.UseProgram("scroll");
if (DigitanksGame()->ShouldRenderFogOfWar())
r.UseFrameBuffer(DigitanksGame()->GetDigitanksRenderer()->GetVisibilityMaskedBuffer());
r.SetDepthMask(false);
r.UseMaterial(CSupplier::GetTendrilBeam());
r.SetUniform("flTime", (float)GameServer()->GetGameTime());
r.SetUniform("iTexture", 0);
for (size_t i = 0; i < m_ahTendrilBatches.size(); i++)
{
CSupplier* pSupplier = m_ahTendrilBatches[i];
if (!pSupplier)
continue;
COverheadCamera* pCamera = DigitanksGame()->GetOverheadCamera();
Vector vecCamera = pCamera->GetGlobalOrigin();
float flDistanceSqr = pSupplier->GetGlobalOrigin().DistanceSqr(vecCamera);
float flFadeDistance = CVar::GetCVarFloat("perf_tendril_fade_distance");
float flFadeAlpha = RemapValClamped(flDistanceSqr, flFadeDistance*flFadeDistance, (flFadeDistance+20)*(flFadeDistance+20), 1.0f, 0.0f);
if (flFadeAlpha <= 0)
continue;
float flTreeAlpha = 1.0f;
if (DigitanksGame()->GetTerrain()->GetBit(CTerrain::WorldToArraySpace(pSupplier->GetGlobalOrigin().x), CTerrain::WorldToArraySpace(pSupplier->GetGlobalOrigin().y), TB_TREE))
flTreeAlpha = 0.3f;
r.SetUniform("flAlpha", flFadeAlpha * flTreeAlpha);
pSupplier->RenderTendrils(r);
}
CRenderingContext::DebugFinish();
}
| [
"[email protected]"
] | |
bbb55d5a74fe61fc5996ad7ed73a86616ede91e6 | 1897eb51e679d3504907d66338eae4c197ce9965 | /Wrappers.cpp | aff9b918c674af923e702e520082cdd9f3aca4e9 | [] | no_license | shaefelinger/PFMCPP_Project5 | 55d0fa8bbf251bf76c10ffd36f3f2533dc51b69d | c8fcf0461f3b8a95c2a6927362d251846fa5c33e | refs/heads/master | 2023-08-04T00:47:45.353713 | 2021-09-28T07:37:56 | 2021-09-28T07:37:56 | 401,021,858 | 0 | 0 | null | 2021-09-28T07:37:56 | 2021-08-29T11:14:47 | C++ | UTF-8 | C++ | false | false | 993 | cpp | #include "Wrappers.h"
#include "ElectricGuitar.h"
#include "Computer.h"
#include "Bus.h"
#include "MusicStore.h"
#include "RentalService.h"
ElectricGuitarWrapper::ElectricGuitarWrapper(ElectricGuitar* ptr) : pointerToElectricGuitar(ptr) { }
ElectricGuitarWrapper::~ElectricGuitarWrapper()
{
delete pointerToElectricGuitar;
}
// Computer
ComputerWrapper::ComputerWrapper(Computer* ptr) : pointerToComputer(ptr) { }
ComputerWrapper::~ComputerWrapper()
{
delete pointerToComputer;
}
// Bus
BusWrapper::BusWrapper(Bus* ptr) : pointerToBus(ptr) { }
BusWrapper::~BusWrapper()
{
delete pointerToBus;
}
// MusicStore
MusicStoreWrapper::MusicStoreWrapper(MusicStore* ptr) : pointerToMusicStore(ptr){}
MusicStoreWrapper::~MusicStoreWrapper()
{
delete pointerToMusicStore;
}
// RentalService
RentalServiceWrapper::RentalServiceWrapper(RentalService* ptr) :
pointerToRentalService(ptr)
{}
RentalServiceWrapper::~RentalServiceWrapper()
{
delete pointerToRentalService;
}
| [
"[email protected]"
] | |
f6c84e9a6c34cd6e25b2781104a78ad48a0975ec | 57569c30cedabe3c4d0692aa0fde01f96951627d | /MRTK ASA/App/Il2CppOutputProject/Source/il2cppOutput/Il2CppComCallableWrappers15.cpp | 4229344186b47f2eac9f1560c9dab633824113bc | [] | no_license | Arunkumar70/Microsoft-Android-ioS-ASA-Tutorial | 933d09af4ed790f434d733fe01a7c17da5423af0 | 2a900903af1513529c8a1f8fc596c4f40275cb4d | refs/heads/master | 2022-04-19T03:28:53.598040 | 2020-04-14T16:55:22 | 2020-04-14T16:55:22 | 255,016,758 | 0 | 0 | null | 2020-04-14T04:25:24 | 2020-04-12T05:40:46 | null | UTF-8 | C++ | false | false | 1,611,905 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "vm/CachedCCWBase.h"
#include "os/Unity/UnityPlatformConfigure.h"
#include "il2cpp-object-internals.h"
// <>f__AnonymousType0`2<System.Reflection.PropertyInfo,RestSharp.Serializers.SerializeAsAttribute>
struct U3CU3Ef__AnonymousType0_2_t512856A5034FB47C50B53D24A8ED30E795D91C94;
// I18N.CJK.GB18030Source/GB18030Map
struct GB18030Map_tF871AED7945542EDA06D956BF9D16CE847053D66;
// Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorWatcher
struct CloudSpatialAnchorWatcher_t94E373F9C47C90D744197B54C803B0C00C520766;
// Microsoft.MixedReality.Toolkit.Audio.IAudioInfluencer
struct IAudioInfluencer_tE67D5B75E96612BE4AEEB5961D3CA81D4F557938;
// Microsoft.MixedReality.Toolkit.CameraSystem.IMixedRealityCameraSettingsProvider
struct IMixedRealityCameraSettingsProvider_t8FF7B1AF55EFF8A54BD715EA876F3748E9E45B60;
// Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.IProximityEffectObjectProvider
struct IProximityEffectObjectProvider_tB7EA181B15E2EB7214F38A64D46B89D9F8F678F8;
// Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.Links/Link
struct Link_tEFC307EEF94A43F5DC4B9DD0B7508A171816CF0C;
// Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect/ObjectProximityInfo
struct ObjectProximityInfo_t72B8F7A05C5C1DB0F5C22CA948AF3A5A5D0634EA;
// Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect/RegisteredObjects
struct RegisteredObjects_tA4BD5BA1EC5BC4C22B5586A2BDC9C3CDAA927196;
// Microsoft.MixedReality.Toolkit.Input.IMixedRealityController
struct IMixedRealityController_t2DD28A7055656BD11178EDB1EDC09F9CF99F14E4;
// Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource
struct IMixedRealityInputSource_tFBE90703EA23201C710973EAEACE2646A973BA0D;
// Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer
struct IMixedRealityPointer_tB540BA46EB1C2D6A5B705C548EB4ADAF2E4BA0A4;
// Microsoft.MixedReality.Toolkit.UI.BoundingBox/Handle
struct Handle_tC2FEF617706F0ED70DF82012DB61C2EF2B623997;
// Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom/HandPanData
struct HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E;
// Microsoft.MixedReality.Toolkit.UI.IToolTipBackground
struct IToolTipBackground_t125E38B9CAF8363C4FBA21A1E3734A17CEE75A24;
// Microsoft.MixedReality.Toolkit.UI.IToolTipHighlight
struct IToolTipHighlight_tFE455EFB9D826F6513095BA764716E6629A6A19B;
// Microsoft.MixedReality.Toolkit.UI.Theme
struct Theme_tC61C562C756A17AF1A1C67484C63446DD6D40CD6;
// Microsoft.MixedReality.Toolkit.UI.ThemeProperty
struct ThemeProperty_t0003FCF572D5238987CA94FF8EB70B6E3D688F04;
// Microsoft.MixedReality.Toolkit.UI.ThemePropertyTypes[]
struct ThemePropertyTypesU5BU5D_t16689DB5618DD7FA72BCADDA3B90A520898026FA;
// Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue
struct ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE;
// Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty
struct ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D;
// Microsoft.MixedReality.Toolkit.UI.VisualProfile
struct VisualProfile_t313933FEA2F20366458BF72EA40F74E1662696D5;
// Microsoft.MixedReality.Toolkit.Utilities.Easing
struct Easing_tEA17A17E27EEE6537855404FC51A58C609DDFBAB;
// RestSharp.Deserializers.IDeserializer
struct IDeserializer_tAD5B93A246C3556B4CE0092998236596EF8F07E3;
// RestSharp.FileParameter
struct FileParameter_tB262F1C3BDC927DD4E88C7CB36617FAC83E85F89;
// RestSharp.HttpCookie
struct HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616;
// RestSharp.HttpFile
struct HttpFile_tCD9C1B878F9408D9ABE597528230596E4834190E;
// RestSharp.HttpHeader
struct HttpHeader_t0228004BA6E95AF8DA41FF8ACB7EEA56E025585E;
// RestSharp.HttpParameter
struct HttpParameter_tF21E3F20B1E60719E1A88FFDD217F839FBAC1F99;
// RestSharp.NameValuePair
struct NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44;
// RestSharp.Parameter
struct Parameter_tF609C50B6EC102D33772FC89ED75591360D1124E;
// RestSharp.Reflection.ReflectionUtils/ConstructorDelegate
struct ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC;
// RestSharp.Reflection.ReflectionUtils/GetDelegate
struct GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E;
// RestSharp.Reflection.ReflectionUtils/SetDelegate
struct SetDelegate_t3522CFE6BE84DAAD8A67D5714B24688C04C65FBB;
// RestSharp.RestResponseCookie
struct RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562;
// RestSharp.Serialization.IRestSerializer
struct IRestSerializer_t18EA4FB3C8F3EF4C1569843C188531ADD4299531;
// RestSharp.Serializers.ISerializer
struct ISerializer_t33FFB457299EA627C4B5A503227D60458F4ED07B;
// RestSharp.Serializers.SerializeAsAttribute
struct SerializeAsAttribute_t5BDAB81BD55A1D66394AD335A5B7296E2389CE54;
// System.Action`1<System.IO.Stream>
struct Action_1_tC8BAB6C7B8E5508F10B3A5EF475B0FFAE7688621;
// System.Action`1<UnityEngine.AsyncOperation>
struct Action_1_tCBF754C290FAE894631BED8FD56E9E22C4C187F9;
// System.Action`2<System.Net.HttpWebRequest,System.String>
struct Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F;
// System.AsyncCallback
struct AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4;
// System.Char[]
struct CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2;
// System.Collections.Generic.Dictionary`2/Entry<System.Type,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>[]
struct EntryU5BU5D_t00940937A9DB19AF39919845F47A12DF7C5E2309;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Type,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>
struct KeyCollection_tD585B451EB441FBA504B64BE8F4A7AE5FC5690ED;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Type,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>
struct ValueCollection_t778C87DEA7294262E53ECE27F13C676BE884D81D;
// System.Collections.Generic.Dictionary`2<System.Type,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>
struct Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504;
// System.Collections.Generic.Dictionary`2<UnityEngine.Experimental.TerrainAPI.TerrainUtility/TerrainMap/TileCoord,UnityEngine.Terrain>
struct Dictionary_2_tEB34CAE1B4D0E725777A5B9D419AF51BE918C30C;
// System.Collections.Generic.IDictionary`2<System.String,RestSharp.Reflection.ReflectionUtils/GetDelegate>
struct IDictionary_2_t1EBCB2E5051C67986B0E04D252155993529846EA;
// System.Collections.Generic.IDictionary`2<System.String,System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils/SetDelegate>>
struct IDictionary_2_t1F908FCCAEE01DB03B3BE307786901E703994BAD;
// System.Collections.Generic.IEqualityComparer`1<System.Type>
struct IEqualityComparer_1_t84A1E76CEF8A66F732C15925C1E1DBC7446DB3A4;
// System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect/ObjectProximityInfo>
struct List_1_t7181D43C32B105C4D9388835E45C16924C0FCB4F;
// System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.UI.ShaderProperties>
struct List_1_t21DC53F0CB8707091329069C52C73AF854FAD1DB;
// System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.UI.ThemeProperty>
struct List_1_t7C93725DB6179C58F77E48B330CF4717D6FC85D1;
// System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue>
struct List_1_t2A3201DAE6AD3CB8C6FAA9BD6C7A62A8D6FD07A8;
// System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty>
struct List_1_tAF52B240EFDD173D25A33C6456594B60D9CA4F36;
// System.Collections.Generic.List`1<System.String>
struct List_1_tE8032E48C661C350FF9550E9063D595C0AB25CD3;
// System.Collections.Generic.List`1<UnityEngine.Material>
struct List_1_t6A61046573B0BC4E12950B90305C189DD041D786;
// System.DelegateData
struct DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE;
// System.Delegate[]
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86;
// System.Func`1<RestSharp.Deserializers.IDeserializer>
struct Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210;
// System.IAsyncResult
struct IAsyncResult_t8E194308510B375B42432981AE5E7488C458D598;
// System.Int32[]
struct Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83;
// System.Net.HttpWebRequest
struct HttpWebRequest_t5B5BFA163B5AD6134620F315940CE3631D7FAAE0;
// System.Object[]
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// System.Reflection.PropertyInfo
struct PropertyInfo_t;
// System.String
struct String_t;
// System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding/KeyType,System.Int32>
struct Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F;
// System.Type
struct Type_t;
// System.Uri
struct Uri_t87E4A94B2901F5EEDD18AA72C3DB1B00E672D68E;
// System.Void
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017;
// System.WeakReference`1<Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession>
struct WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90;
// System.WeakReference`1<System.Object>
struct WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C;
// UnityEngine.AndroidJavaClass
struct AndroidJavaClass_t799D386229C77D27C7E129BEF7A79AFD426084EE;
// UnityEngine.AndroidJavaObject
struct AndroidJavaObject_t31F4DD4D4523A77B8AF16FE422B7426248E3093D;
// UnityEngine.Animation
struct Animation_tCFC171459D159DDEC6500B55543A76219D49BB9C;
// UnityEngine.AsyncOperation
struct AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D;
// UnityEngine.AudioClip
struct AudioClip_tCC3C35F579203CE2601243585AB3D6953C3BA051;
// UnityEngine.Experimental.TerrainAPI.TerrainUtility/TerrainMap
struct TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C;
// UnityEngine.GameObject
struct GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F;
// UnityEngine.GlobalJavaObjectRef
struct GlobalJavaObjectRef_t2B9FA8DBBC53F0C0E0B57ACDC0FA9967CFB22DD0;
// UnityEngine.Material
struct Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598;
// UnityEngine.MaterialPropertyBlock
struct MaterialPropertyBlock_t72A481768111C6F11DCDCD44F0C7F99F1CA79E13;
// UnityEngine.Material[]
struct MaterialU5BU5D_tD2350F98F2A1BB6C7A5FBFE1474DFC47331AB398;
// UnityEngine.Renderer
struct Renderer_t0556D67DD582620D1F495627EDE30D03284151F4;
// UnityEngine.Shader
struct Shader_tE2731FF351B74AB4186897484FB01E000C1160CA;
// UnityEngine.Terrain
struct Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943;
// UnityEngine.Texture
struct Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4;
// UnityEngine.Transform
struct Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA;
// UnityEngine.XR.WSA.WorldAnchor
struct WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE;
// UnityEngine.XR.WSA.WorldAnchor/OnTrackingChangedDelegate
struct OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253;
// UnityEngine.YieldInstruction
struct YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44;
struct Delegate_t_marshaled_com;
struct Delegate_t_marshaled_pinvoke;
struct IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7;
struct IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B;
struct IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E;
struct IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39;
struct IClosable_t5808AF951019E4388C66F7A88AC569F52F581167;
struct IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397;
struct IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616;
struct IIterator_1_t338801CF751DA6B3F37B9D6ED55A0F3F57F58AB1;
struct IIterator_1_t434D274362AD0E7DED4E226329536215034B75E0;
struct IIterator_1_t62801DBDE6FD9C74727BB69771A29FE27EFE219A;
struct IIterator_1_t778CBEADF41F93C0FF6B5A7DCD14292A25473632;
struct IIterator_1_tA9CA75CED7DF4356AA7250A307560CCB542832F9;
struct IIterator_1_tD1BD01D03923D51911821DBA75B91CD7ADEF23EC;
struct IIterator_1_tFCCB84984712ACE35E2C9D0FFBB7CFE2CD913B43;
struct IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744;
struct IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8;
struct IVectorView_1_t69805CA49F9F05C3D467DDD8CDF592BAE9829294;
struct IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356;
struct IVectorView_1_tFCA49C96F78B2EE6FBCA73E1EE14421518C4E513;
struct U3CU3Ef__AnonymousType0_2U5BU5D_t703109DC38457F0751AD90DD4B33CB9CAF209159;
struct GB18030MapU5BU5D_tE3F2C54FFBD02AFF94006891BA0F4E9166B02848;
struct CloudSpatialAnchorWatcherU5BU5D_t5A4B802167B0D0537A7175604FAE43B5B5FF6223;
struct AudioLoFiFilterSettingsU5BU5D_t296B240BBF523DBEEBECBB919B72114D01806F6D;
struct AudioLoFiSourceQualityU5BU5D_t36638F1FB4226DE88EA337E0CCB3FEEAEB671668;
struct IAudioInfluencerU5BU5D_t5D216D282C52209984D77E7F8C7FCA1D53F95296;
struct IMixedRealityCameraSettingsProviderU5BU5D_t3C6D8E01229BD0CBC7DB66FEB67446C7759FF96D;
struct FrameRateColorU5BU5D_tB4E40929C9FAF2D0D89385B8FCFE3799D7971105;
struct LinkU5BU5D_t38D7A38AB06C6530A388A101FAA6C866CCDB6B9E;
struct ObjectProximityInfoU5BU5D_t68176C877825D6703362DDF6DAA24A4CB7B21200;
struct RegisteredObjectsU5BU5D_tFBDC5B531918CD29D0103A7A297570B77B47E30E;
struct CardinalAxisTypeU5BU5D_t1FAD6175FFFB7E48C3E93952DF7DD10620B37DBA;
struct PointerDataU5BU5D_t965CB51FE7B769771D184D61154BD5E023907085;
struct AnchorAttachmentInfoU5BU5D_tD836DA909036886A736DF66AC3ECDF300F30BFD5;
struct MouseButtonU5BU5D_t14C6EC4510926DD3FA9CAFA4757AA63EF63D3361;
struct CardinalAxisTypeU5BU5D_tBE98770DA2148A2A8F20E206C564ACE5C3644F45;
struct HandleU5BU5D_t776A839BCE3600D5084060535B83A5F0DD44AD7E;
struct HandPanDataU5BU5D_t8B6D8F3C445B507169EAA52400D24DC295663EA6;
struct IToolTipBackgroundU5BU5D_t4AC7A48468D8891D1183229458A18FE7753E15C0;
struct IToolTipHighlightU5BU5D_tA7DD71FD723413BC5C96B63B884C643D00A7675C;
struct BlocksAndRendererU5BU5D_t812C04E355F9A57B0785531D13AA5D66F86A3DCD;
struct ShaderPropertiesU5BU5D_tAAEFBFF146C00AE2BFA0509E9CE1FDF39A0B54CF;
struct ThemePropertyTypesU5BU5D_t16689DB5618DD7FA72BCADDA3B90A520898026FA;
struct ThemePropertyValueU5BU5D_tB0E5CA0D181DEB5763AFCD0697F10692A508CD35;
struct ThemePropertyU5BU5D_t9682B88F7092F771801A047887AE221E152E66DE;
struct ThemeStatePropertyU5BU5D_t1AD1DC116B45C585790150B639304E6F2BFF6148;
struct VisualProfileU5BU5D_tE3C4AA6D9CC6C402C4A5158121433A2EC364A114;
struct DataFormatU5BU5D_tCE6E48D23BC39B7CCDD79711A01CD9F55DA223BA;
struct IDeserializerU5BU5D_tAF371A0D6E122A353191A285A39648EAE735C5AC;
struct FileParameterU5BU5D_t620E3A87AB95A85FADE739791FE91B90F708BBF4;
struct HttpCookieU5BU5D_t4FB7E149B0828C4B5759D72D33813A4235BE3735;
struct HttpFileU5BU5D_tBE406816C42B3E8BDEE6A65F64C9E9355DD06B7B;
struct HttpHeaderU5BU5D_t793A52AA0729C05956FA44C20078BA002F91CFC2;
struct HttpParameterU5BU5D_tB9B26584F9A58F2A916F74A4AAE06CA8FA82BD46;
struct NameValuePairU5BU5D_tB2F4E4A5A1C2C9DD52ADD3484FD89E7EE871D2CD;
struct ParameterTypeU5BU5D_t8A5D23BDD5046CD7A65A782E87DACF25B8B61CD3;
struct ParameterU5BU5D_t5CB65A80694DEA0DECD3DDC7DAD18EE94DC97AEA;
struct ConstructorDelegateU5BU5D_t9F2E83E8C6BCCB93989324DE52ABCBBEF02E9AB0;
struct GetDelegateU5BU5D_t77B67C49261DFB264C1C28EAED66A9D85E3B2D71;
struct RestResponseCookieU5BU5D_t975B18079ECAA956909AD97DBE4980CBA2A9761C;
struct IRestSerializerU5BU5D_t34399AFDE05514E7262E2C5CE2FA47FB3071871E;
struct ISerializerU5BU5D_t820E4DF2F68A33DC79B4E76EB1D5B9B4C95376A6;
struct Action_2U5BU5D_tB0F1C376BF96B2E39ACA065A7DCDB8FEAB227720;
struct EntryU5BU5D_tB23D6D155DBB06E7A1555A7DD22B90654920DE48;
struct EntryU5BU5D_t9B386D67ADE3B65788CDB97E308A773FCAF4E4AA;
struct EntryU5BU5D_tD9721CF72ABC340F8DC18C7A4D7673B70FAC18CA;
struct EntryU5BU5D_t1E67ED72E2980618FB43FED6D72E46D46D80E624;
struct EntryU5BU5D_t397E60DF1F0569A86AF32742C584D0F86F52D132;
struct EntryU5BU5D_t60C83E552A9B7713913AA260DDAA0AFF0A75765F;
struct EntryU5BU5D_tFFD47DBCCC476B87BD817FA74AFDE584F0541EAC;
struct EntryU5BU5D_t1B7D8350E1962640357EC234F4542A977DE48401;
struct EntryU5BU5D_tCBAFAE9CC6C01D68B9C8E3C30678A54F3319D671;
struct EntryU5BU5D_t6AB8023CFFFA881E31020BD4727D93554A245CB2;
struct EntryU5BU5D_t4DD162EBC3431636DAE3AAF081418112F1679689;
struct EntryU5BU5D_t8FDBC8790478EEFFC45EDAD53049EF6605CEAAC8;
struct EntryU5BU5D_t2B65EDE7305F6D61E78EBF575885BB5CFB5D970A;
struct EntryU5BU5D_t7CBC2FAE0BEDEEBC99E361833F311A82CBBA983C;
struct EntryU5BU5D_t4590BCC86121A7055EB896A780DD209FB2FCAC23;
struct EntryU5BU5D_t52C95C00987A1268F1B963C3723417B1A67FF617;
struct EntryU5BU5D_t00940937A9DB19AF39919845F47A12DF7C5E2309;
struct EntryU5BU5D_t270CD3A5A87D28FE29F155984E0DA4A17FE41030;
struct EntryU5BU5D_tA05855154E3EA6005A6BFFD041161FA3CA16AB93;
struct EntryU5BU5D_t82FE481899B3BF65BC2F324AF3D2BD6DC0E3471E;
struct EntryU5BU5D_t42A95599FA0769D1BECAF9BD66099251F0D8CDCE;
struct EntryU5BU5D_t2D787794BFFD3362F53A2E65DADD7A4A9B39CC22;
struct EntryU5BU5D_t275D0AFE2505B4FC559212BDD8B3A93059D2DE91;
struct EntryU5BU5D_t422F792695A2AA991135AFCD3F0FA801F18128AF;
struct EntryU5BU5D_t511C7DC57AC208468C9F46AEF2BE499BDDD717D2;
struct EntryU5BU5D_tB1F7DA0B5996C09A3A69C06537A892A3134C2767;
struct EntryU5BU5D_tF5CC3EE93B9FBBCCC7A452F6E9D76D302FDD1CA4;
struct EntryU5BU5D_t5B45BB595C408274D6503AC88689ACBAE537BB85;
struct EntryU5BU5D_t50748B96662D70C34AB62339BEB0FBCFD115A7C3;
struct EntryU5BU5D_t7E283CE6C88BF1DF0DBCB399F07FA5BAFC6FF36A;
struct EntryU5BU5D_tBCCE8BE5EDAF3995DD37B3E3CA6416B9F1AD3B4F;
struct Dictionary_2U5BU5D_t614CF5F73C21D4CA784BA68143DE3F1C30AFACD1;
struct SlotU5BU5D_t8257F5C54F6FB6F37D9C06F3E47AFF42700352BC;
struct IDictionary_2U5BU5D_t2C2F9C113C0D3893E4B5889451165C54E6B22D13;
struct IDictionary_2U5BU5D_t5C4D8D6F74057FBE7C392AC9F3048B83D50946FC;
struct KeyValuePair_2U5BU5D_tD9C4234C007D9E8A95C32892B105266257B39CF8;
struct KeyValuePair_2U5BU5D_t8C3F12530335E583991098146649D4B46C0B63A9;
struct KeyValuePair_2U5BU5D_t409864770A8E3F491BD74D29733C0608464B34F3;
struct KeyValuePair_2U5BU5D_t7E6FB70F15D5B37451C66C662276923E10A4BCB4;
struct KeyValuePair_2U5BU5D_tB58DC1959DB2AA7B3EBC21184A404600126D88ED;
struct KeyValuePair_2U5BU5D_tFA63F37235B75A2B0F2C6D74539FEFB174CFA8F3;
struct KeyValuePair_2U5BU5D_tB0C972A722371CD51998A44DF852B606C9D0E9D7;
struct KeyValuePair_2U5BU5D_tE5E1E9D07A6C5610F445C154329D3113144E28EF;
struct KeyValuePair_2U5BU5D_tE2871AE21B485E69F9CAFA0F5C878A009F20DAF4;
struct KeyValuePair_2U5BU5D_t9DA0E92688123C54D8D06012F6F5584E8023589F;
struct KeyValuePair_2U5BU5D_t7945C099FB6AD543223AF79C3414D94A45B38645;
struct KeyValuePair_2U5BU5D_t358A34EDFED4EA7E6CF7F7BF89DC69077B860367;
struct KeyValuePair_2U5BU5D_tBCFBA9EEBA4DEFD37F9969AA40072105156D50EE;
struct KeyValuePair_2U5BU5D_t7AA65A9F1F3CD2C538970F1BF2168AA5EC7B5E14;
struct KeyValuePair_2U5BU5D_tFA1678034F22D9C8058267B9F7F9667CF0BFD291;
struct KeyValuePair_2U5BU5D_t33F5777E6570BCE39D700D1F0C2ECBFD33D707FD;
struct KeyValuePair_2U5BU5D_t3FE01CCEB59BA3ABE4162961C98505A2AFD5A996;
struct KeyValuePair_2U5BU5D_t1588B3BCE6FA2027631A48EDC5BD10A9DD2C7FEB;
struct KeyValuePair_2U5BU5D_t6153A0D20E5F642B826A8C6AE68B98532DAE6F7B;
struct KeyValuePair_2U5BU5D_tE0D318851AA0BAF91E97F0DAD8CBBDA71746DAAC;
struct KeyValuePair_2U5BU5D_t8889ED24DA3A9D5FCE0A3FC3C76187CE9D65B88F;
struct KeyValuePair_2U5BU5D_tE68544F1E298BF15D57D570BAE96E594768F585C;
struct KeyValuePair_2U5BU5D_t2BD1D5589DE6ABCA7434D7CF88D8DEB73BDCD349;
struct KeyValuePair_2U5BU5D_tD81B802B8A4D928C8CC32F052005FF6AC0F22769;
struct KeyValuePair_2U5BU5D_t3F272074C4D5FAD361CD8D08C223D19701B32306;
struct KeyValuePair_2U5BU5D_t90D650B211D4280D9C648325D90FE4CDA0CE18D7;
struct KeyValuePair_2U5BU5D_tCF0C42BB56954C88E2CE002CCE8480DB3D56E7CD;
struct KeyValuePair_2U5BU5D_t9B3E64DC09C0E3ECFD2F19C53618D209E41F708F;
struct KeyValuePair_2U5BU5D_t111BC54FA8DBC362420058885EDEA33FC965470D;
struct KeyValuePair_2U5BU5D_t6A43305072C9AA017F5C3B4E4B2953AE5C85A27E;
struct KeyValuePair_2U5BU5D_tB67412496B160ACC4BAF355F3734822C85A56CE9;
struct KeyValuePair_2U5BU5D_t6BA07A264734C00DB92FF7890995EFF2C0A5D4CB;
struct List_1U5BU5D_t1BFA24A9302CE73F043EEFF97E8C6B37D4C5BFE7;
struct Func_1U5BU5D_tA89672D7353BB49176A6016672CF6B37B5C03E32;
struct DecompressionMethodsU5BU5D_tACC227FA2103DF1BAD69FE66F1084C3CE6B870B3;
struct Tuple_2U5BU5D_t8D83F888CA3F2F52C72C706D15F450168A909B71;
struct WeakReference_1U5BU5D_t5D09F024C0E1715447149CF2329F2A04F9A30BD4;
struct WeakReference_1U5BU5D_t71B912619D2BD72C6DA5D70B50141B80A3C09494;
struct AndroidJavaClassU5BU5D_t834F2CD8A8D5B7F304A36C401A57C24A723690C7;
struct AndroidJavaObjectU5BU5D_t7C44610B692603ADE504A389C4362A53613B5379;
struct AsyncOperationU5BU5D_t1226B1AC4292C78D644C5DF2546D741D4FA63809;
struct TileCoordU5BU5D_t5C91F6A2350FCA55BAD893C1C4ECAF553A8070F7;
struct TerrainMapU5BU5D_t441BCA567805A88C78D03D9B7C42090D2B056E10;
struct KeyCodeU5BU5D_tF4382F22534318B6E15A70B33AAF395B3D8D127F;
struct MaterialPropertyBlockU5BU5D_tC7C7738D79ED1E01D386FBC3AFD5F5E18B6F562A;
struct QuaternionU5BU5D_t26EB10EEE89DD3EF913D52E8797FAB841F6F2AA3;
struct TerrainU5BU5D_t09516803A2C01893489D5ACAA202A907B2972BDE;
struct SurfaceIdU5BU5D_t3509B01787A392571261147B55101F51D1737612;
struct WorldAnchorU5BU5D_t8FF7D9A45565A11A23D48201681989EF6B4199FB;
struct YieldInstructionU5BU5D_tCD93F1D08E7129DFB50745CB578A9ED33082AE94;
struct jvalueU5BU5D_t9AA52DD48CAF5296AE8A2F758A488A2B14B820E3;
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Object
// Windows.Foundation.Collections.IIterable`1<System.Collections.Generic.IEnumerable`1<System.Object>>
struct NOVTABLE IIterable_1_t902DCF3D3C27B82171829A44E6D71C5C195A6629 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m09831C624871C19D843F4008C044966FB5E9343C(IIterator_1_t338801CF751DA6B3F37B9D6ED55A0F3F57F58AB1** comReturnValue) = 0;
};
// Windows.Foundation.Collections.IIterable`1<System.Collections.Generic.IReadOnlyList`1<System.Object>>
struct NOVTABLE IIterable_1_tAD0B29100AA6FD6F3FC97D24D1376F06F6DF571C : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m88718ECE69AC144FE3F65AC0C64D13F46A794D5B(IIterator_1_t778CBEADF41F93C0FF6B5A7DCD14292A25473632** comReturnValue) = 0;
};
// Windows.Foundation.Collections.IIterable`1<System.Collections.Generic.KeyValuePair`2<System.Object,System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>>>
struct NOVTABLE IIterable_1_tFCD5C583FB1D757B37D67A1CC2B86516E33A1E81 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mF59AF9C1212CABC035769AE6EDBF8BE80A6C6F76(IIterator_1_tD1BD01D03923D51911821DBA75B91CD7ADEF23EC** comReturnValue) = 0;
};
// Windows.Foundation.Collections.IIterable`1<System.Collections.Generic.KeyValuePair`2<System.UInt32,System.Boolean>>
struct NOVTABLE IIterable_1_t4A1630DD14BDC255B00BA77E1F4854DCA53C3B6A : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m84004E4C50675B9B5869094B49CB983EA40D2C7F(IIterator_1_tA9CA75CED7DF4356AA7250A307560CCB542832F9** comReturnValue) = 0;
};
// Windows.Foundation.Collections.IIterable`1<System.Collections.IEnumerable>
struct NOVTABLE IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mFFB1B49776648BCFAE14E56BCC852C171A2EED56(IIterator_1_t62801DBDE6FD9C74727BB69771A29FE27EFE219A** comReturnValue) = 0;
};
// Windows.Foundation.Collections.IIterable`1<System.Collections.IList>
struct NOVTABLE IIterable_1_tBA530A414D1520B7E2769DDA0F4ADD1881CEA550 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m551F37D94BCD6465A842A30F21A34B055D1150EB(IIterator_1_t434D274362AD0E7DED4E226329536215034B75E0** comReturnValue) = 0;
};
// Windows.Foundation.Collections.IIterable`1<System.IDisposable>
struct NOVTABLE IIterable_1_t9040704BA642F3FA15C2C50AF7FDF3484F397EE5 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m66AE02B95C12AA29398F853CBBCB981F758D1D7B(IIterator_1_tFCCB84984712ACE35E2C9D0FFBB7CFE2CD913B43** comReturnValue) = 0;
};
// Windows.Foundation.Collections.IIterable`1<System.Object>
struct NOVTABLE IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) = 0;
};
// Windows.Foundation.Collections.IVectorView`1<System.Collections.Generic.IEnumerable`1<System.Object>>
struct NOVTABLE IVectorView_1_t9BFDBB37800EE82FC8B39FE28FBE86BE747B481B : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m9924D94FBD36D64EAA125D29293C248AFC73E5E8(uint32_t ___index0, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397** comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mF7FEAA3100FAC4B557417C37DA14AEE180E542C6(uint32_t* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m6FA4D8A1C13D23137E4E2F4982CE4F385AE370BD(IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m5AEE14AEFEBBABB1CC1F5FCE81F23AC686A3014E(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397** ___items1, uint32_t* comReturnValue) = 0;
};
// Windows.Foundation.Collections.IVectorView`1<System.Collections.Generic.IReadOnlyList`1<System.Object>>
struct NOVTABLE IVectorView_1_tECB3F81306E0DC782E13A3AA3EFEEC027F7D66FF : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mB357BB83CB6340CB809ADAFDFA431CB37C718697(uint32_t ___index0, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356** comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m05689B9A220C50D9559006C74CE62C86DA6732CE(uint32_t* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m3CDB294697B28005E10A9D0B3729E1D38921C7F7(IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m84967CE072D59C901C844B77694FBCFFD89BA532(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356** ___items1, uint32_t* comReturnValue) = 0;
};
// Windows.Foundation.Collections.IVectorView`1<System.Collections.Generic.KeyValuePair`2<System.Object,System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>>>
struct NOVTABLE IVectorView_1_t69805CA49F9F05C3D467DDD8CDF592BAE9829294 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m5F164E83F2D886160F9FA8DB1E3F827CC1E14BC5(uint32_t ___index0, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8** comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mFF969BF216455912104F63F12A206C5C8E057F82(uint32_t* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m397F42F0DC6746AB415E26A3F8A32202172F912F(IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m89112520C895D2F9CC18EAA58CBCC4362B181B65(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8** ___items1, uint32_t* comReturnValue) = 0;
};
// Windows.Foundation.Collections.IVectorView`1<System.Collections.Generic.KeyValuePair`2<System.UInt32,System.Boolean>>
struct NOVTABLE IVectorView_1_tFCA49C96F78B2EE6FBCA73E1EE14421518C4E513 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m82BF11FCC6F017935978CAC95516382E194B45AF(uint32_t ___index0, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744** comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mB0EBB29E83E6C8F9A437AAB57E114DB8C8DAEE60(uint32_t* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m6F08F5B06801BE282280040942346363F8F462E0(IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m5057CD976562F3D6F7829B64D97A2B63C388A597(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744** ___items1, uint32_t* comReturnValue) = 0;
};
// Windows.Foundation.Collections.IVectorView`1<System.Collections.IEnumerable>
struct NOVTABLE IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mE92F40A15F7A4160BC73DC34BE2B952CCB6A6CC9(uint32_t ___index0, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7** comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m6C9A5EB233BDD0D6840D71594DBEC7005E572679(uint32_t* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m624FC07BF1FB0CE5A3988E9DC8FE4F4DEFA7BB19(IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_mA6B7C5129191F9FABD887800915DB7D141B7BA3D(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7** ___items1, uint32_t* comReturnValue) = 0;
};
// Windows.Foundation.Collections.IVectorView`1<System.Collections.IList>
struct NOVTABLE IVectorView_1_tBE73E017D41260BDE192983618296A7C175DD39B : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mAB5FBF2E11782C3284709DBFA4DE5F15F3819B10(uint32_t ___index0, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39** comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mBB2E069A39C95E9B799DF56A687C3378593D6DE8(uint32_t* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mE04A0DB765A4541758E866B3039F1064401BE09B(IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7A30B074D4DE286EDF193293E625DF60ECDBB23A(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39** ___items1, uint32_t* comReturnValue) = 0;
};
// Windows.Foundation.Collections.IVectorView`1<System.IDisposable>
struct NOVTABLE IVectorView_1_tF3B2B40FDDDE17CEA38544E22397D2F5C2698E85 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mF09C0ACF185B36DEE44FC0D08172713153119DE1(uint32_t ___index0, IClosable_t5808AF951019E4388C66F7A88AC569F52F581167** comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m3313994A76530A8C4479916841C82C0D08EFAC79(uint32_t* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mDB1287B8A5CC74E6FCC29981DD88C2C7386EC4E7(IClosable_t5808AF951019E4388C66F7A88AC569F52F581167* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m4955F7C6504C5A36D92A21A0AC6FDD34FF016A93(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IClosable_t5808AF951019E4388C66F7A88AC569F52F581167** ___items1, uint32_t* comReturnValue) = 0;
};
// Windows.Foundation.Collections.IVectorView`1<System.Object>
struct NOVTABLE IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) = 0;
};
// Windows.Foundation.Collections.IVector`1<System.Collections.Generic.KeyValuePair`2<System.Object,System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>>>
struct NOVTABLE IVector_1_tA8BBEDB64600DD0270EF6BC1502BEE07B33DADA8 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IVector_1_GetAt_mB9A634737201EEA838684E0CD98B293372DDA5C0(uint32_t ___index0, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8** comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_get_Size_mE6A05F585199F42889CC3984C5FBEAA6CE03C8AA(uint32_t* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_GetView_m2BAC87C23586B501CED9D54EC40EDC518884062F(IVectorView_1_t69805CA49F9F05C3D467DDD8CDF592BAE9829294** comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_IndexOf_m8CB69750D43D405C4B30E51E52E71784035639F4(IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_SetAt_mDEBE41EF1575F88796CEEB65A1A1F85C82E7EB96(uint32_t ___index0, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8* ___value1) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_InsertAt_mDEB923BA795B4AAE42D298B8AEE9C7E2DE469FCD(uint32_t ___index0, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8* ___value1) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAt_mE1B7A99F7046C040098DD1CAE7EA7E32C0F3C16A(uint32_t ___index0) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_Append_mB3499FB1879FDC41DD3CFE9C04CDBF4B466ED76A(IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8* ___value0) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAtEnd_mE5547AB80147C26DD751688738D1097839D33B03() = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_Clear_m516C966093B2F7D899412ECC25CFB52A8C285738() = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_GetMany_m9DF8D30FA569E3B955345B76EA778607A19CCE1E(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8** ___items1, uint32_t* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_ReplaceAll_m54577160B8C676666CD0A8109ADB80D9BA1F0E08(uint32_t ___items0ArraySize, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8** ___items0) = 0;
};
// Windows.Foundation.Collections.IVector`1<System.Collections.Generic.KeyValuePair`2<System.UInt32,System.Boolean>>
struct NOVTABLE IVector_1_tE8818B4443327A9D7C91EF8D8EF443CEFD0FB748 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IVector_1_GetAt_mE066A16085480F78B7E392F724384CFC47D54843(uint32_t ___index0, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744** comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_get_Size_m635FE72501D329030AC7924DD9C437C7F4D75A95(uint32_t* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_GetView_mE6C51E4D06F851D6D7DCEF00913E91FA575EE5A5(IVectorView_1_tFCA49C96F78B2EE6FBCA73E1EE14421518C4E513** comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_IndexOf_mE48922067E76DEBF9F186447275D02B22330681C(IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_SetAt_mDB9FE22E64FEF2C90324077B03065E467BA94364(uint32_t ___index0, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744* ___value1) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_InsertAt_m2985F951107683DAE582F72F6665DF709DA6B959(uint32_t ___index0, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744* ___value1) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAt_mDBE3105D4BC5400C99C05D205244CD0DA9681E67(uint32_t ___index0) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_Append_mDB2107A648398375EDA988F08791AB2399396E1C(IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744* ___value0) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAtEnd_mB6294D73279B25379EC8B2669196FE9C435962B7() = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_Clear_mCF03E3AC9B690A8744F34398EA0BEFE981FA1872() = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_GetMany_m49529BFF5346D140BB84A5449B38CF72F2D4C915(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744** ___items1, uint32_t* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IVector_1_ReplaceAll_mFFB679E4DCE1F05C00385BDDAF91B49D02F0C074(uint32_t ___items0ArraySize, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744** ___items0) = 0;
};
// Windows.Foundation.IClosable
struct NOVTABLE IClosable_t5808AF951019E4388C66F7A88AC569F52F581167 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IClosable_Close_m9A054CE065D4C97FAF595A8F92B3CB3463C5BCD6() = 0;
};
// Windows.UI.Xaml.Interop.IBindableIterable
struct NOVTABLE IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) = 0;
};
// Windows.UI.Xaml.Interop.IBindableVector
struct NOVTABLE IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0;
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) = 0;
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) = 0;
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) = 0;
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) = 0;
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() = 0;
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() = 0;
};
// <>f__AnonymousType0`2<System.Reflection.PropertyInfo,RestSharp.Serializers.SerializeAsAttribute>
struct U3CU3Ef__AnonymousType0_2_t512856A5034FB47C50B53D24A8ED30E795D91C94 : public RuntimeObject
{
public:
// <p>j__TPar <>f__AnonymousType0`2::<p>i__Field
PropertyInfo_t * ___U3CpU3Ei__Field_0;
// <indexAttribute>j__TPar <>f__AnonymousType0`2::<indexAttribute>i__Field
SerializeAsAttribute_t5BDAB81BD55A1D66394AD335A5B7296E2389CE54 * ___U3CindexAttributeU3Ei__Field_1;
public:
inline static int32_t get_offset_of_U3CpU3Ei__Field_0() { return static_cast<int32_t>(offsetof(U3CU3Ef__AnonymousType0_2_t512856A5034FB47C50B53D24A8ED30E795D91C94, ___U3CpU3Ei__Field_0)); }
inline PropertyInfo_t * get_U3CpU3Ei__Field_0() const { return ___U3CpU3Ei__Field_0; }
inline PropertyInfo_t ** get_address_of_U3CpU3Ei__Field_0() { return &___U3CpU3Ei__Field_0; }
inline void set_U3CpU3Ei__Field_0(PropertyInfo_t * value)
{
___U3CpU3Ei__Field_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CpU3Ei__Field_0), (void*)value);
}
inline static int32_t get_offset_of_U3CindexAttributeU3Ei__Field_1() { return static_cast<int32_t>(offsetof(U3CU3Ef__AnonymousType0_2_t512856A5034FB47C50B53D24A8ED30E795D91C94, ___U3CindexAttributeU3Ei__Field_1)); }
inline SerializeAsAttribute_t5BDAB81BD55A1D66394AD335A5B7296E2389CE54 * get_U3CindexAttributeU3Ei__Field_1() const { return ___U3CindexAttributeU3Ei__Field_1; }
inline SerializeAsAttribute_t5BDAB81BD55A1D66394AD335A5B7296E2389CE54 ** get_address_of_U3CindexAttributeU3Ei__Field_1() { return &___U3CindexAttributeU3Ei__Field_1; }
inline void set_U3CindexAttributeU3Ei__Field_1(SerializeAsAttribute_t5BDAB81BD55A1D66394AD335A5B7296E2389CE54 * value)
{
___U3CindexAttributeU3Ei__Field_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CindexAttributeU3Ei__Field_1), (void*)value);
}
};
// I18N.CJK.GB18030Source_GB18030Map
struct GB18030Map_tF871AED7945542EDA06D956BF9D16CE847053D66 : public RuntimeObject
{
public:
// System.Int32 I18N.CJK.GB18030Source_GB18030Map::UStart
int32_t ___UStart_0;
// System.Int32 I18N.CJK.GB18030Source_GB18030Map::UEnd
int32_t ___UEnd_1;
// System.Int64 I18N.CJK.GB18030Source_GB18030Map::GStart
int64_t ___GStart_2;
// System.Int64 I18N.CJK.GB18030Source_GB18030Map::GEnd
int64_t ___GEnd_3;
// System.Boolean I18N.CJK.GB18030Source_GB18030Map::Dummy
bool ___Dummy_4;
public:
inline static int32_t get_offset_of_UStart_0() { return static_cast<int32_t>(offsetof(GB18030Map_tF871AED7945542EDA06D956BF9D16CE847053D66, ___UStart_0)); }
inline int32_t get_UStart_0() const { return ___UStart_0; }
inline int32_t* get_address_of_UStart_0() { return &___UStart_0; }
inline void set_UStart_0(int32_t value)
{
___UStart_0 = value;
}
inline static int32_t get_offset_of_UEnd_1() { return static_cast<int32_t>(offsetof(GB18030Map_tF871AED7945542EDA06D956BF9D16CE847053D66, ___UEnd_1)); }
inline int32_t get_UEnd_1() const { return ___UEnd_1; }
inline int32_t* get_address_of_UEnd_1() { return &___UEnd_1; }
inline void set_UEnd_1(int32_t value)
{
___UEnd_1 = value;
}
inline static int32_t get_offset_of_GStart_2() { return static_cast<int32_t>(offsetof(GB18030Map_tF871AED7945542EDA06D956BF9D16CE847053D66, ___GStart_2)); }
inline int64_t get_GStart_2() const { return ___GStart_2; }
inline int64_t* get_address_of_GStart_2() { return &___GStart_2; }
inline void set_GStart_2(int64_t value)
{
___GStart_2 = value;
}
inline static int32_t get_offset_of_GEnd_3() { return static_cast<int32_t>(offsetof(GB18030Map_tF871AED7945542EDA06D956BF9D16CE847053D66, ___GEnd_3)); }
inline int64_t get_GEnd_3() const { return ___GEnd_3; }
inline int64_t* get_address_of_GEnd_3() { return &___GEnd_3; }
inline void set_GEnd_3(int64_t value)
{
___GEnd_3 = value;
}
inline static int32_t get_offset_of_Dummy_4() { return static_cast<int32_t>(offsetof(GB18030Map_tF871AED7945542EDA06D956BF9D16CE847053D66, ___Dummy_4)); }
inline bool get_Dummy_4() const { return ___Dummy_4; }
inline bool* get_address_of_Dummy_4() { return &___Dummy_4; }
inline void set_Dummy_4(bool value)
{
___Dummy_4 = value;
}
};
// Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect_RegisteredObjects
struct RegisteredObjects_tA4BD5BA1EC5BC4C22B5586A2BDC9C3CDAA927196 : public RuntimeObject
{
public:
// Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.IProximityEffectObjectProvider Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect_RegisteredObjects::objectProvider
RuntimeObject* ___objectProvider_0;
// System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect_ObjectProximityInfo> Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect_RegisteredObjects::proximityInfos
List_1_t7181D43C32B105C4D9388835E45C16924C0FCB4F * ___proximityInfos_1;
public:
inline static int32_t get_offset_of_objectProvider_0() { return static_cast<int32_t>(offsetof(RegisteredObjects_tA4BD5BA1EC5BC4C22B5586A2BDC9C3CDAA927196, ___objectProvider_0)); }
inline RuntimeObject* get_objectProvider_0() const { return ___objectProvider_0; }
inline RuntimeObject** get_address_of_objectProvider_0() { return &___objectProvider_0; }
inline void set_objectProvider_0(RuntimeObject* value)
{
___objectProvider_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___objectProvider_0), (void*)value);
}
inline static int32_t get_offset_of_proximityInfos_1() { return static_cast<int32_t>(offsetof(RegisteredObjects_tA4BD5BA1EC5BC4C22B5586A2BDC9C3CDAA927196, ___proximityInfos_1)); }
inline List_1_t7181D43C32B105C4D9388835E45C16924C0FCB4F * get_proximityInfos_1() const { return ___proximityInfos_1; }
inline List_1_t7181D43C32B105C4D9388835E45C16924C0FCB4F ** get_address_of_proximityInfos_1() { return &___proximityInfos_1; }
inline void set_proximityInfos_1(List_1_t7181D43C32B105C4D9388835E45C16924C0FCB4F * value)
{
___proximityInfos_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___proximityInfos_1), (void*)value);
}
};
// Microsoft.MixedReality.Toolkit.UI.VisualProfile
struct VisualProfile_t313933FEA2F20366458BF72EA40F74E1662696D5 : public RuntimeObject
{
public:
// UnityEngine.GameObject Microsoft.MixedReality.Toolkit.UI.VisualProfile::Target
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___Target_0;
// Microsoft.MixedReality.Toolkit.UI.Theme Microsoft.MixedReality.Toolkit.UI.VisualProfile::Theme
Theme_tC61C562C756A17AF1A1C67484C63446DD6D40CD6 * ___Theme_1;
public:
inline static int32_t get_offset_of_Target_0() { return static_cast<int32_t>(offsetof(VisualProfile_t313933FEA2F20366458BF72EA40F74E1662696D5, ___Target_0)); }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * get_Target_0() const { return ___Target_0; }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F ** get_address_of_Target_0() { return &___Target_0; }
inline void set_Target_0(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * value)
{
___Target_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Target_0), (void*)value);
}
inline static int32_t get_offset_of_Theme_1() { return static_cast<int32_t>(offsetof(VisualProfile_t313933FEA2F20366458BF72EA40F74E1662696D5, ___Theme_1)); }
inline Theme_tC61C562C756A17AF1A1C67484C63446DD6D40CD6 * get_Theme_1() const { return ___Theme_1; }
inline Theme_tC61C562C756A17AF1A1C67484C63446DD6D40CD6 ** get_address_of_Theme_1() { return &___Theme_1; }
inline void set_Theme_1(Theme_tC61C562C756A17AF1A1C67484C63446DD6D40CD6 * value)
{
___Theme_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Theme_1), (void*)value);
}
};
// RestSharp.FileParameter
struct FileParameter_tB262F1C3BDC927DD4E88C7CB36617FAC83E85F89 : public RuntimeObject
{
public:
// System.Int64 RestSharp.FileParameter::<ContentLength>k__BackingField
int64_t ___U3CContentLengthU3Ek__BackingField_0;
// System.Action`1<System.IO.Stream> RestSharp.FileParameter::<Writer>k__BackingField
Action_1_tC8BAB6C7B8E5508F10B3A5EF475B0FFAE7688621 * ___U3CWriterU3Ek__BackingField_1;
// System.String RestSharp.FileParameter::<FileName>k__BackingField
String_t* ___U3CFileNameU3Ek__BackingField_2;
// System.String RestSharp.FileParameter::<ContentType>k__BackingField
String_t* ___U3CContentTypeU3Ek__BackingField_3;
// System.String RestSharp.FileParameter::<Name>k__BackingField
String_t* ___U3CNameU3Ek__BackingField_4;
public:
inline static int32_t get_offset_of_U3CContentLengthU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(FileParameter_tB262F1C3BDC927DD4E88C7CB36617FAC83E85F89, ___U3CContentLengthU3Ek__BackingField_0)); }
inline int64_t get_U3CContentLengthU3Ek__BackingField_0() const { return ___U3CContentLengthU3Ek__BackingField_0; }
inline int64_t* get_address_of_U3CContentLengthU3Ek__BackingField_0() { return &___U3CContentLengthU3Ek__BackingField_0; }
inline void set_U3CContentLengthU3Ek__BackingField_0(int64_t value)
{
___U3CContentLengthU3Ek__BackingField_0 = value;
}
inline static int32_t get_offset_of_U3CWriterU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(FileParameter_tB262F1C3BDC927DD4E88C7CB36617FAC83E85F89, ___U3CWriterU3Ek__BackingField_1)); }
inline Action_1_tC8BAB6C7B8E5508F10B3A5EF475B0FFAE7688621 * get_U3CWriterU3Ek__BackingField_1() const { return ___U3CWriterU3Ek__BackingField_1; }
inline Action_1_tC8BAB6C7B8E5508F10B3A5EF475B0FFAE7688621 ** get_address_of_U3CWriterU3Ek__BackingField_1() { return &___U3CWriterU3Ek__BackingField_1; }
inline void set_U3CWriterU3Ek__BackingField_1(Action_1_tC8BAB6C7B8E5508F10B3A5EF475B0FFAE7688621 * value)
{
___U3CWriterU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CWriterU3Ek__BackingField_1), (void*)value);
}
inline static int32_t get_offset_of_U3CFileNameU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(FileParameter_tB262F1C3BDC927DD4E88C7CB36617FAC83E85F89, ___U3CFileNameU3Ek__BackingField_2)); }
inline String_t* get_U3CFileNameU3Ek__BackingField_2() const { return ___U3CFileNameU3Ek__BackingField_2; }
inline String_t** get_address_of_U3CFileNameU3Ek__BackingField_2() { return &___U3CFileNameU3Ek__BackingField_2; }
inline void set_U3CFileNameU3Ek__BackingField_2(String_t* value)
{
___U3CFileNameU3Ek__BackingField_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CFileNameU3Ek__BackingField_2), (void*)value);
}
inline static int32_t get_offset_of_U3CContentTypeU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(FileParameter_tB262F1C3BDC927DD4E88C7CB36617FAC83E85F89, ___U3CContentTypeU3Ek__BackingField_3)); }
inline String_t* get_U3CContentTypeU3Ek__BackingField_3() const { return ___U3CContentTypeU3Ek__BackingField_3; }
inline String_t** get_address_of_U3CContentTypeU3Ek__BackingField_3() { return &___U3CContentTypeU3Ek__BackingField_3; }
inline void set_U3CContentTypeU3Ek__BackingField_3(String_t* value)
{
___U3CContentTypeU3Ek__BackingField_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CContentTypeU3Ek__BackingField_3), (void*)value);
}
inline static int32_t get_offset_of_U3CNameU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(FileParameter_tB262F1C3BDC927DD4E88C7CB36617FAC83E85F89, ___U3CNameU3Ek__BackingField_4)); }
inline String_t* get_U3CNameU3Ek__BackingField_4() const { return ___U3CNameU3Ek__BackingField_4; }
inline String_t** get_address_of_U3CNameU3Ek__BackingField_4() { return &___U3CNameU3Ek__BackingField_4; }
inline void set_U3CNameU3Ek__BackingField_4(String_t* value)
{
___U3CNameU3Ek__BackingField_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CNameU3Ek__BackingField_4), (void*)value);
}
};
// RestSharp.HttpFile
struct HttpFile_tCD9C1B878F9408D9ABE597528230596E4834190E : public RuntimeObject
{
public:
// System.Int64 RestSharp.HttpFile::<ContentLength>k__BackingField
int64_t ___U3CContentLengthU3Ek__BackingField_0;
// System.Action`1<System.IO.Stream> RestSharp.HttpFile::<Writer>k__BackingField
Action_1_tC8BAB6C7B8E5508F10B3A5EF475B0FFAE7688621 * ___U3CWriterU3Ek__BackingField_1;
// System.String RestSharp.HttpFile::<FileName>k__BackingField
String_t* ___U3CFileNameU3Ek__BackingField_2;
// System.String RestSharp.HttpFile::<ContentType>k__BackingField
String_t* ___U3CContentTypeU3Ek__BackingField_3;
// System.String RestSharp.HttpFile::<Name>k__BackingField
String_t* ___U3CNameU3Ek__BackingField_4;
public:
inline static int32_t get_offset_of_U3CContentLengthU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(HttpFile_tCD9C1B878F9408D9ABE597528230596E4834190E, ___U3CContentLengthU3Ek__BackingField_0)); }
inline int64_t get_U3CContentLengthU3Ek__BackingField_0() const { return ___U3CContentLengthU3Ek__BackingField_0; }
inline int64_t* get_address_of_U3CContentLengthU3Ek__BackingField_0() { return &___U3CContentLengthU3Ek__BackingField_0; }
inline void set_U3CContentLengthU3Ek__BackingField_0(int64_t value)
{
___U3CContentLengthU3Ek__BackingField_0 = value;
}
inline static int32_t get_offset_of_U3CWriterU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(HttpFile_tCD9C1B878F9408D9ABE597528230596E4834190E, ___U3CWriterU3Ek__BackingField_1)); }
inline Action_1_tC8BAB6C7B8E5508F10B3A5EF475B0FFAE7688621 * get_U3CWriterU3Ek__BackingField_1() const { return ___U3CWriterU3Ek__BackingField_1; }
inline Action_1_tC8BAB6C7B8E5508F10B3A5EF475B0FFAE7688621 ** get_address_of_U3CWriterU3Ek__BackingField_1() { return &___U3CWriterU3Ek__BackingField_1; }
inline void set_U3CWriterU3Ek__BackingField_1(Action_1_tC8BAB6C7B8E5508F10B3A5EF475B0FFAE7688621 * value)
{
___U3CWriterU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CWriterU3Ek__BackingField_1), (void*)value);
}
inline static int32_t get_offset_of_U3CFileNameU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(HttpFile_tCD9C1B878F9408D9ABE597528230596E4834190E, ___U3CFileNameU3Ek__BackingField_2)); }
inline String_t* get_U3CFileNameU3Ek__BackingField_2() const { return ___U3CFileNameU3Ek__BackingField_2; }
inline String_t** get_address_of_U3CFileNameU3Ek__BackingField_2() { return &___U3CFileNameU3Ek__BackingField_2; }
inline void set_U3CFileNameU3Ek__BackingField_2(String_t* value)
{
___U3CFileNameU3Ek__BackingField_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CFileNameU3Ek__BackingField_2), (void*)value);
}
inline static int32_t get_offset_of_U3CContentTypeU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(HttpFile_tCD9C1B878F9408D9ABE597528230596E4834190E, ___U3CContentTypeU3Ek__BackingField_3)); }
inline String_t* get_U3CContentTypeU3Ek__BackingField_3() const { return ___U3CContentTypeU3Ek__BackingField_3; }
inline String_t** get_address_of_U3CContentTypeU3Ek__BackingField_3() { return &___U3CContentTypeU3Ek__BackingField_3; }
inline void set_U3CContentTypeU3Ek__BackingField_3(String_t* value)
{
___U3CContentTypeU3Ek__BackingField_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CContentTypeU3Ek__BackingField_3), (void*)value);
}
inline static int32_t get_offset_of_U3CNameU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(HttpFile_tCD9C1B878F9408D9ABE597528230596E4834190E, ___U3CNameU3Ek__BackingField_4)); }
inline String_t* get_U3CNameU3Ek__BackingField_4() const { return ___U3CNameU3Ek__BackingField_4; }
inline String_t** get_address_of_U3CNameU3Ek__BackingField_4() { return &___U3CNameU3Ek__BackingField_4; }
inline void set_U3CNameU3Ek__BackingField_4(String_t* value)
{
___U3CNameU3Ek__BackingField_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CNameU3Ek__BackingField_4), (void*)value);
}
};
// RestSharp.HttpHeader
struct HttpHeader_t0228004BA6E95AF8DA41FF8ACB7EEA56E025585E : public RuntimeObject
{
public:
// System.String RestSharp.HttpHeader::<Name>k__BackingField
String_t* ___U3CNameU3Ek__BackingField_0;
// System.String RestSharp.HttpHeader::<Value>k__BackingField
String_t* ___U3CValueU3Ek__BackingField_1;
public:
inline static int32_t get_offset_of_U3CNameU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(HttpHeader_t0228004BA6E95AF8DA41FF8ACB7EEA56E025585E, ___U3CNameU3Ek__BackingField_0)); }
inline String_t* get_U3CNameU3Ek__BackingField_0() const { return ___U3CNameU3Ek__BackingField_0; }
inline String_t** get_address_of_U3CNameU3Ek__BackingField_0() { return &___U3CNameU3Ek__BackingField_0; }
inline void set_U3CNameU3Ek__BackingField_0(String_t* value)
{
___U3CNameU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CNameU3Ek__BackingField_0), (void*)value);
}
inline static int32_t get_offset_of_U3CValueU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(HttpHeader_t0228004BA6E95AF8DA41FF8ACB7EEA56E025585E, ___U3CValueU3Ek__BackingField_1)); }
inline String_t* get_U3CValueU3Ek__BackingField_1() const { return ___U3CValueU3Ek__BackingField_1; }
inline String_t** get_address_of_U3CValueU3Ek__BackingField_1() { return &___U3CValueU3Ek__BackingField_1; }
inline void set_U3CValueU3Ek__BackingField_1(String_t* value)
{
___U3CValueU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CValueU3Ek__BackingField_1), (void*)value);
}
};
// RestSharp.HttpParameter
struct HttpParameter_tF21E3F20B1E60719E1A88FFDD217F839FBAC1F99 : public RuntimeObject
{
public:
// System.String RestSharp.HttpParameter::<Name>k__BackingField
String_t* ___U3CNameU3Ek__BackingField_0;
// System.String RestSharp.HttpParameter::<Value>k__BackingField
String_t* ___U3CValueU3Ek__BackingField_1;
// System.String RestSharp.HttpParameter::<ContentType>k__BackingField
String_t* ___U3CContentTypeU3Ek__BackingField_2;
public:
inline static int32_t get_offset_of_U3CNameU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(HttpParameter_tF21E3F20B1E60719E1A88FFDD217F839FBAC1F99, ___U3CNameU3Ek__BackingField_0)); }
inline String_t* get_U3CNameU3Ek__BackingField_0() const { return ___U3CNameU3Ek__BackingField_0; }
inline String_t** get_address_of_U3CNameU3Ek__BackingField_0() { return &___U3CNameU3Ek__BackingField_0; }
inline void set_U3CNameU3Ek__BackingField_0(String_t* value)
{
___U3CNameU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CNameU3Ek__BackingField_0), (void*)value);
}
inline static int32_t get_offset_of_U3CValueU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(HttpParameter_tF21E3F20B1E60719E1A88FFDD217F839FBAC1F99, ___U3CValueU3Ek__BackingField_1)); }
inline String_t* get_U3CValueU3Ek__BackingField_1() const { return ___U3CValueU3Ek__BackingField_1; }
inline String_t** get_address_of_U3CValueU3Ek__BackingField_1() { return &___U3CValueU3Ek__BackingField_1; }
inline void set_U3CValueU3Ek__BackingField_1(String_t* value)
{
___U3CValueU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CValueU3Ek__BackingField_1), (void*)value);
}
inline static int32_t get_offset_of_U3CContentTypeU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(HttpParameter_tF21E3F20B1E60719E1A88FFDD217F839FBAC1F99, ___U3CContentTypeU3Ek__BackingField_2)); }
inline String_t* get_U3CContentTypeU3Ek__BackingField_2() const { return ___U3CContentTypeU3Ek__BackingField_2; }
inline String_t** get_address_of_U3CContentTypeU3Ek__BackingField_2() { return &___U3CContentTypeU3Ek__BackingField_2; }
inline void set_U3CContentTypeU3Ek__BackingField_2(String_t* value)
{
___U3CContentTypeU3Ek__BackingField_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CContentTypeU3Ek__BackingField_2), (void*)value);
}
};
// RestSharp.NameValuePair
struct NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44 : public RuntimeObject
{
public:
// System.String RestSharp.NameValuePair::<Name>k__BackingField
String_t* ___U3CNameU3Ek__BackingField_0;
// System.String RestSharp.NameValuePair::<Value>k__BackingField
String_t* ___U3CValueU3Ek__BackingField_1;
public:
inline static int32_t get_offset_of_U3CNameU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44, ___U3CNameU3Ek__BackingField_0)); }
inline String_t* get_U3CNameU3Ek__BackingField_0() const { return ___U3CNameU3Ek__BackingField_0; }
inline String_t** get_address_of_U3CNameU3Ek__BackingField_0() { return &___U3CNameU3Ek__BackingField_0; }
inline void set_U3CNameU3Ek__BackingField_0(String_t* value)
{
___U3CNameU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CNameU3Ek__BackingField_0), (void*)value);
}
inline static int32_t get_offset_of_U3CValueU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44, ___U3CValueU3Ek__BackingField_1)); }
inline String_t* get_U3CValueU3Ek__BackingField_1() const { return ___U3CValueU3Ek__BackingField_1; }
inline String_t** get_address_of_U3CValueU3Ek__BackingField_1() { return &___U3CValueU3Ek__BackingField_1; }
inline void set_U3CValueU3Ek__BackingField_1(String_t* value)
{
___U3CValueU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CValueU3Ek__BackingField_1), (void*)value);
}
};
struct NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44_StaticFields
{
public:
// RestSharp.NameValuePair RestSharp.NameValuePair::Empty
NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44 * ___Empty_2;
public:
inline static int32_t get_offset_of_Empty_2() { return static_cast<int32_t>(offsetof(NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44_StaticFields, ___Empty_2)); }
inline NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44 * get_Empty_2() const { return ___Empty_2; }
inline NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44 ** get_address_of_Empty_2() { return &___Empty_2; }
inline void set_Empty_2(NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44 * value)
{
___Empty_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Empty_2), (void*)value);
}
};
// System.Array_EmptyInternalEnumerator`1<System.Type>
struct EmptyInternalEnumerator_1_tC82C87CC446F0F9A9D935007E2BAEA2880312BF3 : public RuntimeObject
{
public:
public:
};
struct EmptyInternalEnumerator_1_tC82C87CC446F0F9A9D935007E2BAEA2880312BF3_StaticFields
{
public:
// System.Array_EmptyInternalEnumerator`1<T> System.Array_EmptyInternalEnumerator`1::Value
EmptyInternalEnumerator_1_tC82C87CC446F0F9A9D935007E2BAEA2880312BF3 * ___Value_0;
public:
inline static int32_t get_offset_of_Value_0() { return static_cast<int32_t>(offsetof(EmptyInternalEnumerator_1_tC82C87CC446F0F9A9D935007E2BAEA2880312BF3_StaticFields, ___Value_0)); }
inline EmptyInternalEnumerator_1_tC82C87CC446F0F9A9D935007E2BAEA2880312BF3 * get_Value_0() const { return ___Value_0; }
inline EmptyInternalEnumerator_1_tC82C87CC446F0F9A9D935007E2BAEA2880312BF3 ** get_address_of_Value_0() { return &___Value_0; }
inline void set_Value_0(EmptyInternalEnumerator_1_tC82C87CC446F0F9A9D935007E2BAEA2880312BF3 * value)
{
___Value_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Value_0), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2<System.Type,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>
struct Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::buckets
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___buckets_0;
// System.Collections.Generic.Dictionary`2_Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::entries
EntryU5BU5D_t00940937A9DB19AF39919845F47A12DF7C5E2309* ___entries_1;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_2;
// System.Int32 System.Collections.Generic.Dictionary`2::version
int32_t ___version_3;
// System.Int32 System.Collections.Generic.Dictionary`2::freeList
int32_t ___freeList_4;
// System.Int32 System.Collections.Generic.Dictionary`2::freeCount
int32_t ___freeCount_5;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::comparer
RuntimeObject* ___comparer_6;
// System.Collections.Generic.Dictionary`2_KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::keys
KeyCollection_tD585B451EB441FBA504B64BE8F4A7AE5FC5690ED * ___keys_7;
// System.Collections.Generic.Dictionary`2_ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::values
ValueCollection_t778C87DEA7294262E53ECE27F13C676BE884D81D * ___values_8;
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
RuntimeObject * ____syncRoot_9;
public:
inline static int32_t get_offset_of_buckets_0() { return static_cast<int32_t>(offsetof(Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504, ___buckets_0)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get_buckets_0() const { return ___buckets_0; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of_buckets_0() { return &___buckets_0; }
inline void set_buckets_0(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
___buckets_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buckets_0), (void*)value);
}
inline static int32_t get_offset_of_entries_1() { return static_cast<int32_t>(offsetof(Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504, ___entries_1)); }
inline EntryU5BU5D_t00940937A9DB19AF39919845F47A12DF7C5E2309* get_entries_1() const { return ___entries_1; }
inline EntryU5BU5D_t00940937A9DB19AF39919845F47A12DF7C5E2309** get_address_of_entries_1() { return &___entries_1; }
inline void set_entries_1(EntryU5BU5D_t00940937A9DB19AF39919845F47A12DF7C5E2309* value)
{
___entries_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___entries_1), (void*)value);
}
inline static int32_t get_offset_of_count_2() { return static_cast<int32_t>(offsetof(Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504, ___count_2)); }
inline int32_t get_count_2() const { return ___count_2; }
inline int32_t* get_address_of_count_2() { return &___count_2; }
inline void set_count_2(int32_t value)
{
___count_2 = value;
}
inline static int32_t get_offset_of_version_3() { return static_cast<int32_t>(offsetof(Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504, ___version_3)); }
inline int32_t get_version_3() const { return ___version_3; }
inline int32_t* get_address_of_version_3() { return &___version_3; }
inline void set_version_3(int32_t value)
{
___version_3 = value;
}
inline static int32_t get_offset_of_freeList_4() { return static_cast<int32_t>(offsetof(Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504, ___freeList_4)); }
inline int32_t get_freeList_4() const { return ___freeList_4; }
inline int32_t* get_address_of_freeList_4() { return &___freeList_4; }
inline void set_freeList_4(int32_t value)
{
___freeList_4 = value;
}
inline static int32_t get_offset_of_freeCount_5() { return static_cast<int32_t>(offsetof(Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504, ___freeCount_5)); }
inline int32_t get_freeCount_5() const { return ___freeCount_5; }
inline int32_t* get_address_of_freeCount_5() { return &___freeCount_5; }
inline void set_freeCount_5(int32_t value)
{
___freeCount_5 = value;
}
inline static int32_t get_offset_of_comparer_6() { return static_cast<int32_t>(offsetof(Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504, ___comparer_6)); }
inline RuntimeObject* get_comparer_6() const { return ___comparer_6; }
inline RuntimeObject** get_address_of_comparer_6() { return &___comparer_6; }
inline void set_comparer_6(RuntimeObject* value)
{
___comparer_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___comparer_6), (void*)value);
}
inline static int32_t get_offset_of_keys_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504, ___keys_7)); }
inline KeyCollection_tD585B451EB441FBA504B64BE8F4A7AE5FC5690ED * get_keys_7() const { return ___keys_7; }
inline KeyCollection_tD585B451EB441FBA504B64BE8F4A7AE5FC5690ED ** get_address_of_keys_7() { return &___keys_7; }
inline void set_keys_7(KeyCollection_tD585B451EB441FBA504B64BE8F4A7AE5FC5690ED * value)
{
___keys_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___keys_7), (void*)value);
}
inline static int32_t get_offset_of_values_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504, ___values_8)); }
inline ValueCollection_t778C87DEA7294262E53ECE27F13C676BE884D81D * get_values_8() const { return ___values_8; }
inline ValueCollection_t778C87DEA7294262E53ECE27F13C676BE884D81D ** get_address_of_values_8() { return &___values_8; }
inline void set_values_8(ValueCollection_t778C87DEA7294262E53ECE27F13C676BE884D81D * value)
{
___values_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___values_8), (void*)value);
}
inline static int32_t get_offset_of__syncRoot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504, ____syncRoot_9)); }
inline RuntimeObject * get__syncRoot_9() const { return ____syncRoot_9; }
inline RuntimeObject ** get_address_of__syncRoot_9() { return &____syncRoot_9; }
inline void set__syncRoot_9(RuntimeObject * value)
{
____syncRoot_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_9), (void*)value);
}
};
// System.Collections.Generic.List`1<UnityEngine.Material>
struct List_1_t6A61046573B0BC4E12950B90305C189DD041D786 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
MaterialU5BU5D_tD2350F98F2A1BB6C7A5FBFE1474DFC47331AB398* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t6A61046573B0BC4E12950B90305C189DD041D786, ____items_1)); }
inline MaterialU5BU5D_tD2350F98F2A1BB6C7A5FBFE1474DFC47331AB398* get__items_1() const { return ____items_1; }
inline MaterialU5BU5D_tD2350F98F2A1BB6C7A5FBFE1474DFC47331AB398** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(MaterialU5BU5D_tD2350F98F2A1BB6C7A5FBFE1474DFC47331AB398* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t6A61046573B0BC4E12950B90305C189DD041D786, ____size_2)); }
inline int32_t get__size_2() const { return ____size_2; }
inline int32_t* get_address_of__size_2() { return &____size_2; }
inline void set__size_2(int32_t value)
{
____size_2 = value;
}
inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_t6A61046573B0BC4E12950B90305C189DD041D786, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t6A61046573B0BC4E12950B90305C189DD041D786, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t6A61046573B0BC4E12950B90305C189DD041D786_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
MaterialU5BU5D_tD2350F98F2A1BB6C7A5FBFE1474DFC47331AB398* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t6A61046573B0BC4E12950B90305C189DD041D786_StaticFields, ____emptyArray_5)); }
inline MaterialU5BU5D_tD2350F98F2A1BB6C7A5FBFE1474DFC47331AB398* get__emptyArray_5() const { return ____emptyArray_5; }
inline MaterialU5BU5D_tD2350F98F2A1BB6C7A5FBFE1474DFC47331AB398** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(MaterialU5BU5D_tD2350F98F2A1BB6C7A5FBFE1474DFC47331AB398* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF : public RuntimeObject
{
public:
public:
};
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_com
{
};
// UnityEngine.AndroidJavaObject
struct AndroidJavaObject_t31F4DD4D4523A77B8AF16FE422B7426248E3093D : public RuntimeObject
{
public:
// UnityEngine.GlobalJavaObjectRef UnityEngine.AndroidJavaObject::m_jobject
GlobalJavaObjectRef_t2B9FA8DBBC53F0C0E0B57ACDC0FA9967CFB22DD0 * ___m_jobject_1;
// UnityEngine.GlobalJavaObjectRef UnityEngine.AndroidJavaObject::m_jclass
GlobalJavaObjectRef_t2B9FA8DBBC53F0C0E0B57ACDC0FA9967CFB22DD0 * ___m_jclass_2;
public:
inline static int32_t get_offset_of_m_jobject_1() { return static_cast<int32_t>(offsetof(AndroidJavaObject_t31F4DD4D4523A77B8AF16FE422B7426248E3093D, ___m_jobject_1)); }
inline GlobalJavaObjectRef_t2B9FA8DBBC53F0C0E0B57ACDC0FA9967CFB22DD0 * get_m_jobject_1() const { return ___m_jobject_1; }
inline GlobalJavaObjectRef_t2B9FA8DBBC53F0C0E0B57ACDC0FA9967CFB22DD0 ** get_address_of_m_jobject_1() { return &___m_jobject_1; }
inline void set_m_jobject_1(GlobalJavaObjectRef_t2B9FA8DBBC53F0C0E0B57ACDC0FA9967CFB22DD0 * value)
{
___m_jobject_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_jobject_1), (void*)value);
}
inline static int32_t get_offset_of_m_jclass_2() { return static_cast<int32_t>(offsetof(AndroidJavaObject_t31F4DD4D4523A77B8AF16FE422B7426248E3093D, ___m_jclass_2)); }
inline GlobalJavaObjectRef_t2B9FA8DBBC53F0C0E0B57ACDC0FA9967CFB22DD0 * get_m_jclass_2() const { return ___m_jclass_2; }
inline GlobalJavaObjectRef_t2B9FA8DBBC53F0C0E0B57ACDC0FA9967CFB22DD0 ** get_address_of_m_jclass_2() { return &___m_jclass_2; }
inline void set_m_jclass_2(GlobalJavaObjectRef_t2B9FA8DBBC53F0C0E0B57ACDC0FA9967CFB22DD0 * value)
{
___m_jclass_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_jclass_2), (void*)value);
}
};
struct AndroidJavaObject_t31F4DD4D4523A77B8AF16FE422B7426248E3093D_StaticFields
{
public:
// System.Boolean UnityEngine.AndroidJavaObject::enableDebugPrints
bool ___enableDebugPrints_0;
public:
inline static int32_t get_offset_of_enableDebugPrints_0() { return static_cast<int32_t>(offsetof(AndroidJavaObject_t31F4DD4D4523A77B8AF16FE422B7426248E3093D_StaticFields, ___enableDebugPrints_0)); }
inline bool get_enableDebugPrints_0() const { return ___enableDebugPrints_0; }
inline bool* get_address_of_enableDebugPrints_0() { return &___enableDebugPrints_0; }
inline void set_enableDebugPrints_0(bool value)
{
___enableDebugPrints_0 = value;
}
};
// UnityEngine.YieldInstruction
struct YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44 : public RuntimeObject
{
public:
public:
};
// Native definition for P/Invoke marshalling of UnityEngine.YieldInstruction
struct YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44_marshaled_pinvoke
{
};
// Native definition for COM marshalling of UnityEngine.YieldInstruction
struct YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44_marshaled_com
{
};
// Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings
struct AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF
{
public:
// System.Single Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings::<LowPassCutoff>k__BackingField
float ___U3CLowPassCutoffU3Ek__BackingField_0;
// System.Single Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings::<HighPassCutoff>k__BackingField
float ___U3CHighPassCutoffU3Ek__BackingField_1;
public:
inline static int32_t get_offset_of_U3CLowPassCutoffU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF, ___U3CLowPassCutoffU3Ek__BackingField_0)); }
inline float get_U3CLowPassCutoffU3Ek__BackingField_0() const { return ___U3CLowPassCutoffU3Ek__BackingField_0; }
inline float* get_address_of_U3CLowPassCutoffU3Ek__BackingField_0() { return &___U3CLowPassCutoffU3Ek__BackingField_0; }
inline void set_U3CLowPassCutoffU3Ek__BackingField_0(float value)
{
___U3CLowPassCutoffU3Ek__BackingField_0 = value;
}
inline static int32_t get_offset_of_U3CHighPassCutoffU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF, ___U3CHighPassCutoffU3Ek__BackingField_1)); }
inline float get_U3CHighPassCutoffU3Ek__BackingField_1() const { return ___U3CHighPassCutoffU3Ek__BackingField_1; }
inline float* get_address_of_U3CHighPassCutoffU3Ek__BackingField_1() { return &___U3CHighPassCutoffU3Ek__BackingField_1; }
inline void set_U3CHighPassCutoffU3Ek__BackingField_1(float value)
{
___U3CHighPassCutoffU3Ek__BackingField_1 = value;
}
};
// Microsoft.MixedReality.Toolkit.UI.InteractableColorChildrenTheme_BlocksAndRenderer
struct BlocksAndRenderer_t34C1A93841809DB7A6304281BFC51CAB2EB20E52
{
public:
// UnityEngine.MaterialPropertyBlock Microsoft.MixedReality.Toolkit.UI.InteractableColorChildrenTheme_BlocksAndRenderer::Block
MaterialPropertyBlock_t72A481768111C6F11DCDCD44F0C7F99F1CA79E13 * ___Block_0;
// UnityEngine.Renderer Microsoft.MixedReality.Toolkit.UI.InteractableColorChildrenTheme_BlocksAndRenderer::Renderer
Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * ___Renderer_1;
public:
inline static int32_t get_offset_of_Block_0() { return static_cast<int32_t>(offsetof(BlocksAndRenderer_t34C1A93841809DB7A6304281BFC51CAB2EB20E52, ___Block_0)); }
inline MaterialPropertyBlock_t72A481768111C6F11DCDCD44F0C7F99F1CA79E13 * get_Block_0() const { return ___Block_0; }
inline MaterialPropertyBlock_t72A481768111C6F11DCDCD44F0C7F99F1CA79E13 ** get_address_of_Block_0() { return &___Block_0; }
inline void set_Block_0(MaterialPropertyBlock_t72A481768111C6F11DCDCD44F0C7F99F1CA79E13 * value)
{
___Block_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Block_0), (void*)value);
}
inline static int32_t get_offset_of_Renderer_1() { return static_cast<int32_t>(offsetof(BlocksAndRenderer_t34C1A93841809DB7A6304281BFC51CAB2EB20E52, ___Renderer_1)); }
inline Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * get_Renderer_1() const { return ___Renderer_1; }
inline Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 ** get_address_of_Renderer_1() { return &___Renderer_1; }
inline void set_Renderer_1(Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * value)
{
___Renderer_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Renderer_1), (void*)value);
}
};
// Native definition for P/Invoke marshalling of Microsoft.MixedReality.Toolkit.UI.InteractableColorChildrenTheme/BlocksAndRenderer
struct BlocksAndRenderer_t34C1A93841809DB7A6304281BFC51CAB2EB20E52_marshaled_pinvoke
{
MaterialPropertyBlock_t72A481768111C6F11DCDCD44F0C7F99F1CA79E13 * ___Block_0;
Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * ___Renderer_1;
};
// Native definition for COM marshalling of Microsoft.MixedReality.Toolkit.UI.InteractableColorChildrenTheme/BlocksAndRenderer
struct BlocksAndRenderer_t34C1A93841809DB7A6304281BFC51CAB2EB20E52_marshaled_com
{
MaterialPropertyBlock_t72A481768111C6F11DCDCD44F0C7F99F1CA79E13 * ___Block_0;
Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * ___Renderer_1;
};
// Microsoft.MixedReality.Toolkit.UI.ThemeDefinition
struct ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B
{
public:
// System.Type Microsoft.MixedReality.Toolkit.UI.ThemeDefinition::Type
Type_t * ___Type_0;
// System.String Microsoft.MixedReality.Toolkit.UI.ThemeDefinition::ClassName
String_t* ___ClassName_1;
// System.String Microsoft.MixedReality.Toolkit.UI.ThemeDefinition::AssemblyQualifiedName
String_t* ___AssemblyQualifiedName_2;
// System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty> Microsoft.MixedReality.Toolkit.UI.ThemeDefinition::stateProperties
List_1_tAF52B240EFDD173D25A33C6456594B60D9CA4F36 * ___stateProperties_3;
// System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.UI.ThemeProperty> Microsoft.MixedReality.Toolkit.UI.ThemeDefinition::customProperties
List_1_t7C93725DB6179C58F77E48B330CF4717D6FC85D1 * ___customProperties_4;
// Microsoft.MixedReality.Toolkit.Utilities.Easing Microsoft.MixedReality.Toolkit.UI.ThemeDefinition::easing
Easing_tEA17A17E27EEE6537855404FC51A58C609DDFBAB * ___easing_5;
public:
inline static int32_t get_offset_of_Type_0() { return static_cast<int32_t>(offsetof(ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B, ___Type_0)); }
inline Type_t * get_Type_0() const { return ___Type_0; }
inline Type_t ** get_address_of_Type_0() { return &___Type_0; }
inline void set_Type_0(Type_t * value)
{
___Type_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Type_0), (void*)value);
}
inline static int32_t get_offset_of_ClassName_1() { return static_cast<int32_t>(offsetof(ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B, ___ClassName_1)); }
inline String_t* get_ClassName_1() const { return ___ClassName_1; }
inline String_t** get_address_of_ClassName_1() { return &___ClassName_1; }
inline void set_ClassName_1(String_t* value)
{
___ClassName_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ClassName_1), (void*)value);
}
inline static int32_t get_offset_of_AssemblyQualifiedName_2() { return static_cast<int32_t>(offsetof(ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B, ___AssemblyQualifiedName_2)); }
inline String_t* get_AssemblyQualifiedName_2() const { return ___AssemblyQualifiedName_2; }
inline String_t** get_address_of_AssemblyQualifiedName_2() { return &___AssemblyQualifiedName_2; }
inline void set_AssemblyQualifiedName_2(String_t* value)
{
___AssemblyQualifiedName_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___AssemblyQualifiedName_2), (void*)value);
}
inline static int32_t get_offset_of_stateProperties_3() { return static_cast<int32_t>(offsetof(ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B, ___stateProperties_3)); }
inline List_1_tAF52B240EFDD173D25A33C6456594B60D9CA4F36 * get_stateProperties_3() const { return ___stateProperties_3; }
inline List_1_tAF52B240EFDD173D25A33C6456594B60D9CA4F36 ** get_address_of_stateProperties_3() { return &___stateProperties_3; }
inline void set_stateProperties_3(List_1_tAF52B240EFDD173D25A33C6456594B60D9CA4F36 * value)
{
___stateProperties_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___stateProperties_3), (void*)value);
}
inline static int32_t get_offset_of_customProperties_4() { return static_cast<int32_t>(offsetof(ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B, ___customProperties_4)); }
inline List_1_t7C93725DB6179C58F77E48B330CF4717D6FC85D1 * get_customProperties_4() const { return ___customProperties_4; }
inline List_1_t7C93725DB6179C58F77E48B330CF4717D6FC85D1 ** get_address_of_customProperties_4() { return &___customProperties_4; }
inline void set_customProperties_4(List_1_t7C93725DB6179C58F77E48B330CF4717D6FC85D1 * value)
{
___customProperties_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___customProperties_4), (void*)value);
}
inline static int32_t get_offset_of_easing_5() { return static_cast<int32_t>(offsetof(ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B, ___easing_5)); }
inline Easing_tEA17A17E27EEE6537855404FC51A58C609DDFBAB * get_easing_5() const { return ___easing_5; }
inline Easing_tEA17A17E27EEE6537855404FC51A58C609DDFBAB ** get_address_of_easing_5() { return &___easing_5; }
inline void set_easing_5(Easing_tEA17A17E27EEE6537855404FC51A58C609DDFBAB * value)
{
___easing_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___easing_5), (void*)value);
}
};
// Native definition for P/Invoke marshalling of Microsoft.MixedReality.Toolkit.UI.ThemeDefinition
struct ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B_marshaled_pinvoke
{
Type_t * ___Type_0;
char* ___ClassName_1;
char* ___AssemblyQualifiedName_2;
List_1_tAF52B240EFDD173D25A33C6456594B60D9CA4F36 * ___stateProperties_3;
List_1_t7C93725DB6179C58F77E48B330CF4717D6FC85D1 * ___customProperties_4;
Easing_tEA17A17E27EEE6537855404FC51A58C609DDFBAB * ___easing_5;
};
// Native definition for COM marshalling of Microsoft.MixedReality.Toolkit.UI.ThemeDefinition
struct ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B_marshaled_com
{
Type_t * ___Type_0;
Il2CppChar* ___ClassName_1;
Il2CppChar* ___AssemblyQualifiedName_2;
List_1_tAF52B240EFDD173D25A33C6456594B60D9CA4F36 * ___stateProperties_3;
List_1_t7C93725DB6179C58F77E48B330CF4717D6FC85D1 * ___customProperties_4;
Easing_tEA17A17E27EEE6537855404FC51A58C609DDFBAB * ___easing_5;
};
// System.Collections.Generic.Dictionary`2_Entry<System.Int32,System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType,System.Int32>>
struct Entry_tBC66AFFB78628B55A889A8506B6698524611E483
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
int32_t ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_tBC66AFFB78628B55A889A8506B6698524611E483, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_tBC66AFFB78628B55A889A8506B6698524611E483, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_tBC66AFFB78628B55A889A8506B6698524611E483, ___key_2)); }
inline int32_t get_key_2() const { return ___key_2; }
inline int32_t* get_address_of_key_2() { return &___key_2; }
inline void set_key_2(int32_t value)
{
___key_2 = value;
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_tBC66AFFB78628B55A889A8506B6698524611E483, ___value_3)); }
inline Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * get_value_3() const { return ___value_3; }
inline Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F ** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Int32,UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap>
struct Entry_t69D5241F365C74AA8EED869C40FA903714843A69
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
int32_t ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C * ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t69D5241F365C74AA8EED869C40FA903714843A69, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t69D5241F365C74AA8EED869C40FA903714843A69, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t69D5241F365C74AA8EED869C40FA903714843A69, ___key_2)); }
inline int32_t get_key_2() const { return ___key_2; }
inline int32_t* get_address_of_key_2() { return &___key_2; }
inline void set_key_2(int32_t value)
{
___key_2 = value;
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t69D5241F365C74AA8EED869C40FA903714843A69, ___value_3)); }
inline TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C * get_value_3() const { return ___value_3; }
inline TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C ** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C * value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.String,RestSharp.Reflection.ReflectionUtils_GetDelegate>
struct Entry_t2E427962CA682C96CF3B571FE366A9821D95F03F
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
String_t* ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E * ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t2E427962CA682C96CF3B571FE366A9821D95F03F, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t2E427962CA682C96CF3B571FE366A9821D95F03F, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t2E427962CA682C96CF3B571FE366A9821D95F03F, ___key_2)); }
inline String_t* get_key_2() const { return ___key_2; }
inline String_t** get_address_of_key_2() { return &___key_2; }
inline void set_key_2(String_t* value)
{
___key_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t2E427962CA682C96CF3B571FE366A9821D95F03F, ___value_3)); }
inline GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E * get_value_3() const { return ___value_3; }
inline GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E ** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E * value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.String,System.Action`2<System.Net.HttpWebRequest,System.String>>
struct Entry_tD25C2DA89D99D7DF24408A25104735394EE2AF32
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
String_t* ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F * ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_tD25C2DA89D99D7DF24408A25104735394EE2AF32, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_tD25C2DA89D99D7DF24408A25104735394EE2AF32, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_tD25C2DA89D99D7DF24408A25104735394EE2AF32, ___key_2)); }
inline String_t* get_key_2() const { return ___key_2; }
inline String_t** get_address_of_key_2() { return &___key_2; }
inline void set_key_2(String_t* value)
{
___key_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_tD25C2DA89D99D7DF24408A25104735394EE2AF32, ___value_3)); }
inline Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F * get_value_3() const { return ___value_3; }
inline Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F ** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F * value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.String,System.Func`1<RestSharp.Deserializers.IDeserializer>>
struct Entry_t762352C5EA6E2C2349F53C5EEADA576DFA4D1A73
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
String_t* ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210 * ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t762352C5EA6E2C2349F53C5EEADA576DFA4D1A73, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t762352C5EA6E2C2349F53C5EEADA576DFA4D1A73, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t762352C5EA6E2C2349F53C5EEADA576DFA4D1A73, ___key_2)); }
inline String_t* get_key_2() const { return ___key_2; }
inline String_t** get_address_of_key_2() { return &___key_2; }
inline void set_key_2(String_t* value)
{
___key_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t762352C5EA6E2C2349F53C5EEADA576DFA4D1A73, ___value_3)); }
inline Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210 * get_value_3() const { return ___value_3; }
inline Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210 ** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210 * value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.String,UnityEngine.GameObject>
struct Entry_t80B84470DE6B754554C6761EBD227D3B2A07D67E
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
String_t* ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t80B84470DE6B754554C6761EBD227D3B2A07D67E, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t80B84470DE6B754554C6761EBD227D3B2A07D67E, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t80B84470DE6B754554C6761EBD227D3B2A07D67E, ___key_2)); }
inline String_t* get_key_2() const { return ___key_2; }
inline String_t** get_address_of_key_2() { return &___key_2; }
inline void set_key_2(String_t* value)
{
___key_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t80B84470DE6B754554C6761EBD227D3B2A07D67E, ___value_3)); }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * get_value_3() const { return ___value_3; }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F ** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType,System.Int32>,System.Int32>
struct Entry_t0CAB9EC490294286F0FBEFDCE371D63B2DBB07EA
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
int32_t ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t0CAB9EC490294286F0FBEFDCE371D63B2DBB07EA, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t0CAB9EC490294286F0FBEFDCE371D63B2DBB07EA, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t0CAB9EC490294286F0FBEFDCE371D63B2DBB07EA, ___key_2)); }
inline Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * get_key_2() const { return ___key_2; }
inline Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F ** get_address_of_key_2() { return &___key_2; }
inline void set_key_2(Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * value)
{
___key_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t0CAB9EC490294286F0FBEFDCE371D63B2DBB07EA, ___value_3)); }
inline int32_t get_value_3() const { return ___value_3; }
inline int32_t* get_address_of_value_3() { return &___value_3; }
inline void set_value_3(int32_t value)
{
___value_3 = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Type,RestSharp.Reflection.ReflectionUtils_ConstructorDelegate>
struct Entry_t690F5342541496B72AB0583105DFED92C92686B3
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
Type_t * ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC * ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t690F5342541496B72AB0583105DFED92C92686B3, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t690F5342541496B72AB0583105DFED92C92686B3, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t690F5342541496B72AB0583105DFED92C92686B3, ___key_2)); }
inline Type_t * get_key_2() const { return ___key_2; }
inline Type_t ** get_address_of_key_2() { return &___key_2; }
inline void set_key_2(Type_t * value)
{
___key_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t690F5342541496B72AB0583105DFED92C92686B3, ___value_3)); }
inline ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC * get_value_3() const { return ___value_3; }
inline ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC ** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC * value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Type,System.Collections.Generic.IDictionary`2<System.String,RestSharp.Reflection.ReflectionUtils_GetDelegate>>
struct Entry_t866101AE1812E6AD454BB73B903CC4D5FCB15D4D
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
Type_t * ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
RuntimeObject* ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t866101AE1812E6AD454BB73B903CC4D5FCB15D4D, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t866101AE1812E6AD454BB73B903CC4D5FCB15D4D, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t866101AE1812E6AD454BB73B903CC4D5FCB15D4D, ___key_2)); }
inline Type_t * get_key_2() const { return ___key_2; }
inline Type_t ** get_address_of_key_2() { return &___key_2; }
inline void set_key_2(Type_t * value)
{
___key_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t866101AE1812E6AD454BB73B903CC4D5FCB15D4D, ___value_3)); }
inline RuntimeObject* get_value_3() const { return ___value_3; }
inline RuntimeObject** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(RuntimeObject* value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Type,System.Collections.Generic.IDictionary`2<System.String,System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>>>
struct Entry_t979A84E18977939BCC045DA42F16E00334DBA92D
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
Type_t * ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
RuntimeObject* ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t979A84E18977939BCC045DA42F16E00334DBA92D, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t979A84E18977939BCC045DA42F16E00334DBA92D, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t979A84E18977939BCC045DA42F16E00334DBA92D, ___key_2)); }
inline Type_t * get_key_2() const { return ___key_2; }
inline Type_t ** get_address_of_key_2() { return &___key_2; }
inline void set_key_2(Type_t * value)
{
___key_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t979A84E18977939BCC045DA42F16E00334DBA92D, ___value_3)); }
inline RuntimeObject* get_value_3() const { return ___value_3; }
inline RuntimeObject** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(RuntimeObject* value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.UInt32,Microsoft.MixedReality.Toolkit.Input.IMixedRealityController>
struct Entry_t2F79E01D7091916BA9E24670F3B72F4D01FF9EE9
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
uint32_t ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
RuntimeObject* ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t2F79E01D7091916BA9E24670F3B72F4D01FF9EE9, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t2F79E01D7091916BA9E24670F3B72F4D01FF9EE9, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t2F79E01D7091916BA9E24670F3B72F4D01FF9EE9, ___key_2)); }
inline uint32_t get_key_2() const { return ___key_2; }
inline uint32_t* get_address_of_key_2() { return &___key_2; }
inline void set_key_2(uint32_t value)
{
___key_2 = value;
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t2F79E01D7091916BA9E24670F3B72F4D01FF9EE9, ___value_3)); }
inline RuntimeObject* get_value_3() const { return ___value_3; }
inline RuntimeObject** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(RuntimeObject* value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.UInt32,Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource>
struct Entry_t6E2384D387A1DE5550713BDE590F08D06B04B85F
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
uint32_t ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
RuntimeObject* ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t6E2384D387A1DE5550713BDE590F08D06B04B85F, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t6E2384D387A1DE5550713BDE590F08D06B04B85F, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t6E2384D387A1DE5550713BDE590F08D06B04B85F, ___key_2)); }
inline uint32_t get_key_2() const { return ___key_2; }
inline uint32_t* get_address_of_key_2() { return &___key_2; }
inline void set_key_2(uint32_t value)
{
___key_2 = value;
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t6E2384D387A1DE5550713BDE590F08D06B04B85F, ___value_3)); }
inline RuntimeObject* get_value_3() const { return ___value_3; }
inline RuntimeObject** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(RuntimeObject* value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.UInt32,Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData>
struct Entry_tEC0F1F66FF94731AA865633AAEF687F62A96A994
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
uint32_t ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E * ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_tEC0F1F66FF94731AA865633AAEF687F62A96A994, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_tEC0F1F66FF94731AA865633AAEF687F62A96A994, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_tEC0F1F66FF94731AA865633AAEF687F62A96A994, ___key_2)); }
inline uint32_t get_key_2() const { return ___key_2; }
inline uint32_t* get_address_of_key_2() { return &___key_2; }
inline void set_key_2(uint32_t value)
{
___key_2 = value;
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_tEC0F1F66FF94731AA865633AAEF687F62A96A994, ___value_3)); }
inline HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E * get_value_3() const { return ___value_3; }
inline HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E ** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E * value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.UInt32,System.Boolean>
struct Entry_t1248B1345CDA796FEA6F632C5E6F2BD9463754D2
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
uint32_t ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
bool ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t1248B1345CDA796FEA6F632C5E6F2BD9463754D2, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t1248B1345CDA796FEA6F632C5E6F2BD9463754D2, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t1248B1345CDA796FEA6F632C5E6F2BD9463754D2, ___key_2)); }
inline uint32_t get_key_2() const { return ___key_2; }
inline uint32_t* get_address_of_key_2() { return &___key_2; }
inline void set_key_2(uint32_t value)
{
___key_2 = value;
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t1248B1345CDA796FEA6F632C5E6F2BD9463754D2, ___value_3)); }
inline bool get_value_3() const { return ___value_3; }
inline bool* get_address_of_value_3() { return &___value_3; }
inline void set_value_3(bool value)
{
___value_3 = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.UInt64,System.WeakReference`1<Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession>>
struct Entry_t9CD3D06EAED70683C353B0F067085024CA89D7B8
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
uint64_t ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90 * ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t9CD3D06EAED70683C353B0F067085024CA89D7B8, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t9CD3D06EAED70683C353B0F067085024CA89D7B8, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t9CD3D06EAED70683C353B0F067085024CA89D7B8, ___key_2)); }
inline uint64_t get_key_2() const { return ___key_2; }
inline uint64_t* get_address_of_key_2() { return &___key_2; }
inline void set_key_2(uint64_t value)
{
___key_2 = value;
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t9CD3D06EAED70683C353B0F067085024CA89D7B8, ___value_3)); }
inline WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90 * get_value_3() const { return ___value_3; }
inline WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90 ** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90 * value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.UInt64,System.WeakReference`1<System.Object>>
struct Entry_t4A95260E768AC7A72CA11573C9719F5F9B2E3B2E
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
uint64_t ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C * ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t4A95260E768AC7A72CA11573C9719F5F9B2E3B2E, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t4A95260E768AC7A72CA11573C9719F5F9B2E3B2E, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t4A95260E768AC7A72CA11573C9719F5F9B2E3B2E, ___key_2)); }
inline uint64_t get_key_2() const { return ___key_2; }
inline uint64_t* get_address_of_key_2() { return &___key_2; }
inline void set_key_2(uint64_t value)
{
___key_2 = value;
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t4A95260E768AC7A72CA11573C9719F5F9B2E3B2E, ___value_3)); }
inline WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C * get_value_3() const { return ___value_3; }
inline WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C ** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C * value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<UnityEngine.Renderer,System.Collections.Generic.List`1<UnityEngine.Material>>
struct Entry_t9736B401F118407062E2BB5F602928C8EA7BEE99
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
List_1_t6A61046573B0BC4E12950B90305C189DD041D786 * ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t9736B401F118407062E2BB5F602928C8EA7BEE99, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t9736B401F118407062E2BB5F602928C8EA7BEE99, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t9736B401F118407062E2BB5F602928C8EA7BEE99, ___key_2)); }
inline Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * get_key_2() const { return ___key_2; }
inline Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 ** get_address_of_key_2() { return &___key_2; }
inline void set_key_2(Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * value)
{
___key_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t9736B401F118407062E2BB5F602928C8EA7BEE99, ___value_3)); }
inline List_1_t6A61046573B0BC4E12950B90305C189DD041D786 * get_value_3() const { return ___value_3; }
inline List_1_t6A61046573B0BC4E12950B90305C189DD041D786 ** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(List_1_t6A61046573B0BC4E12950B90305C189DD041D786 * value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.HashSet`1_Slot<System.Int32>
struct Slot_tA9C054FB11E759FD9D735BB5697A90ACE12D6FA7
{
public:
// System.Int32 System.Collections.Generic.HashSet`1_Slot::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.HashSet`1_Slot::next
int32_t ___next_1;
// T System.Collections.Generic.HashSet`1_Slot::value
int32_t ___value_2;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Slot_tA9C054FB11E759FD9D735BB5697A90ACE12D6FA7, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Slot_tA9C054FB11E759FD9D735BB5697A90ACE12D6FA7, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_value_2() { return static_cast<int32_t>(offsetof(Slot_tA9C054FB11E759FD9D735BB5697A90ACE12D6FA7, ___value_2)); }
inline int32_t get_value_2() const { return ___value_2; }
inline int32_t* get_address_of_value_2() { return &___value_2; }
inline void set_value_2(int32_t value)
{
___value_2 = value;
}
};
// System.Collections.Generic.KeyValuePair`2<System.Int32,System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType,System.Int32>>
struct KeyValuePair_2_t43209FF7D7328172AE4D79530ED1CCFE3989B23B
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
int32_t ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t43209FF7D7328172AE4D79530ED1CCFE3989B23B, ___key_0)); }
inline int32_t get_key_0() const { return ___key_0; }
inline int32_t* get_address_of_key_0() { return &___key_0; }
inline void set_key_0(int32_t value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t43209FF7D7328172AE4D79530ED1CCFE3989B23B, ___value_1)); }
inline Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * get_value_1() const { return ___value_1; }
inline Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Int32,UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap>
struct KeyValuePair_2_t66F6496942DCFC8D590F8DA04910990C5DA39574
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
int32_t ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t66F6496942DCFC8D590F8DA04910990C5DA39574, ___key_0)); }
inline int32_t get_key_0() const { return ___key_0; }
inline int32_t* get_address_of_key_0() { return &___key_0; }
inline void set_key_0(int32_t value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t66F6496942DCFC8D590F8DA04910990C5DA39574, ___value_1)); }
inline TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C * get_value_1() const { return ___value_1; }
inline TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>
struct KeyValuePair_2_t23481547E419E16E3B96A303578C1EB685C99EEE
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
RuntimeObject * ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
RuntimeObject * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t23481547E419E16E3B96A303578C1EB685C99EEE, ___key_0)); }
inline RuntimeObject * get_key_0() const { return ___key_0; }
inline RuntimeObject ** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(RuntimeObject * value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t23481547E419E16E3B96A303578C1EB685C99EEE, ___value_1)); }
inline RuntimeObject * get_value_1() const { return ___value_1; }
inline RuntimeObject ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(RuntimeObject * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.String,RestSharp.Reflection.ReflectionUtils_GetDelegate>
struct KeyValuePair_2_tA2A0F7A6FEE29B0E4F53FF8A13C2657C58EE3B4B
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
String_t* ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tA2A0F7A6FEE29B0E4F53FF8A13C2657C58EE3B4B, ___key_0)); }
inline String_t* get_key_0() const { return ___key_0; }
inline String_t** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(String_t* value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tA2A0F7A6FEE29B0E4F53FF8A13C2657C58EE3B4B, ___value_1)); }
inline GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E * get_value_1() const { return ___value_1; }
inline GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.String,System.Action`2<System.Net.HttpWebRequest,System.String>>
struct KeyValuePair_2_tE9B404C718EBA3FA324BCCE01E852BE27E2B4885
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
String_t* ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tE9B404C718EBA3FA324BCCE01E852BE27E2B4885, ___key_0)); }
inline String_t* get_key_0() const { return ___key_0; }
inline String_t** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(String_t* value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tE9B404C718EBA3FA324BCCE01E852BE27E2B4885, ___value_1)); }
inline Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F * get_value_1() const { return ___value_1; }
inline Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.String,System.Func`1<RestSharp.Deserializers.IDeserializer>>
struct KeyValuePair_2_tA63913863858B8B6A16583A451AA1243E877CFA8
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
String_t* ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210 * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tA63913863858B8B6A16583A451AA1243E877CFA8, ___key_0)); }
inline String_t* get_key_0() const { return ___key_0; }
inline String_t** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(String_t* value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tA63913863858B8B6A16583A451AA1243E877CFA8, ___value_1)); }
inline Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210 * get_value_1() const { return ___value_1; }
inline Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210 ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210 * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.String,UnityEngine.GameObject>
struct KeyValuePair_2_t1C6E679273EBD257AEF73C7F0ECFD474D8F199FB
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
String_t* ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t1C6E679273EBD257AEF73C7F0ECFD474D8F199FB, ___key_0)); }
inline String_t* get_key_0() const { return ___key_0; }
inline String_t** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(String_t* value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t1C6E679273EBD257AEF73C7F0ECFD474D8F199FB, ___value_1)); }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * get_value_1() const { return ___value_1; }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType,System.Int32>,System.Int32>
struct KeyValuePair_2_tA33DB43D8B3718083354073EE6790D2F38E4741D
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
int32_t ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tA33DB43D8B3718083354073EE6790D2F38E4741D, ___key_0)); }
inline Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * get_key_0() const { return ___key_0; }
inline Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F ** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tA33DB43D8B3718083354073EE6790D2F38E4741D, ___value_1)); }
inline int32_t get_value_1() const { return ___value_1; }
inline int32_t* get_address_of_value_1() { return &___value_1; }
inline void set_value_1(int32_t value)
{
___value_1 = value;
}
};
// System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_ConstructorDelegate>
struct KeyValuePair_2_t64C95A1DE62D0B1AB0FB586F24E1F3D6DD206020
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
Type_t * ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t64C95A1DE62D0B1AB0FB586F24E1F3D6DD206020, ___key_0)); }
inline Type_t * get_key_0() const { return ___key_0; }
inline Type_t ** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(Type_t * value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t64C95A1DE62D0B1AB0FB586F24E1F3D6DD206020, ___value_1)); }
inline ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC * get_value_1() const { return ___value_1; }
inline ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>
struct KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
Type_t * ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
SetDelegate_t3522CFE6BE84DAAD8A67D5714B24688C04C65FBB * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489, ___key_0)); }
inline Type_t * get_key_0() const { return ___key_0; }
inline Type_t ** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(Type_t * value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489, ___value_1)); }
inline SetDelegate_t3522CFE6BE84DAAD8A67D5714B24688C04C65FBB * get_value_1() const { return ___value_1; }
inline SetDelegate_t3522CFE6BE84DAAD8A67D5714B24688C04C65FBB ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(SetDelegate_t3522CFE6BE84DAAD8A67D5714B24688C04C65FBB * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Type,System.Collections.Generic.IDictionary`2<System.String,RestSharp.Reflection.ReflectionUtils_GetDelegate>>
struct KeyValuePair_2_t43F510C4C0957663DED0AC4C88E9C9F2A98B48A3
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
Type_t * ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
RuntimeObject* ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t43F510C4C0957663DED0AC4C88E9C9F2A98B48A3, ___key_0)); }
inline Type_t * get_key_0() const { return ___key_0; }
inline Type_t ** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(Type_t * value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t43F510C4C0957663DED0AC4C88E9C9F2A98B48A3, ___value_1)); }
inline RuntimeObject* get_value_1() const { return ___value_1; }
inline RuntimeObject** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(RuntimeObject* value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Type,System.Collections.Generic.IDictionary`2<System.String,System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>>>
struct KeyValuePair_2_t04A4D507A5B66EB327076890CE793951AFA5F8AC
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
Type_t * ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
RuntimeObject* ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t04A4D507A5B66EB327076890CE793951AFA5F8AC, ___key_0)); }
inline Type_t * get_key_0() const { return ___key_0; }
inline Type_t ** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(Type_t * value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t04A4D507A5B66EB327076890CE793951AFA5F8AC, ___value_1)); }
inline RuntimeObject* get_value_1() const { return ___value_1; }
inline RuntimeObject** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(RuntimeObject* value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.UInt32,Microsoft.MixedReality.Toolkit.Input.IMixedRealityController>
struct KeyValuePair_2_t2F910001187FF7CA042E86157C8664812549FCE7
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
uint32_t ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
RuntimeObject* ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t2F910001187FF7CA042E86157C8664812549FCE7, ___key_0)); }
inline uint32_t get_key_0() const { return ___key_0; }
inline uint32_t* get_address_of_key_0() { return &___key_0; }
inline void set_key_0(uint32_t value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t2F910001187FF7CA042E86157C8664812549FCE7, ___value_1)); }
inline RuntimeObject* get_value_1() const { return ___value_1; }
inline RuntimeObject** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(RuntimeObject* value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.UInt32,Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource>
struct KeyValuePair_2_tE426C9335828247C7C48515A85F921A8692DAD7D
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
uint32_t ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
RuntimeObject* ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tE426C9335828247C7C48515A85F921A8692DAD7D, ___key_0)); }
inline uint32_t get_key_0() const { return ___key_0; }
inline uint32_t* get_address_of_key_0() { return &___key_0; }
inline void set_key_0(uint32_t value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tE426C9335828247C7C48515A85F921A8692DAD7D, ___value_1)); }
inline RuntimeObject* get_value_1() const { return ___value_1; }
inline RuntimeObject** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(RuntimeObject* value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.UInt32,Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData>
struct KeyValuePair_2_t9F23CB81D455EBC4C61AD56E0CE897AD99470586
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
uint32_t ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t9F23CB81D455EBC4C61AD56E0CE897AD99470586, ___key_0)); }
inline uint32_t get_key_0() const { return ___key_0; }
inline uint32_t* get_address_of_key_0() { return &___key_0; }
inline void set_key_0(uint32_t value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t9F23CB81D455EBC4C61AD56E0CE897AD99470586, ___value_1)); }
inline HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E * get_value_1() const { return ___value_1; }
inline HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.UInt32,System.Boolean>
struct KeyValuePair_2_t4924C8EC65AAF8D242A28DB259AE14F25055A7EE
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
uint32_t ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
bool ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t4924C8EC65AAF8D242A28DB259AE14F25055A7EE, ___key_0)); }
inline uint32_t get_key_0() const { return ___key_0; }
inline uint32_t* get_address_of_key_0() { return &___key_0; }
inline void set_key_0(uint32_t value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t4924C8EC65AAF8D242A28DB259AE14F25055A7EE, ___value_1)); }
inline bool get_value_1() const { return ___value_1; }
inline bool* get_address_of_value_1() { return &___value_1; }
inline void set_value_1(bool value)
{
___value_1 = value;
}
};
// System.Collections.Generic.KeyValuePair`2<System.UInt64,System.WeakReference`1<Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession>>
struct KeyValuePair_2_t8CBB43D672B60843015403B4CF0F1FF32CEFE1A9
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
uint64_t ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90 * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t8CBB43D672B60843015403B4CF0F1FF32CEFE1A9, ___key_0)); }
inline uint64_t get_key_0() const { return ___key_0; }
inline uint64_t* get_address_of_key_0() { return &___key_0; }
inline void set_key_0(uint64_t value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t8CBB43D672B60843015403B4CF0F1FF32CEFE1A9, ___value_1)); }
inline WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90 * get_value_1() const { return ___value_1; }
inline WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90 ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90 * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.UInt64,System.WeakReference`1<System.Object>>
struct KeyValuePair_2_t6903A5E2CF10B4EBB8962FE271D4FC65066B6810
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
uint64_t ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t6903A5E2CF10B4EBB8962FE271D4FC65066B6810, ___key_0)); }
inline uint64_t get_key_0() const { return ___key_0; }
inline uint64_t* get_address_of_key_0() { return &___key_0; }
inline void set_key_0(uint64_t value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t6903A5E2CF10B4EBB8962FE271D4FC65066B6810, ___value_1)); }
inline WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C * get_value_1() const { return ___value_1; }
inline WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<UnityEngine.Renderer,System.Collections.Generic.List`1<UnityEngine.Material>>
struct KeyValuePair_2_tBE9B9D8C86D2569964644168F814CE6BC7A2C852
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
List_1_t6A61046573B0BC4E12950B90305C189DD041D786 * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tBE9B9D8C86D2569964644168F814CE6BC7A2C852, ___key_0)); }
inline Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * get_key_0() const { return ___key_0; }
inline Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 ** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tBE9B9D8C86D2569964644168F814CE6BC7A2C852, ___value_1)); }
inline List_1_t6A61046573B0BC4E12950B90305C189DD041D786 * get_value_1() const { return ___value_1; }
inline List_1_t6A61046573B0BC4E12950B90305C189DD041D786 ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(List_1_t6A61046573B0BC4E12950B90305C189DD041D786 * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.DateTime
struct DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132
{
public:
// System.UInt64 System.DateTime::dateData
uint64_t ___dateData_44;
public:
inline static int32_t get_offset_of_dateData_44() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132, ___dateData_44)); }
inline uint64_t get_dateData_44() const { return ___dateData_44; }
inline uint64_t* get_address_of_dateData_44() { return &___dateData_44; }
inline void set_dateData_44(uint64_t value)
{
___dateData_44 = value;
}
};
struct DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields
{
public:
// System.Int32[] System.DateTime::DaysToMonth365
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___DaysToMonth365_29;
// System.Int32[] System.DateTime::DaysToMonth366
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___DaysToMonth366_30;
// System.DateTime System.DateTime::MinValue
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___MinValue_31;
// System.DateTime System.DateTime::MaxValue
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___MaxValue_32;
public:
inline static int32_t get_offset_of_DaysToMonth365_29() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields, ___DaysToMonth365_29)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get_DaysToMonth365_29() const { return ___DaysToMonth365_29; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of_DaysToMonth365_29() { return &___DaysToMonth365_29; }
inline void set_DaysToMonth365_29(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
___DaysToMonth365_29 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DaysToMonth365_29), (void*)value);
}
inline static int32_t get_offset_of_DaysToMonth366_30() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields, ___DaysToMonth366_30)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get_DaysToMonth366_30() const { return ___DaysToMonth366_30; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of_DaysToMonth366_30() { return &___DaysToMonth366_30; }
inline void set_DaysToMonth366_30(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
___DaysToMonth366_30 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DaysToMonth366_30), (void*)value);
}
inline static int32_t get_offset_of_MinValue_31() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields, ___MinValue_31)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_MinValue_31() const { return ___MinValue_31; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_MinValue_31() { return &___MinValue_31; }
inline void set_MinValue_31(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___MinValue_31 = value;
}
inline static int32_t get_offset_of_MaxValue_32() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields, ___MaxValue_32)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_MaxValue_32() const { return ___MaxValue_32; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_MaxValue_32() { return &___MaxValue_32; }
inline void set_MaxValue_32(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___MaxValue_32 = value;
}
};
// System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521 : public ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF
{
public:
public:
};
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields
{
public:
// System.Char[] System.Enum::enumSeperatorCharArray
CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___enumSeperatorCharArray_0;
public:
inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields, ___enumSeperatorCharArray_0)); }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; }
inline void set_enumSeperatorCharArray_0(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* value)
{
___enumSeperatorCharArray_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___enumSeperatorCharArray_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_com
{
};
// System.IntPtr
struct IntPtr_t
{
public:
// System.Void* System.IntPtr::m_value
void* ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
inline void* get_m_value_0() const { return ___m_value_0; }
inline void** get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(void* value)
{
___m_value_0 = value;
}
};
struct IntPtr_t_StaticFields
{
public:
// System.IntPtr System.IntPtr::Zero
intptr_t ___Zero_1;
public:
inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
inline intptr_t get_Zero_1() const { return ___Zero_1; }
inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
inline void set_Zero_1(intptr_t value)
{
___Zero_1 = value;
}
};
// System.Runtime.InteropServices.GCHandle
struct GCHandle_t39FAEE3EA592432C93B574A31DD83B87F1847DE3
{
public:
// System.Int32 System.Runtime.InteropServices.GCHandle::handle
int32_t ___handle_0;
public:
inline static int32_t get_offset_of_handle_0() { return static_cast<int32_t>(offsetof(GCHandle_t39FAEE3EA592432C93B574A31DD83B87F1847DE3, ___handle_0)); }
inline int32_t get_handle_0() const { return ___handle_0; }
inline int32_t* get_address_of_handle_0() { return &___handle_0; }
inline void set_handle_0(int32_t value)
{
___handle_0 = value;
}
};
// System.Void
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017
{
public:
union
{
struct
{
};
uint8_t Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017__padding[1];
};
public:
};
// UnityEngine.AndroidJavaClass
struct AndroidJavaClass_t799D386229C77D27C7E129BEF7A79AFD426084EE : public AndroidJavaObject_t31F4DD4D4523A77B8AF16FE422B7426248E3093D
{
public:
public:
};
// UnityEngine.Color
struct Color_t119BCA590009762C7223FDD3AF9706653AC84ED2
{
public:
// System.Single UnityEngine.Color::r
float ___r_0;
// System.Single UnityEngine.Color::g
float ___g_1;
// System.Single UnityEngine.Color::b
float ___b_2;
// System.Single UnityEngine.Color::a
float ___a_3;
public:
inline static int32_t get_offset_of_r_0() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___r_0)); }
inline float get_r_0() const { return ___r_0; }
inline float* get_address_of_r_0() { return &___r_0; }
inline void set_r_0(float value)
{
___r_0 = value;
}
inline static int32_t get_offset_of_g_1() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___g_1)); }
inline float get_g_1() const { return ___g_1; }
inline float* get_address_of_g_1() { return &___g_1; }
inline void set_g_1(float value)
{
___g_1 = value;
}
inline static int32_t get_offset_of_b_2() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___b_2)); }
inline float get_b_2() const { return ___b_2; }
inline float* get_address_of_b_2() { return &___b_2; }
inline void set_b_2(float value)
{
___b_2 = value;
}
inline static int32_t get_offset_of_a_3() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___a_3)); }
inline float get_a_3() const { return ___a_3; }
inline float* get_address_of_a_3() { return &___a_3; }
inline void set_a_3(float value)
{
___a_3 = value;
}
};
// UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord
struct TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA
{
public:
// System.Int32 UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord::tileX
int32_t ___tileX_0;
// System.Int32 UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord::tileZ
int32_t ___tileZ_1;
public:
inline static int32_t get_offset_of_tileX_0() { return static_cast<int32_t>(offsetof(TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA, ___tileX_0)); }
inline int32_t get_tileX_0() const { return ___tileX_0; }
inline int32_t* get_address_of_tileX_0() { return &___tileX_0; }
inline void set_tileX_0(int32_t value)
{
___tileX_0 = value;
}
inline static int32_t get_offset_of_tileZ_1() { return static_cast<int32_t>(offsetof(TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA, ___tileZ_1)); }
inline int32_t get_tileZ_1() const { return ___tileZ_1; }
inline int32_t* get_address_of_tileZ_1() { return &___tileZ_1; }
inline void set_tileZ_1(int32_t value)
{
___tileZ_1 = value;
}
};
// UnityEngine.Quaternion
struct Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357
{
public:
// System.Single UnityEngine.Quaternion::x
float ___x_0;
// System.Single UnityEngine.Quaternion::y
float ___y_1;
// System.Single UnityEngine.Quaternion::z
float ___z_2;
// System.Single UnityEngine.Quaternion::w
float ___w_3;
public:
inline static int32_t get_offset_of_x_0() { return static_cast<int32_t>(offsetof(Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357, ___x_0)); }
inline float get_x_0() const { return ___x_0; }
inline float* get_address_of_x_0() { return &___x_0; }
inline void set_x_0(float value)
{
___x_0 = value;
}
inline static int32_t get_offset_of_y_1() { return static_cast<int32_t>(offsetof(Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357, ___y_1)); }
inline float get_y_1() const { return ___y_1; }
inline float* get_address_of_y_1() { return &___y_1; }
inline void set_y_1(float value)
{
___y_1 = value;
}
inline static int32_t get_offset_of_z_2() { return static_cast<int32_t>(offsetof(Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357, ___z_2)); }
inline float get_z_2() const { return ___z_2; }
inline float* get_address_of_z_2() { return &___z_2; }
inline void set_z_2(float value)
{
___z_2 = value;
}
inline static int32_t get_offset_of_w_3() { return static_cast<int32_t>(offsetof(Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357, ___w_3)); }
inline float get_w_3() const { return ___w_3; }
inline float* get_address_of_w_3() { return &___w_3; }
inline void set_w_3(float value)
{
___w_3 = value;
}
};
struct Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357_StaticFields
{
public:
// UnityEngine.Quaternion UnityEngine.Quaternion::identityQuaternion
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 ___identityQuaternion_4;
public:
inline static int32_t get_offset_of_identityQuaternion_4() { return static_cast<int32_t>(offsetof(Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357_StaticFields, ___identityQuaternion_4)); }
inline Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 get_identityQuaternion_4() const { return ___identityQuaternion_4; }
inline Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 * get_address_of_identityQuaternion_4() { return &___identityQuaternion_4; }
inline void set_identityQuaternion_4(Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 value)
{
___identityQuaternion_4 = value;
}
};
// UnityEngine.Vector2
struct Vector2_tA85D2DD88578276CA8A8796756458277E72D073D
{
public:
// System.Single UnityEngine.Vector2::x
float ___x_0;
// System.Single UnityEngine.Vector2::y
float ___y_1;
public:
inline static int32_t get_offset_of_x_0() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D, ___x_0)); }
inline float get_x_0() const { return ___x_0; }
inline float* get_address_of_x_0() { return &___x_0; }
inline void set_x_0(float value)
{
___x_0 = value;
}
inline static int32_t get_offset_of_y_1() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D, ___y_1)); }
inline float get_y_1() const { return ___y_1; }
inline float* get_address_of_y_1() { return &___y_1; }
inline void set_y_1(float value)
{
___y_1 = value;
}
};
struct Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields
{
public:
// UnityEngine.Vector2 UnityEngine.Vector2::zeroVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___zeroVector_2;
// UnityEngine.Vector2 UnityEngine.Vector2::oneVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___oneVector_3;
// UnityEngine.Vector2 UnityEngine.Vector2::upVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___upVector_4;
// UnityEngine.Vector2 UnityEngine.Vector2::downVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___downVector_5;
// UnityEngine.Vector2 UnityEngine.Vector2::leftVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___leftVector_6;
// UnityEngine.Vector2 UnityEngine.Vector2::rightVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___rightVector_7;
// UnityEngine.Vector2 UnityEngine.Vector2::positiveInfinityVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___positiveInfinityVector_8;
// UnityEngine.Vector2 UnityEngine.Vector2::negativeInfinityVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___negativeInfinityVector_9;
public:
inline static int32_t get_offset_of_zeroVector_2() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___zeroVector_2)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_zeroVector_2() const { return ___zeroVector_2; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_zeroVector_2() { return &___zeroVector_2; }
inline void set_zeroVector_2(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___zeroVector_2 = value;
}
inline static int32_t get_offset_of_oneVector_3() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___oneVector_3)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_oneVector_3() const { return ___oneVector_3; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_oneVector_3() { return &___oneVector_3; }
inline void set_oneVector_3(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___oneVector_3 = value;
}
inline static int32_t get_offset_of_upVector_4() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___upVector_4)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_upVector_4() const { return ___upVector_4; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_upVector_4() { return &___upVector_4; }
inline void set_upVector_4(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___upVector_4 = value;
}
inline static int32_t get_offset_of_downVector_5() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___downVector_5)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_downVector_5() const { return ___downVector_5; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_downVector_5() { return &___downVector_5; }
inline void set_downVector_5(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___downVector_5 = value;
}
inline static int32_t get_offset_of_leftVector_6() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___leftVector_6)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_leftVector_6() const { return ___leftVector_6; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_leftVector_6() { return &___leftVector_6; }
inline void set_leftVector_6(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___leftVector_6 = value;
}
inline static int32_t get_offset_of_rightVector_7() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___rightVector_7)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_rightVector_7() const { return ___rightVector_7; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_rightVector_7() { return &___rightVector_7; }
inline void set_rightVector_7(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___rightVector_7 = value;
}
inline static int32_t get_offset_of_positiveInfinityVector_8() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___positiveInfinityVector_8)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_positiveInfinityVector_8() const { return ___positiveInfinityVector_8; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_positiveInfinityVector_8() { return &___positiveInfinityVector_8; }
inline void set_positiveInfinityVector_8(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___positiveInfinityVector_8 = value;
}
inline static int32_t get_offset_of_negativeInfinityVector_9() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___negativeInfinityVector_9)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_negativeInfinityVector_9() const { return ___negativeInfinityVector_9; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_negativeInfinityVector_9() { return &___negativeInfinityVector_9; }
inline void set_negativeInfinityVector_9(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___negativeInfinityVector_9 = value;
}
};
// UnityEngine.Vector3
struct Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720
{
public:
// System.Single UnityEngine.Vector3::x
float ___x_2;
// System.Single UnityEngine.Vector3::y
float ___y_3;
// System.Single UnityEngine.Vector3::z
float ___z_4;
public:
inline static int32_t get_offset_of_x_2() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720, ___x_2)); }
inline float get_x_2() const { return ___x_2; }
inline float* get_address_of_x_2() { return &___x_2; }
inline void set_x_2(float value)
{
___x_2 = value;
}
inline static int32_t get_offset_of_y_3() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720, ___y_3)); }
inline float get_y_3() const { return ___y_3; }
inline float* get_address_of_y_3() { return &___y_3; }
inline void set_y_3(float value)
{
___y_3 = value;
}
inline static int32_t get_offset_of_z_4() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720, ___z_4)); }
inline float get_z_4() const { return ___z_4; }
inline float* get_address_of_z_4() { return &___z_4; }
inline void set_z_4(float value)
{
___z_4 = value;
}
};
struct Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields
{
public:
// UnityEngine.Vector3 UnityEngine.Vector3::zeroVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___zeroVector_5;
// UnityEngine.Vector3 UnityEngine.Vector3::oneVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___oneVector_6;
// UnityEngine.Vector3 UnityEngine.Vector3::upVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___upVector_7;
// UnityEngine.Vector3 UnityEngine.Vector3::downVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___downVector_8;
// UnityEngine.Vector3 UnityEngine.Vector3::leftVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___leftVector_9;
// UnityEngine.Vector3 UnityEngine.Vector3::rightVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___rightVector_10;
// UnityEngine.Vector3 UnityEngine.Vector3::forwardVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___forwardVector_11;
// UnityEngine.Vector3 UnityEngine.Vector3::backVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___backVector_12;
// UnityEngine.Vector3 UnityEngine.Vector3::positiveInfinityVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___positiveInfinityVector_13;
// UnityEngine.Vector3 UnityEngine.Vector3::negativeInfinityVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___negativeInfinityVector_14;
public:
inline static int32_t get_offset_of_zeroVector_5() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___zeroVector_5)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_zeroVector_5() const { return ___zeroVector_5; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_zeroVector_5() { return &___zeroVector_5; }
inline void set_zeroVector_5(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___zeroVector_5 = value;
}
inline static int32_t get_offset_of_oneVector_6() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___oneVector_6)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_oneVector_6() const { return ___oneVector_6; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_oneVector_6() { return &___oneVector_6; }
inline void set_oneVector_6(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___oneVector_6 = value;
}
inline static int32_t get_offset_of_upVector_7() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___upVector_7)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_upVector_7() const { return ___upVector_7; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_upVector_7() { return &___upVector_7; }
inline void set_upVector_7(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___upVector_7 = value;
}
inline static int32_t get_offset_of_downVector_8() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___downVector_8)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_downVector_8() const { return ___downVector_8; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_downVector_8() { return &___downVector_8; }
inline void set_downVector_8(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___downVector_8 = value;
}
inline static int32_t get_offset_of_leftVector_9() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___leftVector_9)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_leftVector_9() const { return ___leftVector_9; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_leftVector_9() { return &___leftVector_9; }
inline void set_leftVector_9(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___leftVector_9 = value;
}
inline static int32_t get_offset_of_rightVector_10() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___rightVector_10)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_rightVector_10() const { return ___rightVector_10; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_rightVector_10() { return &___rightVector_10; }
inline void set_rightVector_10(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___rightVector_10 = value;
}
inline static int32_t get_offset_of_forwardVector_11() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___forwardVector_11)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_forwardVector_11() const { return ___forwardVector_11; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_forwardVector_11() { return &___forwardVector_11; }
inline void set_forwardVector_11(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___forwardVector_11 = value;
}
inline static int32_t get_offset_of_backVector_12() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___backVector_12)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_backVector_12() const { return ___backVector_12; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_backVector_12() { return &___backVector_12; }
inline void set_backVector_12(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___backVector_12 = value;
}
inline static int32_t get_offset_of_positiveInfinityVector_13() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___positiveInfinityVector_13)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_positiveInfinityVector_13() const { return ___positiveInfinityVector_13; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_positiveInfinityVector_13() { return &___positiveInfinityVector_13; }
inline void set_positiveInfinityVector_13(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___positiveInfinityVector_13 = value;
}
inline static int32_t get_offset_of_negativeInfinityVector_14() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___negativeInfinityVector_14)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_negativeInfinityVector_14() const { return ___negativeInfinityVector_14; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_negativeInfinityVector_14() { return &___negativeInfinityVector_14; }
inline void set_negativeInfinityVector_14(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___negativeInfinityVector_14 = value;
}
};
// UnityEngine.Vector4
struct Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E
{
public:
// System.Single UnityEngine.Vector4::x
float ___x_1;
// System.Single UnityEngine.Vector4::y
float ___y_2;
// System.Single UnityEngine.Vector4::z
float ___z_3;
// System.Single UnityEngine.Vector4::w
float ___w_4;
public:
inline static int32_t get_offset_of_x_1() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E, ___x_1)); }
inline float get_x_1() const { return ___x_1; }
inline float* get_address_of_x_1() { return &___x_1; }
inline void set_x_1(float value)
{
___x_1 = value;
}
inline static int32_t get_offset_of_y_2() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E, ___y_2)); }
inline float get_y_2() const { return ___y_2; }
inline float* get_address_of_y_2() { return &___y_2; }
inline void set_y_2(float value)
{
___y_2 = value;
}
inline static int32_t get_offset_of_z_3() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E, ___z_3)); }
inline float get_z_3() const { return ___z_3; }
inline float* get_address_of_z_3() { return &___z_3; }
inline void set_z_3(float value)
{
___z_3 = value;
}
inline static int32_t get_offset_of_w_4() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E, ___w_4)); }
inline float get_w_4() const { return ___w_4; }
inline float* get_address_of_w_4() { return &___w_4; }
inline void set_w_4(float value)
{
___w_4 = value;
}
};
struct Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E_StaticFields
{
public:
// UnityEngine.Vector4 UnityEngine.Vector4::zeroVector
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___zeroVector_5;
// UnityEngine.Vector4 UnityEngine.Vector4::oneVector
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___oneVector_6;
// UnityEngine.Vector4 UnityEngine.Vector4::positiveInfinityVector
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___positiveInfinityVector_7;
// UnityEngine.Vector4 UnityEngine.Vector4::negativeInfinityVector
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___negativeInfinityVector_8;
public:
inline static int32_t get_offset_of_zeroVector_5() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E_StaticFields, ___zeroVector_5)); }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_zeroVector_5() const { return ___zeroVector_5; }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_zeroVector_5() { return &___zeroVector_5; }
inline void set_zeroVector_5(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value)
{
___zeroVector_5 = value;
}
inline static int32_t get_offset_of_oneVector_6() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E_StaticFields, ___oneVector_6)); }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_oneVector_6() const { return ___oneVector_6; }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_oneVector_6() { return &___oneVector_6; }
inline void set_oneVector_6(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value)
{
___oneVector_6 = value;
}
inline static int32_t get_offset_of_positiveInfinityVector_7() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E_StaticFields, ___positiveInfinityVector_7)); }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_positiveInfinityVector_7() const { return ___positiveInfinityVector_7; }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_positiveInfinityVector_7() { return &___positiveInfinityVector_7; }
inline void set_positiveInfinityVector_7(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value)
{
___positiveInfinityVector_7 = value;
}
inline static int32_t get_offset_of_negativeInfinityVector_8() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E_StaticFields, ___negativeInfinityVector_8)); }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_negativeInfinityVector_8() const { return ___negativeInfinityVector_8; }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_negativeInfinityVector_8() { return &___negativeInfinityVector_8; }
inline void set_negativeInfinityVector_8(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value)
{
___negativeInfinityVector_8 = value;
}
};
// UnityEngine.XR.WSA.SurfaceId
struct SurfaceId_t5FCE14311FE5CFC3C4DDFCAC0B7FC2F54123E9BF
{
public:
// System.Int32 UnityEngine.XR.WSA.SurfaceId::handle
int32_t ___handle_0;
public:
inline static int32_t get_offset_of_handle_0() { return static_cast<int32_t>(offsetof(SurfaceId_t5FCE14311FE5CFC3C4DDFCAC0B7FC2F54123E9BF, ___handle_0)); }
inline int32_t get_handle_0() const { return ___handle_0; }
inline int32_t* get_address_of_handle_0() { return &___handle_0; }
inline void set_handle_0(int32_t value)
{
___handle_0 = value;
}
};
// Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorWatcher
struct CloudSpatialAnchorWatcher_t94E373F9C47C90D744197B54C803B0C00C520766 : public RuntimeObject
{
public:
// System.IntPtr Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorWatcher::handle
intptr_t ___handle_0;
public:
inline static int32_t get_offset_of_handle_0() { return static_cast<int32_t>(offsetof(CloudSpatialAnchorWatcher_t94E373F9C47C90D744197B54C803B0C00C520766, ___handle_0)); }
inline intptr_t get_handle_0() const { return ___handle_0; }
inline intptr_t* get_address_of_handle_0() { return &___handle_0; }
inline void set_handle_0(intptr_t value)
{
___handle_0 = value;
}
};
// Microsoft.MixedReality.Toolkit.Audio.AudioLoFiSourceQuality
struct AudioLoFiSourceQuality_tFE40EA832480D0666FD299EA683C7D3431544A1A
{
public:
// System.Int32 Microsoft.MixedReality.Toolkit.Audio.AudioLoFiSourceQuality::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(AudioLoFiSourceQuality_tFE40EA832480D0666FD299EA683C7D3431544A1A, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Microsoft.MixedReality.Toolkit.Diagnostics.MixedRealityToolkitVisualProfiler_FrameRateColor
struct FrameRateColor_tA18CA19BEF3B11918729550FC9790324FC0B1103
{
public:
// System.Single Microsoft.MixedReality.Toolkit.Diagnostics.MixedRealityToolkitVisualProfiler_FrameRateColor::percentageOfTarget
float ___percentageOfTarget_0;
// UnityEngine.Color Microsoft.MixedReality.Toolkit.Diagnostics.MixedRealityToolkitVisualProfiler_FrameRateColor::color
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___color_1;
public:
inline static int32_t get_offset_of_percentageOfTarget_0() { return static_cast<int32_t>(offsetof(FrameRateColor_tA18CA19BEF3B11918729550FC9790324FC0B1103, ___percentageOfTarget_0)); }
inline float get_percentageOfTarget_0() const { return ___percentageOfTarget_0; }
inline float* get_address_of_percentageOfTarget_0() { return &___percentageOfTarget_0; }
inline void set_percentageOfTarget_0(float value)
{
___percentageOfTarget_0 = value;
}
inline static int32_t get_offset_of_color_1() { return static_cast<int32_t>(offsetof(FrameRateColor_tA18CA19BEF3B11918729550FC9790324FC0B1103, ___color_1)); }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 get_color_1() const { return ___color_1; }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * get_address_of_color_1() { return &___color_1; }
inline void set_color_1(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 value)
{
___color_1 = value;
}
};
// Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect_ProximityState
struct ProximityState_tD1C4B8412DB17D0BE7EDCE6004706739A7ADD3B6
{
public:
// System.Int32 Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect_ProximityState::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ProximityState_tD1C4B8412DB17D0BE7EDCE6004706739A7ADD3B6, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControlTypes.CardinalAxisType
struct CardinalAxisType_t4B23BCACD061E9C25A3902A4282FB70335795697
{
public:
// System.Int32 Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControlTypes.CardinalAxisType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CardinalAxisType_t4B23BCACD061E9C25A3902A4282FB70335795697, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Microsoft.MixedReality.Toolkit.Experimental.UI.ObjectManipulator_PointerData
struct PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76
{
public:
// Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer Microsoft.MixedReality.Toolkit.Experimental.UI.ObjectManipulator_PointerData::pointer
RuntimeObject* ___pointer_0;
// UnityEngine.Vector3 Microsoft.MixedReality.Toolkit.Experimental.UI.ObjectManipulator_PointerData::initialGrabPointInPointer
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___initialGrabPointInPointer_1;
public:
inline static int32_t get_offset_of_pointer_0() { return static_cast<int32_t>(offsetof(PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76, ___pointer_0)); }
inline RuntimeObject* get_pointer_0() const { return ___pointer_0; }
inline RuntimeObject** get_address_of_pointer_0() { return &___pointer_0; }
inline void set_pointer_0(RuntimeObject* value)
{
___pointer_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___pointer_0), (void*)value);
}
inline static int32_t get_offset_of_initialGrabPointInPointer_1() { return static_cast<int32_t>(offsetof(PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76, ___initialGrabPointInPointer_1)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_initialGrabPointInPointer_1() const { return ___initialGrabPointInPointer_1; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_initialGrabPointInPointer_1() { return &___initialGrabPointInPointer_1; }
inline void set_initialGrabPointInPointer_1(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___initialGrabPointInPointer_1 = value;
}
};
// Native definition for P/Invoke marshalling of Microsoft.MixedReality.Toolkit.Experimental.UI.ObjectManipulator/PointerData
struct PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76_marshaled_pinvoke
{
RuntimeObject* ___pointer_0;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___initialGrabPointInPointer_1;
};
// Native definition for COM marshalling of Microsoft.MixedReality.Toolkit.Experimental.UI.ObjectManipulator/PointerData
struct PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76_marshaled_com
{
RuntimeObject* ___pointer_0;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___initialGrabPointInPointer_1;
};
// Microsoft.MixedReality.Toolkit.Experimental.Utilities.WorldAnchorManager_AnchorOperation
struct AnchorOperation_t70FD4F5F547CD6156ADEAF0A669148D8B9D11835
{
public:
// System.Int32 Microsoft.MixedReality.Toolkit.Experimental.Utilities.WorldAnchorManager_AnchorOperation::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(AnchorOperation_t70FD4F5F547CD6156ADEAF0A669148D8B9D11835, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType
struct KeyType_tF5A78BC09383A2ED02EED8E2F3CA2F3445018F58
{
public:
// System.Int32 Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(KeyType_tF5A78BC09383A2ED02EED8E2F3CA2F3445018F58, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Microsoft.MixedReality.Toolkit.Input.KeyBinding_MouseButton
struct MouseButton_t637324A94BEA705710DF895A72C46D4623AEBC79
{
public:
// System.Int32 Microsoft.MixedReality.Toolkit.Input.KeyBinding_MouseButton::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(MouseButton_t637324A94BEA705710DF895A72C46D4623AEBC79, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Microsoft.MixedReality.Toolkit.UI.BoundingBox_CardinalAxisType
struct CardinalAxisType_tEFCCBEF7B8AC06BC84EFCE26FFBCC87B03F07E28
{
public:
// System.Int32 Microsoft.MixedReality.Toolkit.UI.BoundingBox_CardinalAxisType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CardinalAxisType_tEFCCBEF7B8AC06BC84EFCE26FFBCC87B03F07E28, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Microsoft.MixedReality.Toolkit.UI.BoundingBox_HandleProximityState
struct HandleProximityState_tA43987D2AC4E94EDAA548C7D5B28C20004E810FE
{
public:
// System.Int32 Microsoft.MixedReality.Toolkit.UI.BoundingBox_HandleProximityState::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(HandleProximityState_tA43987D2AC4E94EDAA548C7D5B28C20004E810FE, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Microsoft.MixedReality.Toolkit.UI.BoundingBox_HandleType
struct HandleType_t15F4933B7EA6E666FCA5D9B73E971E519E9D468F
{
public:
// System.Int32 Microsoft.MixedReality.Toolkit.UI.BoundingBox_HandleType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(HandleType_t15F4933B7EA6E666FCA5D9B73E971E519E9D468F, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData
struct HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E : public RuntimeObject
{
public:
// System.Boolean Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData::IsActive
bool ___IsActive_0;
// System.Boolean Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData::IsSourceNear
bool ___IsSourceNear_1;
// UnityEngine.Vector2 Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData::uvOffset
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uvOffset_2;
// UnityEngine.Vector2 Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData::touchingQuadCoord
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___touchingQuadCoord_3;
// UnityEngine.Vector2 Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData::uvTotalOffset
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uvTotalOffset_4;
// UnityEngine.Vector3 Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData::touchingPoint
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___touchingPoint_5;
// UnityEngine.Vector3 Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData::touchingPointSmoothed
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___touchingPointSmoothed_6;
// UnityEngine.Vector3 Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData::touchingInitialPt
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___touchingInitialPt_7;
// UnityEngine.Vector3 Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData::touchingRayOffset
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___touchingRayOffset_8;
// UnityEngine.Vector2 Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData::touchingInitialUV
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___touchingInitialUV_9;
// UnityEngine.Vector2 Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData::touchingUVOffset
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___touchingUVOffset_10;
// UnityEngine.Vector2 Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData::touchingUVTotalOffset
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___touchingUVTotalOffset_11;
// UnityEngine.Vector3 Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData::initialProjectedOffset
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___initialProjectedOffset_12;
// Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData::touchingSource
RuntimeObject* ___touchingSource_13;
// Microsoft.MixedReality.Toolkit.Input.IMixedRealityController Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData::currentController
RuntimeObject* ___currentController_14;
// Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData::currentPointer
RuntimeObject* ___currentPointer_15;
public:
inline static int32_t get_offset_of_IsActive_0() { return static_cast<int32_t>(offsetof(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E, ___IsActive_0)); }
inline bool get_IsActive_0() const { return ___IsActive_0; }
inline bool* get_address_of_IsActive_0() { return &___IsActive_0; }
inline void set_IsActive_0(bool value)
{
___IsActive_0 = value;
}
inline static int32_t get_offset_of_IsSourceNear_1() { return static_cast<int32_t>(offsetof(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E, ___IsSourceNear_1)); }
inline bool get_IsSourceNear_1() const { return ___IsSourceNear_1; }
inline bool* get_address_of_IsSourceNear_1() { return &___IsSourceNear_1; }
inline void set_IsSourceNear_1(bool value)
{
___IsSourceNear_1 = value;
}
inline static int32_t get_offset_of_uvOffset_2() { return static_cast<int32_t>(offsetof(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E, ___uvOffset_2)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_uvOffset_2() const { return ___uvOffset_2; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_uvOffset_2() { return &___uvOffset_2; }
inline void set_uvOffset_2(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___uvOffset_2 = value;
}
inline static int32_t get_offset_of_touchingQuadCoord_3() { return static_cast<int32_t>(offsetof(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E, ___touchingQuadCoord_3)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_touchingQuadCoord_3() const { return ___touchingQuadCoord_3; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_touchingQuadCoord_3() { return &___touchingQuadCoord_3; }
inline void set_touchingQuadCoord_3(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___touchingQuadCoord_3 = value;
}
inline static int32_t get_offset_of_uvTotalOffset_4() { return static_cast<int32_t>(offsetof(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E, ___uvTotalOffset_4)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_uvTotalOffset_4() const { return ___uvTotalOffset_4; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_uvTotalOffset_4() { return &___uvTotalOffset_4; }
inline void set_uvTotalOffset_4(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___uvTotalOffset_4 = value;
}
inline static int32_t get_offset_of_touchingPoint_5() { return static_cast<int32_t>(offsetof(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E, ___touchingPoint_5)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_touchingPoint_5() const { return ___touchingPoint_5; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_touchingPoint_5() { return &___touchingPoint_5; }
inline void set_touchingPoint_5(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___touchingPoint_5 = value;
}
inline static int32_t get_offset_of_touchingPointSmoothed_6() { return static_cast<int32_t>(offsetof(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E, ___touchingPointSmoothed_6)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_touchingPointSmoothed_6() const { return ___touchingPointSmoothed_6; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_touchingPointSmoothed_6() { return &___touchingPointSmoothed_6; }
inline void set_touchingPointSmoothed_6(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___touchingPointSmoothed_6 = value;
}
inline static int32_t get_offset_of_touchingInitialPt_7() { return static_cast<int32_t>(offsetof(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E, ___touchingInitialPt_7)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_touchingInitialPt_7() const { return ___touchingInitialPt_7; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_touchingInitialPt_7() { return &___touchingInitialPt_7; }
inline void set_touchingInitialPt_7(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___touchingInitialPt_7 = value;
}
inline static int32_t get_offset_of_touchingRayOffset_8() { return static_cast<int32_t>(offsetof(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E, ___touchingRayOffset_8)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_touchingRayOffset_8() const { return ___touchingRayOffset_8; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_touchingRayOffset_8() { return &___touchingRayOffset_8; }
inline void set_touchingRayOffset_8(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___touchingRayOffset_8 = value;
}
inline static int32_t get_offset_of_touchingInitialUV_9() { return static_cast<int32_t>(offsetof(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E, ___touchingInitialUV_9)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_touchingInitialUV_9() const { return ___touchingInitialUV_9; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_touchingInitialUV_9() { return &___touchingInitialUV_9; }
inline void set_touchingInitialUV_9(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___touchingInitialUV_9 = value;
}
inline static int32_t get_offset_of_touchingUVOffset_10() { return static_cast<int32_t>(offsetof(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E, ___touchingUVOffset_10)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_touchingUVOffset_10() const { return ___touchingUVOffset_10; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_touchingUVOffset_10() { return &___touchingUVOffset_10; }
inline void set_touchingUVOffset_10(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___touchingUVOffset_10 = value;
}
inline static int32_t get_offset_of_touchingUVTotalOffset_11() { return static_cast<int32_t>(offsetof(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E, ___touchingUVTotalOffset_11)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_touchingUVTotalOffset_11() const { return ___touchingUVTotalOffset_11; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_touchingUVTotalOffset_11() { return &___touchingUVTotalOffset_11; }
inline void set_touchingUVTotalOffset_11(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___touchingUVTotalOffset_11 = value;
}
inline static int32_t get_offset_of_initialProjectedOffset_12() { return static_cast<int32_t>(offsetof(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E, ___initialProjectedOffset_12)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_initialProjectedOffset_12() const { return ___initialProjectedOffset_12; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_initialProjectedOffset_12() { return &___initialProjectedOffset_12; }
inline void set_initialProjectedOffset_12(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___initialProjectedOffset_12 = value;
}
inline static int32_t get_offset_of_touchingSource_13() { return static_cast<int32_t>(offsetof(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E, ___touchingSource_13)); }
inline RuntimeObject* get_touchingSource_13() const { return ___touchingSource_13; }
inline RuntimeObject** get_address_of_touchingSource_13() { return &___touchingSource_13; }
inline void set_touchingSource_13(RuntimeObject* value)
{
___touchingSource_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___touchingSource_13), (void*)value);
}
inline static int32_t get_offset_of_currentController_14() { return static_cast<int32_t>(offsetof(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E, ___currentController_14)); }
inline RuntimeObject* get_currentController_14() const { return ___currentController_14; }
inline RuntimeObject** get_address_of_currentController_14() { return &___currentController_14; }
inline void set_currentController_14(RuntimeObject* value)
{
___currentController_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___currentController_14), (void*)value);
}
inline static int32_t get_offset_of_currentPointer_15() { return static_cast<int32_t>(offsetof(HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E, ___currentPointer_15)); }
inline RuntimeObject* get_currentPointer_15() const { return ___currentPointer_15; }
inline RuntimeObject** get_address_of_currentPointer_15() { return &___currentPointer_15; }
inline void set_currentPointer_15(RuntimeObject* value)
{
___currentPointer_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___currentPointer_15), (void*)value);
}
};
// Microsoft.MixedReality.Toolkit.UI.ShaderPropertyType
struct ShaderPropertyType_t10BBDD35476FB1CC6131231308D2CF53C5972976
{
public:
// System.Int32 Microsoft.MixedReality.Toolkit.UI.ShaderPropertyType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ShaderPropertyType_t10BBDD35476FB1CC6131231308D2CF53C5972976, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Microsoft.MixedReality.Toolkit.UI.ThemePropertyTypes
struct ThemePropertyTypes_tF5539BAD4B85120DE5C397EC4A907C796D260C97
{
public:
// System.Int32 Microsoft.MixedReality.Toolkit.UI.ThemePropertyTypes::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ThemePropertyTypes_tF5539BAD4B85120DE5C397EC4A907C796D260C97, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue
struct ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE : public RuntimeObject
{
public:
// System.String Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue::Name
String_t* ___Name_0;
// System.String Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue::String
String_t* ___String_1;
// System.Boolean Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue::Bool
bool ___Bool_2;
// System.Int32 Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue::Int
int32_t ___Int_3;
// System.Single Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue::Float
float ___Float_4;
// UnityEngine.Texture Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue::Texture
Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * ___Texture_5;
// UnityEngine.Material Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue::Material
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___Material_6;
// UnityEngine.Shader Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue::Shader
Shader_tE2731FF351B74AB4186897484FB01E000C1160CA * ___Shader_7;
// UnityEngine.GameObject Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue::GameObject
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___GameObject_8;
// UnityEngine.Vector2 Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue::Vector2
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___Vector2_9;
// UnityEngine.Vector3 Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue::Vector3
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___Vector3_10;
// UnityEngine.Vector4 Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue::Vector4
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___Vector4_11;
// UnityEngine.Color Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue::Color
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___Color_12;
// UnityEngine.Quaternion Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue::Quaternion
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 ___Quaternion_13;
// UnityEngine.AudioClip Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue::AudioClip
AudioClip_tCC3C35F579203CE2601243585AB3D6953C3BA051 * ___AudioClip_14;
// UnityEngine.Animation Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue::Animation
Animation_tCFC171459D159DDEC6500B55543A76219D49BB9C * ___Animation_15;
public:
inline static int32_t get_offset_of_Name_0() { return static_cast<int32_t>(offsetof(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE, ___Name_0)); }
inline String_t* get_Name_0() const { return ___Name_0; }
inline String_t** get_address_of_Name_0() { return &___Name_0; }
inline void set_Name_0(String_t* value)
{
___Name_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Name_0), (void*)value);
}
inline static int32_t get_offset_of_String_1() { return static_cast<int32_t>(offsetof(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE, ___String_1)); }
inline String_t* get_String_1() const { return ___String_1; }
inline String_t** get_address_of_String_1() { return &___String_1; }
inline void set_String_1(String_t* value)
{
___String_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___String_1), (void*)value);
}
inline static int32_t get_offset_of_Bool_2() { return static_cast<int32_t>(offsetof(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE, ___Bool_2)); }
inline bool get_Bool_2() const { return ___Bool_2; }
inline bool* get_address_of_Bool_2() { return &___Bool_2; }
inline void set_Bool_2(bool value)
{
___Bool_2 = value;
}
inline static int32_t get_offset_of_Int_3() { return static_cast<int32_t>(offsetof(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE, ___Int_3)); }
inline int32_t get_Int_3() const { return ___Int_3; }
inline int32_t* get_address_of_Int_3() { return &___Int_3; }
inline void set_Int_3(int32_t value)
{
___Int_3 = value;
}
inline static int32_t get_offset_of_Float_4() { return static_cast<int32_t>(offsetof(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE, ___Float_4)); }
inline float get_Float_4() const { return ___Float_4; }
inline float* get_address_of_Float_4() { return &___Float_4; }
inline void set_Float_4(float value)
{
___Float_4 = value;
}
inline static int32_t get_offset_of_Texture_5() { return static_cast<int32_t>(offsetof(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE, ___Texture_5)); }
inline Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * get_Texture_5() const { return ___Texture_5; }
inline Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 ** get_address_of_Texture_5() { return &___Texture_5; }
inline void set_Texture_5(Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * value)
{
___Texture_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Texture_5), (void*)value);
}
inline static int32_t get_offset_of_Material_6() { return static_cast<int32_t>(offsetof(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE, ___Material_6)); }
inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * get_Material_6() const { return ___Material_6; }
inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 ** get_address_of_Material_6() { return &___Material_6; }
inline void set_Material_6(Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * value)
{
___Material_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Material_6), (void*)value);
}
inline static int32_t get_offset_of_Shader_7() { return static_cast<int32_t>(offsetof(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE, ___Shader_7)); }
inline Shader_tE2731FF351B74AB4186897484FB01E000C1160CA * get_Shader_7() const { return ___Shader_7; }
inline Shader_tE2731FF351B74AB4186897484FB01E000C1160CA ** get_address_of_Shader_7() { return &___Shader_7; }
inline void set_Shader_7(Shader_tE2731FF351B74AB4186897484FB01E000C1160CA * value)
{
___Shader_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Shader_7), (void*)value);
}
inline static int32_t get_offset_of_GameObject_8() { return static_cast<int32_t>(offsetof(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE, ___GameObject_8)); }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * get_GameObject_8() const { return ___GameObject_8; }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F ** get_address_of_GameObject_8() { return &___GameObject_8; }
inline void set_GameObject_8(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * value)
{
___GameObject_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___GameObject_8), (void*)value);
}
inline static int32_t get_offset_of_Vector2_9() { return static_cast<int32_t>(offsetof(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE, ___Vector2_9)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_Vector2_9() const { return ___Vector2_9; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_Vector2_9() { return &___Vector2_9; }
inline void set_Vector2_9(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___Vector2_9 = value;
}
inline static int32_t get_offset_of_Vector3_10() { return static_cast<int32_t>(offsetof(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE, ___Vector3_10)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_Vector3_10() const { return ___Vector3_10; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_Vector3_10() { return &___Vector3_10; }
inline void set_Vector3_10(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___Vector3_10 = value;
}
inline static int32_t get_offset_of_Vector4_11() { return static_cast<int32_t>(offsetof(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE, ___Vector4_11)); }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_Vector4_11() const { return ___Vector4_11; }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_Vector4_11() { return &___Vector4_11; }
inline void set_Vector4_11(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value)
{
___Vector4_11 = value;
}
inline static int32_t get_offset_of_Color_12() { return static_cast<int32_t>(offsetof(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE, ___Color_12)); }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 get_Color_12() const { return ___Color_12; }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * get_address_of_Color_12() { return &___Color_12; }
inline void set_Color_12(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 value)
{
___Color_12 = value;
}
inline static int32_t get_offset_of_Quaternion_13() { return static_cast<int32_t>(offsetof(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE, ___Quaternion_13)); }
inline Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 get_Quaternion_13() const { return ___Quaternion_13; }
inline Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 * get_address_of_Quaternion_13() { return &___Quaternion_13; }
inline void set_Quaternion_13(Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 value)
{
___Quaternion_13 = value;
}
inline static int32_t get_offset_of_AudioClip_14() { return static_cast<int32_t>(offsetof(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE, ___AudioClip_14)); }
inline AudioClip_tCC3C35F579203CE2601243585AB3D6953C3BA051 * get_AudioClip_14() const { return ___AudioClip_14; }
inline AudioClip_tCC3C35F579203CE2601243585AB3D6953C3BA051 ** get_address_of_AudioClip_14() { return &___AudioClip_14; }
inline void set_AudioClip_14(AudioClip_tCC3C35F579203CE2601243585AB3D6953C3BA051 * value)
{
___AudioClip_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___AudioClip_14), (void*)value);
}
inline static int32_t get_offset_of_Animation_15() { return static_cast<int32_t>(offsetof(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE, ___Animation_15)); }
inline Animation_tCFC171459D159DDEC6500B55543A76219D49BB9C * get_Animation_15() const { return ___Animation_15; }
inline Animation_tCFC171459D159DDEC6500B55543A76219D49BB9C ** get_address_of_Animation_15() { return &___Animation_15; }
inline void set_Animation_15(Animation_tCFC171459D159DDEC6500B55543A76219D49BB9C * value)
{
___Animation_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Animation_15), (void*)value);
}
};
// RestSharp.DataFormat
struct DataFormat_t4E1A7BDCEFCDA9B7E0916F22F5543F3AF7CA83B1
{
public:
// System.Int32 RestSharp.DataFormat::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(DataFormat_t4E1A7BDCEFCDA9B7E0916F22F5543F3AF7CA83B1, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// RestSharp.HttpCookie
struct HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616 : public RuntimeObject
{
public:
// System.String RestSharp.HttpCookie::<Comment>k__BackingField
String_t* ___U3CCommentU3Ek__BackingField_0;
// System.Uri RestSharp.HttpCookie::<CommentUri>k__BackingField
Uri_t87E4A94B2901F5EEDD18AA72C3DB1B00E672D68E * ___U3CCommentUriU3Ek__BackingField_1;
// System.Boolean RestSharp.HttpCookie::<Discard>k__BackingField
bool ___U3CDiscardU3Ek__BackingField_2;
// System.String RestSharp.HttpCookie::<Domain>k__BackingField
String_t* ___U3CDomainU3Ek__BackingField_3;
// System.Boolean RestSharp.HttpCookie::<Expired>k__BackingField
bool ___U3CExpiredU3Ek__BackingField_4;
// System.DateTime RestSharp.HttpCookie::<Expires>k__BackingField
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___U3CExpiresU3Ek__BackingField_5;
// System.Boolean RestSharp.HttpCookie::<HttpOnly>k__BackingField
bool ___U3CHttpOnlyU3Ek__BackingField_6;
// System.String RestSharp.HttpCookie::<Name>k__BackingField
String_t* ___U3CNameU3Ek__BackingField_7;
// System.String RestSharp.HttpCookie::<Path>k__BackingField
String_t* ___U3CPathU3Ek__BackingField_8;
// System.String RestSharp.HttpCookie::<Port>k__BackingField
String_t* ___U3CPortU3Ek__BackingField_9;
// System.Boolean RestSharp.HttpCookie::<Secure>k__BackingField
bool ___U3CSecureU3Ek__BackingField_10;
// System.DateTime RestSharp.HttpCookie::<TimeStamp>k__BackingField
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___U3CTimeStampU3Ek__BackingField_11;
// System.String RestSharp.HttpCookie::<Value>k__BackingField
String_t* ___U3CValueU3Ek__BackingField_12;
// System.Int32 RestSharp.HttpCookie::<Version>k__BackingField
int32_t ___U3CVersionU3Ek__BackingField_13;
public:
inline static int32_t get_offset_of_U3CCommentU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616, ___U3CCommentU3Ek__BackingField_0)); }
inline String_t* get_U3CCommentU3Ek__BackingField_0() const { return ___U3CCommentU3Ek__BackingField_0; }
inline String_t** get_address_of_U3CCommentU3Ek__BackingField_0() { return &___U3CCommentU3Ek__BackingField_0; }
inline void set_U3CCommentU3Ek__BackingField_0(String_t* value)
{
___U3CCommentU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CCommentU3Ek__BackingField_0), (void*)value);
}
inline static int32_t get_offset_of_U3CCommentUriU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616, ___U3CCommentUriU3Ek__BackingField_1)); }
inline Uri_t87E4A94B2901F5EEDD18AA72C3DB1B00E672D68E * get_U3CCommentUriU3Ek__BackingField_1() const { return ___U3CCommentUriU3Ek__BackingField_1; }
inline Uri_t87E4A94B2901F5EEDD18AA72C3DB1B00E672D68E ** get_address_of_U3CCommentUriU3Ek__BackingField_1() { return &___U3CCommentUriU3Ek__BackingField_1; }
inline void set_U3CCommentUriU3Ek__BackingField_1(Uri_t87E4A94B2901F5EEDD18AA72C3DB1B00E672D68E * value)
{
___U3CCommentUriU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CCommentUriU3Ek__BackingField_1), (void*)value);
}
inline static int32_t get_offset_of_U3CDiscardU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616, ___U3CDiscardU3Ek__BackingField_2)); }
inline bool get_U3CDiscardU3Ek__BackingField_2() const { return ___U3CDiscardU3Ek__BackingField_2; }
inline bool* get_address_of_U3CDiscardU3Ek__BackingField_2() { return &___U3CDiscardU3Ek__BackingField_2; }
inline void set_U3CDiscardU3Ek__BackingField_2(bool value)
{
___U3CDiscardU3Ek__BackingField_2 = value;
}
inline static int32_t get_offset_of_U3CDomainU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616, ___U3CDomainU3Ek__BackingField_3)); }
inline String_t* get_U3CDomainU3Ek__BackingField_3() const { return ___U3CDomainU3Ek__BackingField_3; }
inline String_t** get_address_of_U3CDomainU3Ek__BackingField_3() { return &___U3CDomainU3Ek__BackingField_3; }
inline void set_U3CDomainU3Ek__BackingField_3(String_t* value)
{
___U3CDomainU3Ek__BackingField_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CDomainU3Ek__BackingField_3), (void*)value);
}
inline static int32_t get_offset_of_U3CExpiredU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616, ___U3CExpiredU3Ek__BackingField_4)); }
inline bool get_U3CExpiredU3Ek__BackingField_4() const { return ___U3CExpiredU3Ek__BackingField_4; }
inline bool* get_address_of_U3CExpiredU3Ek__BackingField_4() { return &___U3CExpiredU3Ek__BackingField_4; }
inline void set_U3CExpiredU3Ek__BackingField_4(bool value)
{
___U3CExpiredU3Ek__BackingField_4 = value;
}
inline static int32_t get_offset_of_U3CExpiresU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616, ___U3CExpiresU3Ek__BackingField_5)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_U3CExpiresU3Ek__BackingField_5() const { return ___U3CExpiresU3Ek__BackingField_5; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_U3CExpiresU3Ek__BackingField_5() { return &___U3CExpiresU3Ek__BackingField_5; }
inline void set_U3CExpiresU3Ek__BackingField_5(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___U3CExpiresU3Ek__BackingField_5 = value;
}
inline static int32_t get_offset_of_U3CHttpOnlyU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616, ___U3CHttpOnlyU3Ek__BackingField_6)); }
inline bool get_U3CHttpOnlyU3Ek__BackingField_6() const { return ___U3CHttpOnlyU3Ek__BackingField_6; }
inline bool* get_address_of_U3CHttpOnlyU3Ek__BackingField_6() { return &___U3CHttpOnlyU3Ek__BackingField_6; }
inline void set_U3CHttpOnlyU3Ek__BackingField_6(bool value)
{
___U3CHttpOnlyU3Ek__BackingField_6 = value;
}
inline static int32_t get_offset_of_U3CNameU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616, ___U3CNameU3Ek__BackingField_7)); }
inline String_t* get_U3CNameU3Ek__BackingField_7() const { return ___U3CNameU3Ek__BackingField_7; }
inline String_t** get_address_of_U3CNameU3Ek__BackingField_7() { return &___U3CNameU3Ek__BackingField_7; }
inline void set_U3CNameU3Ek__BackingField_7(String_t* value)
{
___U3CNameU3Ek__BackingField_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CNameU3Ek__BackingField_7), (void*)value);
}
inline static int32_t get_offset_of_U3CPathU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616, ___U3CPathU3Ek__BackingField_8)); }
inline String_t* get_U3CPathU3Ek__BackingField_8() const { return ___U3CPathU3Ek__BackingField_8; }
inline String_t** get_address_of_U3CPathU3Ek__BackingField_8() { return &___U3CPathU3Ek__BackingField_8; }
inline void set_U3CPathU3Ek__BackingField_8(String_t* value)
{
___U3CPathU3Ek__BackingField_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CPathU3Ek__BackingField_8), (void*)value);
}
inline static int32_t get_offset_of_U3CPortU3Ek__BackingField_9() { return static_cast<int32_t>(offsetof(HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616, ___U3CPortU3Ek__BackingField_9)); }
inline String_t* get_U3CPortU3Ek__BackingField_9() const { return ___U3CPortU3Ek__BackingField_9; }
inline String_t** get_address_of_U3CPortU3Ek__BackingField_9() { return &___U3CPortU3Ek__BackingField_9; }
inline void set_U3CPortU3Ek__BackingField_9(String_t* value)
{
___U3CPortU3Ek__BackingField_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CPortU3Ek__BackingField_9), (void*)value);
}
inline static int32_t get_offset_of_U3CSecureU3Ek__BackingField_10() { return static_cast<int32_t>(offsetof(HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616, ___U3CSecureU3Ek__BackingField_10)); }
inline bool get_U3CSecureU3Ek__BackingField_10() const { return ___U3CSecureU3Ek__BackingField_10; }
inline bool* get_address_of_U3CSecureU3Ek__BackingField_10() { return &___U3CSecureU3Ek__BackingField_10; }
inline void set_U3CSecureU3Ek__BackingField_10(bool value)
{
___U3CSecureU3Ek__BackingField_10 = value;
}
inline static int32_t get_offset_of_U3CTimeStampU3Ek__BackingField_11() { return static_cast<int32_t>(offsetof(HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616, ___U3CTimeStampU3Ek__BackingField_11)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_U3CTimeStampU3Ek__BackingField_11() const { return ___U3CTimeStampU3Ek__BackingField_11; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_U3CTimeStampU3Ek__BackingField_11() { return &___U3CTimeStampU3Ek__BackingField_11; }
inline void set_U3CTimeStampU3Ek__BackingField_11(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___U3CTimeStampU3Ek__BackingField_11 = value;
}
inline static int32_t get_offset_of_U3CValueU3Ek__BackingField_12() { return static_cast<int32_t>(offsetof(HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616, ___U3CValueU3Ek__BackingField_12)); }
inline String_t* get_U3CValueU3Ek__BackingField_12() const { return ___U3CValueU3Ek__BackingField_12; }
inline String_t** get_address_of_U3CValueU3Ek__BackingField_12() { return &___U3CValueU3Ek__BackingField_12; }
inline void set_U3CValueU3Ek__BackingField_12(String_t* value)
{
___U3CValueU3Ek__BackingField_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CValueU3Ek__BackingField_12), (void*)value);
}
inline static int32_t get_offset_of_U3CVersionU3Ek__BackingField_13() { return static_cast<int32_t>(offsetof(HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616, ___U3CVersionU3Ek__BackingField_13)); }
inline int32_t get_U3CVersionU3Ek__BackingField_13() const { return ___U3CVersionU3Ek__BackingField_13; }
inline int32_t* get_address_of_U3CVersionU3Ek__BackingField_13() { return &___U3CVersionU3Ek__BackingField_13; }
inline void set_U3CVersionU3Ek__BackingField_13(int32_t value)
{
___U3CVersionU3Ek__BackingField_13 = value;
}
};
// RestSharp.ParameterType
struct ParameterType_t0A47FE4E9E6457C91755DCDE0B703C0BC5739619
{
public:
// System.Int32 RestSharp.ParameterType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ParameterType_t0A47FE4E9E6457C91755DCDE0B703C0BC5739619, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// RestSharp.RestResponseCookie
struct RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562 : public RuntimeObject
{
public:
// System.String RestSharp.RestResponseCookie::<Comment>k__BackingField
String_t* ___U3CCommentU3Ek__BackingField_0;
// System.Uri RestSharp.RestResponseCookie::<CommentUri>k__BackingField
Uri_t87E4A94B2901F5EEDD18AA72C3DB1B00E672D68E * ___U3CCommentUriU3Ek__BackingField_1;
// System.Boolean RestSharp.RestResponseCookie::<Discard>k__BackingField
bool ___U3CDiscardU3Ek__BackingField_2;
// System.String RestSharp.RestResponseCookie::<Domain>k__BackingField
String_t* ___U3CDomainU3Ek__BackingField_3;
// System.Boolean RestSharp.RestResponseCookie::<Expired>k__BackingField
bool ___U3CExpiredU3Ek__BackingField_4;
// System.DateTime RestSharp.RestResponseCookie::<Expires>k__BackingField
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___U3CExpiresU3Ek__BackingField_5;
// System.Boolean RestSharp.RestResponseCookie::<HttpOnly>k__BackingField
bool ___U3CHttpOnlyU3Ek__BackingField_6;
// System.String RestSharp.RestResponseCookie::<Name>k__BackingField
String_t* ___U3CNameU3Ek__BackingField_7;
// System.String RestSharp.RestResponseCookie::<Path>k__BackingField
String_t* ___U3CPathU3Ek__BackingField_8;
// System.String RestSharp.RestResponseCookie::<Port>k__BackingField
String_t* ___U3CPortU3Ek__BackingField_9;
// System.Boolean RestSharp.RestResponseCookie::<Secure>k__BackingField
bool ___U3CSecureU3Ek__BackingField_10;
// System.DateTime RestSharp.RestResponseCookie::<TimeStamp>k__BackingField
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___U3CTimeStampU3Ek__BackingField_11;
// System.String RestSharp.RestResponseCookie::<Value>k__BackingField
String_t* ___U3CValueU3Ek__BackingField_12;
// System.Int32 RestSharp.RestResponseCookie::<Version>k__BackingField
int32_t ___U3CVersionU3Ek__BackingField_13;
public:
inline static int32_t get_offset_of_U3CCommentU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562, ___U3CCommentU3Ek__BackingField_0)); }
inline String_t* get_U3CCommentU3Ek__BackingField_0() const { return ___U3CCommentU3Ek__BackingField_0; }
inline String_t** get_address_of_U3CCommentU3Ek__BackingField_0() { return &___U3CCommentU3Ek__BackingField_0; }
inline void set_U3CCommentU3Ek__BackingField_0(String_t* value)
{
___U3CCommentU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CCommentU3Ek__BackingField_0), (void*)value);
}
inline static int32_t get_offset_of_U3CCommentUriU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562, ___U3CCommentUriU3Ek__BackingField_1)); }
inline Uri_t87E4A94B2901F5EEDD18AA72C3DB1B00E672D68E * get_U3CCommentUriU3Ek__BackingField_1() const { return ___U3CCommentUriU3Ek__BackingField_1; }
inline Uri_t87E4A94B2901F5EEDD18AA72C3DB1B00E672D68E ** get_address_of_U3CCommentUriU3Ek__BackingField_1() { return &___U3CCommentUriU3Ek__BackingField_1; }
inline void set_U3CCommentUriU3Ek__BackingField_1(Uri_t87E4A94B2901F5EEDD18AA72C3DB1B00E672D68E * value)
{
___U3CCommentUriU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CCommentUriU3Ek__BackingField_1), (void*)value);
}
inline static int32_t get_offset_of_U3CDiscardU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562, ___U3CDiscardU3Ek__BackingField_2)); }
inline bool get_U3CDiscardU3Ek__BackingField_2() const { return ___U3CDiscardU3Ek__BackingField_2; }
inline bool* get_address_of_U3CDiscardU3Ek__BackingField_2() { return &___U3CDiscardU3Ek__BackingField_2; }
inline void set_U3CDiscardU3Ek__BackingField_2(bool value)
{
___U3CDiscardU3Ek__BackingField_2 = value;
}
inline static int32_t get_offset_of_U3CDomainU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562, ___U3CDomainU3Ek__BackingField_3)); }
inline String_t* get_U3CDomainU3Ek__BackingField_3() const { return ___U3CDomainU3Ek__BackingField_3; }
inline String_t** get_address_of_U3CDomainU3Ek__BackingField_3() { return &___U3CDomainU3Ek__BackingField_3; }
inline void set_U3CDomainU3Ek__BackingField_3(String_t* value)
{
___U3CDomainU3Ek__BackingField_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CDomainU3Ek__BackingField_3), (void*)value);
}
inline static int32_t get_offset_of_U3CExpiredU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562, ___U3CExpiredU3Ek__BackingField_4)); }
inline bool get_U3CExpiredU3Ek__BackingField_4() const { return ___U3CExpiredU3Ek__BackingField_4; }
inline bool* get_address_of_U3CExpiredU3Ek__BackingField_4() { return &___U3CExpiredU3Ek__BackingField_4; }
inline void set_U3CExpiredU3Ek__BackingField_4(bool value)
{
___U3CExpiredU3Ek__BackingField_4 = value;
}
inline static int32_t get_offset_of_U3CExpiresU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562, ___U3CExpiresU3Ek__BackingField_5)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_U3CExpiresU3Ek__BackingField_5() const { return ___U3CExpiresU3Ek__BackingField_5; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_U3CExpiresU3Ek__BackingField_5() { return &___U3CExpiresU3Ek__BackingField_5; }
inline void set_U3CExpiresU3Ek__BackingField_5(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___U3CExpiresU3Ek__BackingField_5 = value;
}
inline static int32_t get_offset_of_U3CHttpOnlyU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562, ___U3CHttpOnlyU3Ek__BackingField_6)); }
inline bool get_U3CHttpOnlyU3Ek__BackingField_6() const { return ___U3CHttpOnlyU3Ek__BackingField_6; }
inline bool* get_address_of_U3CHttpOnlyU3Ek__BackingField_6() { return &___U3CHttpOnlyU3Ek__BackingField_6; }
inline void set_U3CHttpOnlyU3Ek__BackingField_6(bool value)
{
___U3CHttpOnlyU3Ek__BackingField_6 = value;
}
inline static int32_t get_offset_of_U3CNameU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562, ___U3CNameU3Ek__BackingField_7)); }
inline String_t* get_U3CNameU3Ek__BackingField_7() const { return ___U3CNameU3Ek__BackingField_7; }
inline String_t** get_address_of_U3CNameU3Ek__BackingField_7() { return &___U3CNameU3Ek__BackingField_7; }
inline void set_U3CNameU3Ek__BackingField_7(String_t* value)
{
___U3CNameU3Ek__BackingField_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CNameU3Ek__BackingField_7), (void*)value);
}
inline static int32_t get_offset_of_U3CPathU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562, ___U3CPathU3Ek__BackingField_8)); }
inline String_t* get_U3CPathU3Ek__BackingField_8() const { return ___U3CPathU3Ek__BackingField_8; }
inline String_t** get_address_of_U3CPathU3Ek__BackingField_8() { return &___U3CPathU3Ek__BackingField_8; }
inline void set_U3CPathU3Ek__BackingField_8(String_t* value)
{
___U3CPathU3Ek__BackingField_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CPathU3Ek__BackingField_8), (void*)value);
}
inline static int32_t get_offset_of_U3CPortU3Ek__BackingField_9() { return static_cast<int32_t>(offsetof(RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562, ___U3CPortU3Ek__BackingField_9)); }
inline String_t* get_U3CPortU3Ek__BackingField_9() const { return ___U3CPortU3Ek__BackingField_9; }
inline String_t** get_address_of_U3CPortU3Ek__BackingField_9() { return &___U3CPortU3Ek__BackingField_9; }
inline void set_U3CPortU3Ek__BackingField_9(String_t* value)
{
___U3CPortU3Ek__BackingField_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CPortU3Ek__BackingField_9), (void*)value);
}
inline static int32_t get_offset_of_U3CSecureU3Ek__BackingField_10() { return static_cast<int32_t>(offsetof(RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562, ___U3CSecureU3Ek__BackingField_10)); }
inline bool get_U3CSecureU3Ek__BackingField_10() const { return ___U3CSecureU3Ek__BackingField_10; }
inline bool* get_address_of_U3CSecureU3Ek__BackingField_10() { return &___U3CSecureU3Ek__BackingField_10; }
inline void set_U3CSecureU3Ek__BackingField_10(bool value)
{
___U3CSecureU3Ek__BackingField_10 = value;
}
inline static int32_t get_offset_of_U3CTimeStampU3Ek__BackingField_11() { return static_cast<int32_t>(offsetof(RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562, ___U3CTimeStampU3Ek__BackingField_11)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_U3CTimeStampU3Ek__BackingField_11() const { return ___U3CTimeStampU3Ek__BackingField_11; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_U3CTimeStampU3Ek__BackingField_11() { return &___U3CTimeStampU3Ek__BackingField_11; }
inline void set_U3CTimeStampU3Ek__BackingField_11(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___U3CTimeStampU3Ek__BackingField_11 = value;
}
inline static int32_t get_offset_of_U3CValueU3Ek__BackingField_12() { return static_cast<int32_t>(offsetof(RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562, ___U3CValueU3Ek__BackingField_12)); }
inline String_t* get_U3CValueU3Ek__BackingField_12() const { return ___U3CValueU3Ek__BackingField_12; }
inline String_t** get_address_of_U3CValueU3Ek__BackingField_12() { return &___U3CValueU3Ek__BackingField_12; }
inline void set_U3CValueU3Ek__BackingField_12(String_t* value)
{
___U3CValueU3Ek__BackingField_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CValueU3Ek__BackingField_12), (void*)value);
}
inline static int32_t get_offset_of_U3CVersionU3Ek__BackingField_13() { return static_cast<int32_t>(offsetof(RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562, ___U3CVersionU3Ek__BackingField_13)); }
inline int32_t get_U3CVersionU3Ek__BackingField_13() const { return ___U3CVersionU3Ek__BackingField_13; }
inline int32_t* get_address_of_U3CVersionU3Ek__BackingField_13() { return &___U3CVersionU3Ek__BackingField_13; }
inline void set_U3CVersionU3Ek__BackingField_13(int32_t value)
{
___U3CVersionU3Ek__BackingField_13 = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<Microsoft.MixedReality.Toolkit.Input.IMixedRealityController,UnityEngine.Vector3>
struct Entry_tC137C0556EE3610D0FF5A5AD099A490417B7A8F0
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
RuntimeObject* ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_tC137C0556EE3610D0FF5A5AD099A490417B7A8F0, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_tC137C0556EE3610D0FF5A5AD099A490417B7A8F0, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_tC137C0556EE3610D0FF5A5AD099A490417B7A8F0, ___key_2)); }
inline RuntimeObject* get_key_2() const { return ___key_2; }
inline RuntimeObject** get_address_of_key_2() { return &___key_2; }
inline void set_key_2(RuntimeObject* value)
{
___key_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_tC137C0556EE3610D0FF5A5AD099A490417B7A8F0, ___value_3)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_value_3() const { return ___value_3; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_value_3() { return &___value_3; }
inline void set_value_3(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___value_3 = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Object,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>
struct Entry_t3F2DB73BEDDCCC9968B81D269BFBFCBCB24EE150
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
RuntimeObject * ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t3F2DB73BEDDCCC9968B81D269BFBFCBCB24EE150, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t3F2DB73BEDDCCC9968B81D269BFBFCBCB24EE150, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t3F2DB73BEDDCCC9968B81D269BFBFCBCB24EE150, ___key_2)); }
inline RuntimeObject * get_key_2() const { return ___key_2; }
inline RuntimeObject ** get_address_of_key_2() { return &___key_2; }
inline void set_key_2(RuntimeObject * value)
{
___key_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t3F2DB73BEDDCCC9968B81D269BFBFCBCB24EE150, ___value_3)); }
inline ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B get_value_3() const { return ___value_3; }
inline ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B * get_address_of_value_3() { return &___value_3; }
inline void set_value_3(ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___Type_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___ClassName_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___AssemblyQualifiedName_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___stateProperties_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___customProperties_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___easing_5), (void*)NULL);
#endif
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Object,System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>>
struct Entry_t6770B26912135B24D87423C57A98EFBD712B7681
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
RuntimeObject * ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
KeyValuePair_2_t23481547E419E16E3B96A303578C1EB685C99EEE ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t6770B26912135B24D87423C57A98EFBD712B7681, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t6770B26912135B24D87423C57A98EFBD712B7681, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t6770B26912135B24D87423C57A98EFBD712B7681, ___key_2)); }
inline RuntimeObject * get_key_2() const { return ___key_2; }
inline RuntimeObject ** get_address_of_key_2() { return &___key_2; }
inline void set_key_2(RuntimeObject * value)
{
___key_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t6770B26912135B24D87423C57A98EFBD712B7681, ___value_3)); }
inline KeyValuePair_2_t23481547E419E16E3B96A303578C1EB685C99EEE get_value_3() const { return ___value_3; }
inline KeyValuePair_2_t23481547E419E16E3B96A303578C1EB685C99EEE * get_address_of_value_3() { return &___value_3; }
inline void set_value_3(KeyValuePair_2_t23481547E419E16E3B96A303578C1EB685C99EEE value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___value_1), (void*)NULL);
#endif
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Object,UnityEngine.Vector3>
struct Entry_t7F6EFCC50C152F187A40F83B2412AA3926B29874
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
RuntimeObject * ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t7F6EFCC50C152F187A40F83B2412AA3926B29874, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t7F6EFCC50C152F187A40F83B2412AA3926B29874, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t7F6EFCC50C152F187A40F83B2412AA3926B29874, ___key_2)); }
inline RuntimeObject * get_key_2() const { return ___key_2; }
inline RuntimeObject ** get_address_of_key_2() { return &___key_2; }
inline void set_key_2(RuntimeObject * value)
{
___key_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t7F6EFCC50C152F187A40F83B2412AA3926B29874, ___value_3)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_value_3() const { return ___value_3; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_value_3() { return &___value_3; }
inline void set_value_3(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___value_3 = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.String,System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>>
struct Entry_tAC69EEC3F84BD8A019BF1E01FE2E0BB0318232B6
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
String_t* ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489 ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_tAC69EEC3F84BD8A019BF1E01FE2E0BB0318232B6, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_tAC69EEC3F84BD8A019BF1E01FE2E0BB0318232B6, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_tAC69EEC3F84BD8A019BF1E01FE2E0BB0318232B6, ___key_2)); }
inline String_t* get_key_2() const { return ___key_2; }
inline String_t** get_address_of_key_2() { return &___key_2; }
inline void set_key_2(String_t* value)
{
___key_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_tAC69EEC3F84BD8A019BF1E01FE2E0BB0318232B6, ___value_3)); }
inline KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489 get_value_3() const { return ___value_3; }
inline KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489 * get_address_of_value_3() { return &___value_3; }
inline void set_value_3(KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489 value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___value_1), (void*)NULL);
#endif
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Type,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>
struct Entry_tD6E1F449458B967A522589DDF14DD8AE70265FA3
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
Type_t * ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_tD6E1F449458B967A522589DDF14DD8AE70265FA3, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_tD6E1F449458B967A522589DDF14DD8AE70265FA3, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_tD6E1F449458B967A522589DDF14DD8AE70265FA3, ___key_2)); }
inline Type_t * get_key_2() const { return ___key_2; }
inline Type_t ** get_address_of_key_2() { return &___key_2; }
inline void set_key_2(Type_t * value)
{
___key_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_tD6E1F449458B967A522589DDF14DD8AE70265FA3, ___value_3)); }
inline ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B get_value_3() const { return ___value_3; }
inline ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B * get_address_of_value_3() { return &___value_3; }
inline void set_value_3(ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___Type_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___ClassName_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___AssemblyQualifiedName_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___stateProperties_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___customProperties_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___easing_5), (void*)NULL);
#endif
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.UInt32,UnityEngine.Vector3>
struct Entry_tD2E1C8AE63504220F6AD1FCA3DDFB4427A3458B8
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
uint32_t ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_tD2E1C8AE63504220F6AD1FCA3DDFB4427A3458B8, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_tD2E1C8AE63504220F6AD1FCA3DDFB4427A3458B8, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_tD2E1C8AE63504220F6AD1FCA3DDFB4427A3458B8, ___key_2)); }
inline uint32_t get_key_2() const { return ___key_2; }
inline uint32_t* get_address_of_key_2() { return &___key_2; }
inline void set_key_2(uint32_t value)
{
___key_2 = value;
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_tD2E1C8AE63504220F6AD1FCA3DDFB4427A3458B8, ___value_3)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_value_3() const { return ___value_3; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_value_3() { return &___value_3; }
inline void set_value_3(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___value_3 = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord,System.Object>
struct Entry_t687188C87EF1FD0D50038E634676DBC449857B8E
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
RuntimeObject * ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t687188C87EF1FD0D50038E634676DBC449857B8E, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t687188C87EF1FD0D50038E634676DBC449857B8E, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t687188C87EF1FD0D50038E634676DBC449857B8E, ___key_2)); }
inline TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA get_key_2() const { return ___key_2; }
inline TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA * get_address_of_key_2() { return &___key_2; }
inline void set_key_2(TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA value)
{
___key_2 = value;
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t687188C87EF1FD0D50038E634676DBC449857B8E, ___value_3)); }
inline RuntimeObject * get_value_3() const { return ___value_3; }
inline RuntimeObject ** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(RuntimeObject * value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord,UnityEngine.Terrain>
struct Entry_t9D570A49137A28E64F72A7A386F206420CC5460D
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943 * ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t9D570A49137A28E64F72A7A386F206420CC5460D, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t9D570A49137A28E64F72A7A386F206420CC5460D, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t9D570A49137A28E64F72A7A386F206420CC5460D, ___key_2)); }
inline TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA get_key_2() const { return ___key_2; }
inline TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA * get_address_of_key_2() { return &___key_2; }
inline void set_key_2(TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA value)
{
___key_2 = value;
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t9D570A49137A28E64F72A7A386F206420CC5460D, ___value_3)); }
inline Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943 * get_value_3() const { return ___value_3; }
inline Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943 ** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943 * value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<Microsoft.MixedReality.Toolkit.Input.IMixedRealityController,UnityEngine.Vector3>
struct KeyValuePair_2_t0861614C9263FE72F451317FC6330481E2AD2259
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
RuntimeObject* ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t0861614C9263FE72F451317FC6330481E2AD2259, ___key_0)); }
inline RuntimeObject* get_key_0() const { return ___key_0; }
inline RuntimeObject** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(RuntimeObject* value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t0861614C9263FE72F451317FC6330481E2AD2259, ___value_1)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_value_1() const { return ___value_1; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_value_1() { return &___value_1; }
inline void set_value_1(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___value_1 = value;
}
};
// System.Collections.Generic.KeyValuePair`2<System.Object,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>
struct KeyValuePair_2_t36C43C91291A27C0F33A7F2067BC03FCEC0CF732
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
RuntimeObject * ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t36C43C91291A27C0F33A7F2067BC03FCEC0CF732, ___key_0)); }
inline RuntimeObject * get_key_0() const { return ___key_0; }
inline RuntimeObject ** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(RuntimeObject * value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t36C43C91291A27C0F33A7F2067BC03FCEC0CF732, ___value_1)); }
inline ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B get_value_1() const { return ___value_1; }
inline ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B * get_address_of_value_1() { return &___value_1; }
inline void set_value_1(ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___Type_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___ClassName_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___AssemblyQualifiedName_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___stateProperties_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___customProperties_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___easing_5), (void*)NULL);
#endif
}
};
// System.Collections.Generic.KeyValuePair`2<System.Object,System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>>
struct KeyValuePair_2_tC7DD563F7723DC5E604C0ADB0C6CE8D02132394D
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
RuntimeObject * ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
KeyValuePair_2_t23481547E419E16E3B96A303578C1EB685C99EEE ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tC7DD563F7723DC5E604C0ADB0C6CE8D02132394D, ___key_0)); }
inline RuntimeObject * get_key_0() const { return ___key_0; }
inline RuntimeObject ** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(RuntimeObject * value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tC7DD563F7723DC5E604C0ADB0C6CE8D02132394D, ___value_1)); }
inline KeyValuePair_2_t23481547E419E16E3B96A303578C1EB685C99EEE get_value_1() const { return ___value_1; }
inline KeyValuePair_2_t23481547E419E16E3B96A303578C1EB685C99EEE * get_address_of_value_1() { return &___value_1; }
inline void set_value_1(KeyValuePair_2_t23481547E419E16E3B96A303578C1EB685C99EEE value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___value_1), (void*)NULL);
#endif
}
};
// System.Collections.Generic.KeyValuePair`2<System.Object,UnityEngine.Vector3>
struct KeyValuePair_2_tB2B1BDB4860CA12D10ED64E7D3B112421CADA822
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
RuntimeObject * ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tB2B1BDB4860CA12D10ED64E7D3B112421CADA822, ___key_0)); }
inline RuntimeObject * get_key_0() const { return ___key_0; }
inline RuntimeObject ** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(RuntimeObject * value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tB2B1BDB4860CA12D10ED64E7D3B112421CADA822, ___value_1)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_value_1() const { return ___value_1; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_value_1() { return &___value_1; }
inline void set_value_1(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___value_1 = value;
}
};
// System.Collections.Generic.KeyValuePair`2<System.String,System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>>
struct KeyValuePair_2_t261D3EA8648527E5D1AAFC0280D5A2931084E519
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
String_t* ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489 ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t261D3EA8648527E5D1AAFC0280D5A2931084E519, ___key_0)); }
inline String_t* get_key_0() const { return ___key_0; }
inline String_t** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(String_t* value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t261D3EA8648527E5D1AAFC0280D5A2931084E519, ___value_1)); }
inline KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489 get_value_1() const { return ___value_1; }
inline KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489 * get_address_of_value_1() { return &___value_1; }
inline void set_value_1(KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489 value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___value_1), (void*)NULL);
#endif
}
};
// System.Collections.Generic.KeyValuePair`2<System.Type,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>
struct KeyValuePair_2_t8FD330D18889BC4432CBE02253E50A4B454D6A6E
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
Type_t * ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t8FD330D18889BC4432CBE02253E50A4B454D6A6E, ___key_0)); }
inline Type_t * get_key_0() const { return ___key_0; }
inline Type_t ** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(Type_t * value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t8FD330D18889BC4432CBE02253E50A4B454D6A6E, ___value_1)); }
inline ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B get_value_1() const { return ___value_1; }
inline ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B * get_address_of_value_1() { return &___value_1; }
inline void set_value_1(ThemeDefinition_tF10EF75E325BE133B18B81800044610A8EB62D3B value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___Type_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___ClassName_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___AssemblyQualifiedName_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___stateProperties_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___customProperties_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___easing_5), (void*)NULL);
#endif
}
};
// System.Collections.Generic.KeyValuePair`2<System.UInt32,UnityEngine.Vector3>
struct KeyValuePair_2_tD7757B69726FBA1C83AAD9BC8771401D3F1971AF
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
uint32_t ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tD7757B69726FBA1C83AAD9BC8771401D3F1971AF, ___key_0)); }
inline uint32_t get_key_0() const { return ___key_0; }
inline uint32_t* get_address_of_key_0() { return &___key_0; }
inline void set_key_0(uint32_t value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tD7757B69726FBA1C83AAD9BC8771401D3F1971AF, ___value_1)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_value_1() const { return ___value_1; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_value_1() { return &___value_1; }
inline void set_value_1(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___value_1 = value;
}
};
// System.Collections.Generic.KeyValuePair`2<UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord,System.Object>
struct KeyValuePair_2_t198F3EF99C5CB706B8E678896CA900035FACF342
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
RuntimeObject * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t198F3EF99C5CB706B8E678896CA900035FACF342, ___key_0)); }
inline TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA get_key_0() const { return ___key_0; }
inline TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA * get_address_of_key_0() { return &___key_0; }
inline void set_key_0(TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t198F3EF99C5CB706B8E678896CA900035FACF342, ___value_1)); }
inline RuntimeObject * get_value_1() const { return ___value_1; }
inline RuntimeObject ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(RuntimeObject * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord,UnityEngine.Terrain>
struct KeyValuePair_2_t1042B27C0272463F95B4736D997596598DFACDF2
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943 * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t1042B27C0272463F95B4736D997596598DFACDF2, ___key_0)); }
inline TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA get_key_0() const { return ___key_0; }
inline TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA * get_address_of_key_0() { return &___key_0; }
inline void set_key_0(TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t1042B27C0272463F95B4736D997596598DFACDF2, ___value_1)); }
inline Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943 * get_value_1() const { return ___value_1; }
inline Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943 ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943 * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Delegate
struct Delegate_t : public RuntimeObject
{
public:
// System.IntPtr System.Delegate::method_ptr
Il2CppMethodPointer ___method_ptr_0;
// System.IntPtr System.Delegate::invoke_impl
intptr_t ___invoke_impl_1;
// System.Object System.Delegate::m_target
RuntimeObject * ___m_target_2;
// System.IntPtr System.Delegate::method
intptr_t ___method_3;
// System.IntPtr System.Delegate::delegate_trampoline
intptr_t ___delegate_trampoline_4;
// System.IntPtr System.Delegate::extra_arg
intptr_t ___extra_arg_5;
// System.IntPtr System.Delegate::method_code
intptr_t ___method_code_6;
// System.Reflection.MethodInfo System.Delegate::method_info
MethodInfo_t * ___method_info_7;
// System.Reflection.MethodInfo System.Delegate::original_method_info
MethodInfo_t * ___original_method_info_8;
// System.DelegateData System.Delegate::data
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
// System.Boolean System.Delegate::method_is_virtual
bool ___method_is_virtual_10;
public:
inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_ptr_0)); }
inline Il2CppMethodPointer get_method_ptr_0() const { return ___method_ptr_0; }
inline Il2CppMethodPointer* get_address_of_method_ptr_0() { return &___method_ptr_0; }
inline void set_method_ptr_0(Il2CppMethodPointer value)
{
___method_ptr_0 = value;
}
inline static int32_t get_offset_of_invoke_impl_1() { return static_cast<int32_t>(offsetof(Delegate_t, ___invoke_impl_1)); }
inline intptr_t get_invoke_impl_1() const { return ___invoke_impl_1; }
inline intptr_t* get_address_of_invoke_impl_1() { return &___invoke_impl_1; }
inline void set_invoke_impl_1(intptr_t value)
{
___invoke_impl_1 = value;
}
inline static int32_t get_offset_of_m_target_2() { return static_cast<int32_t>(offsetof(Delegate_t, ___m_target_2)); }
inline RuntimeObject * get_m_target_2() const { return ___m_target_2; }
inline RuntimeObject ** get_address_of_m_target_2() { return &___m_target_2; }
inline void set_m_target_2(RuntimeObject * value)
{
___m_target_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_target_2), (void*)value);
}
inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_3)); }
inline intptr_t get_method_3() const { return ___method_3; }
inline intptr_t* get_address_of_method_3() { return &___method_3; }
inline void set_method_3(intptr_t value)
{
___method_3 = value;
}
inline static int32_t get_offset_of_delegate_trampoline_4() { return static_cast<int32_t>(offsetof(Delegate_t, ___delegate_trampoline_4)); }
inline intptr_t get_delegate_trampoline_4() const { return ___delegate_trampoline_4; }
inline intptr_t* get_address_of_delegate_trampoline_4() { return &___delegate_trampoline_4; }
inline void set_delegate_trampoline_4(intptr_t value)
{
___delegate_trampoline_4 = value;
}
inline static int32_t get_offset_of_extra_arg_5() { return static_cast<int32_t>(offsetof(Delegate_t, ___extra_arg_5)); }
inline intptr_t get_extra_arg_5() const { return ___extra_arg_5; }
inline intptr_t* get_address_of_extra_arg_5() { return &___extra_arg_5; }
inline void set_extra_arg_5(intptr_t value)
{
___extra_arg_5 = value;
}
inline static int32_t get_offset_of_method_code_6() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_code_6)); }
inline intptr_t get_method_code_6() const { return ___method_code_6; }
inline intptr_t* get_address_of_method_code_6() { return &___method_code_6; }
inline void set_method_code_6(intptr_t value)
{
___method_code_6 = value;
}
inline static int32_t get_offset_of_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_info_7)); }
inline MethodInfo_t * get_method_info_7() const { return ___method_info_7; }
inline MethodInfo_t ** get_address_of_method_info_7() { return &___method_info_7; }
inline void set_method_info_7(MethodInfo_t * value)
{
___method_info_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___method_info_7), (void*)value);
}
inline static int32_t get_offset_of_original_method_info_8() { return static_cast<int32_t>(offsetof(Delegate_t, ___original_method_info_8)); }
inline MethodInfo_t * get_original_method_info_8() const { return ___original_method_info_8; }
inline MethodInfo_t ** get_address_of_original_method_info_8() { return &___original_method_info_8; }
inline void set_original_method_info_8(MethodInfo_t * value)
{
___original_method_info_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___original_method_info_8), (void*)value);
}
inline static int32_t get_offset_of_data_9() { return static_cast<int32_t>(offsetof(Delegate_t, ___data_9)); }
inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * get_data_9() const { return ___data_9; }
inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE ** get_address_of_data_9() { return &___data_9; }
inline void set_data_9(DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * value)
{
___data_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___data_9), (void*)value);
}
inline static int32_t get_offset_of_method_is_virtual_10() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_is_virtual_10)); }
inline bool get_method_is_virtual_10() const { return ___method_is_virtual_10; }
inline bool* get_address_of_method_is_virtual_10() { return &___method_is_virtual_10; }
inline void set_method_is_virtual_10(bool value)
{
___method_is_virtual_10 = value;
}
};
// Native definition for P/Invoke marshalling of System.Delegate
struct Delegate_t_marshaled_pinvoke
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
int32_t ___method_is_virtual_10;
};
// Native definition for COM marshalling of System.Delegate
struct Delegate_t_marshaled_com
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
int32_t ___method_is_virtual_10;
};
// System.Int32Enum
struct Int32Enum_t6312CE4586C17FE2E2E513D2E7655B574F10FDCD
{
public:
// System.Int32 System.Int32Enum::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Int32Enum_t6312CE4586C17FE2E2E513D2E7655B574F10FDCD, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Net.DecompressionMethods
struct DecompressionMethods_t828950DA24A3D2B4A635E51125685CDB629ED51D
{
public:
// System.Int32 System.Net.DecompressionMethods::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(DecompressionMethods_t828950DA24A3D2B4A635E51125685CDB629ED51D, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.WeakReference`1<Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession>
struct WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90 : public RuntimeObject
{
public:
// System.Runtime.InteropServices.GCHandle System.WeakReference`1::handle
GCHandle_t39FAEE3EA592432C93B574A31DD83B87F1847DE3 ___handle_0;
// System.Boolean System.WeakReference`1::trackResurrection
bool ___trackResurrection_1;
public:
inline static int32_t get_offset_of_handle_0() { return static_cast<int32_t>(offsetof(WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90, ___handle_0)); }
inline GCHandle_t39FAEE3EA592432C93B574A31DD83B87F1847DE3 get_handle_0() const { return ___handle_0; }
inline GCHandle_t39FAEE3EA592432C93B574A31DD83B87F1847DE3 * get_address_of_handle_0() { return &___handle_0; }
inline void set_handle_0(GCHandle_t39FAEE3EA592432C93B574A31DD83B87F1847DE3 value)
{
___handle_0 = value;
}
inline static int32_t get_offset_of_trackResurrection_1() { return static_cast<int32_t>(offsetof(WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90, ___trackResurrection_1)); }
inline bool get_trackResurrection_1() const { return ___trackResurrection_1; }
inline bool* get_address_of_trackResurrection_1() { return &___trackResurrection_1; }
inline void set_trackResurrection_1(bool value)
{
___trackResurrection_1 = value;
}
};
// System.WeakReference`1<System.Object>
struct WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C : public RuntimeObject
{
public:
// System.Runtime.InteropServices.GCHandle System.WeakReference`1::handle
GCHandle_t39FAEE3EA592432C93B574A31DD83B87F1847DE3 ___handle_0;
// System.Boolean System.WeakReference`1::trackResurrection
bool ___trackResurrection_1;
public:
inline static int32_t get_offset_of_handle_0() { return static_cast<int32_t>(offsetof(WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C, ___handle_0)); }
inline GCHandle_t39FAEE3EA592432C93B574A31DD83B87F1847DE3 get_handle_0() const { return ___handle_0; }
inline GCHandle_t39FAEE3EA592432C93B574A31DD83B87F1847DE3 * get_address_of_handle_0() { return &___handle_0; }
inline void set_handle_0(GCHandle_t39FAEE3EA592432C93B574A31DD83B87F1847DE3 value)
{
___handle_0 = value;
}
inline static int32_t get_offset_of_trackResurrection_1() { return static_cast<int32_t>(offsetof(WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C, ___trackResurrection_1)); }
inline bool get_trackResurrection_1() const { return ___trackResurrection_1; }
inline bool* get_address_of_trackResurrection_1() { return &___trackResurrection_1; }
inline void set_trackResurrection_1(bool value)
{
___trackResurrection_1 = value;
}
};
// UnityEngine.AsyncOperation
struct AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D : public YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44
{
public:
// System.IntPtr UnityEngine.AsyncOperation::m_Ptr
intptr_t ___m_Ptr_0;
// System.Action`1<UnityEngine.AsyncOperation> UnityEngine.AsyncOperation::m_completeCallback
Action_1_tCBF754C290FAE894631BED8FD56E9E22C4C187F9 * ___m_completeCallback_1;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
inline static int32_t get_offset_of_m_completeCallback_1() { return static_cast<int32_t>(offsetof(AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D, ___m_completeCallback_1)); }
inline Action_1_tCBF754C290FAE894631BED8FD56E9E22C4C187F9 * get_m_completeCallback_1() const { return ___m_completeCallback_1; }
inline Action_1_tCBF754C290FAE894631BED8FD56E9E22C4C187F9 ** get_address_of_m_completeCallback_1() { return &___m_completeCallback_1; }
inline void set_m_completeCallback_1(Action_1_tCBF754C290FAE894631BED8FD56E9E22C4C187F9 * value)
{
___m_completeCallback_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_completeCallback_1), (void*)value);
}
};
// Native definition for P/Invoke marshalling of UnityEngine.AsyncOperation
struct AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D_marshaled_pinvoke : public YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
Il2CppMethodPointer ___m_completeCallback_1;
};
// Native definition for COM marshalling of UnityEngine.AsyncOperation
struct AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D_marshaled_com : public YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44_marshaled_com
{
intptr_t ___m_Ptr_0;
Il2CppMethodPointer ___m_completeCallback_1;
};
// UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_ErrorCode
struct ErrorCode_tCC2BF2B1CF6C6645A76C1DEE65D4AA4A527FEC7A
{
public:
// System.Int32 UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_ErrorCode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ErrorCode_tCC2BF2B1CF6C6645A76C1DEE65D4AA4A527FEC7A, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.KeyCode
struct KeyCode_tC93EA87C5A6901160B583ADFCD3EF6726570DC3C
{
public:
// System.Int32 UnityEngine.KeyCode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(KeyCode_tC93EA87C5A6901160B583ADFCD3EF6726570DC3C, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.MaterialPropertyBlock
struct MaterialPropertyBlock_t72A481768111C6F11DCDCD44F0C7F99F1CA79E13 : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.MaterialPropertyBlock::m_Ptr
intptr_t ___m_Ptr_0;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(MaterialPropertyBlock_t72A481768111C6F11DCDCD44F0C7F99F1CA79E13, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
};
// UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.Object::m_CachedPtr
intptr_t ___m_CachedPtr_0;
public:
inline static int32_t get_offset_of_m_CachedPtr_0() { return static_cast<int32_t>(offsetof(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0, ___m_CachedPtr_0)); }
inline intptr_t get_m_CachedPtr_0() const { return ___m_CachedPtr_0; }
inline intptr_t* get_address_of_m_CachedPtr_0() { return &___m_CachedPtr_0; }
inline void set_m_CachedPtr_0(intptr_t value)
{
___m_CachedPtr_0 = value;
}
};
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_StaticFields
{
public:
// System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
public:
inline static int32_t get_offset_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return static_cast<int32_t>(offsetof(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_StaticFields, ___OffsetOfInstanceIDInCPlusPlusObject_1)); }
inline int32_t get_OffsetOfInstanceIDInCPlusPlusObject_1() const { return ___OffsetOfInstanceIDInCPlusPlusObject_1; }
inline int32_t* get_address_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return &___OffsetOfInstanceIDInCPlusPlusObject_1; }
inline void set_OffsetOfInstanceIDInCPlusPlusObject_1(int32_t value)
{
___OffsetOfInstanceIDInCPlusPlusObject_1 = value;
}
};
// Native definition for P/Invoke marshalling of UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_pinvoke
{
intptr_t ___m_CachedPtr_0;
};
// Native definition for COM marshalling of UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_com
{
intptr_t ___m_CachedPtr_0;
};
// UnityEngine.jvalue
struct jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37
{
public:
union
{
#pragma pack(push, tp, 1)
struct
{
// System.Boolean UnityEngine.jvalue::z
bool ___z_0;
};
#pragma pack(pop, tp)
struct
{
bool ___z_0_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.SByte UnityEngine.jvalue::b
int8_t ___b_1;
};
#pragma pack(pop, tp)
struct
{
int8_t ___b_1_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Char UnityEngine.jvalue::c
Il2CppChar ___c_2;
};
#pragma pack(pop, tp)
struct
{
Il2CppChar ___c_2_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Int16 UnityEngine.jvalue::s
int16_t ___s_3;
};
#pragma pack(pop, tp)
struct
{
int16_t ___s_3_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Int32 UnityEngine.jvalue::i
int32_t ___i_4;
};
#pragma pack(pop, tp)
struct
{
int32_t ___i_4_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Int64 UnityEngine.jvalue::j
int64_t ___j_5;
};
#pragma pack(pop, tp)
struct
{
int64_t ___j_5_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Single UnityEngine.jvalue::f
float ___f_6;
};
#pragma pack(pop, tp)
struct
{
float ___f_6_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Double UnityEngine.jvalue::d
double ___d_7;
};
#pragma pack(pop, tp)
struct
{
double ___d_7_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.IntPtr UnityEngine.jvalue::l
intptr_t ___l_8;
};
#pragma pack(pop, tp)
struct
{
intptr_t ___l_8_forAlignmentOnly;
};
};
public:
inline static int32_t get_offset_of_z_0() { return static_cast<int32_t>(offsetof(jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37, ___z_0)); }
inline bool get_z_0() const { return ___z_0; }
inline bool* get_address_of_z_0() { return &___z_0; }
inline void set_z_0(bool value)
{
___z_0 = value;
}
inline static int32_t get_offset_of_b_1() { return static_cast<int32_t>(offsetof(jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37, ___b_1)); }
inline int8_t get_b_1() const { return ___b_1; }
inline int8_t* get_address_of_b_1() { return &___b_1; }
inline void set_b_1(int8_t value)
{
___b_1 = value;
}
inline static int32_t get_offset_of_c_2() { return static_cast<int32_t>(offsetof(jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37, ___c_2)); }
inline Il2CppChar get_c_2() const { return ___c_2; }
inline Il2CppChar* get_address_of_c_2() { return &___c_2; }
inline void set_c_2(Il2CppChar value)
{
___c_2 = value;
}
inline static int32_t get_offset_of_s_3() { return static_cast<int32_t>(offsetof(jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37, ___s_3)); }
inline int16_t get_s_3() const { return ___s_3; }
inline int16_t* get_address_of_s_3() { return &___s_3; }
inline void set_s_3(int16_t value)
{
___s_3 = value;
}
inline static int32_t get_offset_of_i_4() { return static_cast<int32_t>(offsetof(jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37, ___i_4)); }
inline int32_t get_i_4() const { return ___i_4; }
inline int32_t* get_address_of_i_4() { return &___i_4; }
inline void set_i_4(int32_t value)
{
___i_4 = value;
}
inline static int32_t get_offset_of_j_5() { return static_cast<int32_t>(offsetof(jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37, ___j_5)); }
inline int64_t get_j_5() const { return ___j_5; }
inline int64_t* get_address_of_j_5() { return &___j_5; }
inline void set_j_5(int64_t value)
{
___j_5 = value;
}
inline static int32_t get_offset_of_f_6() { return static_cast<int32_t>(offsetof(jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37, ___f_6)); }
inline float get_f_6() const { return ___f_6; }
inline float* get_address_of_f_6() { return &___f_6; }
inline void set_f_6(float value)
{
___f_6 = value;
}
inline static int32_t get_offset_of_d_7() { return static_cast<int32_t>(offsetof(jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37, ___d_7)); }
inline double get_d_7() const { return ___d_7; }
inline double* get_address_of_d_7() { return &___d_7; }
inline void set_d_7(double value)
{
___d_7 = value;
}
inline static int32_t get_offset_of_l_8() { return static_cast<int32_t>(offsetof(jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37, ___l_8)); }
inline intptr_t get_l_8() const { return ___l_8; }
inline intptr_t* get_address_of_l_8() { return &___l_8; }
inline void set_l_8(intptr_t value)
{
___l_8 = value;
}
};
// Native definition for P/Invoke marshalling of UnityEngine.jvalue
struct jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37_marshaled_pinvoke
{
union
{
#pragma pack(push, tp, 1)
struct
{
int32_t ___z_0;
};
#pragma pack(pop, tp)
struct
{
int32_t ___z_0_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
int8_t ___b_1;
};
#pragma pack(pop, tp)
struct
{
int8_t ___b_1_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
uint8_t ___c_2;
};
#pragma pack(pop, tp)
struct
{
uint8_t ___c_2_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
int16_t ___s_3;
};
#pragma pack(pop, tp)
struct
{
int16_t ___s_3_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
int32_t ___i_4;
};
#pragma pack(pop, tp)
struct
{
int32_t ___i_4_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
int64_t ___j_5;
};
#pragma pack(pop, tp)
struct
{
int64_t ___j_5_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
float ___f_6;
};
#pragma pack(pop, tp)
struct
{
float ___f_6_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
double ___d_7;
};
#pragma pack(pop, tp)
struct
{
double ___d_7_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
intptr_t ___l_8;
};
#pragma pack(pop, tp)
struct
{
intptr_t ___l_8_forAlignmentOnly;
};
};
};
// Native definition for COM marshalling of UnityEngine.jvalue
struct jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37_marshaled_com
{
union
{
#pragma pack(push, tp, 1)
struct
{
int32_t ___z_0;
};
#pragma pack(pop, tp)
struct
{
int32_t ___z_0_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
int8_t ___b_1;
};
#pragma pack(pop, tp)
struct
{
int8_t ___b_1_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
uint8_t ___c_2;
};
#pragma pack(pop, tp)
struct
{
uint8_t ___c_2_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
int16_t ___s_3;
};
#pragma pack(pop, tp)
struct
{
int16_t ___s_3_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
int32_t ___i_4;
};
#pragma pack(pop, tp)
struct
{
int32_t ___i_4_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
int64_t ___j_5;
};
#pragma pack(pop, tp)
struct
{
int64_t ___j_5_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
float ___f_6;
};
#pragma pack(pop, tp)
struct
{
float ___f_6_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
double ___d_7;
};
#pragma pack(pop, tp)
struct
{
double ___d_7_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
intptr_t ___l_8;
};
#pragma pack(pop, tp)
struct
{
intptr_t ___l_8_forAlignmentOnly;
};
};
};
// Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.Links_Link
struct Link_tEFC307EEF94A43F5DC4B9DD0B7508A171816CF0C : public RuntimeObject
{
public:
// UnityEngine.Transform Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.Links_Link::transform
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ___transform_0;
// Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControlTypes.CardinalAxisType Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.Links_Link::axisType
int32_t ___axisType_1;
public:
inline static int32_t get_offset_of_transform_0() { return static_cast<int32_t>(offsetof(Link_tEFC307EEF94A43F5DC4B9DD0B7508A171816CF0C, ___transform_0)); }
inline Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * get_transform_0() const { return ___transform_0; }
inline Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA ** get_address_of_transform_0() { return &___transform_0; }
inline void set_transform_0(Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * value)
{
___transform_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___transform_0), (void*)value);
}
inline static int32_t get_offset_of_axisType_1() { return static_cast<int32_t>(offsetof(Link_tEFC307EEF94A43F5DC4B9DD0B7508A171816CF0C, ___axisType_1)); }
inline int32_t get_axisType_1() const { return ___axisType_1; }
inline int32_t* get_address_of_axisType_1() { return &___axisType_1; }
inline void set_axisType_1(int32_t value)
{
___axisType_1 = value;
}
};
// Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect_ObjectProximityInfo
struct ObjectProximityInfo_t72B8F7A05C5C1DB0F5C22CA948AF3A5A5D0634EA : public RuntimeObject
{
public:
// UnityEngine.Transform Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect_ObjectProximityInfo::ScaledObject
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ___ScaledObject_0;
// UnityEngine.Renderer Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect_ObjectProximityInfo::ObjectVisualRenderer
Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * ___ObjectVisualRenderer_1;
// Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect_ProximityState Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect_ObjectProximityInfo::ProximityState
int32_t ___ProximityState_2;
public:
inline static int32_t get_offset_of_ScaledObject_0() { return static_cast<int32_t>(offsetof(ObjectProximityInfo_t72B8F7A05C5C1DB0F5C22CA948AF3A5A5D0634EA, ___ScaledObject_0)); }
inline Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * get_ScaledObject_0() const { return ___ScaledObject_0; }
inline Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA ** get_address_of_ScaledObject_0() { return &___ScaledObject_0; }
inline void set_ScaledObject_0(Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * value)
{
___ScaledObject_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ScaledObject_0), (void*)value);
}
inline static int32_t get_offset_of_ObjectVisualRenderer_1() { return static_cast<int32_t>(offsetof(ObjectProximityInfo_t72B8F7A05C5C1DB0F5C22CA948AF3A5A5D0634EA, ___ObjectVisualRenderer_1)); }
inline Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * get_ObjectVisualRenderer_1() const { return ___ObjectVisualRenderer_1; }
inline Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 ** get_address_of_ObjectVisualRenderer_1() { return &___ObjectVisualRenderer_1; }
inline void set_ObjectVisualRenderer_1(Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * value)
{
___ObjectVisualRenderer_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ObjectVisualRenderer_1), (void*)value);
}
inline static int32_t get_offset_of_ProximityState_2() { return static_cast<int32_t>(offsetof(ObjectProximityInfo_t72B8F7A05C5C1DB0F5C22CA948AF3A5A5D0634EA, ___ProximityState_2)); }
inline int32_t get_ProximityState_2() const { return ___ProximityState_2; }
inline int32_t* get_address_of_ProximityState_2() { return &___ProximityState_2; }
inline void set_ProximityState_2(int32_t value)
{
___ProximityState_2 = value;
}
};
// Microsoft.MixedReality.Toolkit.Experimental.Utilities.WorldAnchorManager_AnchorAttachmentInfo
struct AnchorAttachmentInfo_t9FDAD62C2574394185D0999D55FD14AD323B6C83
{
public:
// UnityEngine.GameObject Microsoft.MixedReality.Toolkit.Experimental.Utilities.WorldAnchorManager_AnchorAttachmentInfo::<AnchoredGameObject>k__BackingField
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___U3CAnchoredGameObjectU3Ek__BackingField_0;
// System.String Microsoft.MixedReality.Toolkit.Experimental.Utilities.WorldAnchorManager_AnchorAttachmentInfo::<AnchorName>k__BackingField
String_t* ___U3CAnchorNameU3Ek__BackingField_1;
// Microsoft.MixedReality.Toolkit.Experimental.Utilities.WorldAnchorManager_AnchorOperation Microsoft.MixedReality.Toolkit.Experimental.Utilities.WorldAnchorManager_AnchorAttachmentInfo::<Operation>k__BackingField
int32_t ___U3COperationU3Ek__BackingField_2;
public:
inline static int32_t get_offset_of_U3CAnchoredGameObjectU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(AnchorAttachmentInfo_t9FDAD62C2574394185D0999D55FD14AD323B6C83, ___U3CAnchoredGameObjectU3Ek__BackingField_0)); }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * get_U3CAnchoredGameObjectU3Ek__BackingField_0() const { return ___U3CAnchoredGameObjectU3Ek__BackingField_0; }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F ** get_address_of_U3CAnchoredGameObjectU3Ek__BackingField_0() { return &___U3CAnchoredGameObjectU3Ek__BackingField_0; }
inline void set_U3CAnchoredGameObjectU3Ek__BackingField_0(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * value)
{
___U3CAnchoredGameObjectU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CAnchoredGameObjectU3Ek__BackingField_0), (void*)value);
}
inline static int32_t get_offset_of_U3CAnchorNameU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(AnchorAttachmentInfo_t9FDAD62C2574394185D0999D55FD14AD323B6C83, ___U3CAnchorNameU3Ek__BackingField_1)); }
inline String_t* get_U3CAnchorNameU3Ek__BackingField_1() const { return ___U3CAnchorNameU3Ek__BackingField_1; }
inline String_t** get_address_of_U3CAnchorNameU3Ek__BackingField_1() { return &___U3CAnchorNameU3Ek__BackingField_1; }
inline void set_U3CAnchorNameU3Ek__BackingField_1(String_t* value)
{
___U3CAnchorNameU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CAnchorNameU3Ek__BackingField_1), (void*)value);
}
inline static int32_t get_offset_of_U3COperationU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(AnchorAttachmentInfo_t9FDAD62C2574394185D0999D55FD14AD323B6C83, ___U3COperationU3Ek__BackingField_2)); }
inline int32_t get_U3COperationU3Ek__BackingField_2() const { return ___U3COperationU3Ek__BackingField_2; }
inline int32_t* get_address_of_U3COperationU3Ek__BackingField_2() { return &___U3COperationU3Ek__BackingField_2; }
inline void set_U3COperationU3Ek__BackingField_2(int32_t value)
{
___U3COperationU3Ek__BackingField_2 = value;
}
};
// Native definition for P/Invoke marshalling of Microsoft.MixedReality.Toolkit.Experimental.Utilities.WorldAnchorManager/AnchorAttachmentInfo
struct AnchorAttachmentInfo_t9FDAD62C2574394185D0999D55FD14AD323B6C83_marshaled_pinvoke
{
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___U3CAnchoredGameObjectU3Ek__BackingField_0;
char* ___U3CAnchorNameU3Ek__BackingField_1;
int32_t ___U3COperationU3Ek__BackingField_2;
};
// Native definition for COM marshalling of Microsoft.MixedReality.Toolkit.Experimental.Utilities.WorldAnchorManager/AnchorAttachmentInfo
struct AnchorAttachmentInfo_t9FDAD62C2574394185D0999D55FD14AD323B6C83_marshaled_com
{
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___U3CAnchoredGameObjectU3Ek__BackingField_0;
Il2CppChar* ___U3CAnchorNameU3Ek__BackingField_1;
int32_t ___U3COperationU3Ek__BackingField_2;
};
// Microsoft.MixedReality.Toolkit.UI.BoundingBox_Handle
struct Handle_tC2FEF617706F0ED70DF82012DB61C2EF2B623997 : public RuntimeObject
{
public:
// UnityEngine.Transform Microsoft.MixedReality.Toolkit.UI.BoundingBox_Handle::HandleVisual
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ___HandleVisual_0;
// UnityEngine.Renderer Microsoft.MixedReality.Toolkit.UI.BoundingBox_Handle::HandleVisualRenderer
Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * ___HandleVisualRenderer_1;
// Microsoft.MixedReality.Toolkit.UI.BoundingBox_HandleType Microsoft.MixedReality.Toolkit.UI.BoundingBox_Handle::Type
int32_t ___Type_2;
// Microsoft.MixedReality.Toolkit.UI.BoundingBox_HandleProximityState Microsoft.MixedReality.Toolkit.UI.BoundingBox_Handle::ProximityState
int32_t ___ProximityState_3;
public:
inline static int32_t get_offset_of_HandleVisual_0() { return static_cast<int32_t>(offsetof(Handle_tC2FEF617706F0ED70DF82012DB61C2EF2B623997, ___HandleVisual_0)); }
inline Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * get_HandleVisual_0() const { return ___HandleVisual_0; }
inline Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA ** get_address_of_HandleVisual_0() { return &___HandleVisual_0; }
inline void set_HandleVisual_0(Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * value)
{
___HandleVisual_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___HandleVisual_0), (void*)value);
}
inline static int32_t get_offset_of_HandleVisualRenderer_1() { return static_cast<int32_t>(offsetof(Handle_tC2FEF617706F0ED70DF82012DB61C2EF2B623997, ___HandleVisualRenderer_1)); }
inline Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * get_HandleVisualRenderer_1() const { return ___HandleVisualRenderer_1; }
inline Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 ** get_address_of_HandleVisualRenderer_1() { return &___HandleVisualRenderer_1; }
inline void set_HandleVisualRenderer_1(Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 * value)
{
___HandleVisualRenderer_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___HandleVisualRenderer_1), (void*)value);
}
inline static int32_t get_offset_of_Type_2() { return static_cast<int32_t>(offsetof(Handle_tC2FEF617706F0ED70DF82012DB61C2EF2B623997, ___Type_2)); }
inline int32_t get_Type_2() const { return ___Type_2; }
inline int32_t* get_address_of_Type_2() { return &___Type_2; }
inline void set_Type_2(int32_t value)
{
___Type_2 = value;
}
inline static int32_t get_offset_of_ProximityState_3() { return static_cast<int32_t>(offsetof(Handle_tC2FEF617706F0ED70DF82012DB61C2EF2B623997, ___ProximityState_3)); }
inline int32_t get_ProximityState_3() const { return ___ProximityState_3; }
inline int32_t* get_address_of_ProximityState_3() { return &___ProximityState_3; }
inline void set_ProximityState_3(int32_t value)
{
___ProximityState_3 = value;
}
};
// Microsoft.MixedReality.Toolkit.UI.ShaderProperties
struct ShaderProperties_tE40A71340DE270B5774BD9C22C9656242A9AE57A
{
public:
// System.String Microsoft.MixedReality.Toolkit.UI.ShaderProperties::Name
String_t* ___Name_0;
// Microsoft.MixedReality.Toolkit.UI.ShaderPropertyType Microsoft.MixedReality.Toolkit.UI.ShaderProperties::Type
int32_t ___Type_1;
// UnityEngine.Vector2 Microsoft.MixedReality.Toolkit.UI.ShaderProperties::Range
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___Range_2;
public:
inline static int32_t get_offset_of_Name_0() { return static_cast<int32_t>(offsetof(ShaderProperties_tE40A71340DE270B5774BD9C22C9656242A9AE57A, ___Name_0)); }
inline String_t* get_Name_0() const { return ___Name_0; }
inline String_t** get_address_of_Name_0() { return &___Name_0; }
inline void set_Name_0(String_t* value)
{
___Name_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Name_0), (void*)value);
}
inline static int32_t get_offset_of_Type_1() { return static_cast<int32_t>(offsetof(ShaderProperties_tE40A71340DE270B5774BD9C22C9656242A9AE57A, ___Type_1)); }
inline int32_t get_Type_1() const { return ___Type_1; }
inline int32_t* get_address_of_Type_1() { return &___Type_1; }
inline void set_Type_1(int32_t value)
{
___Type_1 = value;
}
inline static int32_t get_offset_of_Range_2() { return static_cast<int32_t>(offsetof(ShaderProperties_tE40A71340DE270B5774BD9C22C9656242A9AE57A, ___Range_2)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_Range_2() const { return ___Range_2; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_Range_2() { return &___Range_2; }
inline void set_Range_2(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___Range_2 = value;
}
};
// Native definition for P/Invoke marshalling of Microsoft.MixedReality.Toolkit.UI.ShaderProperties
struct ShaderProperties_tE40A71340DE270B5774BD9C22C9656242A9AE57A_marshaled_pinvoke
{
char* ___Name_0;
int32_t ___Type_1;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___Range_2;
};
// Native definition for COM marshalling of Microsoft.MixedReality.Toolkit.UI.ShaderProperties
struct ShaderProperties_tE40A71340DE270B5774BD9C22C9656242A9AE57A_marshaled_com
{
Il2CppChar* ___Name_0;
int32_t ___Type_1;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___Range_2;
};
// Microsoft.MixedReality.Toolkit.UI.ThemeProperty
struct ThemeProperty_t0003FCF572D5238987CA94FF8EB70B6E3D688F04 : public RuntimeObject
{
public:
// System.String Microsoft.MixedReality.Toolkit.UI.ThemeProperty::Name
String_t* ___Name_0;
// System.String Microsoft.MixedReality.Toolkit.UI.ThemeProperty::Tooltip
String_t* ___Tooltip_1;
// Microsoft.MixedReality.Toolkit.UI.ThemePropertyTypes Microsoft.MixedReality.Toolkit.UI.ThemeProperty::Type
int32_t ___Type_2;
// Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue Microsoft.MixedReality.Toolkit.UI.ThemeProperty::Value
ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE * ___Value_3;
public:
inline static int32_t get_offset_of_Name_0() { return static_cast<int32_t>(offsetof(ThemeProperty_t0003FCF572D5238987CA94FF8EB70B6E3D688F04, ___Name_0)); }
inline String_t* get_Name_0() const { return ___Name_0; }
inline String_t** get_address_of_Name_0() { return &___Name_0; }
inline void set_Name_0(String_t* value)
{
___Name_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Name_0), (void*)value);
}
inline static int32_t get_offset_of_Tooltip_1() { return static_cast<int32_t>(offsetof(ThemeProperty_t0003FCF572D5238987CA94FF8EB70B6E3D688F04, ___Tooltip_1)); }
inline String_t* get_Tooltip_1() const { return ___Tooltip_1; }
inline String_t** get_address_of_Tooltip_1() { return &___Tooltip_1; }
inline void set_Tooltip_1(String_t* value)
{
___Tooltip_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Tooltip_1), (void*)value);
}
inline static int32_t get_offset_of_Type_2() { return static_cast<int32_t>(offsetof(ThemeProperty_t0003FCF572D5238987CA94FF8EB70B6E3D688F04, ___Type_2)); }
inline int32_t get_Type_2() const { return ___Type_2; }
inline int32_t* get_address_of_Type_2() { return &___Type_2; }
inline void set_Type_2(int32_t value)
{
___Type_2 = value;
}
inline static int32_t get_offset_of_Value_3() { return static_cast<int32_t>(offsetof(ThemeProperty_t0003FCF572D5238987CA94FF8EB70B6E3D688F04, ___Value_3)); }
inline ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE * get_Value_3() const { return ___Value_3; }
inline ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE ** get_address_of_Value_3() { return &___Value_3; }
inline void set_Value_3(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE * value)
{
___Value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Value_3), (void*)value);
}
};
// Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty
struct ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D : public RuntimeObject
{
public:
// System.String Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty::name
String_t* ___name_0;
// Microsoft.MixedReality.Toolkit.UI.ThemePropertyTypes Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty::type
int32_t ___type_1;
// System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue> Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty::values
List_1_t2A3201DAE6AD3CB8C6FAA9BD6C7A62A8D6FD07A8 * ___values_2;
// Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty::startValue
ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE * ___startValue_3;
// Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty::defaultValue
ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE * ___defaultValue_4;
// UnityEngine.Shader Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty::targetShader
Shader_tE2731FF351B74AB4186897484FB01E000C1160CA * ___targetShader_5;
// System.String Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty::shaderPropertyName
String_t* ___shaderPropertyName_6;
// System.Int32 Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty::ShaderPropertyID
int32_t ___ShaderPropertyID_7;
// System.Int32 Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty::PropId
int32_t ___PropId_9;
// System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.UI.ShaderProperties> Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty::ShaderOptions
List_1_t21DC53F0CB8707091329069C52C73AF854FAD1DB * ___ShaderOptions_10;
// System.Collections.Generic.List`1<System.String> Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty::ShaderOptionNames
List_1_tE8032E48C661C350FF9550E9063D595C0AB25CD3 * ___ShaderOptionNames_11;
// System.String Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty::ShaderName
String_t* ___ShaderName_12;
public:
inline static int32_t get_offset_of_name_0() { return static_cast<int32_t>(offsetof(ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D, ___name_0)); }
inline String_t* get_name_0() const { return ___name_0; }
inline String_t** get_address_of_name_0() { return &___name_0; }
inline void set_name_0(String_t* value)
{
___name_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___name_0), (void*)value);
}
inline static int32_t get_offset_of_type_1() { return static_cast<int32_t>(offsetof(ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D, ___type_1)); }
inline int32_t get_type_1() const { return ___type_1; }
inline int32_t* get_address_of_type_1() { return &___type_1; }
inline void set_type_1(int32_t value)
{
___type_1 = value;
}
inline static int32_t get_offset_of_values_2() { return static_cast<int32_t>(offsetof(ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D, ___values_2)); }
inline List_1_t2A3201DAE6AD3CB8C6FAA9BD6C7A62A8D6FD07A8 * get_values_2() const { return ___values_2; }
inline List_1_t2A3201DAE6AD3CB8C6FAA9BD6C7A62A8D6FD07A8 ** get_address_of_values_2() { return &___values_2; }
inline void set_values_2(List_1_t2A3201DAE6AD3CB8C6FAA9BD6C7A62A8D6FD07A8 * value)
{
___values_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___values_2), (void*)value);
}
inline static int32_t get_offset_of_startValue_3() { return static_cast<int32_t>(offsetof(ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D, ___startValue_3)); }
inline ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE * get_startValue_3() const { return ___startValue_3; }
inline ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE ** get_address_of_startValue_3() { return &___startValue_3; }
inline void set_startValue_3(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE * value)
{
___startValue_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___startValue_3), (void*)value);
}
inline static int32_t get_offset_of_defaultValue_4() { return static_cast<int32_t>(offsetof(ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D, ___defaultValue_4)); }
inline ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE * get_defaultValue_4() const { return ___defaultValue_4; }
inline ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE ** get_address_of_defaultValue_4() { return &___defaultValue_4; }
inline void set_defaultValue_4(ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE * value)
{
___defaultValue_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultValue_4), (void*)value);
}
inline static int32_t get_offset_of_targetShader_5() { return static_cast<int32_t>(offsetof(ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D, ___targetShader_5)); }
inline Shader_tE2731FF351B74AB4186897484FB01E000C1160CA * get_targetShader_5() const { return ___targetShader_5; }
inline Shader_tE2731FF351B74AB4186897484FB01E000C1160CA ** get_address_of_targetShader_5() { return &___targetShader_5; }
inline void set_targetShader_5(Shader_tE2731FF351B74AB4186897484FB01E000C1160CA * value)
{
___targetShader_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___targetShader_5), (void*)value);
}
inline static int32_t get_offset_of_shaderPropertyName_6() { return static_cast<int32_t>(offsetof(ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D, ___shaderPropertyName_6)); }
inline String_t* get_shaderPropertyName_6() const { return ___shaderPropertyName_6; }
inline String_t** get_address_of_shaderPropertyName_6() { return &___shaderPropertyName_6; }
inline void set_shaderPropertyName_6(String_t* value)
{
___shaderPropertyName_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___shaderPropertyName_6), (void*)value);
}
inline static int32_t get_offset_of_ShaderPropertyID_7() { return static_cast<int32_t>(offsetof(ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D, ___ShaderPropertyID_7)); }
inline int32_t get_ShaderPropertyID_7() const { return ___ShaderPropertyID_7; }
inline int32_t* get_address_of_ShaderPropertyID_7() { return &___ShaderPropertyID_7; }
inline void set_ShaderPropertyID_7(int32_t value)
{
___ShaderPropertyID_7 = value;
}
inline static int32_t get_offset_of_PropId_9() { return static_cast<int32_t>(offsetof(ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D, ___PropId_9)); }
inline int32_t get_PropId_9() const { return ___PropId_9; }
inline int32_t* get_address_of_PropId_9() { return &___PropId_9; }
inline void set_PropId_9(int32_t value)
{
___PropId_9 = value;
}
inline static int32_t get_offset_of_ShaderOptions_10() { return static_cast<int32_t>(offsetof(ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D, ___ShaderOptions_10)); }
inline List_1_t21DC53F0CB8707091329069C52C73AF854FAD1DB * get_ShaderOptions_10() const { return ___ShaderOptions_10; }
inline List_1_t21DC53F0CB8707091329069C52C73AF854FAD1DB ** get_address_of_ShaderOptions_10() { return &___ShaderOptions_10; }
inline void set_ShaderOptions_10(List_1_t21DC53F0CB8707091329069C52C73AF854FAD1DB * value)
{
___ShaderOptions_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ShaderOptions_10), (void*)value);
}
inline static int32_t get_offset_of_ShaderOptionNames_11() { return static_cast<int32_t>(offsetof(ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D, ___ShaderOptionNames_11)); }
inline List_1_tE8032E48C661C350FF9550E9063D595C0AB25CD3 * get_ShaderOptionNames_11() const { return ___ShaderOptionNames_11; }
inline List_1_tE8032E48C661C350FF9550E9063D595C0AB25CD3 ** get_address_of_ShaderOptionNames_11() { return &___ShaderOptionNames_11; }
inline void set_ShaderOptionNames_11(List_1_tE8032E48C661C350FF9550E9063D595C0AB25CD3 * value)
{
___ShaderOptionNames_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ShaderOptionNames_11), (void*)value);
}
inline static int32_t get_offset_of_ShaderName_12() { return static_cast<int32_t>(offsetof(ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D, ___ShaderName_12)); }
inline String_t* get_ShaderName_12() const { return ___ShaderName_12; }
inline String_t** get_address_of_ShaderName_12() { return &___ShaderName_12; }
inline void set_ShaderName_12(String_t* value)
{
___ShaderName_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ShaderName_12), (void*)value);
}
};
struct ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D_StaticFields
{
public:
// Microsoft.MixedReality.Toolkit.UI.ThemePropertyTypes[] Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty::ShaderTypes
ThemePropertyTypesU5BU5D_t16689DB5618DD7FA72BCADDA3B90A520898026FA* ___ShaderTypes_8;
public:
inline static int32_t get_offset_of_ShaderTypes_8() { return static_cast<int32_t>(offsetof(ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D_StaticFields, ___ShaderTypes_8)); }
inline ThemePropertyTypesU5BU5D_t16689DB5618DD7FA72BCADDA3B90A520898026FA* get_ShaderTypes_8() const { return ___ShaderTypes_8; }
inline ThemePropertyTypesU5BU5D_t16689DB5618DD7FA72BCADDA3B90A520898026FA** get_address_of_ShaderTypes_8() { return &___ShaderTypes_8; }
inline void set_ShaderTypes_8(ThemePropertyTypesU5BU5D_t16689DB5618DD7FA72BCADDA3B90A520898026FA* value)
{
___ShaderTypes_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ShaderTypes_8), (void*)value);
}
};
// RestSharp.Parameter
struct Parameter_tF609C50B6EC102D33772FC89ED75591360D1124E : public RuntimeObject
{
public:
// System.String RestSharp.Parameter::<Name>k__BackingField
String_t* ___U3CNameU3Ek__BackingField_0;
// System.Object RestSharp.Parameter::<Value>k__BackingField
RuntimeObject * ___U3CValueU3Ek__BackingField_1;
// RestSharp.ParameterType RestSharp.Parameter::<Type>k__BackingField
int32_t ___U3CTypeU3Ek__BackingField_2;
// RestSharp.DataFormat RestSharp.Parameter::<DataFormat>k__BackingField
int32_t ___U3CDataFormatU3Ek__BackingField_3;
// System.String RestSharp.Parameter::<ContentType>k__BackingField
String_t* ___U3CContentTypeU3Ek__BackingField_4;
public:
inline static int32_t get_offset_of_U3CNameU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(Parameter_tF609C50B6EC102D33772FC89ED75591360D1124E, ___U3CNameU3Ek__BackingField_0)); }
inline String_t* get_U3CNameU3Ek__BackingField_0() const { return ___U3CNameU3Ek__BackingField_0; }
inline String_t** get_address_of_U3CNameU3Ek__BackingField_0() { return &___U3CNameU3Ek__BackingField_0; }
inline void set_U3CNameU3Ek__BackingField_0(String_t* value)
{
___U3CNameU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CNameU3Ek__BackingField_0), (void*)value);
}
inline static int32_t get_offset_of_U3CValueU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(Parameter_tF609C50B6EC102D33772FC89ED75591360D1124E, ___U3CValueU3Ek__BackingField_1)); }
inline RuntimeObject * get_U3CValueU3Ek__BackingField_1() const { return ___U3CValueU3Ek__BackingField_1; }
inline RuntimeObject ** get_address_of_U3CValueU3Ek__BackingField_1() { return &___U3CValueU3Ek__BackingField_1; }
inline void set_U3CValueU3Ek__BackingField_1(RuntimeObject * value)
{
___U3CValueU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CValueU3Ek__BackingField_1), (void*)value);
}
inline static int32_t get_offset_of_U3CTypeU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(Parameter_tF609C50B6EC102D33772FC89ED75591360D1124E, ___U3CTypeU3Ek__BackingField_2)); }
inline int32_t get_U3CTypeU3Ek__BackingField_2() const { return ___U3CTypeU3Ek__BackingField_2; }
inline int32_t* get_address_of_U3CTypeU3Ek__BackingField_2() { return &___U3CTypeU3Ek__BackingField_2; }
inline void set_U3CTypeU3Ek__BackingField_2(int32_t value)
{
___U3CTypeU3Ek__BackingField_2 = value;
}
inline static int32_t get_offset_of_U3CDataFormatU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(Parameter_tF609C50B6EC102D33772FC89ED75591360D1124E, ___U3CDataFormatU3Ek__BackingField_3)); }
inline int32_t get_U3CDataFormatU3Ek__BackingField_3() const { return ___U3CDataFormatU3Ek__BackingField_3; }
inline int32_t* get_address_of_U3CDataFormatU3Ek__BackingField_3() { return &___U3CDataFormatU3Ek__BackingField_3; }
inline void set_U3CDataFormatU3Ek__BackingField_3(int32_t value)
{
___U3CDataFormatU3Ek__BackingField_3 = value;
}
inline static int32_t get_offset_of_U3CContentTypeU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(Parameter_tF609C50B6EC102D33772FC89ED75591360D1124E, ___U3CContentTypeU3Ek__BackingField_4)); }
inline String_t* get_U3CContentTypeU3Ek__BackingField_4() const { return ___U3CContentTypeU3Ek__BackingField_4; }
inline String_t** get_address_of_U3CContentTypeU3Ek__BackingField_4() { return &___U3CContentTypeU3Ek__BackingField_4; }
inline void set_U3CContentTypeU3Ek__BackingField_4(String_t* value)
{
___U3CContentTypeU3Ek__BackingField_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CContentTypeU3Ek__BackingField_4), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<Microsoft.MixedReality.Toolkit.Audio.AudioLoFiSourceQuality,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings>
struct Entry_t2E7C8B25AF936E53B92C42955123D0734338AB5E
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
int32_t ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t2E7C8B25AF936E53B92C42955123D0734338AB5E, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t2E7C8B25AF936E53B92C42955123D0734338AB5E, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t2E7C8B25AF936E53B92C42955123D0734338AB5E, ___key_2)); }
inline int32_t get_key_2() const { return ___key_2; }
inline int32_t* get_address_of_key_2() { return &___key_2; }
inline void set_key_2(int32_t value)
{
___key_2 = value;
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t2E7C8B25AF936E53B92C42955123D0734338AB5E, ___value_3)); }
inline AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF get_value_3() const { return ___value_3; }
inline AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF * get_address_of_value_3() { return &___value_3; }
inline void set_value_3(AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF value)
{
___value_3 = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<RestSharp.DataFormat,RestSharp.Serialization.IRestSerializer>
struct Entry_tE199769B222573740178FC33B4290773FC124709
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
int32_t ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
RuntimeObject* ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_tE199769B222573740178FC33B4290773FC124709, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_tE199769B222573740178FC33B4290773FC124709, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_tE199769B222573740178FC33B4290773FC124709, ___key_2)); }
inline int32_t get_key_2() const { return ___key_2; }
inline int32_t* get_address_of_key_2() { return &___key_2; }
inline void set_key_2(int32_t value)
{
___key_2 = value;
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_tE199769B222573740178FC33B4290773FC124709, ___value_3)); }
inline RuntimeObject* get_value_3() const { return ___value_3; }
inline RuntimeObject** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(RuntimeObject* value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<RestSharp.DataFormat,System.String>
struct Entry_t850F39670C342BC7256F24B33DDFB8ADD25273C2
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
int32_t ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
String_t* ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t850F39670C342BC7256F24B33DDFB8ADD25273C2, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t850F39670C342BC7256F24B33DDFB8ADD25273C2, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t850F39670C342BC7256F24B33DDFB8ADD25273C2, ___key_2)); }
inline int32_t get_key_2() const { return ___key_2; }
inline int32_t* get_address_of_key_2() { return &___key_2; }
inline void set_key_2(int32_t value)
{
___key_2 = value;
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t850F39670C342BC7256F24B33DDFB8ADD25273C2, ___value_3)); }
inline String_t* get_value_3() const { return ___value_3; }
inline String_t** get_address_of_value_3() { return &___value_3; }
inline void set_value_3(String_t* value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Int32Enum,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings>
struct Entry_t8CDDBE11166C28193FE48382B368308F5BAE43AE
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
int32_t ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_t8CDDBE11166C28193FE48382B368308F5BAE43AE, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_t8CDDBE11166C28193FE48382B368308F5BAE43AE, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_t8CDDBE11166C28193FE48382B368308F5BAE43AE, ___key_2)); }
inline int32_t get_key_2() const { return ___key_2; }
inline int32_t* get_address_of_key_2() { return &___key_2; }
inline void set_key_2(int32_t value)
{
___key_2 = value;
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_t8CDDBE11166C28193FE48382B368308F5BAE43AE, ___value_3)); }
inline AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF get_value_3() const { return ___value_3; }
inline AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF * get_address_of_value_3() { return &___value_3; }
inline void set_value_3(AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF value)
{
___value_3 = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.UInt32,Microsoft.MixedReality.Toolkit.Experimental.UI.ObjectManipulator_PointerData>
struct Entry_tF2F58BAF23DCA0EEC8FA055E576D8EB2A9005430
{
public:
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::hashCode
int32_t ___hashCode_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Entry::next
int32_t ___next_1;
// TKey System.Collections.Generic.Dictionary`2_Entry::key
uint32_t ___key_2;
// TValue System.Collections.Generic.Dictionary`2_Entry::value
PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76 ___value_3;
public:
inline static int32_t get_offset_of_hashCode_0() { return static_cast<int32_t>(offsetof(Entry_tF2F58BAF23DCA0EEC8FA055E576D8EB2A9005430, ___hashCode_0)); }
inline int32_t get_hashCode_0() const { return ___hashCode_0; }
inline int32_t* get_address_of_hashCode_0() { return &___hashCode_0; }
inline void set_hashCode_0(int32_t value)
{
___hashCode_0 = value;
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Entry_tF2F58BAF23DCA0EEC8FA055E576D8EB2A9005430, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(Entry_tF2F58BAF23DCA0EEC8FA055E576D8EB2A9005430, ___key_2)); }
inline uint32_t get_key_2() const { return ___key_2; }
inline uint32_t* get_address_of_key_2() { return &___key_2; }
inline void set_key_2(uint32_t value)
{
___key_2 = value;
}
inline static int32_t get_offset_of_value_3() { return static_cast<int32_t>(offsetof(Entry_tF2F58BAF23DCA0EEC8FA055E576D8EB2A9005430, ___value_3)); }
inline PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76 get_value_3() const { return ___value_3; }
inline PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76 * get_address_of_value_3() { return &___value_3; }
inline void set_value_3(PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76 value)
{
___value_3 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___value_3))->___pointer_0), (void*)NULL);
}
};
// System.Collections.Generic.KeyValuePair`2<Microsoft.MixedReality.Toolkit.Audio.AudioLoFiSourceQuality,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings>
struct KeyValuePair_2_t6E3612DF28225A4D1BDEA3A241BD0B2A81FAB8A8
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
int32_t ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t6E3612DF28225A4D1BDEA3A241BD0B2A81FAB8A8, ___key_0)); }
inline int32_t get_key_0() const { return ___key_0; }
inline int32_t* get_address_of_key_0() { return &___key_0; }
inline void set_key_0(int32_t value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t6E3612DF28225A4D1BDEA3A241BD0B2A81FAB8A8, ___value_1)); }
inline AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF get_value_1() const { return ___value_1; }
inline AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF * get_address_of_value_1() { return &___value_1; }
inline void set_value_1(AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF value)
{
___value_1 = value;
}
};
// System.Collections.Generic.KeyValuePair`2<RestSharp.DataFormat,RestSharp.Serialization.IRestSerializer>
struct KeyValuePair_2_t7E42FAE29BDF5709BAB14C642187C798A880205A
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
int32_t ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
RuntimeObject* ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t7E42FAE29BDF5709BAB14C642187C798A880205A, ___key_0)); }
inline int32_t get_key_0() const { return ___key_0; }
inline int32_t* get_address_of_key_0() { return &___key_0; }
inline void set_key_0(int32_t value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t7E42FAE29BDF5709BAB14C642187C798A880205A, ___value_1)); }
inline RuntimeObject* get_value_1() const { return ___value_1; }
inline RuntimeObject** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(RuntimeObject* value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<RestSharp.DataFormat,System.String>
struct KeyValuePair_2_t13C5E1BBF0AC2095FCFF5304B5D077C8A4D5C01F
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
int32_t ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
String_t* ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t13C5E1BBF0AC2095FCFF5304B5D077C8A4D5C01F, ___key_0)); }
inline int32_t get_key_0() const { return ___key_0; }
inline int32_t* get_address_of_key_0() { return &___key_0; }
inline void set_key_0(int32_t value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t13C5E1BBF0AC2095FCFF5304B5D077C8A4D5C01F, ___value_1)); }
inline String_t* get_value_1() const { return ___value_1; }
inline String_t** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(String_t* value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Int32Enum,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings>
struct KeyValuePair_2_t7EA40ED5C829A58ABEFAB5B259A78A5FD88865E6
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
int32_t ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t7EA40ED5C829A58ABEFAB5B259A78A5FD88865E6, ___key_0)); }
inline int32_t get_key_0() const { return ___key_0; }
inline int32_t* get_address_of_key_0() { return &___key_0; }
inline void set_key_0(int32_t value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t7EA40ED5C829A58ABEFAB5B259A78A5FD88865E6, ___value_1)); }
inline AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF get_value_1() const { return ___value_1; }
inline AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF * get_address_of_value_1() { return &___value_1; }
inline void set_value_1(AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF value)
{
___value_1 = value;
}
};
// System.Collections.Generic.KeyValuePair`2<System.UInt32,Microsoft.MixedReality.Toolkit.Experimental.UI.ObjectManipulator_PointerData>
struct KeyValuePair_2_tBA822509291FE03814D4C52FBF8038C9A88949AB
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
uint32_t ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76 ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tBA822509291FE03814D4C52FBF8038C9A88949AB, ___key_0)); }
inline uint32_t get_key_0() const { return ___key_0; }
inline uint32_t* get_address_of_key_0() { return &___key_0; }
inline void set_key_0(uint32_t value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tBA822509291FE03814D4C52FBF8038C9A88949AB, ___value_1)); }
inline PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76 get_value_1() const { return ___value_1; }
inline PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76 * get_address_of_value_1() { return &___value_1; }
inline void set_value_1(PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76 value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___value_1))->___pointer_0), (void*)NULL);
}
};
// System.MulticastDelegate
struct MulticastDelegate_t : public Delegate_t
{
public:
// System.Delegate[] System.MulticastDelegate::delegates
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* ___delegates_11;
public:
inline static int32_t get_offset_of_delegates_11() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___delegates_11)); }
inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* get_delegates_11() const { return ___delegates_11; }
inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86** get_address_of_delegates_11() { return &___delegates_11; }
inline void set_delegates_11(DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* value)
{
___delegates_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___delegates_11), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
{
Delegate_t_marshaled_pinvoke** ___delegates_11;
};
// Native definition for COM marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
{
Delegate_t_marshaled_com** ___delegates_11;
};
// System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType,System.Int32>
struct Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F : public RuntimeObject
{
public:
// T1 System.Tuple`2::m_Item1
int32_t ___m_Item1_0;
// T2 System.Tuple`2::m_Item2
int32_t ___m_Item2_1;
public:
inline static int32_t get_offset_of_m_Item1_0() { return static_cast<int32_t>(offsetof(Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F, ___m_Item1_0)); }
inline int32_t get_m_Item1_0() const { return ___m_Item1_0; }
inline int32_t* get_address_of_m_Item1_0() { return &___m_Item1_0; }
inline void set_m_Item1_0(int32_t value)
{
___m_Item1_0 = value;
}
inline static int32_t get_offset_of_m_Item2_1() { return static_cast<int32_t>(offsetof(Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F, ___m_Item2_1)); }
inline int32_t get_m_Item2_1() const { return ___m_Item2_1; }
inline int32_t* get_address_of_m_Item2_1() { return &___m_Item2_1; }
inline void set_m_Item2_1(int32_t value)
{
___m_Item2_1 = value;
}
};
// UnityEngine.Component
struct Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
// UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap
struct TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C : public RuntimeObject
{
public:
// UnityEngine.Vector3 UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap::m_patchSize
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___m_patchSize_0;
// UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_ErrorCode UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap::m_errorCode
int32_t ___m_errorCode_1;
// System.Collections.Generic.Dictionary`2<UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord,UnityEngine.Terrain> UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap::m_terrainTiles
Dictionary_2_tEB34CAE1B4D0E725777A5B9D419AF51BE918C30C * ___m_terrainTiles_2;
public:
inline static int32_t get_offset_of_m_patchSize_0() { return static_cast<int32_t>(offsetof(TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C, ___m_patchSize_0)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_m_patchSize_0() const { return ___m_patchSize_0; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_m_patchSize_0() { return &___m_patchSize_0; }
inline void set_m_patchSize_0(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___m_patchSize_0 = value;
}
inline static int32_t get_offset_of_m_errorCode_1() { return static_cast<int32_t>(offsetof(TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C, ___m_errorCode_1)); }
inline int32_t get_m_errorCode_1() const { return ___m_errorCode_1; }
inline int32_t* get_address_of_m_errorCode_1() { return &___m_errorCode_1; }
inline void set_m_errorCode_1(int32_t value)
{
___m_errorCode_1 = value;
}
inline static int32_t get_offset_of_m_terrainTiles_2() { return static_cast<int32_t>(offsetof(TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C, ___m_terrainTiles_2)); }
inline Dictionary_2_tEB34CAE1B4D0E725777A5B9D419AF51BE918C30C * get_m_terrainTiles_2() const { return ___m_terrainTiles_2; }
inline Dictionary_2_tEB34CAE1B4D0E725777A5B9D419AF51BE918C30C ** get_address_of_m_terrainTiles_2() { return &___m_terrainTiles_2; }
inline void set_m_terrainTiles_2(Dictionary_2_tEB34CAE1B4D0E725777A5B9D419AF51BE918C30C * value)
{
___m_terrainTiles_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_terrainTiles_2), (void*)value);
}
};
// RestSharp.Reflection.ReflectionUtils_ConstructorDelegate
struct ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC : public MulticastDelegate_t
{
public:
public:
};
// RestSharp.Reflection.ReflectionUtils_GetDelegate
struct GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E : public MulticastDelegate_t
{
public:
public:
};
// System.Action`2<System.Net.HttpWebRequest,System.String>
struct Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F : public MulticastDelegate_t
{
public:
public:
};
// System.Func`1<RestSharp.Deserializers.IDeserializer>
struct Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210 : public MulticastDelegate_t
{
public:
public:
};
// UnityEngine.Behaviour
struct Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 : public Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621
{
public:
public:
};
// UnityEngine.XR.WSA.WorldAnchor
struct WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE : public Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621
{
public:
// UnityEngine.XR.WSA.WorldAnchor_OnTrackingChangedDelegate UnityEngine.XR.WSA.WorldAnchor::OnTrackingChanged
OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 * ___OnTrackingChanged_4;
public:
inline static int32_t get_offset_of_OnTrackingChanged_4() { return static_cast<int32_t>(offsetof(WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE, ___OnTrackingChanged_4)); }
inline OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 * get_OnTrackingChanged_4() const { return ___OnTrackingChanged_4; }
inline OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 ** get_address_of_OnTrackingChanged_4() { return &___OnTrackingChanged_4; }
inline void set_OnTrackingChanged_4(OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 * value)
{
___OnTrackingChanged_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___OnTrackingChanged_4), (void*)value);
}
};
// UnityEngine.Terrain
struct Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943 : public Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Microsoft.MixedReality.Toolkit.UI.BoundingBox_CardinalAxisType[]
struct CardinalAxisTypeU5BU5D_tBE98770DA2148A2A8F20E206C564ACE5C3644F45 : public RuntimeArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// Microsoft.MixedReality.Toolkit.UI.BoundingBox_Handle[]
struct HandleU5BU5D_t776A839BCE3600D5084060535B83A5F0DD44AD7E : public RuntimeArray
{
public:
ALIGN_FIELD (8) Handle_tC2FEF617706F0ED70DF82012DB61C2EF2B623997 * m_Items[1];
public:
inline Handle_tC2FEF617706F0ED70DF82012DB61C2EF2B623997 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Handle_tC2FEF617706F0ED70DF82012DB61C2EF2B623997 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Handle_tC2FEF617706F0ED70DF82012DB61C2EF2B623997 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Handle_tC2FEF617706F0ED70DF82012DB61C2EF2B623997 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Handle_tC2FEF617706F0ED70DF82012DB61C2EF2B623997 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Handle_tC2FEF617706F0ED70DF82012DB61C2EF2B623997 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Object,UnityEngine.Vector3>[]
struct KeyValuePair_2U5BU5D_t9DA0E92688123C54D8D06012F6F5584E8023589F : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_tB2B1BDB4860CA12D10ED64E7D3B112421CADA822 m_Items[1];
public:
inline KeyValuePair_2_tB2B1BDB4860CA12D10ED64E7D3B112421CADA822 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_tB2B1BDB4860CA12D10ED64E7D3B112421CADA822 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_tB2B1BDB4860CA12D10ED64E7D3B112421CADA822 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
}
inline KeyValuePair_2_tB2B1BDB4860CA12D10ED64E7D3B112421CADA822 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_tB2B1BDB4860CA12D10ED64E7D3B112421CADA822 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_tB2B1BDB4860CA12D10ED64E7D3B112421CADA822 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Object,UnityEngine.Vector3>[]
struct EntryU5BU5D_t6AB8023CFFFA881E31020BD4727D93554A245CB2 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t7F6EFCC50C152F187A40F83B2412AA3926B29874 m_Items[1];
public:
inline Entry_t7F6EFCC50C152F187A40F83B2412AA3926B29874 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t7F6EFCC50C152F187A40F83B2412AA3926B29874 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t7F6EFCC50C152F187A40F83B2412AA3926B29874 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
}
inline Entry_t7F6EFCC50C152F187A40F83B2412AA3926B29874 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t7F6EFCC50C152F187A40F83B2412AA3926B29874 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t7F6EFCC50C152F187A40F83B2412AA3926B29874 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
}
};
// System.Collections.Generic.Dictionary`2_Entry<Microsoft.MixedReality.Toolkit.Input.IMixedRealityController,UnityEngine.Vector3>[]
struct EntryU5BU5D_t9B386D67ADE3B65788CDB97E308A773FCAF4E4AA : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_tC137C0556EE3610D0FF5A5AD099A490417B7A8F0 m_Items[1];
public:
inline Entry_tC137C0556EE3610D0FF5A5AD099A490417B7A8F0 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_tC137C0556EE3610D0FF5A5AD099A490417B7A8F0 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_tC137C0556EE3610D0FF5A5AD099A490417B7A8F0 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
}
inline Entry_tC137C0556EE3610D0FF5A5AD099A490417B7A8F0 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_tC137C0556EE3610D0FF5A5AD099A490417B7A8F0 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_tC137C0556EE3610D0FF5A5AD099A490417B7A8F0 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
}
};
// System.Collections.Generic.KeyValuePair`2<Microsoft.MixedReality.Toolkit.Input.IMixedRealityController,UnityEngine.Vector3>[]
struct KeyValuePair_2U5BU5D_t8C3F12530335E583991098146649D4B46C0B63A9 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t0861614C9263FE72F451317FC6330481E2AD2259 m_Items[1];
public:
inline KeyValuePair_2_t0861614C9263FE72F451317FC6330481E2AD2259 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t0861614C9263FE72F451317FC6330481E2AD2259 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t0861614C9263FE72F451317FC6330481E2AD2259 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
}
inline KeyValuePair_2_t0861614C9263FE72F451317FC6330481E2AD2259 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t0861614C9263FE72F451317FC6330481E2AD2259 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t0861614C9263FE72F451317FC6330481E2AD2259 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
}
};
// UnityEngine.MaterialPropertyBlock[]
struct MaterialPropertyBlockU5BU5D_tC7C7738D79ED1E01D386FBC3AFD5F5E18B6F562A : public RuntimeArray
{
public:
ALIGN_FIELD (8) MaterialPropertyBlock_t72A481768111C6F11DCDCD44F0C7F99F1CA79E13 * m_Items[1];
public:
inline MaterialPropertyBlock_t72A481768111C6F11DCDCD44F0C7F99F1CA79E13 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline MaterialPropertyBlock_t72A481768111C6F11DCDCD44F0C7F99F1CA79E13 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, MaterialPropertyBlock_t72A481768111C6F11DCDCD44F0C7F99F1CA79E13 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline MaterialPropertyBlock_t72A481768111C6F11DCDCD44F0C7F99F1CA79E13 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline MaterialPropertyBlock_t72A481768111C6F11DCDCD44F0C7F99F1CA79E13 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, MaterialPropertyBlock_t72A481768111C6F11DCDCD44F0C7F99F1CA79E13 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.UInt32,Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData>[]
struct EntryU5BU5D_t422F792695A2AA991135AFCD3F0FA801F18128AF : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_tEC0F1F66FF94731AA865633AAEF687F62A96A994 m_Items[1];
public:
inline Entry_tEC0F1F66FF94731AA865633AAEF687F62A96A994 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_tEC0F1F66FF94731AA865633AAEF687F62A96A994 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_tEC0F1F66FF94731AA865633AAEF687F62A96A994 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
inline Entry_tEC0F1F66FF94731AA865633AAEF687F62A96A994 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_tEC0F1F66FF94731AA865633AAEF687F62A96A994 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_tEC0F1F66FF94731AA865633AAEF687F62A96A994 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
};
// Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData[]
struct HandPanDataU5BU5D_t8B6D8F3C445B507169EAA52400D24DC295663EA6 : public RuntimeArray
{
public:
ALIGN_FIELD (8) HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E * m_Items[1];
public:
inline HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, HandPanData_t450CB790762980DCA7CC149B7F72F828D84E306E * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.UInt32,Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData>[]
struct KeyValuePair_2U5BU5D_t3F272074C4D5FAD361CD8D08C223D19701B32306 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t9F23CB81D455EBC4C61AD56E0CE897AD99470586 m_Items[1];
public:
inline KeyValuePair_2_t9F23CB81D455EBC4C61AD56E0CE897AD99470586 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t9F23CB81D455EBC4C61AD56E0CE897AD99470586 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t9F23CB81D455EBC4C61AD56E0CE897AD99470586 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
inline KeyValuePair_2_t9F23CB81D455EBC4C61AD56E0CE897AD99470586 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t9F23CB81D455EBC4C61AD56E0CE897AD99470586 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t9F23CB81D455EBC4C61AD56E0CE897AD99470586 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
};
// Microsoft.MixedReality.Toolkit.UI.IToolTipBackground[]
struct IToolTipBackgroundU5BU5D_t4AC7A48468D8891D1183229458A18FE7753E15C0 : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
public:
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// Microsoft.MixedReality.Toolkit.UI.IToolTipHighlight[]
struct IToolTipHighlightU5BU5D_tA7DD71FD723413BC5C96B63B884C643D00A7675C : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
public:
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.UInt32,System.Boolean>[]
struct KeyValuePair_2U5BU5D_t90D650B211D4280D9C648325D90FE4CDA0CE18D7 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t4924C8EC65AAF8D242A28DB259AE14F25055A7EE m_Items[1];
public:
inline KeyValuePair_2_t4924C8EC65AAF8D242A28DB259AE14F25055A7EE GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t4924C8EC65AAF8D242A28DB259AE14F25055A7EE * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t4924C8EC65AAF8D242A28DB259AE14F25055A7EE value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline KeyValuePair_2_t4924C8EC65AAF8D242A28DB259AE14F25055A7EE GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t4924C8EC65AAF8D242A28DB259AE14F25055A7EE * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t4924C8EC65AAF8D242A28DB259AE14F25055A7EE value)
{
m_Items[index] = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.UInt32,System.Boolean>[]
struct EntryU5BU5D_t511C7DC57AC208468C9F46AEF2BE499BDDD717D2 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t1248B1345CDA796FEA6F632C5E6F2BD9463754D2 m_Items[1];
public:
inline Entry_t1248B1345CDA796FEA6F632C5E6F2BD9463754D2 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t1248B1345CDA796FEA6F632C5E6F2BD9463754D2 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t1248B1345CDA796FEA6F632C5E6F2BD9463754D2 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Entry_t1248B1345CDA796FEA6F632C5E6F2BD9463754D2 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t1248B1345CDA796FEA6F632C5E6F2BD9463754D2 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t1248B1345CDA796FEA6F632C5E6F2BD9463754D2 value)
{
m_Items[index] = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.UInt32,Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource>[]
struct EntryU5BU5D_t275D0AFE2505B4FC559212BDD8B3A93059D2DE91 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t6E2384D387A1DE5550713BDE590F08D06B04B85F m_Items[1];
public:
inline Entry_t6E2384D387A1DE5550713BDE590F08D06B04B85F GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t6E2384D387A1DE5550713BDE590F08D06B04B85F * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t6E2384D387A1DE5550713BDE590F08D06B04B85F value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
inline Entry_t6E2384D387A1DE5550713BDE590F08D06B04B85F GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t6E2384D387A1DE5550713BDE590F08D06B04B85F * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t6E2384D387A1DE5550713BDE590F08D06B04B85F value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
};
// System.Collections.Generic.KeyValuePair`2<System.UInt32,Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource>[]
struct KeyValuePair_2U5BU5D_tD81B802B8A4D928C8CC32F052005FF6AC0F22769 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_tE426C9335828247C7C48515A85F921A8692DAD7D m_Items[1];
public:
inline KeyValuePair_2_tE426C9335828247C7C48515A85F921A8692DAD7D GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_tE426C9335828247C7C48515A85F921A8692DAD7D * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_tE426C9335828247C7C48515A85F921A8692DAD7D value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
inline KeyValuePair_2_tE426C9335828247C7C48515A85F921A8692DAD7D GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_tE426C9335828247C7C48515A85F921A8692DAD7D * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_tE426C9335828247C7C48515A85F921A8692DAD7D value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
};
// System.Collections.Generic.KeyValuePair`2<System.UInt32,UnityEngine.Vector3>[]
struct KeyValuePair_2U5BU5D_tCF0C42BB56954C88E2CE002CCE8480DB3D56E7CD : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_tD7757B69726FBA1C83AAD9BC8771401D3F1971AF m_Items[1];
public:
inline KeyValuePair_2_tD7757B69726FBA1C83AAD9BC8771401D3F1971AF GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_tD7757B69726FBA1C83AAD9BC8771401D3F1971AF * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_tD7757B69726FBA1C83AAD9BC8771401D3F1971AF value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline KeyValuePair_2_tD7757B69726FBA1C83AAD9BC8771401D3F1971AF GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_tD7757B69726FBA1C83AAD9BC8771401D3F1971AF * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_tD7757B69726FBA1C83AAD9BC8771401D3F1971AF value)
{
m_Items[index] = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.UInt32,UnityEngine.Vector3>[]
struct EntryU5BU5D_tB1F7DA0B5996C09A3A69C06537A892A3134C2767 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_tD2E1C8AE63504220F6AD1FCA3DDFB4427A3458B8 m_Items[1];
public:
inline Entry_tD2E1C8AE63504220F6AD1FCA3DDFB4427A3458B8 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_tD2E1C8AE63504220F6AD1FCA3DDFB4427A3458B8 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_tD2E1C8AE63504220F6AD1FCA3DDFB4427A3458B8 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Entry_tD2E1C8AE63504220F6AD1FCA3DDFB4427A3458B8 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_tD2E1C8AE63504220F6AD1FCA3DDFB4427A3458B8 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_tD2E1C8AE63504220F6AD1FCA3DDFB4427A3458B8 value)
{
m_Items[index] = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<UnityEngine.Renderer,System.Collections.Generic.List`1<UnityEngine.Material>>[]
struct EntryU5BU5D_tBCCE8BE5EDAF3995DD37B3E3CA6416B9F1AD3B4F : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t9736B401F118407062E2BB5F602928C8EA7BEE99 m_Items[1];
public:
inline Entry_t9736B401F118407062E2BB5F602928C8EA7BEE99 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t9736B401F118407062E2BB5F602928C8EA7BEE99 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t9736B401F118407062E2BB5F602928C8EA7BEE99 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
#endif
}
inline Entry_t9736B401F118407062E2BB5F602928C8EA7BEE99 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t9736B401F118407062E2BB5F602928C8EA7BEE99 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t9736B401F118407062E2BB5F602928C8EA7BEE99 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
#endif
}
};
// System.Collections.Generic.List`1<UnityEngine.Material>[]
struct List_1U5BU5D_t1BFA24A9302CE73F043EEFF97E8C6B37D4C5BFE7 : public RuntimeArray
{
public:
ALIGN_FIELD (8) List_1_t6A61046573B0BC4E12950B90305C189DD041D786 * m_Items[1];
public:
inline List_1_t6A61046573B0BC4E12950B90305C189DD041D786 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline List_1_t6A61046573B0BC4E12950B90305C189DD041D786 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, List_1_t6A61046573B0BC4E12950B90305C189DD041D786 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline List_1_t6A61046573B0BC4E12950B90305C189DD041D786 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline List_1_t6A61046573B0BC4E12950B90305C189DD041D786 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, List_1_t6A61046573B0BC4E12950B90305C189DD041D786 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<UnityEngine.Renderer,System.Collections.Generic.List`1<UnityEngine.Material>>[]
struct KeyValuePair_2U5BU5D_t6BA07A264734C00DB92FF7890995EFF2C0A5D4CB : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_tBE9B9D8C86D2569964644168F814CE6BC7A2C852 m_Items[1];
public:
inline KeyValuePair_2_tBE9B9D8C86D2569964644168F814CE6BC7A2C852 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_tBE9B9D8C86D2569964644168F814CE6BC7A2C852 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_tBE9B9D8C86D2569964644168F814CE6BC7A2C852 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
inline KeyValuePair_2_tBE9B9D8C86D2569964644168F814CE6BC7A2C852 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_tBE9B9D8C86D2569964644168F814CE6BC7A2C852 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_tBE9B9D8C86D2569964644168F814CE6BC7A2C852 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
};
// Microsoft.MixedReality.Toolkit.UI.VisualProfile[]
struct VisualProfileU5BU5D_tE3C4AA6D9CC6C402C4A5158121433A2EC364A114 : public RuntimeArray
{
public:
ALIGN_FIELD (8) VisualProfile_t313933FEA2F20366458BF72EA40F74E1662696D5 * m_Items[1];
public:
inline VisualProfile_t313933FEA2F20366458BF72EA40F74E1662696D5 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline VisualProfile_t313933FEA2F20366458BF72EA40F74E1662696D5 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, VisualProfile_t313933FEA2F20366458BF72EA40F74E1662696D5 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline VisualProfile_t313933FEA2F20366458BF72EA40F74E1662696D5 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline VisualProfile_t313933FEA2F20366458BF72EA40F74E1662696D5 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, VisualProfile_t313933FEA2F20366458BF72EA40F74E1662696D5 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.HashSet`1_Slot<System.Int32>[]
struct SlotU5BU5D_t8257F5C54F6FB6F37D9C06F3E47AFF42700352BC : public RuntimeArray
{
public:
ALIGN_FIELD (8) Slot_tA9C054FB11E759FD9D735BB5697A90ACE12D6FA7 m_Items[1];
public:
inline Slot_tA9C054FB11E759FD9D735BB5697A90ACE12D6FA7 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Slot_tA9C054FB11E759FD9D735BB5697A90ACE12D6FA7 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Slot_tA9C054FB11E759FD9D735BB5697A90ACE12D6FA7 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Slot_tA9C054FB11E759FD9D735BB5697A90ACE12D6FA7 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Slot_tA9C054FB11E759FD9D735BB5697A90ACE12D6FA7 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Slot_tA9C054FB11E759FD9D735BB5697A90ACE12D6FA7 value)
{
m_Items[index] = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Type,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>[]
struct EntryU5BU5D_t00940937A9DB19AF39919845F47A12DF7C5E2309 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_tD6E1F449458B967A522589DDF14DD8AE70265FA3 m_Items[1];
public:
inline Entry_tD6E1F449458B967A522589DDF14DD8AE70265FA3 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_tD6E1F449458B967A522589DDF14DD8AE70265FA3 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_tD6E1F449458B967A522589DDF14DD8AE70265FA3 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___Type_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___ClassName_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___AssemblyQualifiedName_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___stateProperties_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___customProperties_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___easing_5), (void*)NULL);
#endif
}
inline Entry_tD6E1F449458B967A522589DDF14DD8AE70265FA3 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_tD6E1F449458B967A522589DDF14DD8AE70265FA3 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_tD6E1F449458B967A522589DDF14DD8AE70265FA3 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___Type_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___ClassName_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___AssemblyQualifiedName_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___stateProperties_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___customProperties_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___easing_5), (void*)NULL);
#endif
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Object,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>[]
struct EntryU5BU5D_t1B7D8350E1962640357EC234F4542A977DE48401 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t3F2DB73BEDDCCC9968B81D269BFBFCBCB24EE150 m_Items[1];
public:
inline Entry_t3F2DB73BEDDCCC9968B81D269BFBFCBCB24EE150 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t3F2DB73BEDDCCC9968B81D269BFBFCBCB24EE150 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t3F2DB73BEDDCCC9968B81D269BFBFCBCB24EE150 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___Type_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___ClassName_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___AssemblyQualifiedName_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___stateProperties_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___customProperties_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___easing_5), (void*)NULL);
#endif
}
inline Entry_t3F2DB73BEDDCCC9968B81D269BFBFCBCB24EE150 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t3F2DB73BEDDCCC9968B81D269BFBFCBCB24EE150 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t3F2DB73BEDDCCC9968B81D269BFBFCBCB24EE150 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___Type_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___ClassName_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___AssemblyQualifiedName_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___stateProperties_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___customProperties_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___easing_5), (void*)NULL);
#endif
}
};
// System.Collections.Generic.KeyValuePair`2<System.Object,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>[]
struct KeyValuePair_2U5BU5D_tE5E1E9D07A6C5610F445C154329D3113144E28EF : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t36C43C91291A27C0F33A7F2067BC03FCEC0CF732 m_Items[1];
public:
inline KeyValuePair_2_t36C43C91291A27C0F33A7F2067BC03FCEC0CF732 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t36C43C91291A27C0F33A7F2067BC03FCEC0CF732 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t36C43C91291A27C0F33A7F2067BC03FCEC0CF732 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___Type_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___ClassName_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___AssemblyQualifiedName_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___stateProperties_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___customProperties_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___easing_5), (void*)NULL);
#endif
}
inline KeyValuePair_2_t36C43C91291A27C0F33A7F2067BC03FCEC0CF732 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t36C43C91291A27C0F33A7F2067BC03FCEC0CF732 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t36C43C91291A27C0F33A7F2067BC03FCEC0CF732 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___Type_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___ClassName_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___AssemblyQualifiedName_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___stateProperties_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___customProperties_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___easing_5), (void*)NULL);
#endif
}
};
// System.Collections.Generic.KeyValuePair`2<System.Type,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>[]
struct KeyValuePair_2U5BU5D_t3FE01CCEB59BA3ABE4162961C98505A2AFD5A996 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t8FD330D18889BC4432CBE02253E50A4B454D6A6E m_Items[1];
public:
inline KeyValuePair_2_t8FD330D18889BC4432CBE02253E50A4B454D6A6E GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t8FD330D18889BC4432CBE02253E50A4B454D6A6E * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t8FD330D18889BC4432CBE02253E50A4B454D6A6E value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___Type_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___ClassName_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___AssemblyQualifiedName_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___stateProperties_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___customProperties_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___easing_5), (void*)NULL);
#endif
}
inline KeyValuePair_2_t8FD330D18889BC4432CBE02253E50A4B454D6A6E GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t8FD330D18889BC4432CBE02253E50A4B454D6A6E * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t8FD330D18889BC4432CBE02253E50A4B454D6A6E value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___Type_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___ClassName_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___AssemblyQualifiedName_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___stateProperties_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___customProperties_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___easing_5), (void*)NULL);
#endif
}
};
// System.Collections.Generic.Dictionary`2<System.Type,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>[]
struct Dictionary_2U5BU5D_t614CF5F73C21D4CA784BA68143DE3F1C30AFACD1 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504 * m_Items[1];
public:
inline Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Dictionary_2_t14570B9A686EA26DE702060F438D58F6E8226504 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty[]
struct ThemeStatePropertyU5BU5D_t1AD1DC116B45C585790150B639304E6F2BFF6148 : public RuntimeArray
{
public:
ALIGN_FIELD (8) ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D * m_Items[1];
public:
inline ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, ThemeStateProperty_tB3AA00DE8C0A42151D17C52666227B907C01D09D * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue[]
struct ThemePropertyValueU5BU5D_tB0E5CA0D181DEB5763AFCD0697F10692A508CD35 : public RuntimeArray
{
public:
ALIGN_FIELD (8) ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE * m_Items[1];
public:
inline ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, ThemePropertyValue_tBFC36D3363EA7B0DE48AEAB8BE5FCB8102DDBAFE * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// Microsoft.MixedReality.Toolkit.UI.ThemeProperty[]
struct ThemePropertyU5BU5D_t9682B88F7092F771801A047887AE221E152E66DE : public RuntimeArray
{
public:
ALIGN_FIELD (8) ThemeProperty_t0003FCF572D5238987CA94FF8EB70B6E3D688F04 * m_Items[1];
public:
inline ThemeProperty_t0003FCF572D5238987CA94FF8EB70B6E3D688F04 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline ThemeProperty_t0003FCF572D5238987CA94FF8EB70B6E3D688F04 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, ThemeProperty_t0003FCF572D5238987CA94FF8EB70B6E3D688F04 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline ThemeProperty_t0003FCF572D5238987CA94FF8EB70B6E3D688F04 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline ThemeProperty_t0003FCF572D5238987CA94FF8EB70B6E3D688F04 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, ThemeProperty_t0003FCF572D5238987CA94FF8EB70B6E3D688F04 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// Microsoft.MixedReality.Toolkit.UI.ThemePropertyTypes[]
struct ThemePropertyTypesU5BU5D_t16689DB5618DD7FA72BCADDA3B90A520898026FA : public RuntimeArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// Microsoft.MixedReality.Toolkit.UI.ShaderProperties[]
struct ShaderPropertiesU5BU5D_tAAEFBFF146C00AE2BFA0509E9CE1FDF39A0B54CF : public RuntimeArray
{
public:
ALIGN_FIELD (8) ShaderProperties_tE40A71340DE270B5774BD9C22C9656242A9AE57A m_Items[1];
public:
inline ShaderProperties_tE40A71340DE270B5774BD9C22C9656242A9AE57A GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline ShaderProperties_tE40A71340DE270B5774BD9C22C9656242A9AE57A * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, ShaderProperties_tE40A71340DE270B5774BD9C22C9656242A9AE57A value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___Name_0), (void*)NULL);
}
inline ShaderProperties_tE40A71340DE270B5774BD9C22C9656242A9AE57A GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline ShaderProperties_tE40A71340DE270B5774BD9C22C9656242A9AE57A * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, ShaderProperties_tE40A71340DE270B5774BD9C22C9656242A9AE57A value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___Name_0), (void*)NULL);
}
};
// Microsoft.MixedReality.Toolkit.UI.InteractableColorChildrenTheme_BlocksAndRenderer[]
struct BlocksAndRendererU5BU5D_t812C04E355F9A57B0785531D13AA5D66F86A3DCD : public RuntimeArray
{
public:
ALIGN_FIELD (8) BlocksAndRenderer_t34C1A93841809DB7A6304281BFC51CAB2EB20E52 m_Items[1];
public:
inline BlocksAndRenderer_t34C1A93841809DB7A6304281BFC51CAB2EB20E52 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline BlocksAndRenderer_t34C1A93841809DB7A6304281BFC51CAB2EB20E52 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, BlocksAndRenderer_t34C1A93841809DB7A6304281BFC51CAB2EB20E52 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___Block_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___Renderer_1), (void*)NULL);
#endif
}
inline BlocksAndRenderer_t34C1A93841809DB7A6304281BFC51CAB2EB20E52 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline BlocksAndRenderer_t34C1A93841809DB7A6304281BFC51CAB2EB20E52 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, BlocksAndRenderer_t34C1A93841809DB7A6304281BFC51CAB2EB20E52 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___Block_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___Renderer_1), (void*)NULL);
#endif
}
};
// Microsoft.MixedReality.Toolkit.Audio.IAudioInfluencer[]
struct IAudioInfluencerU5BU5D_t5D216D282C52209984D77E7F8C7FCA1D53F95296 : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
public:
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Int32Enum,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings>[]
struct KeyValuePair_2U5BU5D_tB0C972A722371CD51998A44DF852B606C9D0E9D7 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t7EA40ED5C829A58ABEFAB5B259A78A5FD88865E6 m_Items[1];
public:
inline KeyValuePair_2_t7EA40ED5C829A58ABEFAB5B259A78A5FD88865E6 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t7EA40ED5C829A58ABEFAB5B259A78A5FD88865E6 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t7EA40ED5C829A58ABEFAB5B259A78A5FD88865E6 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline KeyValuePair_2_t7EA40ED5C829A58ABEFAB5B259A78A5FD88865E6 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t7EA40ED5C829A58ABEFAB5B259A78A5FD88865E6 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t7EA40ED5C829A58ABEFAB5B259A78A5FD88865E6 value)
{
m_Items[index] = value;
}
};
// Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings[]
struct AudioLoFiFilterSettingsU5BU5D_t296B240BBF523DBEEBECBB919B72114D01806F6D : public RuntimeArray
{
public:
ALIGN_FIELD (8) AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF m_Items[1];
public:
inline AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, AudioLoFiFilterSettings_t06BB3828807CAD06F11688CEAF9D89D0CD4E56FF value)
{
m_Items[index] = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Int32Enum,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings>[]
struct EntryU5BU5D_tFFD47DBCCC476B87BD817FA74AFDE584F0541EAC : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t8CDDBE11166C28193FE48382B368308F5BAE43AE m_Items[1];
public:
inline Entry_t8CDDBE11166C28193FE48382B368308F5BAE43AE GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t8CDDBE11166C28193FE48382B368308F5BAE43AE * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t8CDDBE11166C28193FE48382B368308F5BAE43AE value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Entry_t8CDDBE11166C28193FE48382B368308F5BAE43AE GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t8CDDBE11166C28193FE48382B368308F5BAE43AE * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t8CDDBE11166C28193FE48382B368308F5BAE43AE value)
{
m_Items[index] = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<Microsoft.MixedReality.Toolkit.Audio.AudioLoFiSourceQuality,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings>[]
struct EntryU5BU5D_tB23D6D155DBB06E7A1555A7DD22B90654920DE48 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t2E7C8B25AF936E53B92C42955123D0734338AB5E m_Items[1];
public:
inline Entry_t2E7C8B25AF936E53B92C42955123D0734338AB5E GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t2E7C8B25AF936E53B92C42955123D0734338AB5E * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t2E7C8B25AF936E53B92C42955123D0734338AB5E value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Entry_t2E7C8B25AF936E53B92C42955123D0734338AB5E GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t2E7C8B25AF936E53B92C42955123D0734338AB5E * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t2E7C8B25AF936E53B92C42955123D0734338AB5E value)
{
m_Items[index] = value;
}
};
// Microsoft.MixedReality.Toolkit.Audio.AudioLoFiSourceQuality[]
struct AudioLoFiSourceQualityU5BU5D_t36638F1FB4226DE88EA337E0CCB3FEEAEB671668 : public RuntimeArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// System.Collections.Generic.KeyValuePair`2<Microsoft.MixedReality.Toolkit.Audio.AudioLoFiSourceQuality,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings>[]
struct KeyValuePair_2U5BU5D_tD9C4234C007D9E8A95C32892B105266257B39CF8 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t6E3612DF28225A4D1BDEA3A241BD0B2A81FAB8A8 m_Items[1];
public:
inline KeyValuePair_2_t6E3612DF28225A4D1BDEA3A241BD0B2A81FAB8A8 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t6E3612DF28225A4D1BDEA3A241BD0B2A81FAB8A8 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t6E3612DF28225A4D1BDEA3A241BD0B2A81FAB8A8 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline KeyValuePair_2_t6E3612DF28225A4D1BDEA3A241BD0B2A81FAB8A8 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t6E3612DF28225A4D1BDEA3A241BD0B2A81FAB8A8 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t6E3612DF28225A4D1BDEA3A241BD0B2A81FAB8A8 value)
{
m_Items[index] = value;
}
};
// Microsoft.MixedReality.Toolkit.Experimental.Utilities.WorldAnchorManager_AnchorAttachmentInfo[]
struct AnchorAttachmentInfoU5BU5D_tD836DA909036886A736DF66AC3ECDF300F30BFD5 : public RuntimeArray
{
public:
ALIGN_FIELD (8) AnchorAttachmentInfo_t9FDAD62C2574394185D0999D55FD14AD323B6C83 m_Items[1];
public:
inline AnchorAttachmentInfo_t9FDAD62C2574394185D0999D55FD14AD323B6C83 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline AnchorAttachmentInfo_t9FDAD62C2574394185D0999D55FD14AD323B6C83 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, AnchorAttachmentInfo_t9FDAD62C2574394185D0999D55FD14AD323B6C83 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___U3CAnchoredGameObjectU3Ek__BackingField_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___U3CAnchorNameU3Ek__BackingField_1), (void*)NULL);
#endif
}
inline AnchorAttachmentInfo_t9FDAD62C2574394185D0999D55FD14AD323B6C83 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline AnchorAttachmentInfo_t9FDAD62C2574394185D0999D55FD14AD323B6C83 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, AnchorAttachmentInfo_t9FDAD62C2574394185D0999D55FD14AD323B6C83 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___U3CAnchoredGameObjectU3Ek__BackingField_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___U3CAnchorNameU3Ek__BackingField_1), (void*)NULL);
#endif
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.String,UnityEngine.GameObject>[]
struct EntryU5BU5D_t4590BCC86121A7055EB896A780DD209FB2FCAC23 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t80B84470DE6B754554C6761EBD227D3B2A07D67E m_Items[1];
public:
inline Entry_t80B84470DE6B754554C6761EBD227D3B2A07D67E GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t80B84470DE6B754554C6761EBD227D3B2A07D67E * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t80B84470DE6B754554C6761EBD227D3B2A07D67E value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
#endif
}
inline Entry_t80B84470DE6B754554C6761EBD227D3B2A07D67E GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t80B84470DE6B754554C6761EBD227D3B2A07D67E * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t80B84470DE6B754554C6761EBD227D3B2A07D67E value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
#endif
}
};
// System.Collections.Generic.KeyValuePair`2<System.String,UnityEngine.GameObject>[]
struct KeyValuePair_2U5BU5D_tFA1678034F22D9C8058267B9F7F9667CF0BFD291 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t1C6E679273EBD257AEF73C7F0ECFD474D8F199FB m_Items[1];
public:
inline KeyValuePair_2_t1C6E679273EBD257AEF73C7F0ECFD474D8F199FB GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t1C6E679273EBD257AEF73C7F0ECFD474D8F199FB * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t1C6E679273EBD257AEF73C7F0ECFD474D8F199FB value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
inline KeyValuePair_2_t1C6E679273EBD257AEF73C7F0ECFD474D8F199FB GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t1C6E679273EBD257AEF73C7F0ECFD474D8F199FB * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t1C6E679273EBD257AEF73C7F0ECFD474D8F199FB value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
};
// UnityEngine.XR.WSA.WorldAnchor[]
struct WorldAnchorU5BU5D_t8FF7D9A45565A11A23D48201681989EF6B4199FB : public RuntimeArray
{
public:
ALIGN_FIELD (8) WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE * m_Items[1];
public:
inline WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.UInt32,Microsoft.MixedReality.Toolkit.Experimental.UI.ObjectManipulator_PointerData>[]
struct KeyValuePair_2U5BU5D_tE68544F1E298BF15D57D570BAE96E594768F585C : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_tBA822509291FE03814D4C52FBF8038C9A88949AB m_Items[1];
public:
inline KeyValuePair_2_tBA822509291FE03814D4C52FBF8038C9A88949AB GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_tBA822509291FE03814D4C52FBF8038C9A88949AB * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_tBA822509291FE03814D4C52FBF8038C9A88949AB value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___pointer_0), (void*)NULL);
}
inline KeyValuePair_2_tBA822509291FE03814D4C52FBF8038C9A88949AB GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_tBA822509291FE03814D4C52FBF8038C9A88949AB * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_tBA822509291FE03814D4C52FBF8038C9A88949AB value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___pointer_0), (void*)NULL);
}
};
// Microsoft.MixedReality.Toolkit.Experimental.UI.ObjectManipulator_PointerData[]
struct PointerDataU5BU5D_t965CB51FE7B769771D184D61154BD5E023907085 : public RuntimeArray
{
public:
ALIGN_FIELD (8) PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76 m_Items[1];
public:
inline PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___pointer_0), (void*)NULL);
}
inline PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, PointerData_t0C4F1B58B0157AF6181A5FCCED2F3420E0404D76 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___pointer_0), (void*)NULL);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.UInt32,Microsoft.MixedReality.Toolkit.Experimental.UI.ObjectManipulator_PointerData>[]
struct EntryU5BU5D_t42A95599FA0769D1BECAF9BD66099251F0D8CDCE : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_tF2F58BAF23DCA0EEC8FA055E576D8EB2A9005430 m_Items[1];
public:
inline Entry_tF2F58BAF23DCA0EEC8FA055E576D8EB2A9005430 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_tF2F58BAF23DCA0EEC8FA055E576D8EB2A9005430 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_tF2F58BAF23DCA0EEC8FA055E576D8EB2A9005430 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___pointer_0), (void*)NULL);
}
inline Entry_tF2F58BAF23DCA0EEC8FA055E576D8EB2A9005430 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_tF2F58BAF23DCA0EEC8FA055E576D8EB2A9005430 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_tF2F58BAF23DCA0EEC8FA055E576D8EB2A9005430 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___pointer_0), (void*)NULL);
}
};
// Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.Links_Link[]
struct LinkU5BU5D_t38D7A38AB06C6530A388A101FAA6C866CCDB6B9E : public RuntimeArray
{
public:
ALIGN_FIELD (8) Link_tEFC307EEF94A43F5DC4B9DD0B7508A171816CF0C * m_Items[1];
public:
inline Link_tEFC307EEF94A43F5DC4B9DD0B7508A171816CF0C * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Link_tEFC307EEF94A43F5DC4B9DD0B7508A171816CF0C ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Link_tEFC307EEF94A43F5DC4B9DD0B7508A171816CF0C * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Link_tEFC307EEF94A43F5DC4B9DD0B7508A171816CF0C * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Link_tEFC307EEF94A43F5DC4B9DD0B7508A171816CF0C ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Link_tEFC307EEF94A43F5DC4B9DD0B7508A171816CF0C * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect_RegisteredObjects[]
struct RegisteredObjectsU5BU5D_tFBDC5B531918CD29D0103A7A297570B77B47E30E : public RuntimeArray
{
public:
ALIGN_FIELD (8) RegisteredObjects_tA4BD5BA1EC5BC4C22B5586A2BDC9C3CDAA927196 * m_Items[1];
public:
inline RegisteredObjects_tA4BD5BA1EC5BC4C22B5586A2BDC9C3CDAA927196 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RegisteredObjects_tA4BD5BA1EC5BC4C22B5586A2BDC9C3CDAA927196 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RegisteredObjects_tA4BD5BA1EC5BC4C22B5586A2BDC9C3CDAA927196 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RegisteredObjects_tA4BD5BA1EC5BC4C22B5586A2BDC9C3CDAA927196 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RegisteredObjects_tA4BD5BA1EC5BC4C22B5586A2BDC9C3CDAA927196 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RegisteredObjects_tA4BD5BA1EC5BC4C22B5586A2BDC9C3CDAA927196 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect_ObjectProximityInfo[]
struct ObjectProximityInfoU5BU5D_t68176C877825D6703362DDF6DAA24A4CB7B21200 : public RuntimeArray
{
public:
ALIGN_FIELD (8) ObjectProximityInfo_t72B8F7A05C5C1DB0F5C22CA948AF3A5A5D0634EA * m_Items[1];
public:
inline ObjectProximityInfo_t72B8F7A05C5C1DB0F5C22CA948AF3A5A5D0634EA * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline ObjectProximityInfo_t72B8F7A05C5C1DB0F5C22CA948AF3A5A5D0634EA ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, ObjectProximityInfo_t72B8F7A05C5C1DB0F5C22CA948AF3A5A5D0634EA * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline ObjectProximityInfo_t72B8F7A05C5C1DB0F5C22CA948AF3A5A5D0634EA * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline ObjectProximityInfo_t72B8F7A05C5C1DB0F5C22CA948AF3A5A5D0634EA ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, ObjectProximityInfo_t72B8F7A05C5C1DB0F5C22CA948AF3A5A5D0634EA * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControlTypes.CardinalAxisType[]
struct CardinalAxisTypeU5BU5D_t1FAD6175FFFB7E48C3E93952DF7DD10620B37DBA : public RuntimeArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// RestSharp.HttpParameter[]
struct HttpParameterU5BU5D_tB9B26584F9A58F2A916F74A4AAE06CA8FA82BD46 : public RuntimeArray
{
public:
ALIGN_FIELD (8) HttpParameter_tF21E3F20B1E60719E1A88FFDD217F839FBAC1F99 * m_Items[1];
public:
inline HttpParameter_tF21E3F20B1E60719E1A88FFDD217F839FBAC1F99 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline HttpParameter_tF21E3F20B1E60719E1A88FFDD217F839FBAC1F99 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, HttpParameter_tF21E3F20B1E60719E1A88FFDD217F839FBAC1F99 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline HttpParameter_tF21E3F20B1E60719E1A88FFDD217F839FBAC1F99 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline HttpParameter_tF21E3F20B1E60719E1A88FFDD217F839FBAC1F99 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, HttpParameter_tF21E3F20B1E60719E1A88FFDD217F839FBAC1F99 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// RestSharp.HttpFile[]
struct HttpFileU5BU5D_tBE406816C42B3E8BDEE6A65F64C9E9355DD06B7B : public RuntimeArray
{
public:
ALIGN_FIELD (8) HttpFile_tCD9C1B878F9408D9ABE597528230596E4834190E * m_Items[1];
public:
inline HttpFile_tCD9C1B878F9408D9ABE597528230596E4834190E * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline HttpFile_tCD9C1B878F9408D9ABE597528230596E4834190E ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, HttpFile_tCD9C1B878F9408D9ABE597528230596E4834190E * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline HttpFile_tCD9C1B878F9408D9ABE597528230596E4834190E * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline HttpFile_tCD9C1B878F9408D9ABE597528230596E4834190E ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, HttpFile_tCD9C1B878F9408D9ABE597528230596E4834190E * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// RestSharp.HttpHeader[]
struct HttpHeaderU5BU5D_t793A52AA0729C05956FA44C20078BA002F91CFC2 : public RuntimeArray
{
public:
ALIGN_FIELD (8) HttpHeader_t0228004BA6E95AF8DA41FF8ACB7EEA56E025585E * m_Items[1];
public:
inline HttpHeader_t0228004BA6E95AF8DA41FF8ACB7EEA56E025585E * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline HttpHeader_t0228004BA6E95AF8DA41FF8ACB7EEA56E025585E ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, HttpHeader_t0228004BA6E95AF8DA41FF8ACB7EEA56E025585E * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline HttpHeader_t0228004BA6E95AF8DA41FF8ACB7EEA56E025585E * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline HttpHeader_t0228004BA6E95AF8DA41FF8ACB7EEA56E025585E ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, HttpHeader_t0228004BA6E95AF8DA41FF8ACB7EEA56E025585E * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// RestSharp.HttpCookie[]
struct HttpCookieU5BU5D_t4FB7E149B0828C4B5759D72D33813A4235BE3735 : public RuntimeArray
{
public:
ALIGN_FIELD (8) HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616 * m_Items[1];
public:
inline HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, HttpCookie_t5F27380E1AF877716FA7021861F5F94E9C64F616 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Net.DecompressionMethods[]
struct DecompressionMethodsU5BU5D_tACC227FA2103DF1BAD69FE66F1084C3CE6B870B3 : public RuntimeArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// System.Collections.Generic.KeyValuePair`2<System.String,System.Action`2<System.Net.HttpWebRequest,System.String>>[]
struct KeyValuePair_2U5BU5D_t358A34EDFED4EA7E6CF7F7BF89DC69077B860367 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_tE9B404C718EBA3FA324BCCE01E852BE27E2B4885 m_Items[1];
public:
inline KeyValuePair_2_tE9B404C718EBA3FA324BCCE01E852BE27E2B4885 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_tE9B404C718EBA3FA324BCCE01E852BE27E2B4885 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_tE9B404C718EBA3FA324BCCE01E852BE27E2B4885 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
inline KeyValuePair_2_tE9B404C718EBA3FA324BCCE01E852BE27E2B4885 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_tE9B404C718EBA3FA324BCCE01E852BE27E2B4885 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_tE9B404C718EBA3FA324BCCE01E852BE27E2B4885 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
};
// System.Action`2<System.Net.HttpWebRequest,System.String>[]
struct Action_2U5BU5D_tB0F1C376BF96B2E39ACA065A7DCDB8FEAB227720 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F * m_Items[1];
public:
inline Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Action_2_tD4E47319F4A2DDF1593A7877E4DCE7456B95FA8F * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.String,System.Action`2<System.Net.HttpWebRequest,System.String>>[]
struct EntryU5BU5D_t8FDBC8790478EEFFC45EDAD53049EF6605CEAAC8 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_tD25C2DA89D99D7DF24408A25104735394EE2AF32 m_Items[1];
public:
inline Entry_tD25C2DA89D99D7DF24408A25104735394EE2AF32 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_tD25C2DA89D99D7DF24408A25104735394EE2AF32 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_tD25C2DA89D99D7DF24408A25104735394EE2AF32 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
#endif
}
inline Entry_tD25C2DA89D99D7DF24408A25104735394EE2AF32 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_tD25C2DA89D99D7DF24408A25104735394EE2AF32 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_tD25C2DA89D99D7DF24408A25104735394EE2AF32 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
#endif
}
};
// RestSharp.Parameter[]
struct ParameterU5BU5D_t5CB65A80694DEA0DECD3DDC7DAD18EE94DC97AEA : public RuntimeArray
{
public:
ALIGN_FIELD (8) Parameter_tF609C50B6EC102D33772FC89ED75591360D1124E * m_Items[1];
public:
inline Parameter_tF609C50B6EC102D33772FC89ED75591360D1124E * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Parameter_tF609C50B6EC102D33772FC89ED75591360D1124E ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Parameter_tF609C50B6EC102D33772FC89ED75591360D1124E * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Parameter_tF609C50B6EC102D33772FC89ED75591360D1124E * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Parameter_tF609C50B6EC102D33772FC89ED75591360D1124E ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Parameter_tF609C50B6EC102D33772FC89ED75591360D1124E * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// RestSharp.FileParameter[]
struct FileParameterU5BU5D_t620E3A87AB95A85FADE739791FE91B90F708BBF4 : public RuntimeArray
{
public:
ALIGN_FIELD (8) FileParameter_tB262F1C3BDC927DD4E88C7CB36617FAC83E85F89 * m_Items[1];
public:
inline FileParameter_tB262F1C3BDC927DD4E88C7CB36617FAC83E85F89 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline FileParameter_tB262F1C3BDC927DD4E88C7CB36617FAC83E85F89 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, FileParameter_tB262F1C3BDC927DD4E88C7CB36617FAC83E85F89 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline FileParameter_tB262F1C3BDC927DD4E88C7CB36617FAC83E85F89 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline FileParameter_tB262F1C3BDC927DD4E88C7CB36617FAC83E85F89 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, FileParameter_tB262F1C3BDC927DD4E88C7CB36617FAC83E85F89 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.String,System.Func`1<RestSharp.Deserializers.IDeserializer>>[]
struct KeyValuePair_2U5BU5D_t7AA65A9F1F3CD2C538970F1BF2168AA5EC7B5E14 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_tA63913863858B8B6A16583A451AA1243E877CFA8 m_Items[1];
public:
inline KeyValuePair_2_tA63913863858B8B6A16583A451AA1243E877CFA8 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_tA63913863858B8B6A16583A451AA1243E877CFA8 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_tA63913863858B8B6A16583A451AA1243E877CFA8 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
inline KeyValuePair_2_tA63913863858B8B6A16583A451AA1243E877CFA8 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_tA63913863858B8B6A16583A451AA1243E877CFA8 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_tA63913863858B8B6A16583A451AA1243E877CFA8 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
};
// System.Func`1<RestSharp.Deserializers.IDeserializer>[]
struct Func_1U5BU5D_tA89672D7353BB49176A6016672CF6B37B5C03E32 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210 * m_Items[1];
public:
inline Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Func_1_tA9165FAB192B0BC727FA502D276A94D9D205F210 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<RestSharp.DataFormat,RestSharp.Serialization.IRestSerializer>[]
struct KeyValuePair_2U5BU5D_t409864770A8E3F491BD74D29733C0608464B34F3 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t7E42FAE29BDF5709BAB14C642187C798A880205A m_Items[1];
public:
inline KeyValuePair_2_t7E42FAE29BDF5709BAB14C642187C798A880205A GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t7E42FAE29BDF5709BAB14C642187C798A880205A * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t7E42FAE29BDF5709BAB14C642187C798A880205A value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
inline KeyValuePair_2_t7E42FAE29BDF5709BAB14C642187C798A880205A GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t7E42FAE29BDF5709BAB14C642187C798A880205A * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t7E42FAE29BDF5709BAB14C642187C798A880205A value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
};
// RestSharp.DataFormat[]
struct DataFormatU5BU5D_tCE6E48D23BC39B7CCDD79711A01CD9F55DA223BA : public RuntimeArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// RestSharp.Serialization.IRestSerializer[]
struct IRestSerializerU5BU5D_t34399AFDE05514E7262E2C5CE2FA47FB3071871E : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
public:
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// RestSharp.Serializers.ISerializer[]
struct ISerializerU5BU5D_t820E4DF2F68A33DC79B4E76EB1D5B9B4C95376A6 : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
public:
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// RestSharp.Deserializers.IDeserializer[]
struct IDeserializerU5BU5D_tAF371A0D6E122A353191A285A39648EAE735C5AC : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
public:
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// RestSharp.ParameterType[]
struct ParameterTypeU5BU5D_t8A5D23BDD5046CD7A65A782E87DACF25B8B61CD3 : public RuntimeArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.String,System.Func`1<RestSharp.Deserializers.IDeserializer>>[]
struct EntryU5BU5D_t7CBC2FAE0BEDEEBC99E361833F311A82CBBA983C : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t762352C5EA6E2C2349F53C5EEADA576DFA4D1A73 m_Items[1];
public:
inline Entry_t762352C5EA6E2C2349F53C5EEADA576DFA4D1A73 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t762352C5EA6E2C2349F53C5EEADA576DFA4D1A73 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t762352C5EA6E2C2349F53C5EEADA576DFA4D1A73 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
#endif
}
inline Entry_t762352C5EA6E2C2349F53C5EEADA576DFA4D1A73 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t762352C5EA6E2C2349F53C5EEADA576DFA4D1A73 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t762352C5EA6E2C2349F53C5EEADA576DFA4D1A73 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
#endif
}
};
// System.Collections.Generic.Dictionary`2_Entry<RestSharp.DataFormat,RestSharp.Serialization.IRestSerializer>[]
struct EntryU5BU5D_tD9721CF72ABC340F8DC18C7A4D7673B70FAC18CA : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_tE199769B222573740178FC33B4290773FC124709 m_Items[1];
public:
inline Entry_tE199769B222573740178FC33B4290773FC124709 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_tE199769B222573740178FC33B4290773FC124709 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_tE199769B222573740178FC33B4290773FC124709 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
inline Entry_tE199769B222573740178FC33B4290773FC124709 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_tE199769B222573740178FC33B4290773FC124709 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_tE199769B222573740178FC33B4290773FC124709 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
};
// RestSharp.RestResponseCookie[]
struct RestResponseCookieU5BU5D_t975B18079ECAA956909AD97DBE4980CBA2A9761C : public RuntimeArray
{
public:
ALIGN_FIELD (8) RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562 * m_Items[1];
public:
inline RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RestResponseCookie_t73BC413500C9B2B5F9879633946798E72F79A562 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// RestSharp.NameValuePair[]
struct NameValuePairU5BU5D_tB2F4E4A5A1C2C9DD52ADD3484FD89E7EE871D2CD : public RuntimeArray
{
public:
ALIGN_FIELD (8) NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44 * m_Items[1];
public:
inline NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, NameValuePair_t8E06B49C55359D4CE50855BD199CD52E68AF6C44 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<RestSharp.DataFormat,System.String>[]
struct EntryU5BU5D_t1E67ED72E2980618FB43FED6D72E46D46D80E624 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t850F39670C342BC7256F24B33DDFB8ADD25273C2 m_Items[1];
public:
inline Entry_t850F39670C342BC7256F24B33DDFB8ADD25273C2 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t850F39670C342BC7256F24B33DDFB8ADD25273C2 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t850F39670C342BC7256F24B33DDFB8ADD25273C2 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
inline Entry_t850F39670C342BC7256F24B33DDFB8ADD25273C2 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t850F39670C342BC7256F24B33DDFB8ADD25273C2 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t850F39670C342BC7256F24B33DDFB8ADD25273C2 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
};
// System.Collections.Generic.KeyValuePair`2<RestSharp.DataFormat,System.String>[]
struct KeyValuePair_2U5BU5D_t7E6FB70F15D5B37451C66C662276923E10A4BCB4 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t13C5E1BBF0AC2095FCFF5304B5D077C8A4D5C01F m_Items[1];
public:
inline KeyValuePair_2_t13C5E1BBF0AC2095FCFF5304B5D077C8A4D5C01F GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t13C5E1BBF0AC2095FCFF5304B5D077C8A4D5C01F * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t13C5E1BBF0AC2095FCFF5304B5D077C8A4D5C01F value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
inline KeyValuePair_2_t13C5E1BBF0AC2095FCFF5304B5D077C8A4D5C01F GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t13C5E1BBF0AC2095FCFF5304B5D077C8A4D5C01F * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t13C5E1BBF0AC2095FCFF5304B5D077C8A4D5C01F value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_ConstructorDelegate>[]
struct KeyValuePair_2U5BU5D_t1588B3BCE6FA2027631A48EDC5BD10A9DD2C7FEB : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t64C95A1DE62D0B1AB0FB586F24E1F3D6DD206020 m_Items[1];
public:
inline KeyValuePair_2_t64C95A1DE62D0B1AB0FB586F24E1F3D6DD206020 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t64C95A1DE62D0B1AB0FB586F24E1F3D6DD206020 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t64C95A1DE62D0B1AB0FB586F24E1F3D6DD206020 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
inline KeyValuePair_2_t64C95A1DE62D0B1AB0FB586F24E1F3D6DD206020 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t64C95A1DE62D0B1AB0FB586F24E1F3D6DD206020 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t64C95A1DE62D0B1AB0FB586F24E1F3D6DD206020 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
};
// RestSharp.Reflection.ReflectionUtils_ConstructorDelegate[]
struct ConstructorDelegateU5BU5D_t9F2E83E8C6BCCB93989324DE52ABCBBEF02E9AB0 : public RuntimeArray
{
public:
ALIGN_FIELD (8) ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC * m_Items[1];
public:
inline ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, ConstructorDelegate_tDAF25EF4E6761E7ABADD8D3F647EA84B46630DDC * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// RestSharp.Reflection.ReflectionUtils_GetDelegate[]
struct GetDelegateU5BU5D_t77B67C49261DFB264C1C28EAED66A9D85E3B2D71 : public RuntimeArray
{
public:
ALIGN_FIELD (8) GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E * m_Items[1];
public:
inline GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, GetDelegate_t26059B649F67AE8E511BFB0185B620D26B89916E * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Type,System.Collections.Generic.IDictionary`2<System.String,RestSharp.Reflection.ReflectionUtils_GetDelegate>>[]
struct KeyValuePair_2U5BU5D_tE0D318851AA0BAF91E97F0DAD8CBBDA71746DAAC : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t43F510C4C0957663DED0AC4C88E9C9F2A98B48A3 m_Items[1];
public:
inline KeyValuePair_2_t43F510C4C0957663DED0AC4C88E9C9F2A98B48A3 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t43F510C4C0957663DED0AC4C88E9C9F2A98B48A3 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t43F510C4C0957663DED0AC4C88E9C9F2A98B48A3 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
inline KeyValuePair_2_t43F510C4C0957663DED0AC4C88E9C9F2A98B48A3 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t43F510C4C0957663DED0AC4C88E9C9F2A98B48A3 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t43F510C4C0957663DED0AC4C88E9C9F2A98B48A3 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
};
// System.Collections.Generic.IDictionary`2<System.String,RestSharp.Reflection.ReflectionUtils_GetDelegate>[]
struct IDictionary_2U5BU5D_t2C2F9C113C0D3893E4B5889451165C54E6B22D13 : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
public:
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.String,RestSharp.Reflection.ReflectionUtils_GetDelegate>[]
struct KeyValuePair_2U5BU5D_t7945C099FB6AD543223AF79C3414D94A45B38645 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_tA2A0F7A6FEE29B0E4F53FF8A13C2657C58EE3B4B m_Items[1];
public:
inline KeyValuePair_2_tA2A0F7A6FEE29B0E4F53FF8A13C2657C58EE3B4B GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_tA2A0F7A6FEE29B0E4F53FF8A13C2657C58EE3B4B * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_tA2A0F7A6FEE29B0E4F53FF8A13C2657C58EE3B4B value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
inline KeyValuePair_2_tA2A0F7A6FEE29B0E4F53FF8A13C2657C58EE3B4B GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_tA2A0F7A6FEE29B0E4F53FF8A13C2657C58EE3B4B * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_tA2A0F7A6FEE29B0E4F53FF8A13C2657C58EE3B4B value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
};
// System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>[]
struct KeyValuePair_2U5BU5D_t6153A0D20E5F642B826A8C6AE68B98532DAE6F7B : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489 m_Items[1];
public:
inline KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
inline KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t1BE7BCA39F76655CAC94D02DFCEF387E388B2489 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
};
// System.Collections.Generic.KeyValuePair`2<System.Type,System.Collections.Generic.IDictionary`2<System.String,System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>>>[]
struct KeyValuePair_2U5BU5D_t8889ED24DA3A9D5FCE0A3FC3C76187CE9D65B88F : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t04A4D507A5B66EB327076890CE793951AFA5F8AC m_Items[1];
public:
inline KeyValuePair_2_t04A4D507A5B66EB327076890CE793951AFA5F8AC GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t04A4D507A5B66EB327076890CE793951AFA5F8AC * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t04A4D507A5B66EB327076890CE793951AFA5F8AC value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
inline KeyValuePair_2_t04A4D507A5B66EB327076890CE793951AFA5F8AC GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t04A4D507A5B66EB327076890CE793951AFA5F8AC * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t04A4D507A5B66EB327076890CE793951AFA5F8AC value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
#endif
}
};
// System.Collections.Generic.IDictionary`2<System.String,System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>>[]
struct IDictionary_2U5BU5D_t5C4D8D6F74057FBE7C392AC9F3048B83D50946FC : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
public:
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Object,System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>>[]
struct KeyValuePair_2U5BU5D_tE2871AE21B485E69F9CAFA0F5C878A009F20DAF4 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_tC7DD563F7723DC5E604C0ADB0C6CE8D02132394D m_Items[1];
public:
inline KeyValuePair_2_tC7DD563F7723DC5E604C0ADB0C6CE8D02132394D GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_tC7DD563F7723DC5E604C0ADB0C6CE8D02132394D * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_tC7DD563F7723DC5E604C0ADB0C6CE8D02132394D value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___key_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___value_1), (void*)NULL);
#endif
}
inline KeyValuePair_2_tC7DD563F7723DC5E604C0ADB0C6CE8D02132394D GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_tC7DD563F7723DC5E604C0ADB0C6CE8D02132394D * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_tC7DD563F7723DC5E604C0ADB0C6CE8D02132394D value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___key_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___value_1), (void*)NULL);
#endif
}
};
// System.Collections.Generic.KeyValuePair`2<System.String,System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>>[]
struct KeyValuePair_2U5BU5D_tBCFBA9EEBA4DEFD37F9969AA40072105156D50EE : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t261D3EA8648527E5D1AAFC0280D5A2931084E519 m_Items[1];
public:
inline KeyValuePair_2_t261D3EA8648527E5D1AAFC0280D5A2931084E519 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t261D3EA8648527E5D1AAFC0280D5A2931084E519 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t261D3EA8648527E5D1AAFC0280D5A2931084E519 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___key_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___value_1), (void*)NULL);
#endif
}
inline KeyValuePair_2_t261D3EA8648527E5D1AAFC0280D5A2931084E519 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t261D3EA8648527E5D1AAFC0280D5A2931084E519 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t261D3EA8648527E5D1AAFC0280D5A2931084E519 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___key_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_1))->___value_1), (void*)NULL);
#endif
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Type,RestSharp.Reflection.ReflectionUtils_ConstructorDelegate>[]
struct EntryU5BU5D_t270CD3A5A87D28FE29F155984E0DA4A17FE41030 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t690F5342541496B72AB0583105DFED92C92686B3 m_Items[1];
public:
inline Entry_t690F5342541496B72AB0583105DFED92C92686B3 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t690F5342541496B72AB0583105DFED92C92686B3 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t690F5342541496B72AB0583105DFED92C92686B3 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
#endif
}
inline Entry_t690F5342541496B72AB0583105DFED92C92686B3 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t690F5342541496B72AB0583105DFED92C92686B3 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t690F5342541496B72AB0583105DFED92C92686B3 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
#endif
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Type,System.Collections.Generic.IDictionary`2<System.String,RestSharp.Reflection.ReflectionUtils_GetDelegate>>[]
struct EntryU5BU5D_tA05855154E3EA6005A6BFFD041161FA3CA16AB93 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t866101AE1812E6AD454BB73B903CC4D5FCB15D4D m_Items[1];
public:
inline Entry_t866101AE1812E6AD454BB73B903CC4D5FCB15D4D GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t866101AE1812E6AD454BB73B903CC4D5FCB15D4D * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t866101AE1812E6AD454BB73B903CC4D5FCB15D4D value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
#endif
}
inline Entry_t866101AE1812E6AD454BB73B903CC4D5FCB15D4D GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t866101AE1812E6AD454BB73B903CC4D5FCB15D4D * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t866101AE1812E6AD454BB73B903CC4D5FCB15D4D value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
#endif
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Type,System.Collections.Generic.IDictionary`2<System.String,System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>>>[]
struct EntryU5BU5D_t82FE481899B3BF65BC2F324AF3D2BD6DC0E3471E : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t979A84E18977939BCC045DA42F16E00334DBA92D m_Items[1];
public:
inline Entry_t979A84E18977939BCC045DA42F16E00334DBA92D GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t979A84E18977939BCC045DA42F16E00334DBA92D * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t979A84E18977939BCC045DA42F16E00334DBA92D value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
#endif
}
inline Entry_t979A84E18977939BCC045DA42F16E00334DBA92D GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t979A84E18977939BCC045DA42F16E00334DBA92D * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t979A84E18977939BCC045DA42F16E00334DBA92D value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
#endif
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.String,RestSharp.Reflection.ReflectionUtils_GetDelegate>[]
struct EntryU5BU5D_t4DD162EBC3431636DAE3AAF081418112F1679689 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t2E427962CA682C96CF3B571FE366A9821D95F03F m_Items[1];
public:
inline Entry_t2E427962CA682C96CF3B571FE366A9821D95F03F GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t2E427962CA682C96CF3B571FE366A9821D95F03F * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t2E427962CA682C96CF3B571FE366A9821D95F03F value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
#endif
}
inline Entry_t2E427962CA682C96CF3B571FE366A9821D95F03F GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t2E427962CA682C96CF3B571FE366A9821D95F03F * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t2E427962CA682C96CF3B571FE366A9821D95F03F value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
#endif
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Object,System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>>[]
struct EntryU5BU5D_tCBAFAE9CC6C01D68B9C8E3C30678A54F3319D671 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t6770B26912135B24D87423C57A98EFBD712B7681 m_Items[1];
public:
inline Entry_t6770B26912135B24D87423C57A98EFBD712B7681 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t6770B26912135B24D87423C57A98EFBD712B7681 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t6770B26912135B24D87423C57A98EFBD712B7681 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___key_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___value_1), (void*)NULL);
#endif
}
inline Entry_t6770B26912135B24D87423C57A98EFBD712B7681 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t6770B26912135B24D87423C57A98EFBD712B7681 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t6770B26912135B24D87423C57A98EFBD712B7681 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___key_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___value_1), (void*)NULL);
#endif
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.String,System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>>[]
struct EntryU5BU5D_t2B65EDE7305F6D61E78EBF575885BB5CFB5D970A : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_tAC69EEC3F84BD8A019BF1E01FE2E0BB0318232B6 m_Items[1];
public:
inline Entry_tAC69EEC3F84BD8A019BF1E01FE2E0BB0318232B6 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_tAC69EEC3F84BD8A019BF1E01FE2E0BB0318232B6 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_tAC69EEC3F84BD8A019BF1E01FE2E0BB0318232B6 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___key_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___value_1), (void*)NULL);
#endif
}
inline Entry_tAC69EEC3F84BD8A019BF1E01FE2E0BB0318232B6 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_tAC69EEC3F84BD8A019BF1E01FE2E0BB0318232B6 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_tAC69EEC3F84BD8A019BF1E01FE2E0BB0318232B6 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___key_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((m_Items + index)->___value_3))->___value_1), (void*)NULL);
#endif
}
};
// <>f__AnonymousType0`2<System.Reflection.PropertyInfo,RestSharp.Serializers.SerializeAsAttribute>[]
struct U3CU3Ef__AnonymousType0_2U5BU5D_t703109DC38457F0751AD90DD4B33CB9CAF209159 : public RuntimeArray
{
public:
ALIGN_FIELD (8) U3CU3Ef__AnonymousType0_2_t512856A5034FB47C50B53D24A8ED30E795D91C94 * m_Items[1];
public:
inline U3CU3Ef__AnonymousType0_2_t512856A5034FB47C50B53D24A8ED30E795D91C94 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline U3CU3Ef__AnonymousType0_2_t512856A5034FB47C50B53D24A8ED30E795D91C94 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, U3CU3Ef__AnonymousType0_2_t512856A5034FB47C50B53D24A8ED30E795D91C94 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline U3CU3Ef__AnonymousType0_2_t512856A5034FB47C50B53D24A8ED30E795D91C94 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline U3CU3Ef__AnonymousType0_2_t512856A5034FB47C50B53D24A8ED30E795D91C94 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, U3CU3Ef__AnonymousType0_2_t512856A5034FB47C50B53D24A8ED30E795D91C94 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// UnityEngine.AndroidJavaObject[]
struct AndroidJavaObjectU5BU5D_t7C44610B692603ADE504A389C4362A53613B5379 : public RuntimeArray
{
public:
ALIGN_FIELD (8) AndroidJavaObject_t31F4DD4D4523A77B8AF16FE422B7426248E3093D * m_Items[1];
public:
inline AndroidJavaObject_t31F4DD4D4523A77B8AF16FE422B7426248E3093D * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline AndroidJavaObject_t31F4DD4D4523A77B8AF16FE422B7426248E3093D ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, AndroidJavaObject_t31F4DD4D4523A77B8AF16FE422B7426248E3093D * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline AndroidJavaObject_t31F4DD4D4523A77B8AF16FE422B7426248E3093D * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline AndroidJavaObject_t31F4DD4D4523A77B8AF16FE422B7426248E3093D ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, AndroidJavaObject_t31F4DD4D4523A77B8AF16FE422B7426248E3093D * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// UnityEngine.jvalue[]
struct jvalueU5BU5D_t9AA52DD48CAF5296AE8A2F758A488A2B14B820E3 : public RuntimeArray
{
public:
ALIGN_FIELD (8) jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37 m_Items[1];
public:
inline jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, jvalue_t98310C8FA21DF12CBE79266684536EDE1B7F9C37 value)
{
m_Items[index] = value;
}
};
// UnityEngine.AndroidJavaClass[]
struct AndroidJavaClassU5BU5D_t834F2CD8A8D5B7F304A36C401A57C24A723690C7 : public RuntimeArray
{
public:
ALIGN_FIELD (8) AndroidJavaClass_t799D386229C77D27C7E129BEF7A79AFD426084EE * m_Items[1];
public:
inline AndroidJavaClass_t799D386229C77D27C7E129BEF7A79AFD426084EE * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline AndroidJavaClass_t799D386229C77D27C7E129BEF7A79AFD426084EE ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, AndroidJavaClass_t799D386229C77D27C7E129BEF7A79AFD426084EE * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline AndroidJavaClass_t799D386229C77D27C7E129BEF7A79AFD426084EE * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline AndroidJavaClass_t799D386229C77D27C7E129BEF7A79AFD426084EE ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, AndroidJavaClass_t799D386229C77D27C7E129BEF7A79AFD426084EE * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// UnityEngine.Terrain[]
struct TerrainU5BU5D_t09516803A2C01893489D5ACAA202A907B2972BDE : public RuntimeArray
{
public:
ALIGN_FIELD (8) Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943 * m_Items[1];
public:
inline Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Terrain_t0BF7371FA90643325F50A87C7894D7BEBBE08943 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Int32,UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap>[]
struct EntryU5BU5D_t60C83E552A9B7713913AA260DDAA0AFF0A75765F : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t69D5241F365C74AA8EED869C40FA903714843A69 m_Items[1];
public:
inline Entry_t69D5241F365C74AA8EED869C40FA903714843A69 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t69D5241F365C74AA8EED869C40FA903714843A69 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t69D5241F365C74AA8EED869C40FA903714843A69 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
inline Entry_t69D5241F365C74AA8EED869C40FA903714843A69 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t69D5241F365C74AA8EED869C40FA903714843A69 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t69D5241F365C74AA8EED869C40FA903714843A69 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
};
// UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap[]
struct TerrainMapU5BU5D_t441BCA567805A88C78D03D9B7C42090D2B056E10 : public RuntimeArray
{
public:
ALIGN_FIELD (8) TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C * m_Items[1];
public:
inline TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Int32,UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap>[]
struct KeyValuePair_2U5BU5D_tFA63F37235B75A2B0F2C6D74539FEFB174CFA8F3 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t66F6496942DCFC8D590F8DA04910990C5DA39574 m_Items[1];
public:
inline KeyValuePair_2_t66F6496942DCFC8D590F8DA04910990C5DA39574 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t66F6496942DCFC8D590F8DA04910990C5DA39574 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t66F6496942DCFC8D590F8DA04910990C5DA39574 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
inline KeyValuePair_2_t66F6496942DCFC8D590F8DA04910990C5DA39574 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t66F6496942DCFC8D590F8DA04910990C5DA39574 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t66F6496942DCFC8D590F8DA04910990C5DA39574 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
};
// System.Collections.Generic.KeyValuePair`2<UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord,System.Object>[]
struct KeyValuePair_2U5BU5D_t6A43305072C9AA017F5C3B4E4B2953AE5C85A27E : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t198F3EF99C5CB706B8E678896CA900035FACF342 m_Items[1];
public:
inline KeyValuePair_2_t198F3EF99C5CB706B8E678896CA900035FACF342 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t198F3EF99C5CB706B8E678896CA900035FACF342 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t198F3EF99C5CB706B8E678896CA900035FACF342 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
inline KeyValuePair_2_t198F3EF99C5CB706B8E678896CA900035FACF342 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t198F3EF99C5CB706B8E678896CA900035FACF342 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t198F3EF99C5CB706B8E678896CA900035FACF342 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
};
// UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord[]
struct TileCoordU5BU5D_t5C91F6A2350FCA55BAD893C1C4ECAF553A8070F7 : public RuntimeArray
{
public:
ALIGN_FIELD (8) TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA m_Items[1];
public:
inline TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TileCoord_t51EDF1EA1A3A7F9C1D85C186E7A7954535C225BA value)
{
m_Items[index] = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord,System.Object>[]
struct EntryU5BU5D_t50748B96662D70C34AB62339BEB0FBCFD115A7C3 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t687188C87EF1FD0D50038E634676DBC449857B8E m_Items[1];
public:
inline Entry_t687188C87EF1FD0D50038E634676DBC449857B8E GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t687188C87EF1FD0D50038E634676DBC449857B8E * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t687188C87EF1FD0D50038E634676DBC449857B8E value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
inline Entry_t687188C87EF1FD0D50038E634676DBC449857B8E GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t687188C87EF1FD0D50038E634676DBC449857B8E * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t687188C87EF1FD0D50038E634676DBC449857B8E value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
};
// System.Collections.Generic.Dictionary`2_Entry<UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord,UnityEngine.Terrain>[]
struct EntryU5BU5D_t7E283CE6C88BF1DF0DBCB399F07FA5BAFC6FF36A : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t9D570A49137A28E64F72A7A386F206420CC5460D m_Items[1];
public:
inline Entry_t9D570A49137A28E64F72A7A386F206420CC5460D GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t9D570A49137A28E64F72A7A386F206420CC5460D * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t9D570A49137A28E64F72A7A386F206420CC5460D value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
inline Entry_t9D570A49137A28E64F72A7A386F206420CC5460D GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t9D570A49137A28E64F72A7A386F206420CC5460D * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t9D570A49137A28E64F72A7A386F206420CC5460D value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
};
// System.Collections.Generic.KeyValuePair`2<UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord,UnityEngine.Terrain>[]
struct KeyValuePair_2U5BU5D_tB67412496B160ACC4BAF355F3734822C85A56CE9 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t1042B27C0272463F95B4736D997596598DFACDF2 m_Items[1];
public:
inline KeyValuePair_2_t1042B27C0272463F95B4736D997596598DFACDF2 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t1042B27C0272463F95B4736D997596598DFACDF2 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t1042B27C0272463F95B4736D997596598DFACDF2 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
inline KeyValuePair_2_t1042B27C0272463F95B4736D997596598DFACDF2 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t1042B27C0272463F95B4736D997596598DFACDF2 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t1042B27C0272463F95B4736D997596598DFACDF2 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
};
// I18N.CJK.GB18030Source_GB18030Map[]
struct GB18030MapU5BU5D_tE3F2C54FFBD02AFF94006891BA0F4E9166B02848 : public RuntimeArray
{
public:
ALIGN_FIELD (8) GB18030Map_tF871AED7945542EDA06D956BF9D16CE847053D66 * m_Items[1];
public:
inline GB18030Map_tF871AED7945542EDA06D956BF9D16CE847053D66 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline GB18030Map_tF871AED7945542EDA06D956BF9D16CE847053D66 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, GB18030Map_tF871AED7945542EDA06D956BF9D16CE847053D66 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline GB18030Map_tF871AED7945542EDA06D956BF9D16CE847053D66 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline GB18030Map_tF871AED7945542EDA06D956BF9D16CE847053D66 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, GB18030Map_tF871AED7945542EDA06D956BF9D16CE847053D66 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// UnityEngine.XR.WSA.SurfaceId[]
struct SurfaceIdU5BU5D_t3509B01787A392571261147B55101F51D1737612 : public RuntimeArray
{
public:
ALIGN_FIELD (8) SurfaceId_t5FCE14311FE5CFC3C4DDFCAC0B7FC2F54123E9BF m_Items[1];
public:
inline SurfaceId_t5FCE14311FE5CFC3C4DDFCAC0B7FC2F54123E9BF GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline SurfaceId_t5FCE14311FE5CFC3C4DDFCAC0B7FC2F54123E9BF * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, SurfaceId_t5FCE14311FE5CFC3C4DDFCAC0B7FC2F54123E9BF value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline SurfaceId_t5FCE14311FE5CFC3C4DDFCAC0B7FC2F54123E9BF GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline SurfaceId_t5FCE14311FE5CFC3C4DDFCAC0B7FC2F54123E9BF * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, SurfaceId_t5FCE14311FE5CFC3C4DDFCAC0B7FC2F54123E9BF value)
{
m_Items[index] = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.UInt32,Microsoft.MixedReality.Toolkit.Input.IMixedRealityController>[]
struct EntryU5BU5D_t2D787794BFFD3362F53A2E65DADD7A4A9B39CC22 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t2F79E01D7091916BA9E24670F3B72F4D01FF9EE9 m_Items[1];
public:
inline Entry_t2F79E01D7091916BA9E24670F3B72F4D01FF9EE9 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t2F79E01D7091916BA9E24670F3B72F4D01FF9EE9 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t2F79E01D7091916BA9E24670F3B72F4D01FF9EE9 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
inline Entry_t2F79E01D7091916BA9E24670F3B72F4D01FF9EE9 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t2F79E01D7091916BA9E24670F3B72F4D01FF9EE9 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t2F79E01D7091916BA9E24670F3B72F4D01FF9EE9 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
};
// System.Collections.Generic.KeyValuePair`2<System.UInt32,Microsoft.MixedReality.Toolkit.Input.IMixedRealityController>[]
struct KeyValuePair_2U5BU5D_t2BD1D5589DE6ABCA7434D7CF88D8DEB73BDCD349 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t2F910001187FF7CA042E86157C8664812549FCE7 m_Items[1];
public:
inline KeyValuePair_2_t2F910001187FF7CA042E86157C8664812549FCE7 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t2F910001187FF7CA042E86157C8664812549FCE7 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t2F910001187FF7CA042E86157C8664812549FCE7 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
inline KeyValuePair_2_t2F910001187FF7CA042E86157C8664812549FCE7 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t2F910001187FF7CA042E86157C8664812549FCE7 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t2F910001187FF7CA042E86157C8664812549FCE7 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
};
// Microsoft.MixedReality.Toolkit.CameraSystem.IMixedRealityCameraSettingsProvider[]
struct IMixedRealityCameraSettingsProviderU5BU5D_t3C6D8E01229BD0CBC7DB66FEB67446C7759FF96D : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
public:
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// Microsoft.MixedReality.Toolkit.Diagnostics.MixedRealityToolkitVisualProfiler_FrameRateColor[]
struct FrameRateColorU5BU5D_tB4E40929C9FAF2D0D89385B8FCFE3799D7971105 : public RuntimeArray
{
public:
ALIGN_FIELD (8) FrameRateColor_tA18CA19BEF3B11918729550FC9790324FC0B1103 m_Items[1];
public:
inline FrameRateColor_tA18CA19BEF3B11918729550FC9790324FC0B1103 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline FrameRateColor_tA18CA19BEF3B11918729550FC9790324FC0B1103 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, FrameRateColor_tA18CA19BEF3B11918729550FC9790324FC0B1103 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline FrameRateColor_tA18CA19BEF3B11918729550FC9790324FC0B1103 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline FrameRateColor_tA18CA19BEF3B11918729550FC9790324FC0B1103 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, FrameRateColor_tA18CA19BEF3B11918729550FC9790324FC0B1103 value)
{
m_Items[index] = value;
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType,System.Int32>,System.Int32>[]
struct EntryU5BU5D_t52C95C00987A1268F1B963C3723417B1A67FF617 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t0CAB9EC490294286F0FBEFDCE371D63B2DBB07EA m_Items[1];
public:
inline Entry_t0CAB9EC490294286F0FBEFDCE371D63B2DBB07EA GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t0CAB9EC490294286F0FBEFDCE371D63B2DBB07EA * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t0CAB9EC490294286F0FBEFDCE371D63B2DBB07EA value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
}
inline Entry_t0CAB9EC490294286F0FBEFDCE371D63B2DBB07EA GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t0CAB9EC490294286F0FBEFDCE371D63B2DBB07EA * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t0CAB9EC490294286F0FBEFDCE371D63B2DBB07EA value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_2), (void*)NULL);
}
};
// System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType,System.Int32>[]
struct Tuple_2U5BU5D_t8D83F888CA3F2F52C72C706D15F450168A909B71 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * m_Items[1];
public:
inline Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Tuple_2_tBD5FADFD2525F41C7019BC900126317898CAFD0F * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType,System.Int32>,System.Int32>[]
struct KeyValuePair_2U5BU5D_t33F5777E6570BCE39D700D1F0C2ECBFD33D707FD : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_tA33DB43D8B3718083354073EE6790D2F38E4741D m_Items[1];
public:
inline KeyValuePair_2_tA33DB43D8B3718083354073EE6790D2F38E4741D GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_tA33DB43D8B3718083354073EE6790D2F38E4741D * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_tA33DB43D8B3718083354073EE6790D2F38E4741D value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
}
inline KeyValuePair_2_tA33DB43D8B3718083354073EE6790D2F38E4741D GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_tA33DB43D8B3718083354073EE6790D2F38E4741D * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_tA33DB43D8B3718083354073EE6790D2F38E4741D value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___key_0), (void*)NULL);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.Int32,System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType,System.Int32>>[]
struct EntryU5BU5D_t397E60DF1F0569A86AF32742C584D0F86F52D132 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_tBC66AFFB78628B55A889A8506B6698524611E483 m_Items[1];
public:
inline Entry_tBC66AFFB78628B55A889A8506B6698524611E483 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_tBC66AFFB78628B55A889A8506B6698524611E483 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_tBC66AFFB78628B55A889A8506B6698524611E483 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
inline Entry_tBC66AFFB78628B55A889A8506B6698524611E483 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_tBC66AFFB78628B55A889A8506B6698524611E483 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_tBC66AFFB78628B55A889A8506B6698524611E483 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Int32,System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType,System.Int32>>[]
struct KeyValuePair_2U5BU5D_tB58DC1959DB2AA7B3EBC21184A404600126D88ED : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t43209FF7D7328172AE4D79530ED1CCFE3989B23B m_Items[1];
public:
inline KeyValuePair_2_t43209FF7D7328172AE4D79530ED1CCFE3989B23B GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t43209FF7D7328172AE4D79530ED1CCFE3989B23B * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t43209FF7D7328172AE4D79530ED1CCFE3989B23B value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
inline KeyValuePair_2_t43209FF7D7328172AE4D79530ED1CCFE3989B23B GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t43209FF7D7328172AE4D79530ED1CCFE3989B23B * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t43209FF7D7328172AE4D79530ED1CCFE3989B23B value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
};
// UnityEngine.KeyCode[]
struct KeyCodeU5BU5D_tF4382F22534318B6E15A70B33AAF395B3D8D127F : public RuntimeArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// Microsoft.MixedReality.Toolkit.Input.KeyBinding_MouseButton[]
struct MouseButtonU5BU5D_t14C6EC4510926DD3FA9CAFA4757AA63EF63D3361 : public RuntimeArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// UnityEngine.Quaternion[]
struct QuaternionU5BU5D_t26EB10EEE89DD3EF913D52E8797FAB841F6F2AA3 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 m_Items[1];
public:
inline Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 value)
{
m_Items[index] = value;
}
};
// UnityEngine.AsyncOperation[]
struct AsyncOperationU5BU5D_t1226B1AC4292C78D644C5DF2546D741D4FA63809 : public RuntimeArray
{
public:
ALIGN_FIELD (8) AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D * m_Items[1];
public:
inline AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// UnityEngine.YieldInstruction[]
struct YieldInstructionU5BU5D_tCD93F1D08E7129DFB50745CB578A9ED33082AE94 : public RuntimeArray
{
public:
ALIGN_FIELD (8) YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44 * m_Items[1];
public:
inline YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.UInt64,System.WeakReference`1<System.Object>>[]
struct EntryU5BU5D_t5B45BB595C408274D6503AC88689ACBAE537BB85 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t4A95260E768AC7A72CA11573C9719F5F9B2E3B2E m_Items[1];
public:
inline Entry_t4A95260E768AC7A72CA11573C9719F5F9B2E3B2E GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t4A95260E768AC7A72CA11573C9719F5F9B2E3B2E * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t4A95260E768AC7A72CA11573C9719F5F9B2E3B2E value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
inline Entry_t4A95260E768AC7A72CA11573C9719F5F9B2E3B2E GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t4A95260E768AC7A72CA11573C9719F5F9B2E3B2E * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t4A95260E768AC7A72CA11573C9719F5F9B2E3B2E value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
};
// System.WeakReference`1<System.Object>[]
struct WeakReference_1U5BU5D_t71B912619D2BD72C6DA5D70B50141B80A3C09494 : public RuntimeArray
{
public:
ALIGN_FIELD (8) WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C * m_Items[1];
public:
inline WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, WeakReference_1_tBC6A26E1BB0C3A272173A366499D2BBA015BC86C * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.UInt64,System.WeakReference`1<System.Object>>[]
struct KeyValuePair_2U5BU5D_t111BC54FA8DBC362420058885EDEA33FC965470D : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t6903A5E2CF10B4EBB8962FE271D4FC65066B6810 m_Items[1];
public:
inline KeyValuePair_2_t6903A5E2CF10B4EBB8962FE271D4FC65066B6810 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t6903A5E2CF10B4EBB8962FE271D4FC65066B6810 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t6903A5E2CF10B4EBB8962FE271D4FC65066B6810 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
inline KeyValuePair_2_t6903A5E2CF10B4EBB8962FE271D4FC65066B6810 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t6903A5E2CF10B4EBB8962FE271D4FC65066B6810 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t6903A5E2CF10B4EBB8962FE271D4FC65066B6810 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
};
// System.Collections.Generic.Dictionary`2_Entry<System.UInt64,System.WeakReference`1<Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession>>[]
struct EntryU5BU5D_tF5CC3EE93B9FBBCCC7A452F6E9D76D302FDD1CA4 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Entry_t9CD3D06EAED70683C353B0F067085024CA89D7B8 m_Items[1];
public:
inline Entry_t9CD3D06EAED70683C353B0F067085024CA89D7B8 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Entry_t9CD3D06EAED70683C353B0F067085024CA89D7B8 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Entry_t9CD3D06EAED70683C353B0F067085024CA89D7B8 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
inline Entry_t9CD3D06EAED70683C353B0F067085024CA89D7B8 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Entry_t9CD3D06EAED70683C353B0F067085024CA89D7B8 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Entry_t9CD3D06EAED70683C353B0F067085024CA89D7B8 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_3), (void*)NULL);
}
};
// System.WeakReference`1<Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession>[]
struct WeakReference_1U5BU5D_t5D09F024C0E1715447149CF2329F2A04F9A30BD4 : public RuntimeArray
{
public:
ALIGN_FIELD (8) WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90 * m_Items[1];
public:
inline WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, WeakReference_1_tCF7E00EEDD279A453DEC02D2F3CFE20EDD84FD90 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.UInt64,System.WeakReference`1<Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession>>[]
struct KeyValuePair_2U5BU5D_t9B3E64DC09C0E3ECFD2F19C53618D209E41F708F : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t8CBB43D672B60843015403B4CF0F1FF32CEFE1A9 m_Items[1];
public:
inline KeyValuePair_2_t8CBB43D672B60843015403B4CF0F1FF32CEFE1A9 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t8CBB43D672B60843015403B4CF0F1FF32CEFE1A9 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t8CBB43D672B60843015403B4CF0F1FF32CEFE1A9 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
inline KeyValuePair_2_t8CBB43D672B60843015403B4CF0F1FF32CEFE1A9 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t8CBB43D672B60843015403B4CF0F1FF32CEFE1A9 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t8CBB43D672B60843015403B4CF0F1FF32CEFE1A9 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
};
// Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorWatcher[]
struct CloudSpatialAnchorWatcherU5BU5D_t5A4B802167B0D0537A7175604FAE43B5B5FF6223 : public RuntimeArray
{
public:
ALIGN_FIELD (8) CloudSpatialAnchorWatcher_t94E373F9C47C90D744197B54C803B0C00C520766 * m_Items[1];
public:
inline CloudSpatialAnchorWatcher_t94E373F9C47C90D744197B54C803B0C00C520766 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline CloudSpatialAnchorWatcher_t94E373F9C47C90D744197B54C803B0C00C520766 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, CloudSpatialAnchorWatcher_t94E373F9C47C90D744197B54C803B0C00C520766 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline CloudSpatialAnchorWatcher_t94E373F9C47C90D744197B54C803B0C00C520766 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline CloudSpatialAnchorWatcher_t94E373F9C47C90D744197B54C803B0C00C520766 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, CloudSpatialAnchorWatcher_t94E373F9C47C90D744197B54C803B0C00C520766 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
il2cpp_hresult_t IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue);
il2cpp_hresult_t IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, Il2CppIInspectable** comReturnValue);
il2cpp_hresult_t IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue);
il2cpp_hresult_t IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue);
il2cpp_hresult_t IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(RuntimeObject* __this, Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue);
il2cpp_hresult_t IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, Il2CppIInspectable* ___value1);
il2cpp_hresult_t IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, Il2CppIInspectable* ___value1);
il2cpp_hresult_t IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0);
il2cpp_hresult_t IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(RuntimeObject* __this, Il2CppIInspectable* ___value0);
il2cpp_hresult_t IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(RuntimeObject* __this);
il2cpp_hresult_t IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(RuntimeObject* __this);
il2cpp_hresult_t IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue);
il2cpp_hresult_t IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, Il2CppIInspectable** comReturnValue);
il2cpp_hresult_t IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue);
il2cpp_hresult_t IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(RuntimeObject* __this, Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue);
il2cpp_hresult_t IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue);
il2cpp_hresult_t IVector_1_GetAt_mE066A16085480F78B7E392F724384CFC47D54843_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744** comReturnValue);
il2cpp_hresult_t IVector_1_get_Size_m635FE72501D329030AC7924DD9C437C7F4D75A95_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue);
il2cpp_hresult_t IVector_1_GetView_mE6C51E4D06F851D6D7DCEF00913E91FA575EE5A5_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IVectorView_1_tFCA49C96F78B2EE6FBCA73E1EE14421518C4E513** comReturnValue);
il2cpp_hresult_t IVector_1_IndexOf_mE48922067E76DEBF9F186447275D02B22330681C_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744* ___value0, uint32_t* ___index1, bool* comReturnValue);
il2cpp_hresult_t IVector_1_SetAt_mDB9FE22E64FEF2C90324077B03065E467BA94364_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744* ___value1);
il2cpp_hresult_t IVector_1_InsertAt_m2985F951107683DAE582F72F6665DF709DA6B959_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744* ___value1);
il2cpp_hresult_t IVector_1_RemoveAt_mDBE3105D4BC5400C99C05D205244CD0DA9681E67_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0);
il2cpp_hresult_t IVector_1_Append_mDB2107A648398375EDA988F08791AB2399396E1C_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744* ___value0);
il2cpp_hresult_t IVector_1_RemoveAtEnd_mB6294D73279B25379EC8B2669196FE9C435962B7_ComCallableWrapperProjectedMethod(RuntimeObject* __this);
il2cpp_hresult_t IVector_1_Clear_mCF03E3AC9B690A8744F34398EA0BEFE981FA1872_ComCallableWrapperProjectedMethod(RuntimeObject* __this);
il2cpp_hresult_t IVector_1_GetMany_m49529BFF5346D140BB84A5449B38CF72F2D4C915_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744** ___items1, uint32_t* comReturnValue);
il2cpp_hresult_t IVector_1_ReplaceAll_mFFB679E4DCE1F05C00385BDDAF91B49D02F0C074_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___items0ArraySize, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744** ___items0);
il2cpp_hresult_t IIterable_1_First_m84004E4C50675B9B5869094B49CB983EA40D2C7F_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_tA9CA75CED7DF4356AA7250A307560CCB542832F9** comReturnValue);
il2cpp_hresult_t IVectorView_1_GetAt_m82BF11FCC6F017935978CAC95516382E194B45AF_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744** comReturnValue);
il2cpp_hresult_t IVectorView_1_get_Size_mB0EBB29E83E6C8F9A437AAB57E114DB8C8DAEE60_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue);
il2cpp_hresult_t IVectorView_1_IndexOf_m6F08F5B06801BE282280040942346363F8F462E0_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744* ___value0, uint32_t* ___index1, bool* comReturnValue);
il2cpp_hresult_t IVectorView_1_GetMany_m5057CD976562F3D6F7829B64D97A2B63C388A597_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744** ___items1, uint32_t* comReturnValue);
il2cpp_hresult_t IIterable_1_First_m09831C624871C19D843F4008C044966FB5E9343C_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_t338801CF751DA6B3F37B9D6ED55A0F3F57F58AB1** comReturnValue);
il2cpp_hresult_t IIterable_1_First_mFFB1B49776648BCFAE14E56BCC852C171A2EED56_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_t62801DBDE6FD9C74727BB69771A29FE27EFE219A** comReturnValue);
il2cpp_hresult_t IIterable_1_First_m551F37D94BCD6465A842A30F21A34B055D1150EB_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_t434D274362AD0E7DED4E226329536215034B75E0** comReturnValue);
il2cpp_hresult_t IIterable_1_First_m88718ECE69AC144FE3F65AC0C64D13F46A794D5B_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_t778CBEADF41F93C0FF6B5A7DCD14292A25473632** comReturnValue);
il2cpp_hresult_t IVectorView_1_GetAt_m9924D94FBD36D64EAA125D29293C248AFC73E5E8_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397** comReturnValue);
il2cpp_hresult_t IVectorView_1_get_Size_mF7FEAA3100FAC4B557417C37DA14AEE180E542C6_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue);
il2cpp_hresult_t IVectorView_1_IndexOf_m6FA4D8A1C13D23137E4E2F4982CE4F385AE370BD_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397* ___value0, uint32_t* ___index1, bool* comReturnValue);
il2cpp_hresult_t IVectorView_1_GetMany_m5AEE14AEFEBBABB1CC1F5FCE81F23AC686A3014E_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397** ___items1, uint32_t* comReturnValue);
il2cpp_hresult_t IVectorView_1_GetAt_mE92F40A15F7A4160BC73DC34BE2B952CCB6A6CC9_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7** comReturnValue);
il2cpp_hresult_t IVectorView_1_get_Size_m6C9A5EB233BDD0D6840D71594DBEC7005E572679_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue);
il2cpp_hresult_t IVectorView_1_IndexOf_m624FC07BF1FB0CE5A3988E9DC8FE4F4DEFA7BB19_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7* ___value0, uint32_t* ___index1, bool* comReturnValue);
il2cpp_hresult_t IVectorView_1_GetMany_mA6B7C5129191F9FABD887800915DB7D141B7BA3D_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7** ___items1, uint32_t* comReturnValue);
il2cpp_hresult_t IVectorView_1_GetAt_mAB5FBF2E11782C3284709DBFA4DE5F15F3819B10_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39** comReturnValue);
il2cpp_hresult_t IVectorView_1_get_Size_mBB2E069A39C95E9B799DF56A687C3378593D6DE8_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue);
il2cpp_hresult_t IVectorView_1_IndexOf_mE04A0DB765A4541758E866B3039F1064401BE09B_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39* ___value0, uint32_t* ___index1, bool* comReturnValue);
il2cpp_hresult_t IVectorView_1_GetMany_m7A30B074D4DE286EDF193293E625DF60ECDBB23A_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39** ___items1, uint32_t* comReturnValue);
il2cpp_hresult_t IVectorView_1_GetAt_mB357BB83CB6340CB809ADAFDFA431CB37C718697_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356** comReturnValue);
il2cpp_hresult_t IVectorView_1_get_Size_m05689B9A220C50D9559006C74CE62C86DA6732CE_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue);
il2cpp_hresult_t IVectorView_1_IndexOf_m3CDB294697B28005E10A9D0B3729E1D38921C7F7_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356* ___value0, uint32_t* ___index1, bool* comReturnValue);
il2cpp_hresult_t IVectorView_1_GetMany_m84967CE072D59C901C844B77694FBCFFD89BA532_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356** ___items1, uint32_t* comReturnValue);
il2cpp_hresult_t IVector_1_GetAt_mB9A634737201EEA838684E0CD98B293372DDA5C0_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8** comReturnValue);
il2cpp_hresult_t IVector_1_get_Size_mE6A05F585199F42889CC3984C5FBEAA6CE03C8AA_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue);
il2cpp_hresult_t IVector_1_GetView_m2BAC87C23586B501CED9D54EC40EDC518884062F_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IVectorView_1_t69805CA49F9F05C3D467DDD8CDF592BAE9829294** comReturnValue);
il2cpp_hresult_t IVector_1_IndexOf_m8CB69750D43D405C4B30E51E52E71784035639F4_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8* ___value0, uint32_t* ___index1, bool* comReturnValue);
il2cpp_hresult_t IVector_1_SetAt_mDEBE41EF1575F88796CEEB65A1A1F85C82E7EB96_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8* ___value1);
il2cpp_hresult_t IVector_1_InsertAt_mDEB923BA795B4AAE42D298B8AEE9C7E2DE469FCD_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8* ___value1);
il2cpp_hresult_t IVector_1_RemoveAt_mE1B7A99F7046C040098DD1CAE7EA7E32C0F3C16A_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0);
il2cpp_hresult_t IVector_1_Append_mB3499FB1879FDC41DD3CFE9C04CDBF4B466ED76A_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8* ___value0);
il2cpp_hresult_t IVector_1_RemoveAtEnd_mE5547AB80147C26DD751688738D1097839D33B03_ComCallableWrapperProjectedMethod(RuntimeObject* __this);
il2cpp_hresult_t IVector_1_Clear_m516C966093B2F7D899412ECC25CFB52A8C285738_ComCallableWrapperProjectedMethod(RuntimeObject* __this);
il2cpp_hresult_t IVector_1_GetMany_m9DF8D30FA569E3B955345B76EA778607A19CCE1E_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8** ___items1, uint32_t* comReturnValue);
il2cpp_hresult_t IVector_1_ReplaceAll_m54577160B8C676666CD0A8109ADB80D9BA1F0E08_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___items0ArraySize, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8** ___items0);
il2cpp_hresult_t IIterable_1_First_mF59AF9C1212CABC035769AE6EDBF8BE80A6C6F76_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_tD1BD01D03923D51911821DBA75B91CD7ADEF23EC** comReturnValue);
il2cpp_hresult_t IVectorView_1_GetAt_m5F164E83F2D886160F9FA8DB1E3F827CC1E14BC5_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8** comReturnValue);
il2cpp_hresult_t IVectorView_1_get_Size_mFF969BF216455912104F63F12A206C5C8E057F82_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue);
il2cpp_hresult_t IVectorView_1_IndexOf_m397F42F0DC6746AB415E26A3F8A32202172F912F_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8* ___value0, uint32_t* ___index1, bool* comReturnValue);
il2cpp_hresult_t IVectorView_1_GetMany_m89112520C895D2F9CC18EAA58CBCC4362B181B65_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8** ___items1, uint32_t* comReturnValue);
il2cpp_hresult_t IIterable_1_First_m66AE02B95C12AA29398F853CBBCB981F758D1D7B_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_tFCCB84984712ACE35E2C9D0FFBB7CFE2CD913B43** comReturnValue);
il2cpp_hresult_t IVectorView_1_GetAt_mF09C0ACF185B36DEE44FC0D08172713153119DE1_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IClosable_t5808AF951019E4388C66F7A88AC569F52F581167** comReturnValue);
il2cpp_hresult_t IVectorView_1_get_Size_m3313994A76530A8C4479916841C82C0D08EFAC79_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue);
il2cpp_hresult_t IVectorView_1_IndexOf_mDB1287B8A5CC74E6FCC29981DD88C2C7386EC4E7_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IClosable_t5808AF951019E4388C66F7A88AC569F52F581167* ___value0, uint32_t* ___index1, bool* comReturnValue);
il2cpp_hresult_t IVectorView_1_GetMany_m4955F7C6504C5A36D92A21A0AC6FDD34FF016A93_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, IClosable_t5808AF951019E4388C66F7A88AC569F52F581167** ___items1, uint32_t* comReturnValue);
il2cpp_hresult_t IClosable_Close_m9A054CE065D4C97FAF595A8F92B3CB3463C5BCD6_ComCallableWrapperProjectedMethod(RuntimeObject* __this);
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.UI.BoundingBox_CardinalAxisType[]
struct CardinalAxisTypeU5BU5D_tBE98770DA2148A2A8F20E206C564ACE5C3644F45_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<CardinalAxisTypeU5BU5D_tBE98770DA2148A2A8F20E206C564ACE5C3644F45_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline CardinalAxisTypeU5BU5D_tBE98770DA2148A2A8F20E206C564ACE5C3644F45_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<CardinalAxisTypeU5BU5D_tBE98770DA2148A2A8F20E206C564ACE5C3644F45_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_CardinalAxisTypeU5BU5D_tBE98770DA2148A2A8F20E206C564ACE5C3644F45(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(CardinalAxisTypeU5BU5D_tBE98770DA2148A2A8F20E206C564ACE5C3644F45_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) CardinalAxisTypeU5BU5D_tBE98770DA2148A2A8F20E206C564ACE5C3644F45_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.UI.BoundingBox_Handle[]
struct HandleU5BU5D_t776A839BCE3600D5084060535B83A5F0DD44AD7E_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<HandleU5BU5D_t776A839BCE3600D5084060535B83A5F0DD44AD7E_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline HandleU5BU5D_t776A839BCE3600D5084060535B83A5F0DD44AD7E_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<HandleU5BU5D_t776A839BCE3600D5084060535B83A5F0DD44AD7E_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_HandleU5BU5D_t776A839BCE3600D5084060535B83A5F0DD44AD7E(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(HandleU5BU5D_t776A839BCE3600D5084060535B83A5F0DD44AD7E_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) HandleU5BU5D_t776A839BCE3600D5084060535B83A5F0DD44AD7E_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.Object,UnityEngine.Vector3>[]
struct KeyValuePair_2U5BU5D_t9DA0E92688123C54D8D06012F6F5584E8023589F_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t9DA0E92688123C54D8D06012F6F5584E8023589F_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t9DA0E92688123C54D8D06012F6F5584E8023589F_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t9DA0E92688123C54D8D06012F6F5584E8023589F_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t9DA0E92688123C54D8D06012F6F5584E8023589F(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t9DA0E92688123C54D8D06012F6F5584E8023589F_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t9DA0E92688123C54D8D06012F6F5584E8023589F_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.Object,UnityEngine.Vector3>[]
struct EntryU5BU5D_t6AB8023CFFFA881E31020BD4727D93554A245CB2_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t6AB8023CFFFA881E31020BD4727D93554A245CB2_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t6AB8023CFFFA881E31020BD4727D93554A245CB2_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t6AB8023CFFFA881E31020BD4727D93554A245CB2_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t6AB8023CFFFA881E31020BD4727D93554A245CB2(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t6AB8023CFFFA881E31020BD4727D93554A245CB2_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t6AB8023CFFFA881E31020BD4727D93554A245CB2_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<Microsoft.MixedReality.Toolkit.Input.IMixedRealityController,UnityEngine.Vector3>[]
struct EntryU5BU5D_t9B386D67ADE3B65788CDB97E308A773FCAF4E4AA_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t9B386D67ADE3B65788CDB97E308A773FCAF4E4AA_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t9B386D67ADE3B65788CDB97E308A773FCAF4E4AA_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t9B386D67ADE3B65788CDB97E308A773FCAF4E4AA_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t9B386D67ADE3B65788CDB97E308A773FCAF4E4AA(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t9B386D67ADE3B65788CDB97E308A773FCAF4E4AA_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t9B386D67ADE3B65788CDB97E308A773FCAF4E4AA_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<Microsoft.MixedReality.Toolkit.Input.IMixedRealityController,UnityEngine.Vector3>[]
struct KeyValuePair_2U5BU5D_t8C3F12530335E583991098146649D4B46C0B63A9_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t8C3F12530335E583991098146649D4B46C0B63A9_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t8C3F12530335E583991098146649D4B46C0B63A9_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t8C3F12530335E583991098146649D4B46C0B63A9_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t8C3F12530335E583991098146649D4B46C0B63A9(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t8C3F12530335E583991098146649D4B46C0B63A9_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t8C3F12530335E583991098146649D4B46C0B63A9_ComCallableWrapper(obj));
}
// COM Callable Wrapper for UnityEngine.MaterialPropertyBlock[]
struct MaterialPropertyBlockU5BU5D_tC7C7738D79ED1E01D386FBC3AFD5F5E18B6F562A_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<MaterialPropertyBlockU5BU5D_tC7C7738D79ED1E01D386FBC3AFD5F5E18B6F562A_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline MaterialPropertyBlockU5BU5D_tC7C7738D79ED1E01D386FBC3AFD5F5E18B6F562A_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<MaterialPropertyBlockU5BU5D_tC7C7738D79ED1E01D386FBC3AFD5F5E18B6F562A_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_MaterialPropertyBlockU5BU5D_tC7C7738D79ED1E01D386FBC3AFD5F5E18B6F562A(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(MaterialPropertyBlockU5BU5D_tC7C7738D79ED1E01D386FBC3AFD5F5E18B6F562A_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) MaterialPropertyBlockU5BU5D_tC7C7738D79ED1E01D386FBC3AFD5F5E18B6F562A_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.UInt32,Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData>[]
struct EntryU5BU5D_t422F792695A2AA991135AFCD3F0FA801F18128AF_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t422F792695A2AA991135AFCD3F0FA801F18128AF_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t422F792695A2AA991135AFCD3F0FA801F18128AF_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t422F792695A2AA991135AFCD3F0FA801F18128AF_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t422F792695A2AA991135AFCD3F0FA801F18128AF(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t422F792695A2AA991135AFCD3F0FA801F18128AF_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t422F792695A2AA991135AFCD3F0FA801F18128AF_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData[]
struct HandPanDataU5BU5D_t8B6D8F3C445B507169EAA52400D24DC295663EA6_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<HandPanDataU5BU5D_t8B6D8F3C445B507169EAA52400D24DC295663EA6_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline HandPanDataU5BU5D_t8B6D8F3C445B507169EAA52400D24DC295663EA6_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<HandPanDataU5BU5D_t8B6D8F3C445B507169EAA52400D24DC295663EA6_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_HandPanDataU5BU5D_t8B6D8F3C445B507169EAA52400D24DC295663EA6(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(HandPanDataU5BU5D_t8B6D8F3C445B507169EAA52400D24DC295663EA6_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) HandPanDataU5BU5D_t8B6D8F3C445B507169EAA52400D24DC295663EA6_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.UInt32,Microsoft.MixedReality.Toolkit.UI.HandInteractionPanZoom_HandPanData>[]
struct KeyValuePair_2U5BU5D_t3F272074C4D5FAD361CD8D08C223D19701B32306_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t3F272074C4D5FAD361CD8D08C223D19701B32306_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t3F272074C4D5FAD361CD8D08C223D19701B32306_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t3F272074C4D5FAD361CD8D08C223D19701B32306_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t3F272074C4D5FAD361CD8D08C223D19701B32306(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t3F272074C4D5FAD361CD8D08C223D19701B32306_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t3F272074C4D5FAD361CD8D08C223D19701B32306_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.UI.IToolTipBackground[]
struct IToolTipBackgroundU5BU5D_t4AC7A48468D8891D1183229458A18FE7753E15C0_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<IToolTipBackgroundU5BU5D_t4AC7A48468D8891D1183229458A18FE7753E15C0_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline IToolTipBackgroundU5BU5D_t4AC7A48468D8891D1183229458A18FE7753E15C0_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<IToolTipBackgroundU5BU5D_t4AC7A48468D8891D1183229458A18FE7753E15C0_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_IToolTipBackgroundU5BU5D_t4AC7A48468D8891D1183229458A18FE7753E15C0(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(IToolTipBackgroundU5BU5D_t4AC7A48468D8891D1183229458A18FE7753E15C0_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) IToolTipBackgroundU5BU5D_t4AC7A48468D8891D1183229458A18FE7753E15C0_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.UI.IToolTipHighlight[]
struct IToolTipHighlightU5BU5D_tA7DD71FD723413BC5C96B63B884C643D00A7675C_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<IToolTipHighlightU5BU5D_tA7DD71FD723413BC5C96B63B884C643D00A7675C_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline IToolTipHighlightU5BU5D_tA7DD71FD723413BC5C96B63B884C643D00A7675C_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<IToolTipHighlightU5BU5D_tA7DD71FD723413BC5C96B63B884C643D00A7675C_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_IToolTipHighlightU5BU5D_tA7DD71FD723413BC5C96B63B884C643D00A7675C(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(IToolTipHighlightU5BU5D_tA7DD71FD723413BC5C96B63B884C643D00A7675C_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) IToolTipHighlightU5BU5D_tA7DD71FD723413BC5C96B63B884C643D00A7675C_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.UInt32,System.Boolean>[]
struct KeyValuePair_2U5BU5D_t90D650B211D4280D9C648325D90FE4CDA0CE18D7_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t90D650B211D4280D9C648325D90FE4CDA0CE18D7_ComCallableWrapper>, IVector_1_tE8818B4443327A9D7C91EF8D8EF443CEFD0FB748, IIterable_1_t4A1630DD14BDC255B00BA77E1F4854DCA53C3B6A, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_tFCA49C96F78B2EE6FBCA73E1EE14421518C4E513, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t90D650B211D4280D9C648325D90FE4CDA0CE18D7_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t90D650B211D4280D9C648325D90FE4CDA0CE18D7_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVector_1_tE8818B4443327A9D7C91EF8D8EF443CEFD0FB748::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVector_1_tE8818B4443327A9D7C91EF8D8EF443CEFD0FB748*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t4A1630DD14BDC255B00BA77E1F4854DCA53C3B6A::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t4A1630DD14BDC255B00BA77E1F4854DCA53C3B6A*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_tFCA49C96F78B2EE6FBCA73E1EE14421518C4E513::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_tFCA49C96F78B2EE6FBCA73E1EE14421518C4E513*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(5);
interfaceIds[0] = IVector_1_tE8818B4443327A9D7C91EF8D8EF443CEFD0FB748::IID;
interfaceIds[1] = IIterable_1_t4A1630DD14BDC255B00BA77E1F4854DCA53C3B6A::IID;
interfaceIds[2] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[3] = IVectorView_1_tFCA49C96F78B2EE6FBCA73E1EE14421518C4E513::IID;
interfaceIds[4] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 5;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IVector_1_GetAt_mE066A16085480F78B7E392F724384CFC47D54843(uint32_t ___index0, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744** comReturnValue) IL2CPP_OVERRIDE
{
return IVector_1_GetAt_mE066A16085480F78B7E392F724384CFC47D54843_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVector_1_get_Size_m635FE72501D329030AC7924DD9C437C7F4D75A95(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVector_1_get_Size_m635FE72501D329030AC7924DD9C437C7F4D75A95_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVector_1_GetView_mE6C51E4D06F851D6D7DCEF00913E91FA575EE5A5(IVectorView_1_tFCA49C96F78B2EE6FBCA73E1EE14421518C4E513** comReturnValue) IL2CPP_OVERRIDE
{
return IVector_1_GetView_mE6C51E4D06F851D6D7DCEF00913E91FA575EE5A5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVector_1_IndexOf_mE48922067E76DEBF9F186447275D02B22330681C(IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVector_1_IndexOf_mE48922067E76DEBF9F186447275D02B22330681C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVector_1_SetAt_mDB9FE22E64FEF2C90324077B03065E467BA94364(uint32_t ___index0, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744* ___value1) IL2CPP_OVERRIDE
{
return IVector_1_SetAt_mDB9FE22E64FEF2C90324077B03065E467BA94364_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IVector_1_InsertAt_m2985F951107683DAE582F72F6665DF709DA6B959(uint32_t ___index0, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744* ___value1) IL2CPP_OVERRIDE
{
return IVector_1_InsertAt_m2985F951107683DAE582F72F6665DF709DA6B959_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAt_mDBE3105D4BC5400C99C05D205244CD0DA9681E67(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IVector_1_RemoveAt_mDBE3105D4BC5400C99C05D205244CD0DA9681E67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IVector_1_Append_mDB2107A648398375EDA988F08791AB2399396E1C(IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744* ___value0) IL2CPP_OVERRIDE
{
return IVector_1_Append_mDB2107A648398375EDA988F08791AB2399396E1C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAtEnd_mB6294D73279B25379EC8B2669196FE9C435962B7() IL2CPP_OVERRIDE
{
return IVector_1_RemoveAtEnd_mB6294D73279B25379EC8B2669196FE9C435962B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IVector_1_Clear_mCF03E3AC9B690A8744F34398EA0BEFE981FA1872() IL2CPP_OVERRIDE
{
return IVector_1_Clear_mCF03E3AC9B690A8744F34398EA0BEFE981FA1872_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IVector_1_GetMany_m49529BFF5346D140BB84A5449B38CF72F2D4C915(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVector_1_GetMany_m49529BFF5346D140BB84A5449B38CF72F2D4C915_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVector_1_ReplaceAll_mFFB679E4DCE1F05C00385BDDAF91B49D02F0C074(uint32_t ___items0ArraySize, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744** ___items0) IL2CPP_OVERRIDE
{
return IVector_1_ReplaceAll_mFFB679E4DCE1F05C00385BDDAF91B49D02F0C074_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___items0ArraySize, ___items0);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m84004E4C50675B9B5869094B49CB983EA40D2C7F(IIterator_1_tA9CA75CED7DF4356AA7250A307560CCB542832F9** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m84004E4C50675B9B5869094B49CB983EA40D2C7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m82BF11FCC6F017935978CAC95516382E194B45AF(uint32_t ___index0, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_m82BF11FCC6F017935978CAC95516382E194B45AF_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mB0EBB29E83E6C8F9A437AAB57E114DB8C8DAEE60(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_mB0EBB29E83E6C8F9A437AAB57E114DB8C8DAEE60_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m6F08F5B06801BE282280040942346363F8F462E0(IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m6F08F5B06801BE282280040942346363F8F462E0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m5057CD976562F3D6F7829B64D97A2B63C388A597(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IKeyValuePair_2_tB81AF326A696B0212C71918EF0099D931D4CF744** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m5057CD976562F3D6F7829B64D97A2B63C388A597_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t90D650B211D4280D9C648325D90FE4CDA0CE18D7(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t90D650B211D4280D9C648325D90FE4CDA0CE18D7_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t90D650B211D4280D9C648325D90FE4CDA0CE18D7_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.UInt32,System.Boolean>[]
struct EntryU5BU5D_t511C7DC57AC208468C9F46AEF2BE499BDDD717D2_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t511C7DC57AC208468C9F46AEF2BE499BDDD717D2_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t511C7DC57AC208468C9F46AEF2BE499BDDD717D2_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t511C7DC57AC208468C9F46AEF2BE499BDDD717D2_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t511C7DC57AC208468C9F46AEF2BE499BDDD717D2(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t511C7DC57AC208468C9F46AEF2BE499BDDD717D2_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t511C7DC57AC208468C9F46AEF2BE499BDDD717D2_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.UInt32,Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource>[]
struct EntryU5BU5D_t275D0AFE2505B4FC559212BDD8B3A93059D2DE91_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t275D0AFE2505B4FC559212BDD8B3A93059D2DE91_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t275D0AFE2505B4FC559212BDD8B3A93059D2DE91_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t275D0AFE2505B4FC559212BDD8B3A93059D2DE91_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t275D0AFE2505B4FC559212BDD8B3A93059D2DE91(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t275D0AFE2505B4FC559212BDD8B3A93059D2DE91_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t275D0AFE2505B4FC559212BDD8B3A93059D2DE91_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.UInt32,Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource>[]
struct KeyValuePair_2U5BU5D_tD81B802B8A4D928C8CC32F052005FF6AC0F22769_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tD81B802B8A4D928C8CC32F052005FF6AC0F22769_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_tD81B802B8A4D928C8CC32F052005FF6AC0F22769_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tD81B802B8A4D928C8CC32F052005FF6AC0F22769_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_tD81B802B8A4D928C8CC32F052005FF6AC0F22769(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_tD81B802B8A4D928C8CC32F052005FF6AC0F22769_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_tD81B802B8A4D928C8CC32F052005FF6AC0F22769_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.UInt32,UnityEngine.Vector3>[]
struct KeyValuePair_2U5BU5D_tCF0C42BB56954C88E2CE002CCE8480DB3D56E7CD_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tCF0C42BB56954C88E2CE002CCE8480DB3D56E7CD_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_tCF0C42BB56954C88E2CE002CCE8480DB3D56E7CD_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tCF0C42BB56954C88E2CE002CCE8480DB3D56E7CD_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_tCF0C42BB56954C88E2CE002CCE8480DB3D56E7CD(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_tCF0C42BB56954C88E2CE002CCE8480DB3D56E7CD_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_tCF0C42BB56954C88E2CE002CCE8480DB3D56E7CD_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.UInt32,UnityEngine.Vector3>[]
struct EntryU5BU5D_tB1F7DA0B5996C09A3A69C06537A892A3134C2767_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_tB1F7DA0B5996C09A3A69C06537A892A3134C2767_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_tB1F7DA0B5996C09A3A69C06537A892A3134C2767_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_tB1F7DA0B5996C09A3A69C06537A892A3134C2767_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_tB1F7DA0B5996C09A3A69C06537A892A3134C2767(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_tB1F7DA0B5996C09A3A69C06537A892A3134C2767_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_tB1F7DA0B5996C09A3A69C06537A892A3134C2767_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<UnityEngine.Renderer,System.Collections.Generic.List`1<UnityEngine.Material>>[]
struct EntryU5BU5D_tBCCE8BE5EDAF3995DD37B3E3CA6416B9F1AD3B4F_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_tBCCE8BE5EDAF3995DD37B3E3CA6416B9F1AD3B4F_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_tBCCE8BE5EDAF3995DD37B3E3CA6416B9F1AD3B4F_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_tBCCE8BE5EDAF3995DD37B3E3CA6416B9F1AD3B4F_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_tBCCE8BE5EDAF3995DD37B3E3CA6416B9F1AD3B4F(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_tBCCE8BE5EDAF3995DD37B3E3CA6416B9F1AD3B4F_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_tBCCE8BE5EDAF3995DD37B3E3CA6416B9F1AD3B4F_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.List`1<UnityEngine.Material>[]
struct List_1U5BU5D_t1BFA24A9302CE73F043EEFF97E8C6B37D4C5BFE7_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<List_1U5BU5D_t1BFA24A9302CE73F043EEFF97E8C6B37D4C5BFE7_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IIterable_1_t902DCF3D3C27B82171829A44E6D71C5C195A6629, IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F, IIterable_1_tBA530A414D1520B7E2769DDA0F4ADD1881CEA550, IIterable_1_tAD0B29100AA6FD6F3FC97D24D1376F06F6DF571C, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IVectorView_1_t9BFDBB37800EE82FC8B39FE28FBE86BE747B481B, IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A, IVectorView_1_tBE73E017D41260BDE192983618296A7C175DD39B, IVectorView_1_tECB3F81306E0DC782E13A3AA3EFEEC027F7D66FF, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline List_1U5BU5D_t1BFA24A9302CE73F043EEFF97E8C6B37D4C5BFE7_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<List_1U5BU5D_t1BFA24A9302CE73F043EEFF97E8C6B37D4C5BFE7_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t902DCF3D3C27B82171829A44E6D71C5C195A6629::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t902DCF3D3C27B82171829A44E6D71C5C195A6629*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tBA530A414D1520B7E2769DDA0F4ADD1881CEA550::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tBA530A414D1520B7E2769DDA0F4ADD1881CEA550*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tAD0B29100AA6FD6F3FC97D24D1376F06F6DF571C::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tAD0B29100AA6FD6F3FC97D24D1376F06F6DF571C*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t9BFDBB37800EE82FC8B39FE28FBE86BE747B481B::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t9BFDBB37800EE82FC8B39FE28FBE86BE747B481B*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_tBE73E017D41260BDE192983618296A7C175DD39B::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_tBE73E017D41260BDE192983618296A7C175DD39B*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_tECB3F81306E0DC782E13A3AA3EFEEC027F7D66FF::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_tECB3F81306E0DC782E13A3AA3EFEEC027F7D66FF*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(12);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IIterable_1_t902DCF3D3C27B82171829A44E6D71C5C195A6629::IID;
interfaceIds[2] = IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F::IID;
interfaceIds[3] = IIterable_1_tBA530A414D1520B7E2769DDA0F4ADD1881CEA550::IID;
interfaceIds[4] = IIterable_1_tAD0B29100AA6FD6F3FC97D24D1376F06F6DF571C::IID;
interfaceIds[5] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[6] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[7] = IVectorView_1_t9BFDBB37800EE82FC8B39FE28FBE86BE747B481B::IID;
interfaceIds[8] = IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A::IID;
interfaceIds[9] = IVectorView_1_tBE73E017D41260BDE192983618296A7C175DD39B::IID;
interfaceIds[10] = IVectorView_1_tECB3F81306E0DC782E13A3AA3EFEEC027F7D66FF::IID;
interfaceIds[11] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 12;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m09831C624871C19D843F4008C044966FB5E9343C(IIterator_1_t338801CF751DA6B3F37B9D6ED55A0F3F57F58AB1** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m09831C624871C19D843F4008C044966FB5E9343C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mFFB1B49776648BCFAE14E56BCC852C171A2EED56(IIterator_1_t62801DBDE6FD9C74727BB69771A29FE27EFE219A** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mFFB1B49776648BCFAE14E56BCC852C171A2EED56_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m551F37D94BCD6465A842A30F21A34B055D1150EB(IIterator_1_t434D274362AD0E7DED4E226329536215034B75E0** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m551F37D94BCD6465A842A30F21A34B055D1150EB_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m88718ECE69AC144FE3F65AC0C64D13F46A794D5B(IIterator_1_t778CBEADF41F93C0FF6B5A7DCD14292A25473632** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m88718ECE69AC144FE3F65AC0C64D13F46A794D5B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m9924D94FBD36D64EAA125D29293C248AFC73E5E8(uint32_t ___index0, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_m9924D94FBD36D64EAA125D29293C248AFC73E5E8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mF7FEAA3100FAC4B557417C37DA14AEE180E542C6(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_mF7FEAA3100FAC4B557417C37DA14AEE180E542C6_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m6FA4D8A1C13D23137E4E2F4982CE4F385AE370BD(IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m6FA4D8A1C13D23137E4E2F4982CE4F385AE370BD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m5AEE14AEFEBBABB1CC1F5FCE81F23AC686A3014E(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m5AEE14AEFEBBABB1CC1F5FCE81F23AC686A3014E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mE92F40A15F7A4160BC73DC34BE2B952CCB6A6CC9(uint32_t ___index0, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mE92F40A15F7A4160BC73DC34BE2B952CCB6A6CC9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m6C9A5EB233BDD0D6840D71594DBEC7005E572679(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m6C9A5EB233BDD0D6840D71594DBEC7005E572679_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m624FC07BF1FB0CE5A3988E9DC8FE4F4DEFA7BB19(IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m624FC07BF1FB0CE5A3988E9DC8FE4F4DEFA7BB19_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_mA6B7C5129191F9FABD887800915DB7D141B7BA3D(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_mA6B7C5129191F9FABD887800915DB7D141B7BA3D_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mAB5FBF2E11782C3284709DBFA4DE5F15F3819B10(uint32_t ___index0, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mAB5FBF2E11782C3284709DBFA4DE5F15F3819B10_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mBB2E069A39C95E9B799DF56A687C3378593D6DE8(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_mBB2E069A39C95E9B799DF56A687C3378593D6DE8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mE04A0DB765A4541758E866B3039F1064401BE09B(IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_mE04A0DB765A4541758E866B3039F1064401BE09B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7A30B074D4DE286EDF193293E625DF60ECDBB23A(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7A30B074D4DE286EDF193293E625DF60ECDBB23A_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mB357BB83CB6340CB809ADAFDFA431CB37C718697(uint32_t ___index0, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mB357BB83CB6340CB809ADAFDFA431CB37C718697_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m05689B9A220C50D9559006C74CE62C86DA6732CE(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m05689B9A220C50D9559006C74CE62C86DA6732CE_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m3CDB294697B28005E10A9D0B3729E1D38921C7F7(IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m3CDB294697B28005E10A9D0B3729E1D38921C7F7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m84967CE072D59C901C844B77694FBCFFD89BA532(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m84967CE072D59C901C844B77694FBCFFD89BA532_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_List_1U5BU5D_t1BFA24A9302CE73F043EEFF97E8C6B37D4C5BFE7(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(List_1U5BU5D_t1BFA24A9302CE73F043EEFF97E8C6B37D4C5BFE7_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) List_1U5BU5D_t1BFA24A9302CE73F043EEFF97E8C6B37D4C5BFE7_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<UnityEngine.Renderer,System.Collections.Generic.List`1<UnityEngine.Material>>[]
struct KeyValuePair_2U5BU5D_t6BA07A264734C00DB92FF7890995EFF2C0A5D4CB_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t6BA07A264734C00DB92FF7890995EFF2C0A5D4CB_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t6BA07A264734C00DB92FF7890995EFF2C0A5D4CB_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t6BA07A264734C00DB92FF7890995EFF2C0A5D4CB_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t6BA07A264734C00DB92FF7890995EFF2C0A5D4CB(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t6BA07A264734C00DB92FF7890995EFF2C0A5D4CB_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t6BA07A264734C00DB92FF7890995EFF2C0A5D4CB_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.UI.VisualProfile[]
struct VisualProfileU5BU5D_tE3C4AA6D9CC6C402C4A5158121433A2EC364A114_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<VisualProfileU5BU5D_tE3C4AA6D9CC6C402C4A5158121433A2EC364A114_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline VisualProfileU5BU5D_tE3C4AA6D9CC6C402C4A5158121433A2EC364A114_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<VisualProfileU5BU5D_tE3C4AA6D9CC6C402C4A5158121433A2EC364A114_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_VisualProfileU5BU5D_tE3C4AA6D9CC6C402C4A5158121433A2EC364A114(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(VisualProfileU5BU5D_tE3C4AA6D9CC6C402C4A5158121433A2EC364A114_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) VisualProfileU5BU5D_tE3C4AA6D9CC6C402C4A5158121433A2EC364A114_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.HashSet`1_Slot<System.Int32>[]
struct SlotU5BU5D_t8257F5C54F6FB6F37D9C06F3E47AFF42700352BC_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<SlotU5BU5D_t8257F5C54F6FB6F37D9C06F3E47AFF42700352BC_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline SlotU5BU5D_t8257F5C54F6FB6F37D9C06F3E47AFF42700352BC_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<SlotU5BU5D_t8257F5C54F6FB6F37D9C06F3E47AFF42700352BC_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_SlotU5BU5D_t8257F5C54F6FB6F37D9C06F3E47AFF42700352BC(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(SlotU5BU5D_t8257F5C54F6FB6F37D9C06F3E47AFF42700352BC_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) SlotU5BU5D_t8257F5C54F6FB6F37D9C06F3E47AFF42700352BC_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.Type,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>[]
struct EntryU5BU5D_t00940937A9DB19AF39919845F47A12DF7C5E2309_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t00940937A9DB19AF39919845F47A12DF7C5E2309_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t00940937A9DB19AF39919845F47A12DF7C5E2309_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t00940937A9DB19AF39919845F47A12DF7C5E2309_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t00940937A9DB19AF39919845F47A12DF7C5E2309(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t00940937A9DB19AF39919845F47A12DF7C5E2309_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t00940937A9DB19AF39919845F47A12DF7C5E2309_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.Object,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>[]
struct EntryU5BU5D_t1B7D8350E1962640357EC234F4542A977DE48401_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t1B7D8350E1962640357EC234F4542A977DE48401_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t1B7D8350E1962640357EC234F4542A977DE48401_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t1B7D8350E1962640357EC234F4542A977DE48401_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t1B7D8350E1962640357EC234F4542A977DE48401(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t1B7D8350E1962640357EC234F4542A977DE48401_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t1B7D8350E1962640357EC234F4542A977DE48401_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.Object,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>[]
struct KeyValuePair_2U5BU5D_tE5E1E9D07A6C5610F445C154329D3113144E28EF_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tE5E1E9D07A6C5610F445C154329D3113144E28EF_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_tE5E1E9D07A6C5610F445C154329D3113144E28EF_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tE5E1E9D07A6C5610F445C154329D3113144E28EF_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_tE5E1E9D07A6C5610F445C154329D3113144E28EF(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_tE5E1E9D07A6C5610F445C154329D3113144E28EF_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_tE5E1E9D07A6C5610F445C154329D3113144E28EF_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.Type,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>[]
struct KeyValuePair_2U5BU5D_t3FE01CCEB59BA3ABE4162961C98505A2AFD5A996_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t3FE01CCEB59BA3ABE4162961C98505A2AFD5A996_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t3FE01CCEB59BA3ABE4162961C98505A2AFD5A996_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t3FE01CCEB59BA3ABE4162961C98505A2AFD5A996_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t3FE01CCEB59BA3ABE4162961C98505A2AFD5A996(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t3FE01CCEB59BA3ABE4162961C98505A2AFD5A996_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t3FE01CCEB59BA3ABE4162961C98505A2AFD5A996_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2<System.Type,Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>[]
struct Dictionary_2U5BU5D_t614CF5F73C21D4CA784BA68143DE3F1C30AFACD1_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<Dictionary_2U5BU5D_t614CF5F73C21D4CA784BA68143DE3F1C30AFACD1_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline Dictionary_2U5BU5D_t614CF5F73C21D4CA784BA68143DE3F1C30AFACD1_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<Dictionary_2U5BU5D_t614CF5F73C21D4CA784BA68143DE3F1C30AFACD1_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(6);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F::IID;
interfaceIds[2] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[3] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[4] = IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A::IID;
interfaceIds[5] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 6;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mFFB1B49776648BCFAE14E56BCC852C171A2EED56(IIterator_1_t62801DBDE6FD9C74727BB69771A29FE27EFE219A** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mFFB1B49776648BCFAE14E56BCC852C171A2EED56_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mE92F40A15F7A4160BC73DC34BE2B952CCB6A6CC9(uint32_t ___index0, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mE92F40A15F7A4160BC73DC34BE2B952CCB6A6CC9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m6C9A5EB233BDD0D6840D71594DBEC7005E572679(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m6C9A5EB233BDD0D6840D71594DBEC7005E572679_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m624FC07BF1FB0CE5A3988E9DC8FE4F4DEFA7BB19(IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m624FC07BF1FB0CE5A3988E9DC8FE4F4DEFA7BB19_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_mA6B7C5129191F9FABD887800915DB7D141B7BA3D(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_mA6B7C5129191F9FABD887800915DB7D141B7BA3D_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_Dictionary_2U5BU5D_t614CF5F73C21D4CA784BA68143DE3F1C30AFACD1(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(Dictionary_2U5BU5D_t614CF5F73C21D4CA784BA68143DE3F1C30AFACD1_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) Dictionary_2U5BU5D_t614CF5F73C21D4CA784BA68143DE3F1C30AFACD1_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty[]
struct ThemeStatePropertyU5BU5D_t1AD1DC116B45C585790150B639304E6F2BFF6148_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ThemeStatePropertyU5BU5D_t1AD1DC116B45C585790150B639304E6F2BFF6148_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline ThemeStatePropertyU5BU5D_t1AD1DC116B45C585790150B639304E6F2BFF6148_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ThemeStatePropertyU5BU5D_t1AD1DC116B45C585790150B639304E6F2BFF6148_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ThemeStatePropertyU5BU5D_t1AD1DC116B45C585790150B639304E6F2BFF6148(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(ThemeStatePropertyU5BU5D_t1AD1DC116B45C585790150B639304E6F2BFF6148_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ThemeStatePropertyU5BU5D_t1AD1DC116B45C585790150B639304E6F2BFF6148_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue[]
struct ThemePropertyValueU5BU5D_tB0E5CA0D181DEB5763AFCD0697F10692A508CD35_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ThemePropertyValueU5BU5D_tB0E5CA0D181DEB5763AFCD0697F10692A508CD35_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline ThemePropertyValueU5BU5D_tB0E5CA0D181DEB5763AFCD0697F10692A508CD35_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ThemePropertyValueU5BU5D_tB0E5CA0D181DEB5763AFCD0697F10692A508CD35_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ThemePropertyValueU5BU5D_tB0E5CA0D181DEB5763AFCD0697F10692A508CD35(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(ThemePropertyValueU5BU5D_tB0E5CA0D181DEB5763AFCD0697F10692A508CD35_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ThemePropertyValueU5BU5D_tB0E5CA0D181DEB5763AFCD0697F10692A508CD35_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.UI.ThemeProperty[]
struct ThemePropertyU5BU5D_t9682B88F7092F771801A047887AE221E152E66DE_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ThemePropertyU5BU5D_t9682B88F7092F771801A047887AE221E152E66DE_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline ThemePropertyU5BU5D_t9682B88F7092F771801A047887AE221E152E66DE_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ThemePropertyU5BU5D_t9682B88F7092F771801A047887AE221E152E66DE_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ThemePropertyU5BU5D_t9682B88F7092F771801A047887AE221E152E66DE(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(ThemePropertyU5BU5D_t9682B88F7092F771801A047887AE221E152E66DE_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ThemePropertyU5BU5D_t9682B88F7092F771801A047887AE221E152E66DE_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.UI.ThemePropertyTypes[]
struct ThemePropertyTypesU5BU5D_t16689DB5618DD7FA72BCADDA3B90A520898026FA_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ThemePropertyTypesU5BU5D_t16689DB5618DD7FA72BCADDA3B90A520898026FA_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline ThemePropertyTypesU5BU5D_t16689DB5618DD7FA72BCADDA3B90A520898026FA_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ThemePropertyTypesU5BU5D_t16689DB5618DD7FA72BCADDA3B90A520898026FA_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ThemePropertyTypesU5BU5D_t16689DB5618DD7FA72BCADDA3B90A520898026FA(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(ThemePropertyTypesU5BU5D_t16689DB5618DD7FA72BCADDA3B90A520898026FA_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ThemePropertyTypesU5BU5D_t16689DB5618DD7FA72BCADDA3B90A520898026FA_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.UI.ShaderProperties[]
struct ShaderPropertiesU5BU5D_tAAEFBFF146C00AE2BFA0509E9CE1FDF39A0B54CF_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ShaderPropertiesU5BU5D_tAAEFBFF146C00AE2BFA0509E9CE1FDF39A0B54CF_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline ShaderPropertiesU5BU5D_tAAEFBFF146C00AE2BFA0509E9CE1FDF39A0B54CF_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ShaderPropertiesU5BU5D_tAAEFBFF146C00AE2BFA0509E9CE1FDF39A0B54CF_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ShaderPropertiesU5BU5D_tAAEFBFF146C00AE2BFA0509E9CE1FDF39A0B54CF(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(ShaderPropertiesU5BU5D_tAAEFBFF146C00AE2BFA0509E9CE1FDF39A0B54CF_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ShaderPropertiesU5BU5D_tAAEFBFF146C00AE2BFA0509E9CE1FDF39A0B54CF_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.UI.InteractableColorChildrenTheme_BlocksAndRenderer[]
struct BlocksAndRendererU5BU5D_t812C04E355F9A57B0785531D13AA5D66F86A3DCD_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<BlocksAndRendererU5BU5D_t812C04E355F9A57B0785531D13AA5D66F86A3DCD_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline BlocksAndRendererU5BU5D_t812C04E355F9A57B0785531D13AA5D66F86A3DCD_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<BlocksAndRendererU5BU5D_t812C04E355F9A57B0785531D13AA5D66F86A3DCD_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_BlocksAndRendererU5BU5D_t812C04E355F9A57B0785531D13AA5D66F86A3DCD(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(BlocksAndRendererU5BU5D_t812C04E355F9A57B0785531D13AA5D66F86A3DCD_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) BlocksAndRendererU5BU5D_t812C04E355F9A57B0785531D13AA5D66F86A3DCD_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.Audio.IAudioInfluencer[]
struct IAudioInfluencerU5BU5D_t5D216D282C52209984D77E7F8C7FCA1D53F95296_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<IAudioInfluencerU5BU5D_t5D216D282C52209984D77E7F8C7FCA1D53F95296_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline IAudioInfluencerU5BU5D_t5D216D282C52209984D77E7F8C7FCA1D53F95296_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<IAudioInfluencerU5BU5D_t5D216D282C52209984D77E7F8C7FCA1D53F95296_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_IAudioInfluencerU5BU5D_t5D216D282C52209984D77E7F8C7FCA1D53F95296(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(IAudioInfluencerU5BU5D_t5D216D282C52209984D77E7F8C7FCA1D53F95296_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) IAudioInfluencerU5BU5D_t5D216D282C52209984D77E7F8C7FCA1D53F95296_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.Int32Enum,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings>[]
struct KeyValuePair_2U5BU5D_tB0C972A722371CD51998A44DF852B606C9D0E9D7_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tB0C972A722371CD51998A44DF852B606C9D0E9D7_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_tB0C972A722371CD51998A44DF852B606C9D0E9D7_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tB0C972A722371CD51998A44DF852B606C9D0E9D7_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_tB0C972A722371CD51998A44DF852B606C9D0E9D7(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_tB0C972A722371CD51998A44DF852B606C9D0E9D7_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_tB0C972A722371CD51998A44DF852B606C9D0E9D7_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings[]
struct AudioLoFiFilterSettingsU5BU5D_t296B240BBF523DBEEBECBB919B72114D01806F6D_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<AudioLoFiFilterSettingsU5BU5D_t296B240BBF523DBEEBECBB919B72114D01806F6D_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline AudioLoFiFilterSettingsU5BU5D_t296B240BBF523DBEEBECBB919B72114D01806F6D_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<AudioLoFiFilterSettingsU5BU5D_t296B240BBF523DBEEBECBB919B72114D01806F6D_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_AudioLoFiFilterSettingsU5BU5D_t296B240BBF523DBEEBECBB919B72114D01806F6D(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(AudioLoFiFilterSettingsU5BU5D_t296B240BBF523DBEEBECBB919B72114D01806F6D_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) AudioLoFiFilterSettingsU5BU5D_t296B240BBF523DBEEBECBB919B72114D01806F6D_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.Int32Enum,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings>[]
struct EntryU5BU5D_tFFD47DBCCC476B87BD817FA74AFDE584F0541EAC_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_tFFD47DBCCC476B87BD817FA74AFDE584F0541EAC_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_tFFD47DBCCC476B87BD817FA74AFDE584F0541EAC_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_tFFD47DBCCC476B87BD817FA74AFDE584F0541EAC_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_tFFD47DBCCC476B87BD817FA74AFDE584F0541EAC(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_tFFD47DBCCC476B87BD817FA74AFDE584F0541EAC_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_tFFD47DBCCC476B87BD817FA74AFDE584F0541EAC_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<Microsoft.MixedReality.Toolkit.Audio.AudioLoFiSourceQuality,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings>[]
struct EntryU5BU5D_tB23D6D155DBB06E7A1555A7DD22B90654920DE48_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_tB23D6D155DBB06E7A1555A7DD22B90654920DE48_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_tB23D6D155DBB06E7A1555A7DD22B90654920DE48_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_tB23D6D155DBB06E7A1555A7DD22B90654920DE48_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_tB23D6D155DBB06E7A1555A7DD22B90654920DE48(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_tB23D6D155DBB06E7A1555A7DD22B90654920DE48_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_tB23D6D155DBB06E7A1555A7DD22B90654920DE48_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.Audio.AudioLoFiSourceQuality[]
struct AudioLoFiSourceQualityU5BU5D_t36638F1FB4226DE88EA337E0CCB3FEEAEB671668_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<AudioLoFiSourceQualityU5BU5D_t36638F1FB4226DE88EA337E0CCB3FEEAEB671668_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline AudioLoFiSourceQualityU5BU5D_t36638F1FB4226DE88EA337E0CCB3FEEAEB671668_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<AudioLoFiSourceQualityU5BU5D_t36638F1FB4226DE88EA337E0CCB3FEEAEB671668_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_AudioLoFiSourceQualityU5BU5D_t36638F1FB4226DE88EA337E0CCB3FEEAEB671668(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(AudioLoFiSourceQualityU5BU5D_t36638F1FB4226DE88EA337E0CCB3FEEAEB671668_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) AudioLoFiSourceQualityU5BU5D_t36638F1FB4226DE88EA337E0CCB3FEEAEB671668_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<Microsoft.MixedReality.Toolkit.Audio.AudioLoFiSourceQuality,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect_AudioLoFiFilterSettings>[]
struct KeyValuePair_2U5BU5D_tD9C4234C007D9E8A95C32892B105266257B39CF8_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tD9C4234C007D9E8A95C32892B105266257B39CF8_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_tD9C4234C007D9E8A95C32892B105266257B39CF8_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tD9C4234C007D9E8A95C32892B105266257B39CF8_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_tD9C4234C007D9E8A95C32892B105266257B39CF8(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_tD9C4234C007D9E8A95C32892B105266257B39CF8_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_tD9C4234C007D9E8A95C32892B105266257B39CF8_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.Experimental.Utilities.WorldAnchorManager_AnchorAttachmentInfo[]
struct AnchorAttachmentInfoU5BU5D_tD836DA909036886A736DF66AC3ECDF300F30BFD5_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<AnchorAttachmentInfoU5BU5D_tD836DA909036886A736DF66AC3ECDF300F30BFD5_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline AnchorAttachmentInfoU5BU5D_tD836DA909036886A736DF66AC3ECDF300F30BFD5_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<AnchorAttachmentInfoU5BU5D_tD836DA909036886A736DF66AC3ECDF300F30BFD5_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_AnchorAttachmentInfoU5BU5D_tD836DA909036886A736DF66AC3ECDF300F30BFD5(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(AnchorAttachmentInfoU5BU5D_tD836DA909036886A736DF66AC3ECDF300F30BFD5_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) AnchorAttachmentInfoU5BU5D_tD836DA909036886A736DF66AC3ECDF300F30BFD5_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.String,UnityEngine.GameObject>[]
struct EntryU5BU5D_t4590BCC86121A7055EB896A780DD209FB2FCAC23_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t4590BCC86121A7055EB896A780DD209FB2FCAC23_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t4590BCC86121A7055EB896A780DD209FB2FCAC23_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t4590BCC86121A7055EB896A780DD209FB2FCAC23_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t4590BCC86121A7055EB896A780DD209FB2FCAC23(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t4590BCC86121A7055EB896A780DD209FB2FCAC23_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t4590BCC86121A7055EB896A780DD209FB2FCAC23_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.String,UnityEngine.GameObject>[]
struct KeyValuePair_2U5BU5D_tFA1678034F22D9C8058267B9F7F9667CF0BFD291_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tFA1678034F22D9C8058267B9F7F9667CF0BFD291_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_tFA1678034F22D9C8058267B9F7F9667CF0BFD291_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tFA1678034F22D9C8058267B9F7F9667CF0BFD291_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_tFA1678034F22D9C8058267B9F7F9667CF0BFD291(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_tFA1678034F22D9C8058267B9F7F9667CF0BFD291_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_tFA1678034F22D9C8058267B9F7F9667CF0BFD291_ComCallableWrapper(obj));
}
// COM Callable Wrapper for UnityEngine.XR.WSA.WorldAnchor[]
struct WorldAnchorU5BU5D_t8FF7D9A45565A11A23D48201681989EF6B4199FB_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<WorldAnchorU5BU5D_t8FF7D9A45565A11A23D48201681989EF6B4199FB_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline WorldAnchorU5BU5D_t8FF7D9A45565A11A23D48201681989EF6B4199FB_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<WorldAnchorU5BU5D_t8FF7D9A45565A11A23D48201681989EF6B4199FB_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_WorldAnchorU5BU5D_t8FF7D9A45565A11A23D48201681989EF6B4199FB(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(WorldAnchorU5BU5D_t8FF7D9A45565A11A23D48201681989EF6B4199FB_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) WorldAnchorU5BU5D_t8FF7D9A45565A11A23D48201681989EF6B4199FB_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.UInt32,Microsoft.MixedReality.Toolkit.Experimental.UI.ObjectManipulator_PointerData>[]
struct KeyValuePair_2U5BU5D_tE68544F1E298BF15D57D570BAE96E594768F585C_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tE68544F1E298BF15D57D570BAE96E594768F585C_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_tE68544F1E298BF15D57D570BAE96E594768F585C_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tE68544F1E298BF15D57D570BAE96E594768F585C_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_tE68544F1E298BF15D57D570BAE96E594768F585C(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_tE68544F1E298BF15D57D570BAE96E594768F585C_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_tE68544F1E298BF15D57D570BAE96E594768F585C_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.Experimental.UI.ObjectManipulator_PointerData[]
struct PointerDataU5BU5D_t965CB51FE7B769771D184D61154BD5E023907085_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<PointerDataU5BU5D_t965CB51FE7B769771D184D61154BD5E023907085_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline PointerDataU5BU5D_t965CB51FE7B769771D184D61154BD5E023907085_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<PointerDataU5BU5D_t965CB51FE7B769771D184D61154BD5E023907085_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_PointerDataU5BU5D_t965CB51FE7B769771D184D61154BD5E023907085(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(PointerDataU5BU5D_t965CB51FE7B769771D184D61154BD5E023907085_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) PointerDataU5BU5D_t965CB51FE7B769771D184D61154BD5E023907085_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.UInt32,Microsoft.MixedReality.Toolkit.Experimental.UI.ObjectManipulator_PointerData>[]
struct EntryU5BU5D_t42A95599FA0769D1BECAF9BD66099251F0D8CDCE_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t42A95599FA0769D1BECAF9BD66099251F0D8CDCE_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t42A95599FA0769D1BECAF9BD66099251F0D8CDCE_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t42A95599FA0769D1BECAF9BD66099251F0D8CDCE_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t42A95599FA0769D1BECAF9BD66099251F0D8CDCE(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t42A95599FA0769D1BECAF9BD66099251F0D8CDCE_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t42A95599FA0769D1BECAF9BD66099251F0D8CDCE_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.Links_Link[]
struct LinkU5BU5D_t38D7A38AB06C6530A388A101FAA6C866CCDB6B9E_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<LinkU5BU5D_t38D7A38AB06C6530A388A101FAA6C866CCDB6B9E_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline LinkU5BU5D_t38D7A38AB06C6530A388A101FAA6C866CCDB6B9E_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<LinkU5BU5D_t38D7A38AB06C6530A388A101FAA6C866CCDB6B9E_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_LinkU5BU5D_t38D7A38AB06C6530A388A101FAA6C866CCDB6B9E(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(LinkU5BU5D_t38D7A38AB06C6530A388A101FAA6C866CCDB6B9E_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) LinkU5BU5D_t38D7A38AB06C6530A388A101FAA6C866CCDB6B9E_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect_RegisteredObjects[]
struct RegisteredObjectsU5BU5D_tFBDC5B531918CD29D0103A7A297570B77B47E30E_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<RegisteredObjectsU5BU5D_tFBDC5B531918CD29D0103A7A297570B77B47E30E_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline RegisteredObjectsU5BU5D_tFBDC5B531918CD29D0103A7A297570B77B47E30E_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<RegisteredObjectsU5BU5D_tFBDC5B531918CD29D0103A7A297570B77B47E30E_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_RegisteredObjectsU5BU5D_tFBDC5B531918CD29D0103A7A297570B77B47E30E(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(RegisteredObjectsU5BU5D_tFBDC5B531918CD29D0103A7A297570B77B47E30E_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) RegisteredObjectsU5BU5D_tFBDC5B531918CD29D0103A7A297570B77B47E30E_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControl.ProximityEffect_ObjectProximityInfo[]
struct ObjectProximityInfoU5BU5D_t68176C877825D6703362DDF6DAA24A4CB7B21200_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ObjectProximityInfoU5BU5D_t68176C877825D6703362DDF6DAA24A4CB7B21200_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline ObjectProximityInfoU5BU5D_t68176C877825D6703362DDF6DAA24A4CB7B21200_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ObjectProximityInfoU5BU5D_t68176C877825D6703362DDF6DAA24A4CB7B21200_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ObjectProximityInfoU5BU5D_t68176C877825D6703362DDF6DAA24A4CB7B21200(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(ObjectProximityInfoU5BU5D_t68176C877825D6703362DDF6DAA24A4CB7B21200_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ObjectProximityInfoU5BU5D_t68176C877825D6703362DDF6DAA24A4CB7B21200_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.Experimental.UI.BoundsControlTypes.CardinalAxisType[]
struct CardinalAxisTypeU5BU5D_t1FAD6175FFFB7E48C3E93952DF7DD10620B37DBA_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<CardinalAxisTypeU5BU5D_t1FAD6175FFFB7E48C3E93952DF7DD10620B37DBA_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline CardinalAxisTypeU5BU5D_t1FAD6175FFFB7E48C3E93952DF7DD10620B37DBA_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<CardinalAxisTypeU5BU5D_t1FAD6175FFFB7E48C3E93952DF7DD10620B37DBA_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_CardinalAxisTypeU5BU5D_t1FAD6175FFFB7E48C3E93952DF7DD10620B37DBA(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(CardinalAxisTypeU5BU5D_t1FAD6175FFFB7E48C3E93952DF7DD10620B37DBA_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) CardinalAxisTypeU5BU5D_t1FAD6175FFFB7E48C3E93952DF7DD10620B37DBA_ComCallableWrapper(obj));
}
// COM Callable Wrapper for RestSharp.HttpParameter[]
struct HttpParameterU5BU5D_tB9B26584F9A58F2A916F74A4AAE06CA8FA82BD46_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<HttpParameterU5BU5D_tB9B26584F9A58F2A916F74A4AAE06CA8FA82BD46_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline HttpParameterU5BU5D_tB9B26584F9A58F2A916F74A4AAE06CA8FA82BD46_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<HttpParameterU5BU5D_tB9B26584F9A58F2A916F74A4AAE06CA8FA82BD46_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_HttpParameterU5BU5D_tB9B26584F9A58F2A916F74A4AAE06CA8FA82BD46(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(HttpParameterU5BU5D_tB9B26584F9A58F2A916F74A4AAE06CA8FA82BD46_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) HttpParameterU5BU5D_tB9B26584F9A58F2A916F74A4AAE06CA8FA82BD46_ComCallableWrapper(obj));
}
// COM Callable Wrapper for RestSharp.HttpFile[]
struct HttpFileU5BU5D_tBE406816C42B3E8BDEE6A65F64C9E9355DD06B7B_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<HttpFileU5BU5D_tBE406816C42B3E8BDEE6A65F64C9E9355DD06B7B_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline HttpFileU5BU5D_tBE406816C42B3E8BDEE6A65F64C9E9355DD06B7B_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<HttpFileU5BU5D_tBE406816C42B3E8BDEE6A65F64C9E9355DD06B7B_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_HttpFileU5BU5D_tBE406816C42B3E8BDEE6A65F64C9E9355DD06B7B(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(HttpFileU5BU5D_tBE406816C42B3E8BDEE6A65F64C9E9355DD06B7B_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) HttpFileU5BU5D_tBE406816C42B3E8BDEE6A65F64C9E9355DD06B7B_ComCallableWrapper(obj));
}
// COM Callable Wrapper for RestSharp.HttpHeader[]
struct HttpHeaderU5BU5D_t793A52AA0729C05956FA44C20078BA002F91CFC2_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<HttpHeaderU5BU5D_t793A52AA0729C05956FA44C20078BA002F91CFC2_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline HttpHeaderU5BU5D_t793A52AA0729C05956FA44C20078BA002F91CFC2_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<HttpHeaderU5BU5D_t793A52AA0729C05956FA44C20078BA002F91CFC2_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_HttpHeaderU5BU5D_t793A52AA0729C05956FA44C20078BA002F91CFC2(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(HttpHeaderU5BU5D_t793A52AA0729C05956FA44C20078BA002F91CFC2_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) HttpHeaderU5BU5D_t793A52AA0729C05956FA44C20078BA002F91CFC2_ComCallableWrapper(obj));
}
// COM Callable Wrapper for RestSharp.HttpCookie[]
struct HttpCookieU5BU5D_t4FB7E149B0828C4B5759D72D33813A4235BE3735_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<HttpCookieU5BU5D_t4FB7E149B0828C4B5759D72D33813A4235BE3735_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline HttpCookieU5BU5D_t4FB7E149B0828C4B5759D72D33813A4235BE3735_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<HttpCookieU5BU5D_t4FB7E149B0828C4B5759D72D33813A4235BE3735_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_HttpCookieU5BU5D_t4FB7E149B0828C4B5759D72D33813A4235BE3735(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(HttpCookieU5BU5D_t4FB7E149B0828C4B5759D72D33813A4235BE3735_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) HttpCookieU5BU5D_t4FB7E149B0828C4B5759D72D33813A4235BE3735_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Net.DecompressionMethods[]
struct DecompressionMethodsU5BU5D_tACC227FA2103DF1BAD69FE66F1084C3CE6B870B3_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<DecompressionMethodsU5BU5D_tACC227FA2103DF1BAD69FE66F1084C3CE6B870B3_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline DecompressionMethodsU5BU5D_tACC227FA2103DF1BAD69FE66F1084C3CE6B870B3_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<DecompressionMethodsU5BU5D_tACC227FA2103DF1BAD69FE66F1084C3CE6B870B3_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_DecompressionMethodsU5BU5D_tACC227FA2103DF1BAD69FE66F1084C3CE6B870B3(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(DecompressionMethodsU5BU5D_tACC227FA2103DF1BAD69FE66F1084C3CE6B870B3_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) DecompressionMethodsU5BU5D_tACC227FA2103DF1BAD69FE66F1084C3CE6B870B3_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.String,System.Action`2<System.Net.HttpWebRequest,System.String>>[]
struct KeyValuePair_2U5BU5D_t358A34EDFED4EA7E6CF7F7BF89DC69077B860367_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t358A34EDFED4EA7E6CF7F7BF89DC69077B860367_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t358A34EDFED4EA7E6CF7F7BF89DC69077B860367_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t358A34EDFED4EA7E6CF7F7BF89DC69077B860367_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t358A34EDFED4EA7E6CF7F7BF89DC69077B860367(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t358A34EDFED4EA7E6CF7F7BF89DC69077B860367_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t358A34EDFED4EA7E6CF7F7BF89DC69077B860367_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Action`2<System.Net.HttpWebRequest,System.String>[]
struct Action_2U5BU5D_tB0F1C376BF96B2E39ACA065A7DCDB8FEAB227720_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<Action_2U5BU5D_tB0F1C376BF96B2E39ACA065A7DCDB8FEAB227720_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline Action_2U5BU5D_tB0F1C376BF96B2E39ACA065A7DCDB8FEAB227720_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<Action_2U5BU5D_tB0F1C376BF96B2E39ACA065A7DCDB8FEAB227720_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_Action_2U5BU5D_tB0F1C376BF96B2E39ACA065A7DCDB8FEAB227720(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(Action_2U5BU5D_tB0F1C376BF96B2E39ACA065A7DCDB8FEAB227720_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) Action_2U5BU5D_tB0F1C376BF96B2E39ACA065A7DCDB8FEAB227720_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.String,System.Action`2<System.Net.HttpWebRequest,System.String>>[]
struct EntryU5BU5D_t8FDBC8790478EEFFC45EDAD53049EF6605CEAAC8_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t8FDBC8790478EEFFC45EDAD53049EF6605CEAAC8_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t8FDBC8790478EEFFC45EDAD53049EF6605CEAAC8_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t8FDBC8790478EEFFC45EDAD53049EF6605CEAAC8_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t8FDBC8790478EEFFC45EDAD53049EF6605CEAAC8(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t8FDBC8790478EEFFC45EDAD53049EF6605CEAAC8_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t8FDBC8790478EEFFC45EDAD53049EF6605CEAAC8_ComCallableWrapper(obj));
}
// COM Callable Wrapper for RestSharp.Parameter[]
struct ParameterU5BU5D_t5CB65A80694DEA0DECD3DDC7DAD18EE94DC97AEA_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ParameterU5BU5D_t5CB65A80694DEA0DECD3DDC7DAD18EE94DC97AEA_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline ParameterU5BU5D_t5CB65A80694DEA0DECD3DDC7DAD18EE94DC97AEA_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ParameterU5BU5D_t5CB65A80694DEA0DECD3DDC7DAD18EE94DC97AEA_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ParameterU5BU5D_t5CB65A80694DEA0DECD3DDC7DAD18EE94DC97AEA(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(ParameterU5BU5D_t5CB65A80694DEA0DECD3DDC7DAD18EE94DC97AEA_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ParameterU5BU5D_t5CB65A80694DEA0DECD3DDC7DAD18EE94DC97AEA_ComCallableWrapper(obj));
}
// COM Callable Wrapper for RestSharp.FileParameter[]
struct FileParameterU5BU5D_t620E3A87AB95A85FADE739791FE91B90F708BBF4_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<FileParameterU5BU5D_t620E3A87AB95A85FADE739791FE91B90F708BBF4_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline FileParameterU5BU5D_t620E3A87AB95A85FADE739791FE91B90F708BBF4_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<FileParameterU5BU5D_t620E3A87AB95A85FADE739791FE91B90F708BBF4_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_FileParameterU5BU5D_t620E3A87AB95A85FADE739791FE91B90F708BBF4(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(FileParameterU5BU5D_t620E3A87AB95A85FADE739791FE91B90F708BBF4_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) FileParameterU5BU5D_t620E3A87AB95A85FADE739791FE91B90F708BBF4_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.String,System.Func`1<RestSharp.Deserializers.IDeserializer>>[]
struct KeyValuePair_2U5BU5D_t7AA65A9F1F3CD2C538970F1BF2168AA5EC7B5E14_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t7AA65A9F1F3CD2C538970F1BF2168AA5EC7B5E14_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t7AA65A9F1F3CD2C538970F1BF2168AA5EC7B5E14_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t7AA65A9F1F3CD2C538970F1BF2168AA5EC7B5E14_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t7AA65A9F1F3CD2C538970F1BF2168AA5EC7B5E14(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t7AA65A9F1F3CD2C538970F1BF2168AA5EC7B5E14_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t7AA65A9F1F3CD2C538970F1BF2168AA5EC7B5E14_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Func`1<RestSharp.Deserializers.IDeserializer>[]
struct Func_1U5BU5D_tA89672D7353BB49176A6016672CF6B37B5C03E32_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<Func_1U5BU5D_tA89672D7353BB49176A6016672CF6B37B5C03E32_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline Func_1U5BU5D_tA89672D7353BB49176A6016672CF6B37B5C03E32_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<Func_1U5BU5D_tA89672D7353BB49176A6016672CF6B37B5C03E32_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_Func_1U5BU5D_tA89672D7353BB49176A6016672CF6B37B5C03E32(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(Func_1U5BU5D_tA89672D7353BB49176A6016672CF6B37B5C03E32_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) Func_1U5BU5D_tA89672D7353BB49176A6016672CF6B37B5C03E32_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<RestSharp.DataFormat,RestSharp.Serialization.IRestSerializer>[]
struct KeyValuePair_2U5BU5D_t409864770A8E3F491BD74D29733C0608464B34F3_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t409864770A8E3F491BD74D29733C0608464B34F3_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t409864770A8E3F491BD74D29733C0608464B34F3_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t409864770A8E3F491BD74D29733C0608464B34F3_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t409864770A8E3F491BD74D29733C0608464B34F3(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t409864770A8E3F491BD74D29733C0608464B34F3_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t409864770A8E3F491BD74D29733C0608464B34F3_ComCallableWrapper(obj));
}
// COM Callable Wrapper for RestSharp.DataFormat[]
struct DataFormatU5BU5D_tCE6E48D23BC39B7CCDD79711A01CD9F55DA223BA_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<DataFormatU5BU5D_tCE6E48D23BC39B7CCDD79711A01CD9F55DA223BA_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline DataFormatU5BU5D_tCE6E48D23BC39B7CCDD79711A01CD9F55DA223BA_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<DataFormatU5BU5D_tCE6E48D23BC39B7CCDD79711A01CD9F55DA223BA_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_DataFormatU5BU5D_tCE6E48D23BC39B7CCDD79711A01CD9F55DA223BA(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(DataFormatU5BU5D_tCE6E48D23BC39B7CCDD79711A01CD9F55DA223BA_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) DataFormatU5BU5D_tCE6E48D23BC39B7CCDD79711A01CD9F55DA223BA_ComCallableWrapper(obj));
}
// COM Callable Wrapper for RestSharp.Serialization.IRestSerializer[]
struct IRestSerializerU5BU5D_t34399AFDE05514E7262E2C5CE2FA47FB3071871E_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<IRestSerializerU5BU5D_t34399AFDE05514E7262E2C5CE2FA47FB3071871E_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline IRestSerializerU5BU5D_t34399AFDE05514E7262E2C5CE2FA47FB3071871E_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<IRestSerializerU5BU5D_t34399AFDE05514E7262E2C5CE2FA47FB3071871E_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_IRestSerializerU5BU5D_t34399AFDE05514E7262E2C5CE2FA47FB3071871E(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(IRestSerializerU5BU5D_t34399AFDE05514E7262E2C5CE2FA47FB3071871E_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) IRestSerializerU5BU5D_t34399AFDE05514E7262E2C5CE2FA47FB3071871E_ComCallableWrapper(obj));
}
// COM Callable Wrapper for RestSharp.Serializers.ISerializer[]
struct ISerializerU5BU5D_t820E4DF2F68A33DC79B4E76EB1D5B9B4C95376A6_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ISerializerU5BU5D_t820E4DF2F68A33DC79B4E76EB1D5B9B4C95376A6_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline ISerializerU5BU5D_t820E4DF2F68A33DC79B4E76EB1D5B9B4C95376A6_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ISerializerU5BU5D_t820E4DF2F68A33DC79B4E76EB1D5B9B4C95376A6_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ISerializerU5BU5D_t820E4DF2F68A33DC79B4E76EB1D5B9B4C95376A6(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(ISerializerU5BU5D_t820E4DF2F68A33DC79B4E76EB1D5B9B4C95376A6_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ISerializerU5BU5D_t820E4DF2F68A33DC79B4E76EB1D5B9B4C95376A6_ComCallableWrapper(obj));
}
// COM Callable Wrapper for RestSharp.Deserializers.IDeserializer[]
struct IDeserializerU5BU5D_tAF371A0D6E122A353191A285A39648EAE735C5AC_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<IDeserializerU5BU5D_tAF371A0D6E122A353191A285A39648EAE735C5AC_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline IDeserializerU5BU5D_tAF371A0D6E122A353191A285A39648EAE735C5AC_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<IDeserializerU5BU5D_tAF371A0D6E122A353191A285A39648EAE735C5AC_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_IDeserializerU5BU5D_tAF371A0D6E122A353191A285A39648EAE735C5AC(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(IDeserializerU5BU5D_tAF371A0D6E122A353191A285A39648EAE735C5AC_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) IDeserializerU5BU5D_tAF371A0D6E122A353191A285A39648EAE735C5AC_ComCallableWrapper(obj));
}
// COM Callable Wrapper for RestSharp.ParameterType[]
struct ParameterTypeU5BU5D_t8A5D23BDD5046CD7A65A782E87DACF25B8B61CD3_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ParameterTypeU5BU5D_t8A5D23BDD5046CD7A65A782E87DACF25B8B61CD3_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline ParameterTypeU5BU5D_t8A5D23BDD5046CD7A65A782E87DACF25B8B61CD3_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ParameterTypeU5BU5D_t8A5D23BDD5046CD7A65A782E87DACF25B8B61CD3_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ParameterTypeU5BU5D_t8A5D23BDD5046CD7A65A782E87DACF25B8B61CD3(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(ParameterTypeU5BU5D_t8A5D23BDD5046CD7A65A782E87DACF25B8B61CD3_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ParameterTypeU5BU5D_t8A5D23BDD5046CD7A65A782E87DACF25B8B61CD3_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.String,System.Func`1<RestSharp.Deserializers.IDeserializer>>[]
struct EntryU5BU5D_t7CBC2FAE0BEDEEBC99E361833F311A82CBBA983C_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t7CBC2FAE0BEDEEBC99E361833F311A82CBBA983C_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t7CBC2FAE0BEDEEBC99E361833F311A82CBBA983C_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t7CBC2FAE0BEDEEBC99E361833F311A82CBBA983C_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t7CBC2FAE0BEDEEBC99E361833F311A82CBBA983C(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t7CBC2FAE0BEDEEBC99E361833F311A82CBBA983C_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t7CBC2FAE0BEDEEBC99E361833F311A82CBBA983C_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<RestSharp.DataFormat,RestSharp.Serialization.IRestSerializer>[]
struct EntryU5BU5D_tD9721CF72ABC340F8DC18C7A4D7673B70FAC18CA_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_tD9721CF72ABC340F8DC18C7A4D7673B70FAC18CA_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_tD9721CF72ABC340F8DC18C7A4D7673B70FAC18CA_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_tD9721CF72ABC340F8DC18C7A4D7673B70FAC18CA_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_tD9721CF72ABC340F8DC18C7A4D7673B70FAC18CA(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_tD9721CF72ABC340F8DC18C7A4D7673B70FAC18CA_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_tD9721CF72ABC340F8DC18C7A4D7673B70FAC18CA_ComCallableWrapper(obj));
}
// COM Callable Wrapper for RestSharp.RestResponseCookie[]
struct RestResponseCookieU5BU5D_t975B18079ECAA956909AD97DBE4980CBA2A9761C_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<RestResponseCookieU5BU5D_t975B18079ECAA956909AD97DBE4980CBA2A9761C_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline RestResponseCookieU5BU5D_t975B18079ECAA956909AD97DBE4980CBA2A9761C_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<RestResponseCookieU5BU5D_t975B18079ECAA956909AD97DBE4980CBA2A9761C_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_RestResponseCookieU5BU5D_t975B18079ECAA956909AD97DBE4980CBA2A9761C(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(RestResponseCookieU5BU5D_t975B18079ECAA956909AD97DBE4980CBA2A9761C_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) RestResponseCookieU5BU5D_t975B18079ECAA956909AD97DBE4980CBA2A9761C_ComCallableWrapper(obj));
}
// COM Callable Wrapper for RestSharp.NameValuePair[]
struct NameValuePairU5BU5D_tB2F4E4A5A1C2C9DD52ADD3484FD89E7EE871D2CD_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<NameValuePairU5BU5D_tB2F4E4A5A1C2C9DD52ADD3484FD89E7EE871D2CD_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline NameValuePairU5BU5D_tB2F4E4A5A1C2C9DD52ADD3484FD89E7EE871D2CD_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<NameValuePairU5BU5D_tB2F4E4A5A1C2C9DD52ADD3484FD89E7EE871D2CD_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_NameValuePairU5BU5D_tB2F4E4A5A1C2C9DD52ADD3484FD89E7EE871D2CD(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(NameValuePairU5BU5D_tB2F4E4A5A1C2C9DD52ADD3484FD89E7EE871D2CD_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) NameValuePairU5BU5D_tB2F4E4A5A1C2C9DD52ADD3484FD89E7EE871D2CD_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<RestSharp.DataFormat,System.String>[]
struct EntryU5BU5D_t1E67ED72E2980618FB43FED6D72E46D46D80E624_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t1E67ED72E2980618FB43FED6D72E46D46D80E624_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t1E67ED72E2980618FB43FED6D72E46D46D80E624_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t1E67ED72E2980618FB43FED6D72E46D46D80E624_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t1E67ED72E2980618FB43FED6D72E46D46D80E624(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t1E67ED72E2980618FB43FED6D72E46D46D80E624_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t1E67ED72E2980618FB43FED6D72E46D46D80E624_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<RestSharp.DataFormat,System.String>[]
struct KeyValuePair_2U5BU5D_t7E6FB70F15D5B37451C66C662276923E10A4BCB4_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t7E6FB70F15D5B37451C66C662276923E10A4BCB4_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t7E6FB70F15D5B37451C66C662276923E10A4BCB4_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t7E6FB70F15D5B37451C66C662276923E10A4BCB4_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t7E6FB70F15D5B37451C66C662276923E10A4BCB4(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t7E6FB70F15D5B37451C66C662276923E10A4BCB4_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t7E6FB70F15D5B37451C66C662276923E10A4BCB4_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_ConstructorDelegate>[]
struct KeyValuePair_2U5BU5D_t1588B3BCE6FA2027631A48EDC5BD10A9DD2C7FEB_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t1588B3BCE6FA2027631A48EDC5BD10A9DD2C7FEB_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t1588B3BCE6FA2027631A48EDC5BD10A9DD2C7FEB_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t1588B3BCE6FA2027631A48EDC5BD10A9DD2C7FEB_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t1588B3BCE6FA2027631A48EDC5BD10A9DD2C7FEB(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t1588B3BCE6FA2027631A48EDC5BD10A9DD2C7FEB_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t1588B3BCE6FA2027631A48EDC5BD10A9DD2C7FEB_ComCallableWrapper(obj));
}
// COM Callable Wrapper for RestSharp.Reflection.ReflectionUtils_ConstructorDelegate[]
struct ConstructorDelegateU5BU5D_t9F2E83E8C6BCCB93989324DE52ABCBBEF02E9AB0_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ConstructorDelegateU5BU5D_t9F2E83E8C6BCCB93989324DE52ABCBBEF02E9AB0_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline ConstructorDelegateU5BU5D_t9F2E83E8C6BCCB93989324DE52ABCBBEF02E9AB0_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ConstructorDelegateU5BU5D_t9F2E83E8C6BCCB93989324DE52ABCBBEF02E9AB0_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ConstructorDelegateU5BU5D_t9F2E83E8C6BCCB93989324DE52ABCBBEF02E9AB0(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(ConstructorDelegateU5BU5D_t9F2E83E8C6BCCB93989324DE52ABCBBEF02E9AB0_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ConstructorDelegateU5BU5D_t9F2E83E8C6BCCB93989324DE52ABCBBEF02E9AB0_ComCallableWrapper(obj));
}
// COM Callable Wrapper for RestSharp.Reflection.ReflectionUtils_GetDelegate[]
struct GetDelegateU5BU5D_t77B67C49261DFB264C1C28EAED66A9D85E3B2D71_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<GetDelegateU5BU5D_t77B67C49261DFB264C1C28EAED66A9D85E3B2D71_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline GetDelegateU5BU5D_t77B67C49261DFB264C1C28EAED66A9D85E3B2D71_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<GetDelegateU5BU5D_t77B67C49261DFB264C1C28EAED66A9D85E3B2D71_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_GetDelegateU5BU5D_t77B67C49261DFB264C1C28EAED66A9D85E3B2D71(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(GetDelegateU5BU5D_t77B67C49261DFB264C1C28EAED66A9D85E3B2D71_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) GetDelegateU5BU5D_t77B67C49261DFB264C1C28EAED66A9D85E3B2D71_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.Type,System.Collections.Generic.IDictionary`2<System.String,RestSharp.Reflection.ReflectionUtils_GetDelegate>>[]
struct KeyValuePair_2U5BU5D_tE0D318851AA0BAF91E97F0DAD8CBBDA71746DAAC_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tE0D318851AA0BAF91E97F0DAD8CBBDA71746DAAC_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_tE0D318851AA0BAF91E97F0DAD8CBBDA71746DAAC_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tE0D318851AA0BAF91E97F0DAD8CBBDA71746DAAC_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_tE0D318851AA0BAF91E97F0DAD8CBBDA71746DAAC(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_tE0D318851AA0BAF91E97F0DAD8CBBDA71746DAAC_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_tE0D318851AA0BAF91E97F0DAD8CBBDA71746DAAC_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.IDictionary`2<System.String,RestSharp.Reflection.ReflectionUtils_GetDelegate>[]
struct IDictionary_2U5BU5D_t2C2F9C113C0D3893E4B5889451165C54E6B22D13_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<IDictionary_2U5BU5D_t2C2F9C113C0D3893E4B5889451165C54E6B22D13_ComCallableWrapper>, IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline IDictionary_2U5BU5D_t2C2F9C113C0D3893E4B5889451165C54E6B22D13_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<IDictionary_2U5BU5D_t2C2F9C113C0D3893E4B5889451165C54E6B22D13_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mFFB1B49776648BCFAE14E56BCC852C171A2EED56(IIterator_1_t62801DBDE6FD9C74727BB69771A29FE27EFE219A** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mFFB1B49776648BCFAE14E56BCC852C171A2EED56_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mE92F40A15F7A4160BC73DC34BE2B952CCB6A6CC9(uint32_t ___index0, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mE92F40A15F7A4160BC73DC34BE2B952CCB6A6CC9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m6C9A5EB233BDD0D6840D71594DBEC7005E572679(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m6C9A5EB233BDD0D6840D71594DBEC7005E572679_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m624FC07BF1FB0CE5A3988E9DC8FE4F4DEFA7BB19(IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m624FC07BF1FB0CE5A3988E9DC8FE4F4DEFA7BB19_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_mA6B7C5129191F9FABD887800915DB7D141B7BA3D(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_mA6B7C5129191F9FABD887800915DB7D141B7BA3D_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_IDictionary_2U5BU5D_t2C2F9C113C0D3893E4B5889451165C54E6B22D13(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(IDictionary_2U5BU5D_t2C2F9C113C0D3893E4B5889451165C54E6B22D13_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) IDictionary_2U5BU5D_t2C2F9C113C0D3893E4B5889451165C54E6B22D13_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.String,RestSharp.Reflection.ReflectionUtils_GetDelegate>[]
struct KeyValuePair_2U5BU5D_t7945C099FB6AD543223AF79C3414D94A45B38645_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t7945C099FB6AD543223AF79C3414D94A45B38645_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t7945C099FB6AD543223AF79C3414D94A45B38645_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t7945C099FB6AD543223AF79C3414D94A45B38645_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t7945C099FB6AD543223AF79C3414D94A45B38645(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t7945C099FB6AD543223AF79C3414D94A45B38645_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t7945C099FB6AD543223AF79C3414D94A45B38645_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>[]
struct KeyValuePair_2U5BU5D_t6153A0D20E5F642B826A8C6AE68B98532DAE6F7B_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t6153A0D20E5F642B826A8C6AE68B98532DAE6F7B_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t6153A0D20E5F642B826A8C6AE68B98532DAE6F7B_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t6153A0D20E5F642B826A8C6AE68B98532DAE6F7B_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t6153A0D20E5F642B826A8C6AE68B98532DAE6F7B(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t6153A0D20E5F642B826A8C6AE68B98532DAE6F7B_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t6153A0D20E5F642B826A8C6AE68B98532DAE6F7B_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.Type,System.Collections.Generic.IDictionary`2<System.String,System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>>>[]
struct KeyValuePair_2U5BU5D_t8889ED24DA3A9D5FCE0A3FC3C76187CE9D65B88F_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t8889ED24DA3A9D5FCE0A3FC3C76187CE9D65B88F_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t8889ED24DA3A9D5FCE0A3FC3C76187CE9D65B88F_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t8889ED24DA3A9D5FCE0A3FC3C76187CE9D65B88F_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t8889ED24DA3A9D5FCE0A3FC3C76187CE9D65B88F(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t8889ED24DA3A9D5FCE0A3FC3C76187CE9D65B88F_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t8889ED24DA3A9D5FCE0A3FC3C76187CE9D65B88F_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.IDictionary`2<System.String,System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>>[]
struct IDictionary_2U5BU5D_t5C4D8D6F74057FBE7C392AC9F3048B83D50946FC_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<IDictionary_2U5BU5D_t5C4D8D6F74057FBE7C392AC9F3048B83D50946FC_ComCallableWrapper>, IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline IDictionary_2U5BU5D_t5C4D8D6F74057FBE7C392AC9F3048B83D50946FC_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<IDictionary_2U5BU5D_t5C4D8D6F74057FBE7C392AC9F3048B83D50946FC_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_t959BCB9D0EBECC1E00135117B6946E97DFCECC8F::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t5050EF05E91BB6F2A882C85C1555DF9DAD87E39A::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mFFB1B49776648BCFAE14E56BCC852C171A2EED56(IIterator_1_t62801DBDE6FD9C74727BB69771A29FE27EFE219A** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mFFB1B49776648BCFAE14E56BCC852C171A2EED56_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mE92F40A15F7A4160BC73DC34BE2B952CCB6A6CC9(uint32_t ___index0, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mE92F40A15F7A4160BC73DC34BE2B952CCB6A6CC9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m6C9A5EB233BDD0D6840D71594DBEC7005E572679(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m6C9A5EB233BDD0D6840D71594DBEC7005E572679_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m624FC07BF1FB0CE5A3988E9DC8FE4F4DEFA7BB19(IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m624FC07BF1FB0CE5A3988E9DC8FE4F4DEFA7BB19_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_mA6B7C5129191F9FABD887800915DB7D141B7BA3D(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_mA6B7C5129191F9FABD887800915DB7D141B7BA3D_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_IDictionary_2U5BU5D_t5C4D8D6F74057FBE7C392AC9F3048B83D50946FC(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(IDictionary_2U5BU5D_t5C4D8D6F74057FBE7C392AC9F3048B83D50946FC_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) IDictionary_2U5BU5D_t5C4D8D6F74057FBE7C392AC9F3048B83D50946FC_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.Object,System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>>[]
struct KeyValuePair_2U5BU5D_tE2871AE21B485E69F9CAFA0F5C878A009F20DAF4_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tE2871AE21B485E69F9CAFA0F5C878A009F20DAF4_ComCallableWrapper>, IVector_1_tA8BBEDB64600DD0270EF6BC1502BEE07B33DADA8, IIterable_1_tFCD5C583FB1D757B37D67A1CC2B86516E33A1E81, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t69805CA49F9F05C3D467DDD8CDF592BAE9829294, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_tE2871AE21B485E69F9CAFA0F5C878A009F20DAF4_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tE2871AE21B485E69F9CAFA0F5C878A009F20DAF4_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVector_1_tA8BBEDB64600DD0270EF6BC1502BEE07B33DADA8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVector_1_tA8BBEDB64600DD0270EF6BC1502BEE07B33DADA8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tFCD5C583FB1D757B37D67A1CC2B86516E33A1E81::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tFCD5C583FB1D757B37D67A1CC2B86516E33A1E81*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t69805CA49F9F05C3D467DDD8CDF592BAE9829294::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t69805CA49F9F05C3D467DDD8CDF592BAE9829294*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(5);
interfaceIds[0] = IVector_1_tA8BBEDB64600DD0270EF6BC1502BEE07B33DADA8::IID;
interfaceIds[1] = IIterable_1_tFCD5C583FB1D757B37D67A1CC2B86516E33A1E81::IID;
interfaceIds[2] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[3] = IVectorView_1_t69805CA49F9F05C3D467DDD8CDF592BAE9829294::IID;
interfaceIds[4] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 5;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IVector_1_GetAt_mB9A634737201EEA838684E0CD98B293372DDA5C0(uint32_t ___index0, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8** comReturnValue) IL2CPP_OVERRIDE
{
return IVector_1_GetAt_mB9A634737201EEA838684E0CD98B293372DDA5C0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVector_1_get_Size_mE6A05F585199F42889CC3984C5FBEAA6CE03C8AA(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVector_1_get_Size_mE6A05F585199F42889CC3984C5FBEAA6CE03C8AA_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVector_1_GetView_m2BAC87C23586B501CED9D54EC40EDC518884062F(IVectorView_1_t69805CA49F9F05C3D467DDD8CDF592BAE9829294** comReturnValue) IL2CPP_OVERRIDE
{
return IVector_1_GetView_m2BAC87C23586B501CED9D54EC40EDC518884062F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVector_1_IndexOf_m8CB69750D43D405C4B30E51E52E71784035639F4(IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVector_1_IndexOf_m8CB69750D43D405C4B30E51E52E71784035639F4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVector_1_SetAt_mDEBE41EF1575F88796CEEB65A1A1F85C82E7EB96(uint32_t ___index0, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8* ___value1) IL2CPP_OVERRIDE
{
return IVector_1_SetAt_mDEBE41EF1575F88796CEEB65A1A1F85C82E7EB96_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IVector_1_InsertAt_mDEB923BA795B4AAE42D298B8AEE9C7E2DE469FCD(uint32_t ___index0, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8* ___value1) IL2CPP_OVERRIDE
{
return IVector_1_InsertAt_mDEB923BA795B4AAE42D298B8AEE9C7E2DE469FCD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAt_mE1B7A99F7046C040098DD1CAE7EA7E32C0F3C16A(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IVector_1_RemoveAt_mE1B7A99F7046C040098DD1CAE7EA7E32C0F3C16A_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IVector_1_Append_mB3499FB1879FDC41DD3CFE9C04CDBF4B466ED76A(IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8* ___value0) IL2CPP_OVERRIDE
{
return IVector_1_Append_mB3499FB1879FDC41DD3CFE9C04CDBF4B466ED76A_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAtEnd_mE5547AB80147C26DD751688738D1097839D33B03() IL2CPP_OVERRIDE
{
return IVector_1_RemoveAtEnd_mE5547AB80147C26DD751688738D1097839D33B03_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IVector_1_Clear_m516C966093B2F7D899412ECC25CFB52A8C285738() IL2CPP_OVERRIDE
{
return IVector_1_Clear_m516C966093B2F7D899412ECC25CFB52A8C285738_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IVector_1_GetMany_m9DF8D30FA569E3B955345B76EA778607A19CCE1E(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVector_1_GetMany_m9DF8D30FA569E3B955345B76EA778607A19CCE1E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVector_1_ReplaceAll_m54577160B8C676666CD0A8109ADB80D9BA1F0E08(uint32_t ___items0ArraySize, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8** ___items0) IL2CPP_OVERRIDE
{
return IVector_1_ReplaceAll_m54577160B8C676666CD0A8109ADB80D9BA1F0E08_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___items0ArraySize, ___items0);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mF59AF9C1212CABC035769AE6EDBF8BE80A6C6F76(IIterator_1_tD1BD01D03923D51911821DBA75B91CD7ADEF23EC** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mF59AF9C1212CABC035769AE6EDBF8BE80A6C6F76_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m5F164E83F2D886160F9FA8DB1E3F827CC1E14BC5(uint32_t ___index0, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_m5F164E83F2D886160F9FA8DB1E3F827CC1E14BC5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mFF969BF216455912104F63F12A206C5C8E057F82(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_mFF969BF216455912104F63F12A206C5C8E057F82_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m397F42F0DC6746AB415E26A3F8A32202172F912F(IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m397F42F0DC6746AB415E26A3F8A32202172F912F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m89112520C895D2F9CC18EAA58CBCC4362B181B65(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IKeyValuePair_2_tFB4F1FAF6149C142D53E02E057727425094920D8** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m89112520C895D2F9CC18EAA58CBCC4362B181B65_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_tE2871AE21B485E69F9CAFA0F5C878A009F20DAF4(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_tE2871AE21B485E69F9CAFA0F5C878A009F20DAF4_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_tE2871AE21B485E69F9CAFA0F5C878A009F20DAF4_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.String,System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>>[]
struct KeyValuePair_2U5BU5D_tBCFBA9EEBA4DEFD37F9969AA40072105156D50EE_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tBCFBA9EEBA4DEFD37F9969AA40072105156D50EE_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_tBCFBA9EEBA4DEFD37F9969AA40072105156D50EE_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tBCFBA9EEBA4DEFD37F9969AA40072105156D50EE_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_tBCFBA9EEBA4DEFD37F9969AA40072105156D50EE(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_tBCFBA9EEBA4DEFD37F9969AA40072105156D50EE_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_tBCFBA9EEBA4DEFD37F9969AA40072105156D50EE_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.Type,RestSharp.Reflection.ReflectionUtils_ConstructorDelegate>[]
struct EntryU5BU5D_t270CD3A5A87D28FE29F155984E0DA4A17FE41030_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t270CD3A5A87D28FE29F155984E0DA4A17FE41030_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t270CD3A5A87D28FE29F155984E0DA4A17FE41030_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t270CD3A5A87D28FE29F155984E0DA4A17FE41030_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t270CD3A5A87D28FE29F155984E0DA4A17FE41030(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t270CD3A5A87D28FE29F155984E0DA4A17FE41030_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t270CD3A5A87D28FE29F155984E0DA4A17FE41030_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.Type,System.Collections.Generic.IDictionary`2<System.String,RestSharp.Reflection.ReflectionUtils_GetDelegate>>[]
struct EntryU5BU5D_tA05855154E3EA6005A6BFFD041161FA3CA16AB93_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_tA05855154E3EA6005A6BFFD041161FA3CA16AB93_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_tA05855154E3EA6005A6BFFD041161FA3CA16AB93_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_tA05855154E3EA6005A6BFFD041161FA3CA16AB93_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_tA05855154E3EA6005A6BFFD041161FA3CA16AB93(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_tA05855154E3EA6005A6BFFD041161FA3CA16AB93_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_tA05855154E3EA6005A6BFFD041161FA3CA16AB93_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.Type,System.Collections.Generic.IDictionary`2<System.String,System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>>>[]
struct EntryU5BU5D_t82FE481899B3BF65BC2F324AF3D2BD6DC0E3471E_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t82FE481899B3BF65BC2F324AF3D2BD6DC0E3471E_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t82FE481899B3BF65BC2F324AF3D2BD6DC0E3471E_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t82FE481899B3BF65BC2F324AF3D2BD6DC0E3471E_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t82FE481899B3BF65BC2F324AF3D2BD6DC0E3471E(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t82FE481899B3BF65BC2F324AF3D2BD6DC0E3471E_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t82FE481899B3BF65BC2F324AF3D2BD6DC0E3471E_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.String,RestSharp.Reflection.ReflectionUtils_GetDelegate>[]
struct EntryU5BU5D_t4DD162EBC3431636DAE3AAF081418112F1679689_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t4DD162EBC3431636DAE3AAF081418112F1679689_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t4DD162EBC3431636DAE3AAF081418112F1679689_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t4DD162EBC3431636DAE3AAF081418112F1679689_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t4DD162EBC3431636DAE3AAF081418112F1679689(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t4DD162EBC3431636DAE3AAF081418112F1679689_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t4DD162EBC3431636DAE3AAF081418112F1679689_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.Object,System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>>[]
struct EntryU5BU5D_tCBAFAE9CC6C01D68B9C8E3C30678A54F3319D671_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_tCBAFAE9CC6C01D68B9C8E3C30678A54F3319D671_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_tCBAFAE9CC6C01D68B9C8E3C30678A54F3319D671_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_tCBAFAE9CC6C01D68B9C8E3C30678A54F3319D671_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_tCBAFAE9CC6C01D68B9C8E3C30678A54F3319D671(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_tCBAFAE9CC6C01D68B9C8E3C30678A54F3319D671_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_tCBAFAE9CC6C01D68B9C8E3C30678A54F3319D671_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.String,System.Collections.Generic.KeyValuePair`2<System.Type,RestSharp.Reflection.ReflectionUtils_SetDelegate>>[]
struct EntryU5BU5D_t2B65EDE7305F6D61E78EBF575885BB5CFB5D970A_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t2B65EDE7305F6D61E78EBF575885BB5CFB5D970A_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t2B65EDE7305F6D61E78EBF575885BB5CFB5D970A_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t2B65EDE7305F6D61E78EBF575885BB5CFB5D970A_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t2B65EDE7305F6D61E78EBF575885BB5CFB5D970A(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t2B65EDE7305F6D61E78EBF575885BB5CFB5D970A_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t2B65EDE7305F6D61E78EBF575885BB5CFB5D970A_ComCallableWrapper(obj));
}
// COM Callable Wrapper for <>f__AnonymousType0`2<System.Reflection.PropertyInfo,RestSharp.Serializers.SerializeAsAttribute>[]
struct U3CU3Ef__AnonymousType0_2U5BU5D_t703109DC38457F0751AD90DD4B33CB9CAF209159_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<U3CU3Ef__AnonymousType0_2U5BU5D_t703109DC38457F0751AD90DD4B33CB9CAF209159_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline U3CU3Ef__AnonymousType0_2U5BU5D_t703109DC38457F0751AD90DD4B33CB9CAF209159_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<U3CU3Ef__AnonymousType0_2U5BU5D_t703109DC38457F0751AD90DD4B33CB9CAF209159_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_U3CU3Ef__AnonymousType0_2U5BU5D_t703109DC38457F0751AD90DD4B33CB9CAF209159(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(U3CU3Ef__AnonymousType0_2U5BU5D_t703109DC38457F0751AD90DD4B33CB9CAF209159_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) U3CU3Ef__AnonymousType0_2U5BU5D_t703109DC38457F0751AD90DD4B33CB9CAF209159_ComCallableWrapper(obj));
}
// COM Callable Wrapper for UnityEngine.AndroidJavaObject[]
struct AndroidJavaObjectU5BU5D_t7C44610B692603ADE504A389C4362A53613B5379_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<AndroidJavaObjectU5BU5D_t7C44610B692603ADE504A389C4362A53613B5379_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IIterable_1_t9040704BA642F3FA15C2C50AF7FDF3484F397EE5, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IVectorView_1_tF3B2B40FDDDE17CEA38544E22397D2F5C2698E85, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline AndroidJavaObjectU5BU5D_t7C44610B692603ADE504A389C4362A53613B5379_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<AndroidJavaObjectU5BU5D_t7C44610B692603ADE504A389C4362A53613B5379_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t9040704BA642F3FA15C2C50AF7FDF3484F397EE5::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t9040704BA642F3FA15C2C50AF7FDF3484F397EE5*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_tF3B2B40FDDDE17CEA38544E22397D2F5C2698E85::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_tF3B2B40FDDDE17CEA38544E22397D2F5C2698E85*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(6);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IIterable_1_t9040704BA642F3FA15C2C50AF7FDF3484F397EE5::IID;
interfaceIds[2] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[3] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[4] = IVectorView_1_tF3B2B40FDDDE17CEA38544E22397D2F5C2698E85::IID;
interfaceIds[5] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 6;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m66AE02B95C12AA29398F853CBBCB981F758D1D7B(IIterator_1_tFCCB84984712ACE35E2C9D0FFBB7CFE2CD913B43** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m66AE02B95C12AA29398F853CBBCB981F758D1D7B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mF09C0ACF185B36DEE44FC0D08172713153119DE1(uint32_t ___index0, IClosable_t5808AF951019E4388C66F7A88AC569F52F581167** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mF09C0ACF185B36DEE44FC0D08172713153119DE1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m3313994A76530A8C4479916841C82C0D08EFAC79(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m3313994A76530A8C4479916841C82C0D08EFAC79_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mDB1287B8A5CC74E6FCC29981DD88C2C7386EC4E7(IClosable_t5808AF951019E4388C66F7A88AC569F52F581167* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_mDB1287B8A5CC74E6FCC29981DD88C2C7386EC4E7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m4955F7C6504C5A36D92A21A0AC6FDD34FF016A93(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IClosable_t5808AF951019E4388C66F7A88AC569F52F581167** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m4955F7C6504C5A36D92A21A0AC6FDD34FF016A93_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_AndroidJavaObjectU5BU5D_t7C44610B692603ADE504A389C4362A53613B5379(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(AndroidJavaObjectU5BU5D_t7C44610B692603ADE504A389C4362A53613B5379_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) AndroidJavaObjectU5BU5D_t7C44610B692603ADE504A389C4362A53613B5379_ComCallableWrapper(obj));
}
// COM Callable Wrapper for UnityEngine.jvalue[]
struct jvalueU5BU5D_t9AA52DD48CAF5296AE8A2F758A488A2B14B820E3_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<jvalueU5BU5D_t9AA52DD48CAF5296AE8A2F758A488A2B14B820E3_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline jvalueU5BU5D_t9AA52DD48CAF5296AE8A2F758A488A2B14B820E3_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<jvalueU5BU5D_t9AA52DD48CAF5296AE8A2F758A488A2B14B820E3_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_jvalueU5BU5D_t9AA52DD48CAF5296AE8A2F758A488A2B14B820E3(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(jvalueU5BU5D_t9AA52DD48CAF5296AE8A2F758A488A2B14B820E3_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) jvalueU5BU5D_t9AA52DD48CAF5296AE8A2F758A488A2B14B820E3_ComCallableWrapper(obj));
}
// COM Callable Wrapper for UnityEngine.AndroidJavaClass[]
struct AndroidJavaClassU5BU5D_t834F2CD8A8D5B7F304A36C401A57C24A723690C7_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<AndroidJavaClassU5BU5D_t834F2CD8A8D5B7F304A36C401A57C24A723690C7_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IIterable_1_t9040704BA642F3FA15C2C50AF7FDF3484F397EE5, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IVectorView_1_tF3B2B40FDDDE17CEA38544E22397D2F5C2698E85, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline AndroidJavaClassU5BU5D_t834F2CD8A8D5B7F304A36C401A57C24A723690C7_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<AndroidJavaClassU5BU5D_t834F2CD8A8D5B7F304A36C401A57C24A723690C7_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t9040704BA642F3FA15C2C50AF7FDF3484F397EE5::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t9040704BA642F3FA15C2C50AF7FDF3484F397EE5*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_tF3B2B40FDDDE17CEA38544E22397D2F5C2698E85::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_tF3B2B40FDDDE17CEA38544E22397D2F5C2698E85*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(6);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IIterable_1_t9040704BA642F3FA15C2C50AF7FDF3484F397EE5::IID;
interfaceIds[2] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[3] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[4] = IVectorView_1_tF3B2B40FDDDE17CEA38544E22397D2F5C2698E85::IID;
interfaceIds[5] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 6;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m66AE02B95C12AA29398F853CBBCB981F758D1D7B(IIterator_1_tFCCB84984712ACE35E2C9D0FFBB7CFE2CD913B43** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m66AE02B95C12AA29398F853CBBCB981F758D1D7B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mF09C0ACF185B36DEE44FC0D08172713153119DE1(uint32_t ___index0, IClosable_t5808AF951019E4388C66F7A88AC569F52F581167** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mF09C0ACF185B36DEE44FC0D08172713153119DE1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m3313994A76530A8C4479916841C82C0D08EFAC79(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m3313994A76530A8C4479916841C82C0D08EFAC79_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mDB1287B8A5CC74E6FCC29981DD88C2C7386EC4E7(IClosable_t5808AF951019E4388C66F7A88AC569F52F581167* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_mDB1287B8A5CC74E6FCC29981DD88C2C7386EC4E7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m4955F7C6504C5A36D92A21A0AC6FDD34FF016A93(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IClosable_t5808AF951019E4388C66F7A88AC569F52F581167** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m4955F7C6504C5A36D92A21A0AC6FDD34FF016A93_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_AndroidJavaClassU5BU5D_t834F2CD8A8D5B7F304A36C401A57C24A723690C7(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(AndroidJavaClassU5BU5D_t834F2CD8A8D5B7F304A36C401A57C24A723690C7_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) AndroidJavaClassU5BU5D_t834F2CD8A8D5B7F304A36C401A57C24A723690C7_ComCallableWrapper(obj));
}
// COM Callable Wrapper for UnityEngine.Terrain[]
struct TerrainU5BU5D_t09516803A2C01893489D5ACAA202A907B2972BDE_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<TerrainU5BU5D_t09516803A2C01893489D5ACAA202A907B2972BDE_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline TerrainU5BU5D_t09516803A2C01893489D5ACAA202A907B2972BDE_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<TerrainU5BU5D_t09516803A2C01893489D5ACAA202A907B2972BDE_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_TerrainU5BU5D_t09516803A2C01893489D5ACAA202A907B2972BDE(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(TerrainU5BU5D_t09516803A2C01893489D5ACAA202A907B2972BDE_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) TerrainU5BU5D_t09516803A2C01893489D5ACAA202A907B2972BDE_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.Int32,UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap>[]
struct EntryU5BU5D_t60C83E552A9B7713913AA260DDAA0AFF0A75765F_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t60C83E552A9B7713913AA260DDAA0AFF0A75765F_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t60C83E552A9B7713913AA260DDAA0AFF0A75765F_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t60C83E552A9B7713913AA260DDAA0AFF0A75765F_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t60C83E552A9B7713913AA260DDAA0AFF0A75765F(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t60C83E552A9B7713913AA260DDAA0AFF0A75765F_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t60C83E552A9B7713913AA260DDAA0AFF0A75765F_ComCallableWrapper(obj));
}
// COM Callable Wrapper for UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap[]
struct TerrainMapU5BU5D_t441BCA567805A88C78D03D9B7C42090D2B056E10_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<TerrainMapU5BU5D_t441BCA567805A88C78D03D9B7C42090D2B056E10_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline TerrainMapU5BU5D_t441BCA567805A88C78D03D9B7C42090D2B056E10_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<TerrainMapU5BU5D_t441BCA567805A88C78D03D9B7C42090D2B056E10_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_TerrainMapU5BU5D_t441BCA567805A88C78D03D9B7C42090D2B056E10(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(TerrainMapU5BU5D_t441BCA567805A88C78D03D9B7C42090D2B056E10_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) TerrainMapU5BU5D_t441BCA567805A88C78D03D9B7C42090D2B056E10_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.Int32,UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap>[]
struct KeyValuePair_2U5BU5D_tFA63F37235B75A2B0F2C6D74539FEFB174CFA8F3_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tFA63F37235B75A2B0F2C6D74539FEFB174CFA8F3_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_tFA63F37235B75A2B0F2C6D74539FEFB174CFA8F3_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tFA63F37235B75A2B0F2C6D74539FEFB174CFA8F3_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_tFA63F37235B75A2B0F2C6D74539FEFB174CFA8F3(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_tFA63F37235B75A2B0F2C6D74539FEFB174CFA8F3_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_tFA63F37235B75A2B0F2C6D74539FEFB174CFA8F3_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord,System.Object>[]
struct KeyValuePair_2U5BU5D_t6A43305072C9AA017F5C3B4E4B2953AE5C85A27E_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t6A43305072C9AA017F5C3B4E4B2953AE5C85A27E_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t6A43305072C9AA017F5C3B4E4B2953AE5C85A27E_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t6A43305072C9AA017F5C3B4E4B2953AE5C85A27E_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t6A43305072C9AA017F5C3B4E4B2953AE5C85A27E(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t6A43305072C9AA017F5C3B4E4B2953AE5C85A27E_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t6A43305072C9AA017F5C3B4E4B2953AE5C85A27E_ComCallableWrapper(obj));
}
// COM Callable Wrapper for UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord[]
struct TileCoordU5BU5D_t5C91F6A2350FCA55BAD893C1C4ECAF553A8070F7_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<TileCoordU5BU5D_t5C91F6A2350FCA55BAD893C1C4ECAF553A8070F7_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline TileCoordU5BU5D_t5C91F6A2350FCA55BAD893C1C4ECAF553A8070F7_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<TileCoordU5BU5D_t5C91F6A2350FCA55BAD893C1C4ECAF553A8070F7_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_TileCoordU5BU5D_t5C91F6A2350FCA55BAD893C1C4ECAF553A8070F7(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(TileCoordU5BU5D_t5C91F6A2350FCA55BAD893C1C4ECAF553A8070F7_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) TileCoordU5BU5D_t5C91F6A2350FCA55BAD893C1C4ECAF553A8070F7_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord,System.Object>[]
struct EntryU5BU5D_t50748B96662D70C34AB62339BEB0FBCFD115A7C3_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t50748B96662D70C34AB62339BEB0FBCFD115A7C3_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t50748B96662D70C34AB62339BEB0FBCFD115A7C3_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t50748B96662D70C34AB62339BEB0FBCFD115A7C3_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t50748B96662D70C34AB62339BEB0FBCFD115A7C3(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t50748B96662D70C34AB62339BEB0FBCFD115A7C3_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t50748B96662D70C34AB62339BEB0FBCFD115A7C3_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord,UnityEngine.Terrain>[]
struct EntryU5BU5D_t7E283CE6C88BF1DF0DBCB399F07FA5BAFC6FF36A_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t7E283CE6C88BF1DF0DBCB399F07FA5BAFC6FF36A_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t7E283CE6C88BF1DF0DBCB399F07FA5BAFC6FF36A_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t7E283CE6C88BF1DF0DBCB399F07FA5BAFC6FF36A_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t7E283CE6C88BF1DF0DBCB399F07FA5BAFC6FF36A(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t7E283CE6C88BF1DF0DBCB399F07FA5BAFC6FF36A_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t7E283CE6C88BF1DF0DBCB399F07FA5BAFC6FF36A_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<UnityEngine.Experimental.TerrainAPI.TerrainUtility_TerrainMap_TileCoord,UnityEngine.Terrain>[]
struct KeyValuePair_2U5BU5D_tB67412496B160ACC4BAF355F3734822C85A56CE9_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tB67412496B160ACC4BAF355F3734822C85A56CE9_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_tB67412496B160ACC4BAF355F3734822C85A56CE9_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tB67412496B160ACC4BAF355F3734822C85A56CE9_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_tB67412496B160ACC4BAF355F3734822C85A56CE9(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_tB67412496B160ACC4BAF355F3734822C85A56CE9_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_tB67412496B160ACC4BAF355F3734822C85A56CE9_ComCallableWrapper(obj));
}
// COM Callable Wrapper for I18N.CJK.GB18030Source_GB18030Map[]
struct GB18030MapU5BU5D_tE3F2C54FFBD02AFF94006891BA0F4E9166B02848_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<GB18030MapU5BU5D_tE3F2C54FFBD02AFF94006891BA0F4E9166B02848_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline GB18030MapU5BU5D_tE3F2C54FFBD02AFF94006891BA0F4E9166B02848_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<GB18030MapU5BU5D_tE3F2C54FFBD02AFF94006891BA0F4E9166B02848_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_GB18030MapU5BU5D_tE3F2C54FFBD02AFF94006891BA0F4E9166B02848(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(GB18030MapU5BU5D_tE3F2C54FFBD02AFF94006891BA0F4E9166B02848_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) GB18030MapU5BU5D_tE3F2C54FFBD02AFF94006891BA0F4E9166B02848_ComCallableWrapper(obj));
}
// COM Callable Wrapper for UnityEngine.XR.WSA.SurfaceId[]
struct SurfaceIdU5BU5D_t3509B01787A392571261147B55101F51D1737612_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<SurfaceIdU5BU5D_t3509B01787A392571261147B55101F51D1737612_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline SurfaceIdU5BU5D_t3509B01787A392571261147B55101F51D1737612_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<SurfaceIdU5BU5D_t3509B01787A392571261147B55101F51D1737612_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_SurfaceIdU5BU5D_t3509B01787A392571261147B55101F51D1737612(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(SurfaceIdU5BU5D_t3509B01787A392571261147B55101F51D1737612_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) SurfaceIdU5BU5D_t3509B01787A392571261147B55101F51D1737612_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.UInt32,Microsoft.MixedReality.Toolkit.Input.IMixedRealityController>[]
struct EntryU5BU5D_t2D787794BFFD3362F53A2E65DADD7A4A9B39CC22_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t2D787794BFFD3362F53A2E65DADD7A4A9B39CC22_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t2D787794BFFD3362F53A2E65DADD7A4A9B39CC22_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t2D787794BFFD3362F53A2E65DADD7A4A9B39CC22_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t2D787794BFFD3362F53A2E65DADD7A4A9B39CC22(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t2D787794BFFD3362F53A2E65DADD7A4A9B39CC22_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t2D787794BFFD3362F53A2E65DADD7A4A9B39CC22_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.UInt32,Microsoft.MixedReality.Toolkit.Input.IMixedRealityController>[]
struct KeyValuePair_2U5BU5D_t2BD1D5589DE6ABCA7434D7CF88D8DEB73BDCD349_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t2BD1D5589DE6ABCA7434D7CF88D8DEB73BDCD349_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t2BD1D5589DE6ABCA7434D7CF88D8DEB73BDCD349_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t2BD1D5589DE6ABCA7434D7CF88D8DEB73BDCD349_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t2BD1D5589DE6ABCA7434D7CF88D8DEB73BDCD349(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t2BD1D5589DE6ABCA7434D7CF88D8DEB73BDCD349_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t2BD1D5589DE6ABCA7434D7CF88D8DEB73BDCD349_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.CameraSystem.IMixedRealityCameraSettingsProvider[]
struct IMixedRealityCameraSettingsProviderU5BU5D_t3C6D8E01229BD0CBC7DB66FEB67446C7759FF96D_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<IMixedRealityCameraSettingsProviderU5BU5D_t3C6D8E01229BD0CBC7DB66FEB67446C7759FF96D_ComCallableWrapper>, IIterable_1_t9040704BA642F3FA15C2C50AF7FDF3484F397EE5, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_tF3B2B40FDDDE17CEA38544E22397D2F5C2698E85, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline IMixedRealityCameraSettingsProviderU5BU5D_t3C6D8E01229BD0CBC7DB66FEB67446C7759FF96D_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<IMixedRealityCameraSettingsProviderU5BU5D_t3C6D8E01229BD0CBC7DB66FEB67446C7759FF96D_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t9040704BA642F3FA15C2C50AF7FDF3484F397EE5::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t9040704BA642F3FA15C2C50AF7FDF3484F397EE5*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_tF3B2B40FDDDE17CEA38544E22397D2F5C2698E85::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_tF3B2B40FDDDE17CEA38544E22397D2F5C2698E85*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_t9040704BA642F3FA15C2C50AF7FDF3484F397EE5::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_tF3B2B40FDDDE17CEA38544E22397D2F5C2698E85::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m66AE02B95C12AA29398F853CBBCB981F758D1D7B(IIterator_1_tFCCB84984712ACE35E2C9D0FFBB7CFE2CD913B43** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m66AE02B95C12AA29398F853CBBCB981F758D1D7B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mF09C0ACF185B36DEE44FC0D08172713153119DE1(uint32_t ___index0, IClosable_t5808AF951019E4388C66F7A88AC569F52F581167** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mF09C0ACF185B36DEE44FC0D08172713153119DE1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m3313994A76530A8C4479916841C82C0D08EFAC79(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m3313994A76530A8C4479916841C82C0D08EFAC79_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mDB1287B8A5CC74E6FCC29981DD88C2C7386EC4E7(IClosable_t5808AF951019E4388C66F7A88AC569F52F581167* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_mDB1287B8A5CC74E6FCC29981DD88C2C7386EC4E7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m4955F7C6504C5A36D92A21A0AC6FDD34FF016A93(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IClosable_t5808AF951019E4388C66F7A88AC569F52F581167** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m4955F7C6504C5A36D92A21A0AC6FDD34FF016A93_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_IMixedRealityCameraSettingsProviderU5BU5D_t3C6D8E01229BD0CBC7DB66FEB67446C7759FF96D(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(IMixedRealityCameraSettingsProviderU5BU5D_t3C6D8E01229BD0CBC7DB66FEB67446C7759FF96D_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) IMixedRealityCameraSettingsProviderU5BU5D_t3C6D8E01229BD0CBC7DB66FEB67446C7759FF96D_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.Diagnostics.MixedRealityToolkitVisualProfiler_FrameRateColor[]
struct FrameRateColorU5BU5D_tB4E40929C9FAF2D0D89385B8FCFE3799D7971105_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<FrameRateColorU5BU5D_tB4E40929C9FAF2D0D89385B8FCFE3799D7971105_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline FrameRateColorU5BU5D_tB4E40929C9FAF2D0D89385B8FCFE3799D7971105_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<FrameRateColorU5BU5D_tB4E40929C9FAF2D0D89385B8FCFE3799D7971105_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_FrameRateColorU5BU5D_tB4E40929C9FAF2D0D89385B8FCFE3799D7971105(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(FrameRateColorU5BU5D_tB4E40929C9FAF2D0D89385B8FCFE3799D7971105_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) FrameRateColorU5BU5D_tB4E40929C9FAF2D0D89385B8FCFE3799D7971105_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType,System.Int32>,System.Int32>[]
struct EntryU5BU5D_t52C95C00987A1268F1B963C3723417B1A67FF617_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t52C95C00987A1268F1B963C3723417B1A67FF617_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t52C95C00987A1268F1B963C3723417B1A67FF617_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t52C95C00987A1268F1B963C3723417B1A67FF617_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t52C95C00987A1268F1B963C3723417B1A67FF617(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t52C95C00987A1268F1B963C3723417B1A67FF617_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t52C95C00987A1268F1B963C3723417B1A67FF617_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType,System.Int32>[]
struct Tuple_2U5BU5D_t8D83F888CA3F2F52C72C706D15F450168A909B71_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<Tuple_2U5BU5D_t8D83F888CA3F2F52C72C706D15F450168A909B71_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline Tuple_2U5BU5D_t8D83F888CA3F2F52C72C706D15F450168A909B71_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<Tuple_2U5BU5D_t8D83F888CA3F2F52C72C706D15F450168A909B71_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_Tuple_2U5BU5D_t8D83F888CA3F2F52C72C706D15F450168A909B71(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(Tuple_2U5BU5D_t8D83F888CA3F2F52C72C706D15F450168A909B71_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) Tuple_2U5BU5D_t8D83F888CA3F2F52C72C706D15F450168A909B71_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType,System.Int32>,System.Int32>[]
struct KeyValuePair_2U5BU5D_t33F5777E6570BCE39D700D1F0C2ECBFD33D707FD_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t33F5777E6570BCE39D700D1F0C2ECBFD33D707FD_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t33F5777E6570BCE39D700D1F0C2ECBFD33D707FD_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t33F5777E6570BCE39D700D1F0C2ECBFD33D707FD_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t33F5777E6570BCE39D700D1F0C2ECBFD33D707FD(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t33F5777E6570BCE39D700D1F0C2ECBFD33D707FD_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t33F5777E6570BCE39D700D1F0C2ECBFD33D707FD_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.Int32,System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType,System.Int32>>[]
struct EntryU5BU5D_t397E60DF1F0569A86AF32742C584D0F86F52D132_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t397E60DF1F0569A86AF32742C584D0F86F52D132_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t397E60DF1F0569A86AF32742C584D0F86F52D132_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t397E60DF1F0569A86AF32742C584D0F86F52D132_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t397E60DF1F0569A86AF32742C584D0F86F52D132(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t397E60DF1F0569A86AF32742C584D0F86F52D132_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t397E60DF1F0569A86AF32742C584D0F86F52D132_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.Int32,System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding_KeyType,System.Int32>>[]
struct KeyValuePair_2U5BU5D_tB58DC1959DB2AA7B3EBC21184A404600126D88ED_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tB58DC1959DB2AA7B3EBC21184A404600126D88ED_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_tB58DC1959DB2AA7B3EBC21184A404600126D88ED_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_tB58DC1959DB2AA7B3EBC21184A404600126D88ED_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_tB58DC1959DB2AA7B3EBC21184A404600126D88ED(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_tB58DC1959DB2AA7B3EBC21184A404600126D88ED_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_tB58DC1959DB2AA7B3EBC21184A404600126D88ED_ComCallableWrapper(obj));
}
// COM Callable Wrapper for UnityEngine.KeyCode[]
struct KeyCodeU5BU5D_tF4382F22534318B6E15A70B33AAF395B3D8D127F_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCodeU5BU5D_tF4382F22534318B6E15A70B33AAF395B3D8D127F_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyCodeU5BU5D_tF4382F22534318B6E15A70B33AAF395B3D8D127F_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCodeU5BU5D_tF4382F22534318B6E15A70B33AAF395B3D8D127F_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCodeU5BU5D_tF4382F22534318B6E15A70B33AAF395B3D8D127F(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCodeU5BU5D_tF4382F22534318B6E15A70B33AAF395B3D8D127F_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCodeU5BU5D_tF4382F22534318B6E15A70B33AAF395B3D8D127F_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.MixedReality.Toolkit.Input.KeyBinding_MouseButton[]
struct MouseButtonU5BU5D_t14C6EC4510926DD3FA9CAFA4757AA63EF63D3361_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<MouseButtonU5BU5D_t14C6EC4510926DD3FA9CAFA4757AA63EF63D3361_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline MouseButtonU5BU5D_t14C6EC4510926DD3FA9CAFA4757AA63EF63D3361_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<MouseButtonU5BU5D_t14C6EC4510926DD3FA9CAFA4757AA63EF63D3361_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_MouseButtonU5BU5D_t14C6EC4510926DD3FA9CAFA4757AA63EF63D3361(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(MouseButtonU5BU5D_t14C6EC4510926DD3FA9CAFA4757AA63EF63D3361_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) MouseButtonU5BU5D_t14C6EC4510926DD3FA9CAFA4757AA63EF63D3361_ComCallableWrapper(obj));
}
// COM Callable Wrapper for UnityEngine.Quaternion[]
struct QuaternionU5BU5D_t26EB10EEE89DD3EF913D52E8797FAB841F6F2AA3_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<QuaternionU5BU5D_t26EB10EEE89DD3EF913D52E8797FAB841F6F2AA3_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline QuaternionU5BU5D_t26EB10EEE89DD3EF913D52E8797FAB841F6F2AA3_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<QuaternionU5BU5D_t26EB10EEE89DD3EF913D52E8797FAB841F6F2AA3_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_QuaternionU5BU5D_t26EB10EEE89DD3EF913D52E8797FAB841F6F2AA3(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(QuaternionU5BU5D_t26EB10EEE89DD3EF913D52E8797FAB841F6F2AA3_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) QuaternionU5BU5D_t26EB10EEE89DD3EF913D52E8797FAB841F6F2AA3_ComCallableWrapper(obj));
}
// COM Callable Wrapper for UnityEngine.AsyncOperation[]
struct AsyncOperationU5BU5D_t1226B1AC4292C78D644C5DF2546D741D4FA63809_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<AsyncOperationU5BU5D_t1226B1AC4292C78D644C5DF2546D741D4FA63809_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline AsyncOperationU5BU5D_t1226B1AC4292C78D644C5DF2546D741D4FA63809_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<AsyncOperationU5BU5D_t1226B1AC4292C78D644C5DF2546D741D4FA63809_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_AsyncOperationU5BU5D_t1226B1AC4292C78D644C5DF2546D741D4FA63809(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(AsyncOperationU5BU5D_t1226B1AC4292C78D644C5DF2546D741D4FA63809_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) AsyncOperationU5BU5D_t1226B1AC4292C78D644C5DF2546D741D4FA63809_ComCallableWrapper(obj));
}
// COM Callable Wrapper for UnityEngine.YieldInstruction[]
struct YieldInstructionU5BU5D_tCD93F1D08E7129DFB50745CB578A9ED33082AE94_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<YieldInstructionU5BU5D_tCD93F1D08E7129DFB50745CB578A9ED33082AE94_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline YieldInstructionU5BU5D_tCD93F1D08E7129DFB50745CB578A9ED33082AE94_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<YieldInstructionU5BU5D_tCD93F1D08E7129DFB50745CB578A9ED33082AE94_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_YieldInstructionU5BU5D_tCD93F1D08E7129DFB50745CB578A9ED33082AE94(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(YieldInstructionU5BU5D_tCD93F1D08E7129DFB50745CB578A9ED33082AE94_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) YieldInstructionU5BU5D_tCD93F1D08E7129DFB50745CB578A9ED33082AE94_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.UInt64,System.WeakReference`1<System.Object>>[]
struct EntryU5BU5D_t5B45BB595C408274D6503AC88689ACBAE537BB85_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t5B45BB595C408274D6503AC88689ACBAE537BB85_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_t5B45BB595C408274D6503AC88689ACBAE537BB85_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_t5B45BB595C408274D6503AC88689ACBAE537BB85_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_t5B45BB595C408274D6503AC88689ACBAE537BB85(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_t5B45BB595C408274D6503AC88689ACBAE537BB85_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_t5B45BB595C408274D6503AC88689ACBAE537BB85_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.WeakReference`1<System.Object>[]
struct WeakReference_1U5BU5D_t71B912619D2BD72C6DA5D70B50141B80A3C09494_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<WeakReference_1U5BU5D_t71B912619D2BD72C6DA5D70B50141B80A3C09494_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline WeakReference_1U5BU5D_t71B912619D2BD72C6DA5D70B50141B80A3C09494_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<WeakReference_1U5BU5D_t71B912619D2BD72C6DA5D70B50141B80A3C09494_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_WeakReference_1U5BU5D_t71B912619D2BD72C6DA5D70B50141B80A3C09494(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(WeakReference_1U5BU5D_t71B912619D2BD72C6DA5D70B50141B80A3C09494_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) WeakReference_1U5BU5D_t71B912619D2BD72C6DA5D70B50141B80A3C09494_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.UInt64,System.WeakReference`1<System.Object>>[]
struct KeyValuePair_2U5BU5D_t111BC54FA8DBC362420058885EDEA33FC965470D_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t111BC54FA8DBC362420058885EDEA33FC965470D_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t111BC54FA8DBC362420058885EDEA33FC965470D_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t111BC54FA8DBC362420058885EDEA33FC965470D_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t111BC54FA8DBC362420058885EDEA33FC965470D(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t111BC54FA8DBC362420058885EDEA33FC965470D_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t111BC54FA8DBC362420058885EDEA33FC965470D_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2_Entry<System.UInt64,System.WeakReference`1<Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession>>[]
struct EntryU5BU5D_tF5CC3EE93B9FBBCCC7A452F6E9D76D302FDD1CA4_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EntryU5BU5D_tF5CC3EE93B9FBBCCC7A452F6E9D76D302FDD1CA4_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline EntryU5BU5D_tF5CC3EE93B9FBBCCC7A452F6E9D76D302FDD1CA4_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EntryU5BU5D_tF5CC3EE93B9FBBCCC7A452F6E9D76D302FDD1CA4_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EntryU5BU5D_tF5CC3EE93B9FBBCCC7A452F6E9D76D302FDD1CA4(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EntryU5BU5D_tF5CC3EE93B9FBBCCC7A452F6E9D76D302FDD1CA4_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EntryU5BU5D_tF5CC3EE93B9FBBCCC7A452F6E9D76D302FDD1CA4_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.WeakReference`1<Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession>[]
struct WeakReference_1U5BU5D_t5D09F024C0E1715447149CF2329F2A04F9A30BD4_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<WeakReference_1U5BU5D_t5D09F024C0E1715447149CF2329F2A04F9A30BD4_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline WeakReference_1U5BU5D_t5D09F024C0E1715447149CF2329F2A04F9A30BD4_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<WeakReference_1U5BU5D_t5D09F024C0E1715447149CF2329F2A04F9A30BD4_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_WeakReference_1U5BU5D_t5D09F024C0E1715447149CF2329F2A04F9A30BD4(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(WeakReference_1U5BU5D_t5D09F024C0E1715447149CF2329F2A04F9A30BD4_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) WeakReference_1U5BU5D_t5D09F024C0E1715447149CF2329F2A04F9A30BD4_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.KeyValuePair`2<System.UInt64,System.WeakReference`1<Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession>>[]
struct KeyValuePair_2U5BU5D_t9B3E64DC09C0E3ECFD2F19C53618D209E41F708F_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t9B3E64DC09C0E3ECFD2F19C53618D209E41F708F_ComCallableWrapper>, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline KeyValuePair_2U5BU5D_t9B3E64DC09C0E3ECFD2F19C53618D209E41F708F_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyValuePair_2U5BU5D_t9B3E64DC09C0E3ECFD2F19C53618D209E41F708F_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[1] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyValuePair_2U5BU5D_t9B3E64DC09C0E3ECFD2F19C53618D209E41F708F(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyValuePair_2U5BU5D_t9B3E64DC09C0E3ECFD2F19C53618D209E41F708F_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyValuePair_2U5BU5D_t9B3E64DC09C0E3ECFD2F19C53618D209E41F708F_ComCallableWrapper(obj));
}
// COM Callable Wrapper for Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorWatcher[]
struct CloudSpatialAnchorWatcherU5BU5D_t5A4B802167B0D0537A7175604FAE43B5B5FF6223_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<CloudSpatialAnchorWatcherU5BU5D_t5A4B802167B0D0537A7175604FAE43B5B5FF6223_ComCallableWrapper>, IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397, IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7, IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356, IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39
{
inline CloudSpatialAnchorWatcherU5BU5D_t5A4B802167B0D0537A7175604FAE43B5B5FF6223_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<CloudSpatialAnchorWatcherU5BU5D_t5A4B802167B0D0537A7175604FAE43B5B5FF6223_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4);
interfaceIds[0] = IIterable_1_tCEBE09BB51EEAF144D8DFD26AEE42C0695F99397::IID;
interfaceIds[1] = IBindableIterable_t9143D67D77A22933794984D33C26495AE2C9D6D7::IID;
interfaceIds[2] = IVectorView_1_t8FBE5F15A5FFCD784D7B38F649A6315DDACD4356::IID;
interfaceIds[3] = IBindableVector_tA1A0182B1D20219B22AE55394F419A2646929D39::IID;
*iidCount = 4;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E(IIterator_1_t0E6849676A0AAF0EFC91B07D0CDDD1843CA1A616** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m1B7A0980705E71FC04AE1DB4CAABD75131CD930E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63(IBindableIterator_t4EB9DDBBBED9295CB77A2FAD2C1171407B95575B** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m35A822CD2DF5C55F51539416F98640C7123A6C63_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetAt_mD3660639E080D0270BD89F5FF0E11D420C7C24A3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_get_Size_m0843BB6131B4AABC19D01E1F36A545E661F1D836_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_IndexOf_m5856F61ED284420941D9E9331FB3334F5592B4B7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IVectorView_1_GetMany_m7D4ECA15D113EFDF96BC56FFEA31151E28191EB3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetAt_m860227C0726F0C40C40300F2D114C90C040DCFBD_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771(uint32_t* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_get_Size_m1804E8861F18C40EC16058667D11382062A82771_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55(IBindableVectorView_t599103232DE439473A83B23E8CC3259B59BFC11E** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_GetView_m4C2BFF3B150F6EB8019728B4C2C2AF5879A81B55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE
{
return IBindableVector_IndexOf_mF971A05290A1678F48EC52978E53A9CBA688E489_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_SetAt_m4658569CC8E08EF010A7EB35E66059F7D4BBFDB8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE
{
return IBindableVector_InsertAt_mA154571EE15503B3425185CFB55419AA4ED3BD59_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C(uint32_t ___index0) IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAt_m7B14341EBAE9C5799028FC3EF0771210595F4E3C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE
{
return IBindableVector_Append_m623B1AF95642A0AE7BE231983B60CC203FDF4214_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0);
}
virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC() IL2CPP_OVERRIDE
{
return IBindableVector_RemoveAtEnd_m391C9A85A1C813017D9EBB3211CA294156F654FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1() IL2CPP_OVERRIDE
{
return IBindableVector_Clear_mBEA87A79EBF207B3F5701BB09506759CBC6F5ED1_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_CloudSpatialAnchorWatcherU5BU5D_t5A4B802167B0D0537A7175604FAE43B5B5FF6223(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(CloudSpatialAnchorWatcherU5BU5D_t5A4B802167B0D0537A7175604FAE43B5B5FF6223_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) CloudSpatialAnchorWatcherU5BU5D_t5A4B802167B0D0537A7175604FAE43B5B5FF6223_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Array_EmptyInternalEnumerator`1<System.Type>
struct EmptyInternalEnumerator_1_tC82C87CC446F0F9A9D935007E2BAEA2880312BF3_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<EmptyInternalEnumerator_1_tC82C87CC446F0F9A9D935007E2BAEA2880312BF3_ComCallableWrapper>, IClosable_t5808AF951019E4388C66F7A88AC569F52F581167
{
inline EmptyInternalEnumerator_1_tC82C87CC446F0F9A9D935007E2BAEA2880312BF3_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<EmptyInternalEnumerator_1_tC82C87CC446F0F9A9D935007E2BAEA2880312BF3_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IClosable_t5808AF951019E4388C66F7A88AC569F52F581167::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IClosable_t5808AF951019E4388C66F7A88AC569F52F581167*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IClosable_t5808AF951019E4388C66F7A88AC569F52F581167::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return ComObjectBase::GetRuntimeClassName(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IClosable_Close_m9A054CE065D4C97FAF595A8F92B3CB3463C5BCD6() IL2CPP_OVERRIDE
{
return IClosable_Close_m9A054CE065D4C97FAF595A8F92B3CB3463C5BCD6_ComCallableWrapperProjectedMethod(GetManagedObjectInline());
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_EmptyInternalEnumerator_1_tC82C87CC446F0F9A9D935007E2BAEA2880312BF3(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(EmptyInternalEnumerator_1_tC82C87CC446F0F9A9D935007E2BAEA2880312BF3_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) EmptyInternalEnumerator_1_tC82C87CC446F0F9A9D935007E2BAEA2880312BF3_ComCallableWrapper(obj));
}
| [
"[email protected]"
] | |
f1f2caeefdc779b4bbecb69b863fae865752abbe | 9f273c2d455a356cfee92b2d065cc0c5c9f30291 | /src/libcommon/burstguard.cpp | 770440ba39efb52416a587f320f4ed6aea4a03d0 | [] | no_license | mullvad/windows-libraries | 76ac1efa4e10ac0c860e415fb4fb3df588b78991 | f5114c49bd9845533f193b57d55f27a5fbb47ef0 | refs/heads/master | 2023-06-12T01:21:40.809620 | 2023-05-31T09:05:42 | 2023-05-31T09:07:37 | 134,537,846 | 21 | 14 | null | 2023-06-01T07:43:40 | 2018-05-23T08:26:54 | C++ | UTF-8 | C++ | false | false | 2,439 | cpp | #include "stdafx.h"
#include "burstguard.h"
#include <process.h>
#include <libcommon/error.h>
namespace common
{
BurstGuard::BurstGuard(Callback callback, uint32_t burstDuration, uint32_t interferenceInterval)
: m_callback(callback)
, m_burstDuration(burstDuration)
, m_interferenceInterval(interferenceInterval)
, m_timestampBurstStart(0)
, m_threadState(ThreadState::Sleeping)
{
m_stateEvent = CreateEventW(nullptr, TRUE, FALSE, nullptr);
if (nullptr == m_stateEvent)
{
THROW_WINDOWS_ERROR(GetLastError(), "Create BurstGuard thread state event object");
}
const auto t = _beginthreadex(nullptr, 0, BurstGuard::Thread, this, 0, nullptr);
if (0 == t)
{
CloseHandle(m_stateEvent);
THROW_ERROR("Failed to create BurstGuard thread");
}
m_thread = reinterpret_cast<HANDLE>(t);
}
BurstGuard::~BurstGuard()
{
{
std::scoped_lock<std::mutex> lock(m_mutex);
m_threadState = ThreadState::Exiting;
SetEvent(m_stateEvent);
}
WaitForSingleObject(m_thread, INFINITE);
CloseHandle(m_thread);
CloseHandle(m_stateEvent);
}
void BurstGuard::trigger()
{
std::scoped_lock<std::mutex> lock(m_mutex);
const uint64_t timestampNow = static_cast<uint64_t>(GetTickCount64());
if (0 == m_timestampBurstStart)
{
m_timestampBurstStart = timestampNow;
}
else if (0 != m_interferenceInterval
&& timestampNow - m_timestampBurstStart >= m_interferenceInterval)
{
m_callback();
m_timestampBurstStart = 0;
m_threadState = ThreadState::Sleeping;
SetEvent(m_stateEvent);
return;
}
//
// Reset timer.
//
m_threadState = ThreadState::WaitingBurstEnd;
SetEvent(m_stateEvent);
}
//static
unsigned __stdcall BurstGuard::Thread(void *context)
{
reinterpret_cast<BurstGuard *>(context)->thread();
return 0;
}
void BurstGuard::thread()
{
for (;;)
{
WaitForSingleObject(m_stateEvent, INFINITE);
ack_and_process:
ThreadState state;
{
std::scoped_lock<std::mutex> lock(m_mutex);
ResetEvent(m_stateEvent);
state = m_threadState;
}
if (ThreadState::Sleeping == state)
{
continue;
}
if (ThreadState::Exiting == state)
{
break;
}
//
// Wait for burst to end.
//
if (WAIT_TIMEOUT != WaitForSingleObject(m_stateEvent, m_burstDuration))
{
goto ack_and_process;
}
//
// Burst has ended.
//
{
std::scoped_lock<std::mutex> lock(m_mutex);
if (0 != m_timestampBurstStart)
{
m_callback();
m_timestampBurstStart = 0;
}
}
}
}
}
| [
"[email protected]"
] | |
e45ab2dac823b95b0876eba03598fd183b220921 | 573067f1b90749071e17e037b52cdae52398b2b1 | /dpf/internal/pseudorandom_generator.cc | a62ae9b0a18aaede0d3645b2d83abd541860c139 | [
"Apache-2.0"
] | permissive | alabid/distributed_point_functions | 4e60ab6966eaac12e38290f0ef93c7eebbfa2e30 | 82f4da7a109bb4507b770c780b77cc38803b89c4 | refs/heads/master | 2023-03-28T13:57:52.632107 | 2021-04-01T15:20:18 | 2021-04-01T15:20:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,345 | cc | /*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "dpf/internal/pseudorandom_generator.h"
#include <vector>
namespace private_statistics {
namespace dpf {
namespace dpf_internal {
PseudorandomGenerator::PseudorandomGenerator(
bssl::UniquePtr<EVP_CIPHER_CTX> prg_ctx)
: prg_ctx_(std::move(prg_ctx)) {}
absl::StatusOr<PseudorandomGenerator> PseudorandomGenerator::Create(
absl::uint128 key) {
bssl::UniquePtr<EVP_CIPHER_CTX> prg_ctx(EVP_CIPHER_CTX_new());
if (!prg_ctx) {
return absl::InternalError("Failed to allocate AES context");
}
// Set up the OpenSSL encryption context. We want to evaluate the PRG in
// parallel on many seeds (see class comment in pseudorandom_generator.h), so
// we're using ECB mode here to achieve that. This batched evaluation is not
// to be confused with encryption of an array, for which ECB would be
// insecure.
int openssl_status =
EVP_EncryptInit_ex(prg_ctx.get(), EVP_aes_128_ecb(), nullptr,
reinterpret_cast<const uint8_t*>(&key), nullptr);
if (openssl_status != 1) {
return absl::InternalError("Failed to set up AES context");
}
return PseudorandomGenerator(std::move(prg_ctx));
}
absl::Status PseudorandomGenerator::Evaluate(
absl::Span<const absl::uint128> in, absl::Span<absl::uint128> out) const {
if (in.size() != out.size()) {
return absl::InvalidArgumentError("Input and output sizes don't match");
}
if (in.empty()) {
// Nothing to do.
return absl::OkStatus();
}
if (static_cast<int64_t>(in.size() * sizeof(absl::uint128)) >
static_cast<int64_t>(std::numeric_limits<int>::max())) {
return absl::InvalidArgumentError(
"`in` is too large: OpenSSL needs the size (in bytes) to fit in an "
"int");
}
// Compute orthomorphism sigma for each element in `in`.
std::vector<absl::uint128> sigma_in(in.size());
for (int64_t i = 0; i < static_cast<int64_t>(in.size()); ++i) {
sigma_in[i] = absl::MakeUint128(
absl::Uint128High64(in[i]) ^ absl::Uint128Low64(in[i]),
absl::Uint128High64(in[i]));
}
int out_len;
int openssl_status = EVP_EncryptUpdate(
prg_ctx_.get(), reinterpret_cast<uint8_t*>(out.data()), &out_len,
reinterpret_cast<const uint8_t*>(sigma_in.data()),
static_cast<int>(in.size() * sizeof(absl::uint128)));
if (openssl_status != 1) {
return absl::InternalError("AES encryption failed");
}
if (static_cast<size_t>(out_len) != out.size() * sizeof(absl::uint128)) {
return absl::InternalError("OpenSSL output size does not match");
}
for (int64_t i = 0; i < static_cast<int64_t>(in.size()); ++i) {
out[i] ^= sigma_in[i];
}
return absl::OkStatus();
}
} // namespace dpf_internal
} // namespace dpf
} // namespace private_statistics
| [
"[email protected]"
] | |
0d674fc2a24e0c82c4e0d2d7103c0c11012c06a8 | 25da7445d9be46204b273f6b3e00b5384946f826 | /02-safearray-stud/src/safearray.hpp | 42abf15126c66022288f3c8b6a079cb7d3357636 | [] | no_license | drdolgosheev/algo.stud | ccee9aa52a4000ee13b8ffe0944fef449d864a34 | 55635295aba9fd19d5ab5d87b24b90c3aa5a16b7 | refs/heads/master | 2023-01-14T11:33:12.838188 | 2020-11-13T13:43:53 | 2020-11-13T13:43:53 | 311,275,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,836 | hpp | ////////////////////////////////////////////////////////////////////////////////
/// \file
/// \brief Safearray class methods definition
/// \author Sergey Shershakov
/// \version 0.2.0
/// \date 30.01.2017
/// This is a part of the course "Algorithms and Data Structures"
/// provided by the School of Software Engineering of the Faculty
/// of Computer Science at the Higher School of Economics.
///
/// This file contains templates of the method of the class Safearray.
/// This file is not going to be used w/o its main counterpart, safearray.h.
/// Since the file is used only through safearray.h, which has its own "include
/// watcher", we add no addition "watcher" here.
///
////////////////////////////////////////////////////////////////////////////////
// #ifndef // No need to have a watcher here!
// we have to indicate that methods of the class Safearray are also inside the namespace xi
namespace xi {
template <typename T>
SafeArray<T>::SafeArray(size_t cap)
{
_storage = new T[cap];
_capacity = cap;
// TODO: здесь необходимо добавить реализацию метода
}
// TODO: реализуйте остальные методы по образцу выше
template <typename T>
SafeArray<T>::~SafeArray()
{
delete[] _storage;
_storage = nullptr;
_capacity = 0;
}
template <typename T>
size_t SafeArray<T>::getCapacity() const
{
return _capacity;
}
template <typename T>
void SafeArray<T>::checkBounds(size_t index) const
{
if(index >= _capacity)
{
throw std::out_of_range("Out of range!");
}
}
template <typename T>
T& SafeArray<T>::operator[](size_t k)
{
checkBounds(k);
return _storage[k];
}
template <typename T>
const T& SafeArray<T>::operator[](size_t k) const
{
checkBounds(k);
return _storage[k];
}
template <typename T>
SafeArray<T>::SafeArray(const xi::SafeArray<T> &other)
{
_storage = new T[other.getCapacity()];
for (int i = 0; i < other.getCapacity(); ++i)
{
_storage[i] = other._storage[i];
}
_capacity = other.getCapacity();
}
template <typename T>
SafeArray<T>& SafeArray<T>::operator=(const xi::SafeArray<T> &other)
{
_storage = new T[other.getCapacity()];
for (int i = 0; i < other.getCapacity(); ++i)
{
_storage[i] = other._storage[i];
}
_capacity = other.getCapacity();
return *this;
}
template <typename T>
const void SafeArray<T>::swap(xi::SafeArray<T>& safeArray_1, xi::SafeArray<T>& safeArray_2)
{
T* swap_arr = safeArray_1._storage;
safeArray_1._storage = safeArray_2._storage;
safeArray_2._storage = swap_arr;
size_t cap = safeArray_1.getCapacity();
safeArray_1._capacity = safeArray_2._capacity;
safeArray_2._storage = cap;
}
}// namespace xi
| [
"[email protected]"
] | |
909adc714ba9ebb2876d33b46cae8c21a709b7e7 | da3bb1cc842dd73943a5324511c2f7f7fb57002d | /Miscellaneous/Analysis/TimeAnalysis/main.cpp | 218b2483a70bdcd111418158fd02b22595d1e17b | [] | no_license | stanford-futuredata/FEXIPRO-orig | dd9a593b239ae32f30b083bb1ff47f40e338c07f | 4082fed9ab986af2539f2c388e797cd6071b065f | refs/heads/master | 2021-01-25T09:14:39.386862 | 2017-11-01T20:49:46 | 2017-11-01T20:49:46 | 93,802,494 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | cpp | #include "util/Base.h"
#include "structs/Matrix.h"
#include "alg/BasicNormPrune.h"
#include "alg/BasicNormPruneIncr.h"
void scanAndCompute(string qDataPath, string pDataPath, int k) {
Matrix q;
Matrix p;
q.readData(qDataPath);
p.readData(pDataPath);
cout << "q:" << q.rowNum << endl;
cout << "p:" << p.rowNum << endl;
// step 1: record when to stop
unsigned long long computationAmount;
unsigned long long heapOperationAmount1;
unsigned long long heapOperationAmount2;
basicNormPruneRecord(k, q, p, computationAmount, heapOperationAmount1, heapOperationAmount2);
cout << "computationAmount: " << computationAmount << endl;
cout << "heapOperationAmount1: " << heapOperationAmount1 << endl;
cout << "heapOperationAmount2: " << heapOperationAmount2 << endl;
cout << "step 1 finish" << endl;
// step 2: only scan
basicNormPruneOnlyScan(k, q, p, computationAmount, heapOperationAmount1, heapOperationAmount2);
// basicNormPruneOnlyCompute(q.rowNum, q.colNum, readFlag);
cout << "step 2 finish" << endl;
}
void orderTimeForIncr(string qDataPath, string pDataPath, int k) {
Matrix q;
Matrix p;
q.readData(qDataPath);
p.readData(pDataPath);
cout << "q:" << q.rowNum << endl;
cout << "p:" << p.rowNum << endl;
basicNormPruneIncr(k, 10, q, p);
}
int main(int argc, char **argv) {
string qDataPath = "./q.txt";
string pDataPath = "./p.txt";
int k = 1;
scanAndCompute(qDataPath, pDataPath, k);
// not useable. Order by q requires recomupting subnorm!!!
orderTimeForIncr(qDataPath, pDataPath, k);
return 0;
}
| [
"[email protected]"
] | |
b74fc1a6a52f41fb69d55cdf38f4f5e8411c1d1f | f4fa14818f3d8b722e82e8562acf6b2740847633 | /3rdparty/dcmtk-3.5.4/dcmpstat/dviface.cc | e8e07441463536e423af9bfe4a74ddcda0de7745 | [
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-4.3TAHOE",
"JasPer-2.0",
"xlock",
"IJG",
"OFFIS",
"LicenseRef-scancode-other-permissive"
] | permissive | bxgaillard/dicomsel | fafb5a87d56cf51e1abbf8bf9b5c7c768d85816d | 711adabecc0fa4cebae6cb12ff27a3a9ef554c36 | refs/heads/master | 2020-03-14T17:58:43.740137 | 2006-11-17T08:51:21 | 2018-05-01T15:49:25 | 131,732,345 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 182,239 | cc | /*
*
* Copyright (C) 1998-2005, OFFIS
*
* This software and supporting documentation were developed by
*
* Kuratorium OFFIS e.V.
* Healthcare Information and Communication Systems
* Escherweg 2
* D-26121 Oldenburg, Germany
*
* THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRANTY
* REGARDING THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR
* FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES OR
* ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND
* PERFORMANCE OF THE SOFTWARE IS WITH THE USER.
*
* Module: dcmpstat
*
* Author: Joerg Riesmeier, Marco Eichelberg
*
* Purpose: DVPresentationState
*
* Last Update: $Author: meichel $
* Update Date: $Date: 2005/12/08 15:46:15 $
* CVS/RCS Revision: $Revision: 1.154 $
* Status: $State: Exp $
*
* CVS/RCS Log at end of file
*
*/
#include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
#include "dcmtk/dcmpstat/dviface.h"
#include "dcmtk/dcmpstat/dvpsdef.h" /* for constants */
#include "dcmtk/ofstd/ofstring.h" /* for class OFString */
#include "dcmtk/ofstd/ofbmanip.h" /* for OFBitmanipTemplate */
#include "dcmtk/ofstd/ofdatime.h" /* for OFDateTime */
#include "dcmtk/ofstd/oflist.h" /* for class OFList */
#include "dcmtk/ofstd/oflogfil.h" /* for class OFLogFile */
#include "dcmtk/ofstd/ofstream.h"
#include "dcmtk/ofstd/ofcast.h"
#include "dcmtk/dcmimgle/digsdfn.h" /* for DiGSDFunction */
#include "dcmtk/dcmimgle/diciefn.h" /* for DiCIELABFunction */
#include "dcmtk/dcmnet/diutil.h" /* for DU_getStringDOElement */
#include "dcmtk/dcmpstat/dvpssp.h" /* for class DVPSStoredPrint */
#include "dcmtk/dcmpstat/dvpshlp.h" /* for class DVPSHelper */
#include "dcmtk/dcmimgle/dcmimage.h" /* for class DicomImage */
#include "dcmtk/dcmpstat/dvsighdl.h" /* for class DVSignatureHandler */
#include "dcmtk/dcmsign/dcsignat.h" /* for class DcmSignature */
#include "dcmtk/dcmsr/dsrdoc.h" /* for class DSRDocument */
#include "dcmtk/dcmsr/dsrcodvl.h" /* for class DSRCodedEntryValue */
#include "dcmtk/dcmpstat/dvpsib.h" /* for DVPSImageBoxContent, needed by MSVC5 with STL */
#include "dcmtk/dcmpstat/dvpsab.h" /* for DVPSAnnotationContent, needed by MSVC5 with STL */
#include "dcmtk/dcmpstat/dvpsov.h" /* for DVPSOverlay, needed by MSVC5 with STL */
#include "dcmtk/dcmpstat/dvpsgl.h" /* for DVPSGraphicLayer, needed by MSVC5 with STL */
#include "dcmtk/dcmpstat/dvpsal.h" /* for DVPSOverlayCurveActivationLayer, needed by MSVC5 with STL */
#include "dcmtk/dcmpstat/dvpsga.h" /* for DVPSGraphicAnnotation, needed by MSVC5 with STL */
#include "dcmtk/dcmpstat/dvpscu.h" /* for DVPSCurve, needed by MSVC5 with STL */
#include "dcmtk/dcmpstat/dvpsvl.h" /* for DVPSVOILUT, needed by MSVC5 with STL */
#include "dcmtk/dcmpstat/dvpsvw.h" /* for DVPSVOIWindow, needed by MSVC5 with STL */
#include "dcmtk/dcmpstat/dvpsda.h" /* for DVPSDisplayedArea, needed by MSVC5 with STL */
#include "dcmtk/dcmpstat/dvpssv.h" /* for DVPSSoftcopyVOI, needed by MSVC5 with STL */
#include "dcmtk/dcmpstat/dvpsrs.h" /* for DVPSReferencedSeries, needed by MSVC5 with STL */
#include "dcmtk/dcmpstat/dvpstx.h" /* for DVPSTextObject, needed by MSVC5 with STL */
#include "dcmtk/dcmpstat/dvpsgr.h" /* for DVPSGraphicObject, needed by MSVC5 with STL */
#include "dcmtk/dcmpstat/dvpsri.h" /* for DVPSReferencedImage, needed by MSVC5 with STL */
#include "dcmtk/dcmqrdb/dcmqrdbi.h" /* for DB_UpperMaxBytesPerStudy */
#include "dcmtk/dcmqrdb/dcmqrdbs.h" /* for DcmQueryRetrieveDatabaseStatus */
#define INCLUDE_CSTDIO
#define INCLUDE_CCTYPE
#define INCLUDE_CMATH
#define INCLUDE_UNISTD
#include "dcmtk/ofstd/ofstdinc.h"
BEGIN_EXTERN_C
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h> /* for fork */
#endif
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h> /* for waitpid */
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h> /* for wait3 */
#endif
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h> /* for wait3 */
#endif
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h> /* for stat, fstat */
#endif
#ifdef HAVE_SYS_UTIME_H
#include <sys/utime.h> /* for utime */
#endif
#ifdef HAVE_UTIME_H
#include <utime.h> /* for utime */
#endif
END_EXTERN_C
#ifdef HAVE_WINDOWS_H
#include <windows.h>
#include <winbase.h> /* for CreateProcess */
#endif
#ifdef WITH_OPENSSL
#include "dcmtk/dcmtls/tlstrans.h"
#include "dcmtk/dcmtls/tlslayer.h"
BEGIN_EXTERN_C
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
#include <openssl/err.h>
END_EXTERN_C
#endif
DVInterface::DVInterface(const char *config_file, OFBool useLog)
: DVConfiguration(config_file)
, pPrint(NULL)
, pState(NULL)
, pReport(NULL)
, pSignatureHandler(NULL)
, pStoredPState(NULL)
, pDicomImage(NULL)
, pDicomPState(NULL)
, pHardcopyImage(NULL)
, printJobIdentifier()
, printJobCounter(0)
, configPath()
, databaseIndexFile()
, referenceTime(0)
, pHandle(NULL)
, lockingMode(OFFalse)
, idxCache()
, idxRec()
, idxRecPos(-1)
, imageInDatabase(OFFalse)
, minimumPrintBitmapWidth(0)
, minimumPrintBitmapHeight(0)
, maximumPrintBitmapWidth(0)
, maximumPrintBitmapHeight(0)
, maximumPrintPreviewWidth(0)
, maximumPrintPreviewHeight(0)
, maximumPreviewImageWidth(0)
, maximumPreviewImageHeight(0)
, currentPrinter()
, displayCurrentLUTID()
, printCurrentLUTID()
, printerMediumType()
, printerFilmDestination()
, printerFilmSessionLabel()
, printerNumberOfCopies(0)
, printerPriority()
, printerOwnerID()
, activateAnnotation(OFFalse)
, prependDateTime(OFTrue)
, prependPrinterName(OFTrue)
, prependLighting(OFTrue)
, annotationText()
, logFile(NULL)
{
#ifdef WITH_OPENSSL
DcmSignature::initializeLibrary(); // initializes OpenSSL for dcmsign and dcmtls
#endif
clearIndexRecord(idxRec, idxRecPos);
if (config_file) configPath = config_file;
/* initialize display transform (only on low-cost systems) */
for (int i = DVPSD_first; i < DVPSD_max;i++)
displayFunction[i] = NULL;
if (!getGUIConfigEntryBool(L2_HIGHRESOLUTIONGRAPHICS, OFFalse))
{
const char *displayFunctionFile = getMonitorCharacteristicsFile();
if (displayFunctionFile && (strlen(displayFunctionFile) > 0))
{
DiDisplayFunction *df = new DiGSDFunction(displayFunctionFile);
if (df && (df->isValid()))
{
displayFunction[DVPSD_GSDF] = df;
df = new DiCIELABFunction(displayFunctionFile);
if (df && (df->isValid()))
displayFunction[DVPSD_CIELAB] = df;
}
else
{
if (df) delete df;
if (verboseMode)
{
logstream->lockCerr() << "warning: unable to load monitor characterics file '" << displayFunctionFile << "', ignoring." << endl;
logstream->unlockCerr();
}
}
}
}
minimumPrintBitmapWidth = getMinPrintResolutionX();
minimumPrintBitmapHeight = getMinPrintResolutionY();
maximumPrintBitmapWidth = getMaxPrintResolutionX();
maximumPrintBitmapHeight = getMaxPrintResolutionY();
maximumPreviewImageWidth = getMaxPreviewResolutionX();
maximumPreviewImageHeight = getMaxPreviewResolutionY();
pPrint = new DVPSStoredPrint(getDefaultPrintIllumination(), getDefaultPrintReflection(), getNetworkAETitle());
pState = new DVPresentationState(OFstatic_cast(DiDisplayFunction **, displayFunction),
minimumPrintBitmapWidth, minimumPrintBitmapHeight, maximumPrintBitmapWidth, maximumPrintBitmapHeight,
maximumPreviewImageWidth, maximumPreviewImageHeight);
pReport = new DSRDocument();
pSignatureHandler = new DVSignatureHandler(*this);
if (pPrint) pPrint->setLog(logstream, verboseMode, debugMode);
if (pState) pState->setLog(logstream, verboseMode, debugMode);
if (pReport && debugMode)
pReport->setLogStream(logstream);
referenceTime = OFstatic_cast(unsigned long, time(NULL));
/* initialize printJobIdentifier with a string comprising the current time */
char buf[20];
sprintf(buf, "%lu", referenceTime);
printJobIdentifier = buf;
/* initialize reference time with "yesterday" */
if (referenceTime >= 86400) referenceTime -= 86400; // subtract one day
setCurrentPrinter(getTargetID(0, DVPSE_printAny));
if (useLog)
{
const char *filename = getLogFile();
if (filename != NULL)
{
const char *directory = getLogFolder();
if (directory != NULL)
{
OFString filepath = directory;
filepath += PATH_SEPARATOR;
filepath += filename;
logFile = new OFLogFile(filepath.c_str());
} else
logFile = new OFLogFile(filename);
if (logFile != NULL)
logFile->setFilter(OFstatic_cast(OFLogFile::LF_Level, OFstatic_cast(int, getLogLevel())));
writeLogMessage(DVPSM_informational, "DCMPSTAT", "---------------------------\n--- Application started ---\n---------------------------");
}
}
}
DVInterface::~DVInterface()
{
writeLogMessage(DVPSM_informational, "DCMPSTAT", "Application terminated.");
delete pPrint;
delete pState;
delete pReport;
delete pSignatureHandler;
delete pStoredPState;
delete pDicomImage;
delete pDicomPState;
delete pHardcopyImage;
delete logFile;
for (int i = DVPSD_first; i < DVPSD_max; i++)
delete displayFunction[i];
if (pHandle) releaseDatabase();
// refresh database index file access time
if (databaseIndexFile.length() > 0)
// cast to char* required for gcc 2.5.8 on NeXTSTEP
utime(OFconst_cast(char *, databaseIndexFile.c_str()), NULL);
}
OFCondition DVInterface::loadImage(const char *studyUID,
const char *seriesUID,
const char *instanceUID,
OFBool changeStatus)
{
OFCondition status = EC_IllegalCall;
if (studyUID && seriesUID && instanceUID)
{
if (lockDatabase() == EC_Normal)
{
const char *filename = getFilename(studyUID, seriesUID, instanceUID);
if (filename)
{
if ((status = loadImage(filename)) == EC_Normal)
{
imageInDatabase = OFTrue;
if (changeStatus)
instanceReviewed(studyUID, seriesUID, instanceUID);
}
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load image from database failed: UIDs not in index file.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load image from database failed: could not lock index file.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load image from database failed: invalid UIDs.");
return status;
}
OFCondition DVInterface::loadImage(const char *imgName)
{
OFCondition status = EC_IllegalCall;
DcmFileFormat *image = NULL;
DVPresentationState *newState = new DVPresentationState(OFstatic_cast(DiDisplayFunction **, displayFunction),
minimumPrintBitmapWidth, minimumPrintBitmapHeight, maximumPrintBitmapWidth, maximumPrintBitmapHeight,
maximumPreviewImageWidth, maximumPreviewImageHeight);
if (newState==NULL)
{
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load image from file failed: memory exhausted.");
return EC_MemoryExhausted;
}
newState->setLog(logstream, verboseMode, debugMode);
if ((status = DVPSHelper::loadFileFormat(imgName, image)) == EC_Normal)
{
if (image)
{
DcmDataset *dataset = image->getDataset();
if (dataset)
{
if (EC_Normal == (status = newState->createFromImage(*dataset)))
status = newState->attachImage(image, OFFalse);
if (EC_Normal == status)
{
exchangeImageAndPState(newState, image);
imageInDatabase = OFFalse;
}
} else status = EC_CorruptedData;
} else status = EC_IllegalCall;
if (status != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load image from file failed: invalid data structures.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load image from file failed: could not read fileformat.");
if (status != EC_Normal)
{
delete newState;
delete image;
}
return status;
}
OFCondition DVInterface::loadReferencedImage(size_t idx, OFBool changeStatus)
{
OFCondition status = EC_IllegalCall;
if ((pState != NULL) && (idx < pState->numberOfImageReferences()))
{
OFString ofstudyUID, ofseriesUID, ofsopclassUID, ofinstanceUID, offrames, aetitle, mediaID, mediaUID;
if ((status = pState->getImageReference(idx, ofstudyUID, ofseriesUID, ofsopclassUID, ofinstanceUID,
offrames, aetitle, mediaID, mediaUID)) == EC_Normal)
{
if (lockDatabase() == EC_Normal)
{
const char *filename = getFilename(ofstudyUID.c_str(), ofseriesUID.c_str(), ofinstanceUID.c_str());
if (filename != NULL)
{
DcmFileFormat *image = NULL;
if ((status = DVPSHelper::loadFileFormat(filename, image)) == EC_Normal)
{
status = EC_IllegalCall;
if (image != NULL)
{
DcmDataset *dataset = image->getDataset();
if (dataset != NULL)
{
if ((status = pState->attachImage(image, OFFalse)) == EC_Normal)
{
exchangeImageAndPState(pState, image); // do not exchange pState
imageInDatabase = OFTrue;
if (changeStatus)
instanceReviewed(ofstudyUID.c_str(), ofseriesUID.c_str(), ofinstanceUID.c_str());
}
}
}
if (status != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load referenced image from file failed: invalid data structures.");
} else {
status = EC_CorruptedData;
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load referenced image from file failed: could not read fileformat.");
}
if (status != EC_Normal)
delete image;
} else {
status = EC_IllegalCall;
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load referenced image from database failed: UIDs not in index file.");
}
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load referenced image from database failed: could not lock index file.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load referenced image from database failed: internal error.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load referenced image from database failed: internal error.");
return status;
}
OFCondition DVInterface::loadPState(const char *studyUID,
const char *seriesUID,
const char *instanceUID,
OFBool changeStatus)
{
// determine the filename of the presentation state
OFCondition status = lockDatabase();
if (status != EC_Normal)
{
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load presentation state from database failed: could not lock index file.");
return status;
}
const char *filename = getFilename(studyUID, seriesUID, instanceUID);
if (filename==NULL)
{
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load presentation state from database failed: UIDs not in index file.");
return EC_IllegalCall;
}
// load the presentation state
DcmFileFormat *pstate = NULL;
DVPresentationState *newState = new DVPresentationState(OFstatic_cast(DiDisplayFunction **, displayFunction),
minimumPrintBitmapWidth, minimumPrintBitmapHeight, maximumPrintBitmapWidth, maximumPrintBitmapHeight,
maximumPreviewImageWidth, maximumPreviewImageHeight);
if (newState==NULL)
{
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load presentation state from database failed: memory exhausted.");
return EC_MemoryExhausted;
}
newState->setLog(logstream, verboseMode, debugMode);
if ((EC_Normal == (status = DVPSHelper::loadFileFormat(filename, pstate)))&&(pstate))
{
DcmDataset *dataset = pstate->getDataset();
if (dataset) status = newState->read(*dataset); else status = EC_CorruptedData;
}
if (status == EC_Normal)
{
// access the first image reference in the presentation state
OFString ofstudyUID, ofseriesUID, ofsopclassUID, ofinstanceUID, offrames, aetitle, mediaID, mediaUID;
status = newState->getImageReference(0, ofstudyUID, ofseriesUID, ofsopclassUID, ofinstanceUID,
offrames, aetitle, mediaID, mediaUID);
// we could do something fancy with the retrieve AE title and the storage media ID here,
// but we just assume that the referenced image is in our local database.
if (EC_Normal == status)
{
// determine the filename of the referenced image
const char *imagefilename = NULL;
imagefilename = getFilename(ofstudyUID.c_str(), ofseriesUID.c_str(), ofinstanceUID.c_str());
// load the image file and attach it
if (imagefilename)
{
DcmFileFormat *fimage = NULL;
if ((EC_Normal == (status = DVPSHelper::loadFileFormat(imagefilename, fimage)))&&(fimage))
{
DcmDataset *dataset = pstate->getDataset();
if (dataset)
{
status = newState->attachImage(fimage, OFFalse);
if (EC_Normal == status)
{
exchangeImageAndPState(newState, fimage, pstate);
imageInDatabase = OFTrue;
if (changeStatus)
{
// mark pstate and (first) image reviewed
instanceReviewed(studyUID, seriesUID, instanceUID);
instanceReviewed(ofstudyUID.c_str(), ofseriesUID.c_str(), ofinstanceUID.c_str());
}
}
} else status = EC_CorruptedData;
}
if (status!=EC_Normal)
{
delete fimage;
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load presentation state from database failed: could not read image data.");
}
} else {
status = EC_IllegalCall; // no valid image filename
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load presentation state from database failed: referenced image not in index file.");
}
}
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load presentation state from database failed: could not read fileformat.");
if (status!=EC_Normal)
{
delete pstate;
delete newState;
}
return status;
}
OFCondition DVInterface::loadPState(const char *pstName,
const char *imgName)
{
OFCondition status = EC_IllegalCall;
DcmFileFormat *pstate = NULL;
DcmFileFormat *image = pDicomImage; // default: do not replace image if image filename is NULL
DVPresentationState *newState = new DVPresentationState(OFstatic_cast(DiDisplayFunction **, displayFunction),
minimumPrintBitmapWidth, minimumPrintBitmapHeight, maximumPrintBitmapWidth, maximumPrintBitmapHeight,
maximumPreviewImageWidth, maximumPreviewImageHeight);
if (newState==NULL)
{
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load presentation state from file failed: memory exhausted.");
return EC_MemoryExhausted;
}
newState->setLog(logstream, verboseMode, debugMode);
if ((status = DVPSHelper::loadFileFormat(pstName, pstate)) == EC_Normal)
{
if ((imgName == NULL) || ((status = DVPSHelper::loadFileFormat(imgName, image)) == EC_Normal))
{
if ((pstate)&&(image))
{
DcmDataset *dataset = pstate->getDataset();
if (dataset)
{
if (EC_Normal == (status = newState->read(*dataset)))
status = newState->attachImage(image, OFFalse);
if (EC_Normal == status)
{
exchangeImageAndPState(newState, image, pstate);
imageInDatabase = OFFalse;
}
} else status = EC_CorruptedData;
} else status = EC_IllegalCall;
if (status != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load presentation state from file failed: invalid data structures.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load presentation state from file failed: could not load image.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load presentation state from file failed: could not read fileformat.");
if (status != EC_Normal)
{
delete newState;
if (image != pDicomImage)
delete image;
delete pstate;
}
return status;
}
OFCondition DVInterface::loadStructuredReport(const char *studyUID,
const char *seriesUID,
const char *instanceUID,
OFBool changeStatus)
{
OFCondition status = EC_IllegalCall;
if (studyUID && seriesUID && instanceUID)
{
if (lockDatabase() == EC_Normal)
{
const char *filename = getFilename(studyUID, seriesUID, instanceUID);
if (filename)
{
if ((status = loadStructuredReport(filename)) == EC_Normal)
{
if (changeStatus)
instanceReviewed(studyUID, seriesUID, instanceUID);
}
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load structured report from database failed: UIDs not in index file.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load structured report from database failed: could not lock index file.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load structured report from database failed: invalid UIDs.");
return status;
}
OFCondition DVInterface::loadStructuredReport(const char *filename)
{
OFCondition status = EC_IllegalCall;
DcmFileFormat *fileformat = NULL;
DSRDocument *newReport = new DSRDocument();
if (newReport == NULL)
{
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load structured report from file failed: memory exhausted.");
return EC_MemoryExhausted;
}
if (debugMode)
newReport->setLogStream(logstream);
if ((status = DVPSHelper::loadFileFormat(filename, fileformat)) == EC_Normal)
{
if (fileformat)
{
DcmDataset *dataset = fileformat->getDataset();
if (dataset)
{
if ((status = newReport->read(*dataset, DSRTypes::RF_readDigitalSignatures)) == EC_Normal)
{
delete pReport;
pReport = newReport;
if (pSignatureHandler)
{
pSignatureHandler->updateDigitalSignatureInformation(*dataset, DVPSS_structuredReport, OFTrue);
/* check whether loaded report is 'finalized' (certain attributes are digitally signed) */
DcmAttributeTag tagList(DcmTag(0, 0) /* irrelevant value */);
tagList.putTagVal(DCM_SOPInstanceUID, 0);
tagList.putTagVal(DCM_VerifyingObserverSequence, 1);
tagList.putTagVal(DCM_InstanceCreationDate, 2);
tagList.putTagVal(DCM_InstanceCreationTime, 3);
tagList.putTagVal(DCM_InstanceCreatorUID, 4);
if (pSignatureHandler->attributesSigned(*dataset, tagList))
pReport->finalizeDocument();
}
}
} else
status = EC_CorruptedData;
} else
status = EC_IllegalCall;
if (status != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load structured report from file failed: invalid data structures.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load structured report from file failed: could not read fileformat.");
if (status != EC_Normal)
delete newReport;
delete fileformat;
return status;
}
OFCondition DVInterface::loadSRTemplate(const char *reportID)
{
OFCondition result = EC_IllegalCall;
if (reportID)
{
const char *srfile = getReportFilename(reportID);
if (srfile)
{
OFString filename = getReportFolder(); // never NULL.
filename += PATH_SEPARATOR;
filename += srfile;
result = loadStructuredReport(filename.c_str());
if (result == EC_Normal)
{
if (pReport != NULL)
{
/* date/time is filled automatically if empty */
pReport->setContentDate("");
pReport->setContentTime("");
/* generate new study/series/instance UID and fill date/time */
pReport->createNewStudy();
}
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load structured reporting 'template' from file failed");
}
}
return result;
}
OFCondition DVInterface::savePState(OFBool replaceSOPInstanceUID)
{
// release database lock since we are using the DB module directly
releaseDatabase();
if (pState==NULL) return EC_IllegalCall;
const char *instanceUID = NULL;
if (replaceSOPInstanceUID) instanceUID=pState->createInstanceUID(); else instanceUID=pState->getInstanceUID();
if (instanceUID==NULL) return EC_IllegalCall;
DcmQueryRetrieveDatabaseStatus dbStatus(STATUS_Success);
OFCondition result=EC_Normal;
char imageFileName[MAXPATHLEN+1];
DcmQueryRetrieveIndexDatabaseHandle dbhandle(getDatabaseFolder(), PSTAT_MAXSTUDYCOUNT, PSTAT_STUDYSIZE, result);
if (result.bad())
{
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save presentation state to database failed: could not lock index file.");
return EC_IllegalCall;
}
if (dbhandle.makeNewStoreFileName(UID_GrayscaleSoftcopyPresentationStateStorage, instanceUID, imageFileName).good())
{
// now store presentation state as filename
result = savePState(imageFileName, OFFalse);
if (EC_Normal==result)
{
if (dbhandle.storeRequest(UID_GrayscaleSoftcopyPresentationStateStorage,
instanceUID, imageFileName, &dbStatus).bad())
{
result = EC_IllegalCall;
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save presentation state to database failed: could not register in index file.");
if (verboseMode)
{
ostream &mycerr = logstream->lockCerr();
mycerr << "unable to register presentation state '" << imageFileName << "' in database." << endl;
logstream->unlockCerr();
}
}
}
}
if (pDicomImage != NULL)
{
DcmDataset *dset = pDicomImage->getDataset();
if (dset != NULL)
{
DIC_UI sopClass;
DIC_UI instanceUID2;
DIC_UI seriesUID;
DIC_UI studyUID;
if (DU_getStringDOElement(dset, DCM_SOPClassUID, sopClass) &&
DU_getStringDOElement(dset, DCM_SOPInstanceUID, instanceUID2) &&
DU_getStringDOElement(dset, DCM_SeriesInstanceUID, seriesUID) &&
DU_getStringDOElement(dset, DCM_StudyInstanceUID, studyUID) &&
((!imageInDatabase) || (getSeriesStruct(studyUID, seriesUID, instanceUID2) == NULL)))
{
releaseDatabase(); /* avoid deadlocks */
if (dbhandle.makeNewStoreFileName(sopClass, instanceUID2, imageFileName).good())
{
// now store presentation state as filename
result = saveCurrentImage(imageFileName);
if (EC_Normal==result)
{
if (dbhandle.storeRequest(sopClass, instanceUID2, imageFileName, &dbStatus).bad())
{
result = EC_IllegalCall;
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save presentation state to database failed: could not register image in index file.");
if (verboseMode)
{
ostream &mycerr = logstream->lockCerr();
mycerr << "unable to register image '" << imageFileName << "' in database." << endl;
logstream->unlockCerr();
}
} else {
imageInDatabase = OFTrue;
}
}
}
}
}
}
return result;
}
OFCondition DVInterface::savePState(const char *filename, OFBool replaceSOPInstanceUID, OFBool explicitVR)
{
if (pState==NULL) return EC_IllegalCall;
if (filename==NULL) return EC_IllegalCall;
OFCondition status = EC_IllegalCall;
DcmFileFormat *fileformat = new DcmFileFormat();
DcmDataset *dataset = NULL;
if (fileformat) dataset=fileformat->getDataset();
if (dataset)
{
if ((status = pState->write(*dataset, replaceSOPInstanceUID)) == EC_Normal)
{
status = DVPSHelper::saveFileFormat(filename, fileformat, explicitVR);
// replace the stored data for resetPresentationState()
delete pDicomPState;
pDicomPState = fileformat;
fileformat = NULL; // make sure we don't delete fileformat later
if (pSignatureHandler)
{
pSignatureHandler->updateDigitalSignatureInformation(*pDicomPState->getDataset(), DVPSS_presentationState, OFFalse);
}
}
if (status != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save presentation state to file failed: could not write fileformat.");
} else {
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save presentation state to file failed: memory exhausted.");
status = EC_MemoryExhausted;
}
delete fileformat;
return status;
}
OFCondition DVInterface::saveCurrentImage(const char *filename, OFBool explicitVR)
{
if (filename==NULL) return EC_IllegalCall;
if (pDicomImage==NULL) return EC_IllegalCall;
OFCondition result = DVPSHelper::saveFileFormat(filename, pDicomImage, explicitVR);
if (result != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save image to file failed: could not write fileformat.");
return result;
}
OFCondition DVInterface::saveStructuredReport()
{
// release database lock since we are using the DB module directly
releaseDatabase();
if (pReport == NULL)
return EC_IllegalCall;
OFString sopClassUID;
if (pReport->getSOPClassUID(sopClassUID).length() == 0)
return EC_IllegalCall;
OFString instanceUID;
if (pReport->getSOPInstanceUID(instanceUID).length() == 0)
return EC_IllegalCall;
DcmQueryRetrieveDatabaseStatus dbStatus(STATUS_Success);
char filename[MAXPATHLEN+1];
OFCondition result = EC_Normal;
DcmQueryRetrieveIndexDatabaseHandle dbhandle(getDatabaseFolder(), PSTAT_MAXSTUDYCOUNT, PSTAT_STUDYSIZE, result);
if (result.bad())
{
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save structured report to database failed: could not lock index file.");
return EC_IllegalCall;
}
if (dbhandle.makeNewStoreFileName(sopClassUID.c_str(), instanceUID.c_str(), filename).good())
{
// now store presentation state as filename
result = saveStructuredReport(filename);
if (EC_Normal == result)
{
if (dbhandle.storeRequest(sopClassUID.c_str(), instanceUID.c_str(), filename, &dbStatus).bad())
{
result = EC_IllegalCall;
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save structured report to database failed: could not register in index file.");
if (verboseMode)
{
ostream &mycerr = logstream->lockCerr();
mycerr << "unable to register structured report '" << filename << "' in database." << endl;
logstream->unlockCerr();
}
}
}
}
return result;
}
OFCondition DVInterface::saveStructuredReport(const char *filename, OFBool explicitVR)
{
if (pReport==NULL) return EC_IllegalCall;
if (filename==NULL) return EC_IllegalCall;
OFCondition status = EC_IllegalCall;
DcmFileFormat *fileformat = new DcmFileFormat();
DcmDataset *dataset = NULL;
if (fileformat) dataset=fileformat->getDataset();
if (dataset)
{
/* always add information about private OFFIS DCMTK Coding Scheme */
pReport->getCodingSchemeIdentification().addPrivateDcmtkCodingScheme();
if ((status = pReport->write(*dataset)) == EC_Normal)
{
status = DVPSHelper::saveFileFormat(filename, fileformat, explicitVR);
if (pSignatureHandler)
{
pSignatureHandler->updateDigitalSignatureInformation(*dataset, DVPSS_structuredReport, OFFalse);
}
}
if (status != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save structured report to file failed: could not write fileformat.");
} else {
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save structured report to file failed: memory exhausted.");
status = EC_MemoryExhausted;
}
delete fileformat;
return status;
}
OFCondition DVInterface::addImageReferenceToPState(const char *studyUID, const char *seriesUID, const char *instanceUID)
{
OFCondition status = EC_IllegalCall;
if (pState && studyUID && seriesUID && instanceUID)
{
OFString study = pState->getStudyUID();
if (study == studyUID)
{
if (lockDatabase() == EC_Normal)
{
const char *filename = getFilename(studyUID, seriesUID, instanceUID);
if (filename)
{
DcmFileFormat *image = NULL;
if ((status = DVPSHelper::loadFileFormat(filename, image)) == EC_Normal)
{
status = EC_CorruptedData;
if (image)
{
DcmDataset *dataset = image->getDataset();
if (dataset)
status = pState->addImageReference(*dataset);
}
if (status != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Add image reference to presentation state failed: invalid data structures.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Add image reference to presentation state failed: could not read fileformat.");
delete image;
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Add image reference to presentation state failed: UIDs not in index file.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Add image reference to presentation state failed: could not lock index file.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Add image reference to presentation state failed: not the same study UID.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Add image reference to presentation state failed: invalid UIDs.");
return status;
}
size_t DVInterface::getNumberOfImageReferences()
{
if (pState != NULL)
return pState->numberOfImageReferences();
return 0;
}
OFCondition DVInterface::exchangeImageAndPState(DVPresentationState *newState, DcmFileFormat *image, DcmFileFormat *state)
{
if (newState==NULL) return EC_IllegalCall;
if (image==NULL) return EC_IllegalCall;
if (pState != newState)
{
delete pState;
delete pStoredPState;
delete pDicomPState;
pState = newState;
pStoredPState = NULL;
pDicomPState = state;
if (pSignatureHandler)
{
if (pDicomPState) pSignatureHandler->updateDigitalSignatureInformation(*pDicomPState->getDataset(), DVPSS_presentationState, OFTrue);
else pSignatureHandler->disableDigitalSignatureInformation(DVPSS_presentationState);
}
}
if (pDicomImage != image)
{
delete pDicomImage; // delete only if different
pDicomImage = image;
if (pSignatureHandler)
{
pSignatureHandler->updateDigitalSignatureInformation(*pDicomImage->getDataset(), DVPSS_image, OFTrue);
}
}
return EC_Normal;
}
OFCondition DVInterface::resetPresentationState()
{
DVPresentationState *newState = new DVPresentationState(displayFunction,
minimumPrintBitmapWidth, minimumPrintBitmapHeight, maximumPrintBitmapWidth, maximumPrintBitmapHeight,
maximumPreviewImageWidth, maximumPreviewImageHeight);
if (newState==NULL) return EC_MemoryExhausted;
newState->setLog(logstream, verboseMode, debugMode);
OFCondition status = EC_Normal;
if ((pDicomImage)&&(pDicomPState))
{
// both image and presentation state are present
DcmDataset *dataset = pDicomPState->getDataset();
if (dataset)
{
if (EC_Normal == (status = newState->read(*dataset))) status = newState->attachImage(pDicomImage, OFFalse);
if (EC_Normal == status)
{
if (pState) delete pState;
if (pStoredPState) delete pStoredPState;
pState = newState;
pStoredPState = NULL; // return to original pstate
}
} else status = EC_IllegalCall;
}
else if (pDicomImage)
{
// only image is present
DcmDataset *dataset = pDicomImage->getDataset();
if (dataset)
{
if (EC_Normal == (status = newState->createFromImage(*dataset))) status = newState->attachImage(pDicomImage, OFFalse);
if (EC_Normal == status)
{
if (pState) delete pState;
if (pStoredPState) delete pStoredPState;
pState = newState;
pStoredPState = NULL;
}
} else status = EC_IllegalCall;
}
if (EC_Normal != status) delete newState;
return status;
}
OFCondition DVInterface::saveCurrentPStateForReset()
{
OFCondition status = EC_IllegalCall;
if (pState != NULL)
{
DcmFileFormat *fileformat = new DcmFileFormat();
if (fileformat != NULL)
{
DcmDataset *dataset = fileformat->getDataset();
if (dataset)
{
status = pState->write(*dataset, OFFalse); // write current state to 'reset' dataset
if (status == EC_Normal)
{
delete pDicomPState;
pDicomPState = fileformat;
fileformat = NULL; // avoid deletion of pDicomPState a few lines later
}
} else status = EC_MemoryExhausted;
} else status = EC_MemoryExhausted;
delete fileformat;
}
return status;
}
Uint32 DVInterface::getNumberOfPStates()
{
if (createPStateCache())
{
DVInstanceCache::ItemStruct *instance = getInstanceStruct();
if ((instance != NULL) && ((instance->Type == DVPSI_image) || (instance->Type == DVPSI_hardcopyGrayscale)))
return instance->List.size();
}
return 0;
}
OFCondition DVInterface::selectPState(Uint32 idx, OFBool changeStatus)
{
if (createPStateCache())
{
DVInstanceCache::ItemStruct *instance = getInstanceStruct();
if ((instance != NULL) && ((instance->Type == DVPSI_image) || (instance->Type == DVPSI_hardcopyGrayscale)))
{
OFListIterator(DVInstanceCache::ItemStruct *) iter = instance->List.begin();
OFListIterator(DVInstanceCache::ItemStruct *) last = instance->List.end();
while (iter != last)
{
if (idx == 0)
{
DVInstanceCache::ItemStruct *pstate = (*iter);
if (pstate != NULL)
{
OFCondition status = EC_IllegalCall;
if (pDicomImage == NULL)
status = loadPState(pstate->Filename.c_str(), instance->Filename.c_str());
else
status = loadPState(pstate->Filename.c_str());
if ((status == EC_Normal) && changeStatus)
instanceReviewed(pstate->Pos);
return status;
}
}
idx--;
++iter;
}
}
}
return EC_IllegalCall;
}
const char *DVInterface::getPStateDescription(Uint32 idx)
{
if (createPStateCache())
{
DVInstanceCache::ItemStruct *instance = getInstanceStruct();
if ((instance != NULL) && ((instance->Type == DVPSI_image) || (instance->Type == DVPSI_hardcopyGrayscale)))
{
OFListIterator(DVInstanceCache::ItemStruct *) iter = instance->List.begin();
OFListIterator(DVInstanceCache::ItemStruct *) last = instance->List.end();
while (iter != last)
{
if (idx == 0)
{
DVInstanceCache::ItemStruct *pstate = (*iter);
if (pstate != NULL)
return pstate->Description.c_str();
}
idx--;
++iter;
}
}
}
return NULL;
}
const char *DVInterface::getPStateLabel(Uint32 idx)
{
if (createPStateCache())
{
DVInstanceCache::ItemStruct *instance = getInstanceStruct();
if ((instance != NULL) && ((instance->Type == DVPSI_image) || (instance->Type == DVPSI_hardcopyGrayscale)))
{
OFListIterator(DVInstanceCache::ItemStruct *) iter = instance->List.begin();
OFListIterator(DVInstanceCache::ItemStruct *) last = instance->List.end();
while (iter != last)
{
if (idx == 0)
{
DVInstanceCache::ItemStruct *pstate = (*iter);
if (pstate != NULL)
return pstate->Label.c_str();
}
idx--;
++iter;
}
}
}
return NULL;
}
OFCondition DVInterface::disablePState()
{
OFCondition status = EC_IllegalCall;
if ((pState != NULL) && (pStoredPState == NULL))
{
if (pDicomImage != NULL)
{
DcmDataset *dataset = pDicomImage->getDataset();
if (dataset != NULL)
{
DVPresentationState *newState = new DVPresentationState(displayFunction,
minimumPrintBitmapWidth, minimumPrintBitmapHeight, maximumPrintBitmapWidth, maximumPrintBitmapHeight,
maximumPreviewImageWidth, maximumPreviewImageHeight);
if (newState != NULL)
{
newState->setLog(logstream, verboseMode, debugMode);
if ((status = newState->createFromImage(*dataset)) == EC_Normal)
{
if ((status = newState->attachImage(pDicomImage, OFFalse)) == EC_Normal)
{
pStoredPState = pState;
pState = newState;
return EC_Normal;
}
}
delete newState;
}
}
}
}
return status;
}
OFCondition DVInterface::enablePState()
{
if ((pState != NULL) && (pStoredPState != NULL))
{
delete pState;
pState = pStoredPState;
pStoredPState = NULL;
return EC_Normal;
}
return EC_IllegalCall;
}
DVStudyCache::ItemStruct *DVInterface::getStudyStruct(const char *studyUID,
const char *seriesUID)
{
if (createIndexCache())
{
if (studyUID)
{
if (idxCache.isElem(studyUID))
{
DVStudyCache::ItemStruct *study = idxCache.getItem();
if ((seriesUID == NULL) || (study->List.isElem(seriesUID)))
return study;
}
} else
return idxCache.getItem(); // current study
}
return NULL;
}
DVSeriesCache::ItemStruct *DVInterface::getSeriesStruct(const char *studyUID,
const char *seriesUID,
const char *instanceUID)
{
if ((studyUID && seriesUID) || (!studyUID && !seriesUID))
{
DVStudyCache::ItemStruct *study = getStudyStruct(studyUID, seriesUID);
if (study != NULL)
{
DVSeriesCache::ItemStruct *series = study->List.getItem();
if (series != NULL)
{
if ((instanceUID == NULL) || (series->List.isElem(instanceUID)))
return series;
}
}
}
return NULL;
}
DVInstanceCache::ItemStruct *DVInterface::getInstanceStruct(const char *studyUID,
const char *seriesUID,
const char *instanceUID)
{
if ((studyUID && seriesUID && instanceUID) || (!studyUID && !seriesUID && !instanceUID))
{
DVSeriesCache::ItemStruct *series = getSeriesStruct(studyUID, seriesUID, instanceUID);
if (series != NULL)
return series->List.getItem();
}
return NULL;
}
const char *DVInterface::getFilename(const char *studyUID,
const char *seriesUID,
const char *instanceUID)
{
DVSeriesCache::ItemStruct *series = getSeriesStruct(studyUID, seriesUID, instanceUID);
if (series != NULL)
return series->List.getFilename();
return NULL;
}
OFCondition DVInterface::lockDatabase()
{
if (pHandle) return EC_Normal; // may be called multiple times
OFCondition result;
pHandle = new DcmQueryRetrieveIndexDatabaseHandle(getDatabaseFolder(), PSTAT_MAXSTUDYCOUNT, PSTAT_STUDYSIZE, result);
if (result.good())
{
lockingMode = OFFalse;
if (pHandle->DB_lock(OFFalse).good())
{
if (databaseIndexFile.length() == 0)
databaseIndexFile = pHandle->getIndexFilename();
return EC_Normal;
}
}
return EC_IllegalCall;
}
OFCondition DVInterface::lockExclusive()
{
if (pHandle && lockingMode) return EC_Normal;
OFCondition result = EC_Normal;
if (pHandle == NULL) result = lockDatabase();
if (result.good())
{
// we now have a shared lock.
pHandle->DB_unlock();
if (pHandle->DB_lock(OFTrue).good())
lockingMode = OFTrue;
else
result = EC_IllegalCall;
}
return result;
}
OFCondition DVInterface::unlockExclusive()
{
if (pHandle && lockingMode)
{
if (pHandle->DB_unlock().good())
{
delete pHandle;
pHandle=NULL;
lockingMode=OFFalse;
clearIndexCache();
return EC_Normal;
}
}
return EC_IllegalCall;
}
OFCondition DVInterface::releaseDatabase()
{
if (pHandle == NULL) return EC_Normal;
OFCondition cond = pHandle->DB_unlock();
if (cond.good())
{
delete pHandle;
pHandle = NULL;
clearIndexCache();
}
return cond;
}
void DVInterface::resetDatabaseReferenceTime()
{
// set index file modification time to "yesterday" to make sure
// we notice any change even if different processes have minor
// date/time differences (i.e. over NFS)
#ifdef HAVE_DECLARATION_STRUCT_UTIMBUF
struct utimbuf utime_buf;
utime_buf.actime = OFstatic_cast(time_t, referenceTime);
utime_buf.modtime = OFstatic_cast(time_t, referenceTime);
if (0 != utime(databaseIndexFile.c_str(), &utime_buf))
#else
// some old platforms use the prototype int utime(char *file, time_t timep[])
time_t utime_buf[2];
utime_buf[0] = OFstatic_cast(time_t, referenceTime);
utime_buf[1] = OFstatic_cast(time_t, referenceTime);
if (0 != utime(OFconst_cast(char *, databaseIndexFile.c_str()), utime_buf))
#endif
{
if (verboseMode)
{
logstream->lockCerr() << "warning: cannot set database index file modification time" << endl;
logstream->unlockCerr();
}
} else {
struct stat stat_buf;
if (0 == stat(databaseIndexFile.c_str(), &stat_buf))
{
referenceTime = OFstatic_cast(unsigned long, stat_buf.st_mtime);
}
}
}
OFBool DVInterface::newInstancesReceived()
{
if (databaseIndexFile.length() == 0)
{
if (pHandle == NULL)
{
lockDatabase(); // derives databaseIndexFile
releaseDatabase();
}
}
if (databaseIndexFile.length() > 0)
{
struct stat stat_buf;
if (0== stat(databaseIndexFile.c_str(), &stat_buf))
{
if (OFstatic_cast(unsigned long, stat_buf.st_mtime) == referenceTime) return OFFalse;
}
resetDatabaseReferenceTime();
}
return OFTrue; // default
}
void DVInterface::clearIndexCache()
{
idxCache.clear();
clearIndexRecord(idxRec, idxRecPos);
}
OFBool DVInterface::createIndexCache()
{
if (lockDatabase() == EC_Normal)
{
if (idxCache.empty())
{
int counter = 0;
pHandle->DB_IdxInitLoop(&counter);
IdxRecord record;
while (pHandle->DB_IdxGetNext(&counter, &record).good())
{
if (!idxCache.isElem(record.StudyInstanceUID))
idxCache.addItem(record.StudyInstanceUID);
DVStudyCache::ItemStruct *study = idxCache.getItem();
if (study != NULL)
{
if (!study->List.isElem(record.SeriesInstanceUID))
study->List.addItem(record.SeriesInstanceUID);
DVSeriesCache::ItemStruct *series = study->List.getItem();
if (series != NULL)
{
if (!series->List.isElem(record.SOPInstanceUID))
{
DVPSInstanceType type = DVPSI_image;
if (record.Modality != NULL)
{
if (strcmp(record.Modality, "PR") == 0)
type = DVPSI_presentationState;
if (strcmp(record.Modality, "SR") == 0)
type = DVPSI_structuredReport;
else if (strcmp(record.Modality, "HC") == 0)
type =DVPSI_hardcopyGrayscale;
else if (strcmp(record.Modality, "STORED_PRINT") == 0)
type = DVPSI_storedPrint;
}
series->List.addItem(record.SOPInstanceUID, counter, record.hstat, type, record.ImageSize, record.filename);
if (series->Type == DVPSI_image)
series->Type = type; // series contains only one type of instances
}
}
}
}
updateStatusCache();
}
return OFTrue;
}
return OFFalse;
}
OFBool DVInterface::createPStateCache()
{
DVStudyCache::ItemStruct *study = getStudyStruct();
if (study != NULL)
{
DVSeriesCache::ItemStruct *series = study->List.getItem();
if (series != NULL)
{
DVInstanceCache::ItemStruct *instance = series->List.getItem();
if ((instance != NULL) && ((instance->Type == DVPSI_image) || (instance->Type == DVPSI_hardcopyGrayscale)))
{
if (!instance->Checked) // is current instance already checked?
{
if (instance->List.empty())
{
OFString seriesUID = series->UID;
OFString instanceUID = instance->UID;
if (study->List.gotoFirst())
{
do { /* for all series */
if (study->List.getType() == DVPSI_presentationState)
{
series = study->List.getItem();
if (series != NULL)
{
if (series->List.gotoFirst())
{
do { /* for all instances */
if (series->List.getType() == DVPSI_presentationState)
{
DcmFileFormat *pstate = NULL;
if ((DVPSHelper::loadFileFormat(series->List.getFilename(), pstate) == EC_Normal) && pstate)
{
DcmDataset *dataset = pstate->getDataset();
DVPSReferencedSeries_PList plist;
if (dataset && (plist.read(*dataset) == EC_Normal) && plist.isValid())
{
if (plist.findImageReference(seriesUID.c_str(), instanceUID.c_str()))
{
DVInstanceCache::ItemStruct *reference = series->List.getItem();
if (reference != NULL)
{
DcmStack stack;
if (dataset->search(DCM_ContentDescription, stack, ESM_fromHere, OFFalse) == EC_Normal)
{
char *value = NULL;
if ((*OFstatic_cast(DcmLongString *, stack.top())).getString(value) == EC_Normal)
reference->Description = value;
}
stack.clear();
if (dataset->search(DCM_ContentLabel, stack, ESM_fromHere, OFFalse) == EC_Normal)
{
char *value = NULL;
if ((*OFstatic_cast(DcmLongString *, stack.top())).getString(value) == EC_Normal)
reference->Label = value;
}
instance->List.push_back(reference);
}
}
}
}
delete pstate;
}
} while (series->List.gotoNext());
}
series->List.reset(); // set iterator to old position
}
}
} while (study->List.gotoNext());
}
study->List.reset(); // set iterator to old position
}
instance->Checked = OFTrue; // do not check twice
}
return OFTrue;
}
}
}
return OFFalse;
}
void DVInterface::clearIndexRecord(IdxRecord &record,
int &recpos)
{
OFBitmanipTemplate<Uint8>::zeroMem(OFreinterpret_cast(Uint8 *, &record), sizeof(idxRec));
recpos = -1;
}
OFBool DVInterface::readIndexRecord(const int pos,
IdxRecord &record,
int *oldpos)
{
if (lockDatabase() == EC_Normal)
{
if ((oldpos != NULL) && (pos == *oldpos)) // record already read
return OFTrue;
if (pHandle->DB_IdxRead(pos, &record).good())
{
if (oldpos != NULL)
*oldpos = pos;
return OFTrue;
}
}
return OFFalse;
}
void DVInterface::updateStatusCache()
{
idxCache.updateStatus();
}
Uint32 DVInterface::getNumberOfStudies()
{
if (createIndexCache())
return idxCache.getCount();
return 0;
}
Uint32 DVInterface::getNumberOfSeries()
{
DVStudyCache::ItemStruct *study = getStudyStruct();
if (study != NULL)
return study->List.getCount();
return 0;
}
Uint32 DVInterface::getNumberOfInstances()
{
DVSeriesCache::ItemStruct *series = getSeriesStruct();
if (series != NULL)
return series->List.getCount();
return 0;
}
OFCondition DVInterface::selectStudy(Uint32 idx)
{
if (createIndexCache())
{
if (idxCache.gotoItem(idx))
{
DVStudyCache::ItemStruct *study = idxCache.getItem();
if (study->List.gotoItem(0))
{
DVSeriesCache::ItemStruct *series = study->List.getItem();
if (series != NULL)
{
if (series->List.gotoItem(0))
{
if (readIndexRecord(series->List.getPos(), idxRec, &idxRecPos))
return EC_Normal;
}
}
}
}
}
return EC_IllegalCall;
}
OFCondition DVInterface::selectStudy(const char *studyUID)
{
if (studyUID)
{
if (createIndexCache())
{
if (idxCache.isElem(studyUID))
{
DVStudyCache::ItemStruct *study = idxCache.getItem();
if (study->List.gotoItem(0))
{
DVSeriesCache::ItemStruct *series = study->List.getItem();
if (series != NULL)
{
if (series->List.gotoItem(0))
{
if (readIndexRecord(series->List.getPos(), idxRec, &idxRecPos))
return EC_Normal;
}
}
}
}
}
}
return EC_IllegalCall;
}
OFCondition DVInterface::selectSeries(Uint32 idx)
{
DVStudyCache::ItemStruct *study = getStudyStruct();
if (study != NULL)
{
if (study->List.gotoItem(idx))
{
DVSeriesCache::ItemStruct *series = study->List.getItem();
if (series != NULL)
{
if (series->List.gotoItem(0))
{
if (readIndexRecord(series->List.getPos(), idxRec, &idxRecPos))
return EC_Normal;
}
}
}
}
return EC_IllegalCall;
}
OFCondition DVInterface::selectSeries(const char *seriesUID)
{
if (seriesUID)
{
DVStudyCache::ItemStruct *study = getStudyStruct();
if (study != NULL)
{
if (study->List.isElem(seriesUID))
{
DVSeriesCache::ItemStruct *series = study->List.getItem();
if (series != NULL)
{
if (series->List.gotoItem(0))
{
if (readIndexRecord(series->List.getPos(), idxRec, &idxRecPos))
return EC_Normal;
}
}
}
}
}
return EC_IllegalCall;
}
OFCondition DVInterface::selectInstance(Uint32 idx)
{
DVSeriesCache::ItemStruct *series = getSeriesStruct();
if (series != NULL)
{
if (series->List.gotoItem(idx))
{
if (readIndexRecord(series->List.getPos(), idxRec, &idxRecPos))
return EC_Normal;
}
}
return EC_IllegalCall;
}
OFCondition DVInterface::selectInstance(const char *instanceUID)
{
if (instanceUID)
{
DVSeriesCache::ItemStruct *series = getSeriesStruct();
if (series != NULL)
{
if (series->List.isElem(instanceUID))
{
if (readIndexRecord(series->List.getPos(), idxRec, &idxRecPos))
return EC_Normal;
}
}
}
return EC_IllegalCall;
}
OFCondition DVInterface::selectInstance(const char *instanceUID, const char *sopClassUID)
{
if (instanceUID)
{
if (createIndexCache() && idxCache.gotoFirst())
{
DVStudyCache::ItemStruct *study = NULL;
DVSeriesCache::ItemStruct *series = NULL;
do { /* for all studies */
study = idxCache.getItem();
if ((study != NULL) && study->List.gotoFirst())
{
do { /* for all series */
series = study->List.getItem();
if ((series != NULL) && series->List.isElem(instanceUID))
{
if (readIndexRecord(series->List.getPos(), idxRec, &idxRecPos))
{
if (sopClassUID == NULL)
return EC_Normal;
else if ((idxRec.SOPClassUID != NULL) && (strcmp(sopClassUID, idxRec.SOPClassUID) == 0))
return EC_Normal;
}
}
} while (study->List.gotoNext());
}
} while (idxCache.gotoNext());
}
}
return EC_IllegalCall;
}
OFCondition DVInterface::selectInstance(const char *studyUID, const char *seriesUID, const char *instanceUID)
{
if (studyUID && seriesUID && instanceUID)
{
if (createIndexCache())
{
if (idxCache.isElem(studyUID))
{
DVStudyCache::ItemStruct *study = idxCache.getItem();
if (study->List.isElem(seriesUID))
{
DVSeriesCache::ItemStruct *series = study->List.getItem();
if (series != NULL)
{
if (series->List.isElem(instanceUID))
{
if (readIndexRecord(series->List.getPos(), idxRec, &idxRecPos))
return EC_Normal;
}
}
}
}
}
}
return EC_IllegalCall;
}
DVIFhierarchyStatus DVInterface::getStudyStatus()
{
return idxCache.getStatus();
}
DVIFhierarchyStatus DVInterface::getSeriesStatus()
{
DVStudyCache::ItemStruct *study = idxCache.getItem();
if (study != NULL)
return study->List.getStatus();
return DVIF_objectIsNew;
}
DVIFhierarchyStatus DVInterface::getInstanceStatus()
{
DVStudyCache::ItemStruct *study = idxCache.getItem();
if (study != NULL)
{
DVSeriesCache::ItemStruct *series = study->List.getItem();
if (series != NULL)
return series->List.getStatus();
}
return DVIF_objectIsNew;
}
DVPSInstanceType DVInterface::getSeriesType()
{
DVStudyCache::ItemStruct *study = idxCache.getItem();
if (study != NULL)
return study->List.getType();
return DVPSI_image;
}
DVPSInstanceType DVInterface::getInstanceType()
{
DVStudyCache::ItemStruct *study = idxCache.getItem();
if (study != NULL)
{
DVSeriesCache::ItemStruct *series = study->List.getItem();
if (series != NULL)
return series->List.getType();
}
return DVPSI_image;
}
const char *DVInterface::getStudyUID()
{
return idxRec.StudyInstanceUID;
}
const char *DVInterface::getSeriesUID()
{
return idxRec.SeriesInstanceUID;
}
const char *DVInterface::getSOPClassUID()
{
return idxRec.SOPClassUID;
}
const char *DVInterface::getInstanceUID()
{
return idxRec.SOPInstanceUID;
}
const char *DVInterface::getStudyDescription()
{
return idxRec.StudyDescription;
}
const char *DVInterface::getStudyDate()
{
return idxRec.StudyDate;
}
const char *DVInterface::getStudyTime()
{
return idxRec.StudyTime;
}
const char *DVInterface::getReferringPhysiciansName()
{
return idxRec.ReferringPhysiciansName;
}
const char *DVInterface::getAccessionNumber()
{
return idxRec.AccessionNumber;
}
const char *DVInterface::getNameOfPhysiciansReadingStudy()
{
return idxRec.NameOfPhysiciansReadingStudy;
}
const char *DVInterface::getPatientName()
{
return idxRec.PatientsName;
}
const char *DVInterface::getPatientID()
{
return idxRec.PatientID;
}
const char *DVInterface::getPatientBirthDate()
{
return idxRec.PatientsBirthDate;
}
const char *DVInterface::getPatientSex()
{
return idxRec.PatientsSex;
}
const char *DVInterface::getPatientBirthTime()
{
return idxRec.PatientsBirthTime;
}
const char *DVInterface::getOtherPatientNames()
{
return idxRec.OtherPatientNames;
}
const char *DVInterface::getOtherPatientID()
{
return idxRec.OtherPatientIDs;
}
const char *DVInterface::getEthnicGroup()
{
return idxRec.EthnicGroup;
}
const char *DVInterface::getSeriesDescription()
{
return idxRec.SeriesDescription;
}
const char *DVInterface::getSeriesNumber()
{
return idxRec.SeriesNumber;
}
const char *DVInterface::getSeriesDate()
{
return idxRec.SeriesDate;
}
const char *DVInterface::getSeriesTime()
{
return idxRec.SeriesTime;
}
const char *DVInterface::getSeriesPerformingPhysiciansName()
{
return idxRec.PerformingPhysiciansName;
}
const char *DVInterface::getSeriesProtocolName()
{
return idxRec.ProtocolName;
}
const char *DVInterface::getSeriesOperatorsName()
{
return idxRec.OperatorsName;
}
const char *DVInterface::getModality()
{
return idxRec.Modality;
}
const char *DVInterface::getImageNumber()
{
return idxRec.ImageNumber;
}
const char *DVInterface::getFilename()
{
return idxRec.filename;
}
const char *DVInterface::getInstanceDescription()
{
return idxRec.InstanceDescription;
}
const char *DVInterface::getPresentationLabel()
{
return idxRec.PresentationLabel;
}
OFCondition DVInterface::instanceReviewed(int pos)
{
lockDatabase();
OFBool wasNew = newInstancesReceived();
if (pHandle == NULL) return EC_IllegalCall;
OFCondition result = pHandle->instanceReviewed(pos);
if (!wasNew) resetDatabaseReferenceTime();
releaseDatabase();
return result;
}
OFCondition DVInterface::instanceReviewed(const char *studyUID,
const char *seriesUID,
const char *instanceUID)
{
OFCondition result = EC_IllegalCall;
DVInstanceCache::ItemStruct *instance = getInstanceStruct(studyUID, seriesUID, instanceUID);
if (instance != NULL)
{
if (instance->Status == DVIF_objectIsNotNew)
result = EC_Normal;
else
result = instanceReviewed(instance->Pos);
}
return result;
}
int DVInterface::findStudyIdx(StudyDescRecord *study,
const char *uid)
{
if ((study != NULL) && (uid != NULL))
{
register int i = 0;
for (i = 0; i < PSTAT_MAXSTUDYCOUNT; i++)
{
if ((study[i].StudyInstanceUID != NULL) &&
(strcmp(uid, study[i].StudyInstanceUID) == 0))
{
return i;
}
}
}
return -1;
}
int DVInterface::deleteImageFile(const char *filename)
{
if ((filename != NULL) && (pHandle != NULL))
{
const char *pos;
if (((pos = strrchr(filename, OFstatic_cast(int, PATH_SEPARATOR))) == NULL) || // check whether image file resides in index.dat directory
(strncmp(filename, pHandle->getStorageArea(), pos - filename) == 0))
{
// DB_deleteImageFile((/*const */char *)filename);
if (unlink(filename) == 0)
return 1; // image file has been deleted
}
return 2; // image file has not been deleted
}
return 0; // given filename is invalid
}
OFCondition DVInterface::deleteStudy(const char *studyUID)
{
DVStudyCache::ItemStruct *study = getStudyStruct(studyUID);
if (study != NULL)
{
OFCondition result = EC_IllegalCall;
OFBool wasNew = OFTrue;
if (lockExclusive() == EC_Normal)
{
wasNew = newInstancesReceived();
if (study->List.gotoFirst())
{
StudyDescRecord *study_desc = OFstatic_cast(StudyDescRecord *, malloc(SIZEOF_STUDYDESC));
if (study_desc != NULL)
{
if (pHandle->DB_GetStudyDesc(study_desc).good())
{
int idx = findStudyIdx(study_desc, studyUID);
if (idx >= 0)
{
do /* for all series */
{
DVSeriesCache::ItemStruct *series = study->List.getItem();
if (series != NULL)
{
if (series->List.gotoFirst())
{
do /* for all instances */
{
pHandle->DB_IdxRemove(series->List.getPos());
deleteImageFile(series->List.getFilename());
} while (series->List.gotoNext());
}
}
} while (study->List.gotoNext());
study_desc[idx].NumberofRegistratedImages = 0;
study_desc[idx].StudySize = 0;
pHandle->DB_StudyDescChange(study_desc);
}
}
free(study_desc);
}
}
}
unlockExclusive();
if (!wasNew)
resetDatabaseReferenceTime();
return result;
}
return EC_IllegalCall;
}
OFCondition DVInterface::deleteSeries(const char *studyUID,
const char *seriesUID)
{
DVSeriesCache::ItemStruct *series = getSeriesStruct(studyUID, seriesUID);
if (series != NULL)
{
OFCondition result = EC_IllegalCall;
OFBool wasNew = OFTrue;
if (lockExclusive() == EC_Normal)
{
wasNew = newInstancesReceived();
if (series->List.gotoFirst())
{
StudyDescRecord *study_desc = OFstatic_cast(StudyDescRecord *, malloc(SIZEOF_STUDYDESC));
if (study_desc != NULL)
{
if (pHandle->DB_GetStudyDesc(study_desc).good())
{
int idx = findStudyIdx(study_desc, studyUID);
if (idx >= 0)
{
do /* for all images */
{
pHandle->DB_IdxRemove(series->List.getPos());
if (study_desc[idx].NumberofRegistratedImages > 0)
{
study_desc[idx].NumberofRegistratedImages--;
study_desc[idx].StudySize -= series->List.getImageSize();
}
deleteImageFile(series->List.getFilename());
} while (series->List.gotoNext());
pHandle->DB_StudyDescChange(study_desc);
}
}
free(study_desc);
}
}
}
unlockExclusive();
if (!wasNew)
resetDatabaseReferenceTime();
return result;
}
return EC_IllegalCall;
}
OFCondition DVInterface::deleteInstance(const char *studyUID,
const char *seriesUID,
const char *instanceUID)
{
DVSeriesCache::ItemStruct *series = getSeriesStruct(studyUID, seriesUID, instanceUID);
if (series != NULL)
{
OFCondition result = EC_IllegalCall;
OFBool wasNew = OFTrue;
if (lockExclusive() == EC_Normal)
{
wasNew = newInstancesReceived();
pHandle->DB_IdxRemove(series->List.getPos());
StudyDescRecord *study_desc = OFstatic_cast(StudyDescRecord *, malloc(SIZEOF_STUDYDESC));
if (study_desc != NULL)
{
if (pHandle->DB_GetStudyDesc(study_desc).good())
{
register int i = 0;
for (i = 0; i < PSTAT_MAXSTUDYCOUNT; i++)
{
if ((study_desc[i].StudyInstanceUID != NULL) &&
(strcmp(studyUID, study_desc[i].StudyInstanceUID) != 0))
{
if (study_desc[i].NumberofRegistratedImages > 0)
{
study_desc[i].NumberofRegistratedImages--;
study_desc[i].StudySize -= series->List.getImageSize();
pHandle->DB_StudyDescChange(study_desc);
}
break;
}
}
free(study_desc);
result = EC_Normal;
}
deleteImageFile(series->List.getFilename());
}
}
unlockExclusive();
if (!wasNew)
resetDatabaseReferenceTime();
return result;
}
return EC_IllegalCall;
}
OFBool DVInterface::isDisplayTransformPossible(DVPSDisplayTransform transform)
{
if (transform == DVPSD_none)
return OFFalse;
return (displayFunction[transform] != NULL);
}
OFCondition DVInterface::setAmbientLightValue(double value)
{
OFCondition result = EC_IllegalCall;
for (int i = DVPSD_first; i < DVPSD_max; i++)
{
if ((displayFunction[i] != NULL) && (displayFunction[i]->setAmbientLightValue(value)))
result = EC_Normal; // at least one display function has been valid
}
return result;
}
OFCondition DVInterface::getAmbientLightValue(double &value)
{
if (displayFunction[DVPSD_first] != NULL)
{
value = displayFunction[DVPSD_first]->getAmbientLightValue();
return EC_Normal;
}
return EC_IllegalCall;
}
OFCondition DVInterface::sendIOD(const char * targetID,
const char * studyUID,
const char * seriesUID,
const char * instanceUID)
{
if ((targetID==NULL)||(studyUID==NULL)) return EC_IllegalCall;
const char *sender_application = getSenderName();
if (sender_application==NULL) return EC_IllegalCall;
if (configPath.length()==0) return EC_IllegalCall;
DVPSHelper::cleanChildren(logstream); // clean up old child processes before creating new ones
#ifdef HAVE_FORK
// Unix version - call fork() and execl()
pid_t pid = fork();
if (pid < 0)
{
// fork failed - return error code
return EC_IllegalCall;
} else if (pid > 0)
{
// we are the parent process
return EC_Normal;
} else {
// we are the child process
if (execl(sender_application, sender_application, configPath.c_str(),
targetID, studyUID, seriesUID, instanceUID, NULL) < 0)
{
if (verboseMode)
{
logstream->lockCerr() << "error: unable to execute '" << sender_application << "'" << endl;
logstream->unlockCerr();
}
}
// if execl succeeds, this part will not get executed.
// if execl fails, there is not much we can do except bailing out.
abort();
}
#else
// Windows version - call CreateProcess()
// initialize startup info
PROCESS_INFORMATION procinfo;
STARTUPINFO sinfo;
OFBitmanipTemplate<char>::zeroMem((char *)&sinfo, sizeof(sinfo));
sinfo.cb = sizeof(sinfo);
char commandline[4096];
if (seriesUID && instanceUID) sprintf(commandline, "%s %s %s %s %s %s", sender_application, configPath.c_str(),
targetID, studyUID, seriesUID, instanceUID);
else if (seriesUID) sprintf(commandline, "%s %s %s %s %s", sender_application, configPath.c_str(), targetID,
studyUID, seriesUID);
else sprintf(commandline, "%s %s %s %s", sender_application, configPath.c_str(), targetID, studyUID);
#ifdef DEBUG
if (CreateProcess(NULL, commandline, NULL, NULL, 0, 0, NULL, NULL, &sinfo, &procinfo))
#else
if (CreateProcess(NULL, commandline, NULL, NULL, 0, DETACHED_PROCESS, NULL, NULL, &sinfo, &procinfo))
#endif
{
return EC_Normal;
} else {
if (verboseMode)
{
logstream->lockCerr() << "error: unable to execute '" << sender_application << "'" << endl;
logstream->unlockCerr();
}
}
#endif
return EC_IllegalCall;
}
OFCondition DVInterface::startReceiver()
{
const char *receiver_application = getReceiverName();
if (receiver_application==NULL) return EC_IllegalCall;
if (configPath.length()==0) return EC_IllegalCall;
OFCondition result = EC_Normal;
writeLogMessage(DVPSM_informational, "DCMPSTAT", "Starting network receiver processes ...");
Uint32 numberOfReceivers = getNumberOfTargets(DVPSE_receiver);
for (Uint32 i=0; i < numberOfReceivers; i++)
{
DVPSHelper::cleanChildren(logstream); // clean up old child processes before creating new ones
#ifdef HAVE_FORK
// Unix version - call fork() and execl()
pid_t pid = fork();
if (pid < 0)
{
// fork failed - set error code
result = EC_IllegalCall;
} else if (pid > 0)
{
// we are the parent process, continue loop
} else {
// we are the child process
if (execl(receiver_application, receiver_application, configPath.c_str(), getTargetID(i, DVPSE_receiver), NULL) < 0)
{
if (verboseMode)
{
logstream->lockCerr() << "error: unable to execute '" << receiver_application << "'" << endl;
logstream->unlockCerr();
}
}
// if execl succeeds, this part will not get executed.
// if execl fails, there is not much we can do except bailing out.
abort();
}
#else
// Windows version - call CreateProcess()
// initialize startup info
PROCESS_INFORMATION procinfo;
STARTUPINFO sinfo;
OFBitmanipTemplate<char>::zeroMem((char *)&sinfo, sizeof(sinfo));
sinfo.cb = sizeof(sinfo);
char commandline[4096];
sprintf(commandline, "%s %s %s", receiver_application, configPath.c_str(), getTargetID(i, DVPSE_receiver));
#ifdef DEBUG
if (CreateProcess(NULL, commandline, NULL, NULL, 0, 0, NULL, NULL, &sinfo, &procinfo))
#else
if (CreateProcess(NULL, commandline, NULL, NULL, 0, DETACHED_PROCESS, NULL, NULL, &sinfo, &procinfo))
#endif
{
// continue loop
} else {
if (verboseMode)
{
logstream->lockCerr() << "error: unable to execute '" << receiver_application << "'" << endl;
logstream->unlockCerr();
}
result = EC_IllegalCall;
}
#endif
}
return result;
}
OFCondition DVInterface::terminateReceiver()
{
const char *receiver_application = getReceiverName();
if (receiver_application==NULL) return EC_IllegalCall;
if (configPath.length()==0) return EC_IllegalCall;
OFCondition result = EC_Normal;
writeLogMessage(DVPSM_informational, "DCMPSTAT", "Terminating network receiver processes ...");
DVPSHelper::cleanChildren(logstream); // clean up old child processes before creating new ones
#ifdef HAVE_FORK
// Unix version - call fork() and execl()
pid_t pid = fork();
if (pid < 0)
{
// fork failed - set error code
result = EC_IllegalCall;
} else if (pid > 0)
{
// we are the parent process, continue loop
} else {
// we are the child process
if (execl(receiver_application, receiver_application, configPath.c_str(), "--terminate", NULL) < 0)
{
if (verboseMode)
{
logstream->lockCerr() << "error: unable to execute '" << receiver_application << "'" << endl;
logstream->unlockCerr();
}
}
// if execl succeeds, this part will not get executed.
// if execl fails, there is not much we can do except bailing out.
abort();
}
#else
// Windows version - call CreateProcess()
// initialize startup info
PROCESS_INFORMATION procinfo;
STARTUPINFO sinfo;
OFBitmanipTemplate<char>::zeroMem((char *)&sinfo, sizeof(sinfo));
sinfo.cb = sizeof(sinfo);
char commandline[4096];
sprintf(commandline, "%s %s %s", receiver_application, configPath.c_str(), "--terminate");
#ifdef DEBUG
if (CreateProcess(NULL, commandline, NULL, NULL, 0, 0, NULL, NULL, &sinfo, &procinfo))
#else
if (CreateProcess(NULL, commandline, NULL, NULL, 0, DETACHED_PROCESS, NULL, NULL, &sinfo, &procinfo))
#endif
{
// continue loop
} else {
if (verboseMode)
{
logstream->lockCerr() << "error: unable to execute '" << receiver_application << "'" << endl;
logstream->unlockCerr();
}
result = EC_IllegalCall;
}
#endif
return result;
}
OFCondition DVInterface::startQueryRetrieveServer()
{
const char *server_application = getQueryRetrieveServerName();
if (server_application==NULL) return EC_IllegalCall;
if (configPath.length()==0) return EC_IllegalCall;
OFString config_filename = getQueryRetrieveServerName();
config_filename += ".cfg";
if (getQueryRetrieveAutoCreateConfigFile())
createQueryRetrieveServerConfigFile(config_filename.c_str());
writeLogMessage(DVPSM_informational, "DCMPSTAT", "Starting query/retrieve server process ...");
DVPSHelper::cleanChildren(logstream); // clean up old child processes before creating new ones
Sint32 timeout = getQueryRetrieveTimeout();
#ifdef HAVE_FORK
// Unix version - call fork() and execl()
pid_t pid = fork();
if (pid < 0)
{
// fork failed - return error code
return EC_IllegalCall;
} else if (pid > 0)
{
// we are the parent process
return EC_Normal;
} else {
// we are the child process
if (timeout > 0)
{
char str_timeout[20];
sprintf(str_timeout, "%lu", OFstatic_cast(unsigned long, timeout));
execl(server_application, server_application, "-c", config_filename.c_str(), "--allow-shutdown",
"--timeout", str_timeout, NULL);
}
else
{
execl(server_application, server_application, "-c", config_filename.c_str(), "--allow-shutdown", NULL);
}
if (verboseMode)
{
logstream->lockCerr() << "error: unable to execute '" << server_application << "'" << endl;
logstream->unlockCerr();
}
// if execl succeeds, this part will not get executed.
// if execl fails, there is not much we can do except bailing out.
abort();
}
#else
// Windows version - call CreateProcess()
// initialize startup info
PROCESS_INFORMATION procinfo;
STARTUPINFO sinfo;
OFBitmanipTemplate<char>::zeroMem((char *)&sinfo, sizeof(sinfo));
sinfo.cb = sizeof(sinfo);
char commandline[4096];
if (timeout > 0)
{
sprintf(commandline, "%s -c %s --allow-shutdown --timeout %lu",
server_application, config_filename.c_str(), (unsigned long) timeout);
}
else
{
sprintf(commandline, "%s -c %s --allow-shutdown", server_application, config_filename.c_str());
}
#ifdef DEBUG
if (CreateProcess(NULL, commandline, NULL, NULL, 0, 0, NULL, NULL, &sinfo, &procinfo))
#else
if (CreateProcess(NULL, commandline, NULL, NULL, 0, DETACHED_PROCESS, NULL, NULL, &sinfo, &procinfo))
#endif
{
return EC_Normal;
} else {
if (verboseMode)
{
logstream->lockCerr() << "error: unable to execute '" << server_application << "'" << endl;
logstream->unlockCerr();
}
}
#endif
return EC_IllegalCall;
}
OFCondition DVInterface::terminateQueryRetrieveServer()
{
if (getQueryRetrieveServerName()==NULL) return EC_IllegalCall;
if (configPath.length()==0) return EC_IllegalCall;
#ifdef HAVE_GUSI_H
GUSISetup(GUSIwithSIOUXSockets);
GUSISetup(GUSIwithInternetSockets);
#endif
#ifdef HAVE_WINSOCK_H
WSAData winSockData;
/* we need at least version 1.1 */
WORD winSockVersionNeeded = MAKEWORD( 1, 1 );
WSAStartup(winSockVersionNeeded, &winSockData);
#endif
OFCondition result = EC_Normal;
T_ASC_Network *net=NULL;
T_ASC_Parameters *params=NULL;
DIC_NODENAME localHost;
DIC_NODENAME peerHost;
T_ASC_Association *assoc=NULL;
writeLogMessage(DVPSM_informational, "DCMPSTAT", "Terminating query/retrieve server process ...");
OFCondition cond = ASC_initializeNetwork(NET_REQUESTOR, 0, 30, &net);
if (cond.good())
{
cond = ASC_createAssociationParameters(¶ms, DEFAULT_MAXPDU);
if (cond.good())
{
ASC_setAPTitles(params, getNetworkAETitle(), getQueryRetrieveAETitle(), NULL);
gethostname(localHost, sizeof(localHost) - 1);
sprintf(peerHost, "localhost:%d", OFstatic_cast(int, getQueryRetrievePort()));
ASC_setPresentationAddresses(params, localHost, peerHost);
const char* transferSyntaxes[] = { UID_LittleEndianImplicitTransferSyntax };
cond = ASC_addPresentationContext(params, 1, UID_PrivateShutdownSOPClass, transferSyntaxes, 1);
if (cond.good())
{
cond = ASC_requestAssociation(net, params, &assoc);
if (cond.good()) ASC_abortAssociation(assoc); // tear down association if necessary
ASC_dropAssociation(assoc);
ASC_destroyAssociation(&assoc);
}
} else result = EC_IllegalCall;
ASC_dropNetwork(&net);
} else result = EC_IllegalCall;
#ifdef HAVE_WINSOCK_H
WSACleanup();
#endif
return result;
}
OFCondition DVInterface::createQueryRetrieveServerConfigFile(const char *filename)
{
ofstream output(filename);
if (output)
{
writeLogMessage(DVPSM_informational, "DCMPSTAT", "Creating configuration file for query/retrieve server.");
output << "# ATTENTION: This file has been created automatically and will" << endl;
output << "# be re-created each time the query/retrieve server" << endl;
output << "# is started. To avoid that manual changes to this" << endl;
output << "# file are destroyed, the flag AutoCreateConfigFile" << endl;
output << "# in the configuration file '" << configPath << "' has to be" << endl;
output << "# switched off." << endl;
output << endl;
output << "NetworkType = \"tcp\"" << endl;
output << "NetworkTCPPort = " << getQueryRetrievePort() << endl;
output << "MaxPDUSize = " << getQueryRetrieveMaxPDU() << endl;
output << "MaxAssociations = " << getQueryRetrieveMaxAssociations() << endl;
output << "Display = \"no\"" << endl;
output << endl;
output << "HostTable BEGIN" << endl;
const char *aet = NULL;
const char *name = NULL;
const Uint32 count = getNumberOfTargets();
for (Uint32 i = 0; i < count; i++)
{
const char *id = getTargetID(i);
if (id != NULL)
{
aet = getTargetAETitle(id);
name = getTargetHostname(id);
if ((aet != NULL) && (name != NULL))
output << id << " = (" << aet << ", " << name << ", " << getTargetPort(id) << ")" << endl;
}
}
output << "HostTable END" << endl;
output << endl;
output << "AETable BEGIN" << endl;
output << getQueryRetrieveAETitle() << "\t" << getDatabaseFolder() << "\tR\t(";
output << PSTAT_MAXSTUDYCOUNT << ", " << PSTAT_STUDYSIZE / 1024 / 1024 << "mb)\tANY" << endl;
output << "AETable END" << endl;
return EC_Normal;
}
writeLogMessage(DVPSM_error, "DCMPSTAT", "Could not create configuration file for query/retrieve server.");
return EC_IllegalCall;
}
OFCondition DVInterface::saveDICOMImage(
const char *filename,
const void *pixelData,
unsigned long width,
unsigned long height,
double aspectRatio,
OFBool explicitVR,
const char *instanceUID)
{
if ((width<1)||(width > 0xFFFF)) return EC_IllegalCall;
if ((height<1)||(height > 0xFFFF)) return EC_IllegalCall;
if (pixelData == NULL) return EC_IllegalCall;
if (filename == NULL) return EC_IllegalCall;
if (aspectRatio == 0.0) return EC_IllegalCall;
Uint16 columns = OFstatic_cast(Uint16, width);
Uint16 rows = OFstatic_cast(Uint16, height);
OFCondition status = EC_Normal;
DcmFileFormat *fileformat = new DcmFileFormat();
DcmDataset *dataset = NULL;
if (fileformat) dataset=fileformat->getDataset();
char newuid[70];
if (dataset)
{
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_PatientsName);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_PatientID);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_PatientsBirthDate);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_PatientsSex);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_StudyDate);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_StudyTime);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_ReferringPhysiciansName);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_StudyID);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_AccessionNumber);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_SeriesNumber);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_InstanceNumber);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_PatientOrientation);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_SOPClassUID, UID_SecondaryCaptureImageStorage);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_Modality, "OT");
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_ConversionType, "WSD");
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_PhotometricInterpretation, "MONOCHROME2");
dcmGenerateUniqueIdentifier(newuid);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_SOPInstanceUID, (instanceUID ? instanceUID : newuid));
dcmGenerateUniqueIdentifier(newuid, SITE_SERIES_UID_ROOT);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_SeriesInstanceUID, newuid);
dcmGenerateUniqueIdentifier(newuid, SITE_STUDY_UID_ROOT);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_StudyInstanceUID, newuid);
if (EC_Normal==status) status = DVPSHelper::putUint16Value(dataset, DCM_SamplesPerPixel, 1);
if (EC_Normal==status) status = DVPSHelper::putUint16Value(dataset, DCM_Rows, rows);
if (EC_Normal==status) status = DVPSHelper::putUint16Value(dataset, DCM_Columns, columns);
if (EC_Normal==status) status = DVPSHelper::putUint16Value(dataset, DCM_BitsAllocated, 8);
if (EC_Normal==status) status = DVPSHelper::putUint16Value(dataset, DCM_BitsStored, 8);
if (EC_Normal==status) status = DVPSHelper::putUint16Value(dataset, DCM_HighBit, 7);
if (EC_Normal==status) status = DVPSHelper::putUint16Value(dataset, DCM_PixelRepresentation, 0);
if ((EC_Normal==status)&&(aspectRatio != 1.0))
{
sprintf(newuid, "%ld\\%ld", 1000L, OFstatic_cast(long, aspectRatio*1000.0));
status = DVPSHelper::putStringValue(dataset, DCM_PixelAspectRatio, newuid);
}
DcmPolymorphOBOW *pxData = new DcmPolymorphOBOW(DCM_PixelData);
if (pxData)
{
status = pxData->putUint8Array(OFstatic_cast(Uint8 *, OFconst_cast(void *, pixelData)), OFstatic_cast(unsigned long, width*height));
if (EC_Normal==status) status = dataset->insert(pxData, OFTrue /*replaceOld*/); else delete pxData;
} else status = EC_MemoryExhausted;
if (status != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save image to file failed: invalid data structures.");
if (EC_Normal == status)
{
status = DVPSHelper::saveFileFormat(filename, fileformat, explicitVR);
if (status != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save image to file failed: could not write fileformat.");
}
} else {
status = EC_MemoryExhausted;
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save image to file failed: memory exhausted.");
}
delete fileformat;
return status;
}
OFCondition DVInterface::saveDICOMImage(
const void *pixelData,
unsigned long width,
unsigned long height,
double aspectRatio)
{
// release database lock since we are using the DB module directly
releaseDatabase();
char uid[100];
dcmGenerateUniqueIdentifier(uid);
DcmQueryRetrieveDatabaseStatus dbStatus(STATUS_Success);
char imageFileName[MAXPATHLEN+1];
OFCondition result = EC_Normal;
DcmQueryRetrieveIndexDatabaseHandle handle(getDatabaseFolder(), PSTAT_MAXSTUDYCOUNT, PSTAT_STUDYSIZE, result);
if (result.bad())
{
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save image to database failed: could not lock index file.");
return result;
}
if (handle.makeNewStoreFileName(UID_SecondaryCaptureImageStorage, uid, imageFileName).good())
{
// now store presentation state as filename
result = saveDICOMImage(imageFileName, pixelData, width, height, aspectRatio, OFTrue, uid);
if (EC_Normal==result)
{
if (handle.storeRequest(UID_SecondaryCaptureImageStorage, uid, imageFileName, &dbStatus).bad())
{
result = EC_IllegalCall;
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save image to database failed: could not register in index file.");
if (verboseMode)
{
ostream &mycerr = logstream->lockCerr();
mycerr << "unable to register secondary capture image '" << imageFileName << "' in database." << endl;
logstream->unlockCerr();
}
}
}
}
return result;
}
OFCondition DVInterface::saveHardcopyGrayscaleImage(
const char *filename,
const void *pixelData,
unsigned long width,
unsigned long height,
double aspectRatio,
OFBool explicitVR,
const char *instanceUID)
{
if (pState == NULL) return EC_IllegalCall;
if (pPrint == NULL) return EC_IllegalCall;
if ((width<1)||(width > 0xFFFF)) return EC_IllegalCall;
if ((height<1)||(height > 0xFFFF)) return EC_IllegalCall;
if (pixelData == NULL) return EC_IllegalCall;
if (filename == NULL) return EC_IllegalCall;
if (aspectRatio == 0.0) return EC_IllegalCall;
Uint16 columns = OFstatic_cast(Uint16, width);
Uint16 rows = OFstatic_cast(Uint16, height);
OFCondition status = EC_Normal;
DcmFileFormat *fileformat = new DcmFileFormat();
DcmDataset *dataset = NULL;
if (fileformat) dataset=fileformat->getDataset();
char newuid[70];
OFString aString;
OFString theInstanceUID;
if (dataset)
{
// write patient module
if (EC_Normal==status) status = pState->writeHardcopyImageAttributes(*dataset);
// write general study and general series module
if (EC_Normal==status) status = pPrint->writeHardcopyImageAttributes(*dataset);
// Hardcopy Equipment Module
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_HardcopyDeviceManufacturer, "OFFIS");
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_HardcopyDeviceSoftwareVersion, OFFIS_DTK_IMPLEMENTATION_VERSION_NAME);
// General Image Module
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_InstanceNumber);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_PatientOrientation);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_ImageType, "DERIVED\\SECONDARY");
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_DerivationDescription, "Hardcopy rendered using Presentation State");
// source image sequence is written in pState->writeHardcopyImageAttributes().
// SOP Common Module
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_SOPClassUID, UID_HardcopyGrayscaleImageStorage);
dcmGenerateUniqueIdentifier(newuid);
theInstanceUID = (instanceUID ? instanceUID : newuid);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_SOPInstanceUID, theInstanceUID.c_str());
DVPSHelper::currentDate(aString);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_InstanceCreationDate, aString.c_str());
DVPSHelper::currentTime(aString);
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_InstanceCreationTime, aString.c_str());
// Hardcopy Grayscale Image Module
if (EC_Normal==status) status = DVPSHelper::putStringValue(dataset, DCM_PhotometricInterpretation, "MONOCHROME2");
if (EC_Normal==status) status = DVPSHelper::putUint16Value(dataset, DCM_SamplesPerPixel, 1);
if (EC_Normal==status) status = DVPSHelper::putUint16Value(dataset, DCM_Rows, rows);
if (EC_Normal==status) status = DVPSHelper::putUint16Value(dataset, DCM_Columns, columns);
if (EC_Normal==status) status = DVPSHelper::putUint16Value(dataset, DCM_BitsAllocated, 16);
if (EC_Normal==status) status = DVPSHelper::putUint16Value(dataset, DCM_BitsStored, 12);
if (EC_Normal==status) status = DVPSHelper::putUint16Value(dataset, DCM_HighBit, 11);
if (EC_Normal==status) status = DVPSHelper::putUint16Value(dataset, DCM_PixelRepresentation, 0);
if ((EC_Normal==status)&&(aspectRatio != 1.0))
{
sprintf(newuid, "%ld\\%ld", 1000L, OFstatic_cast(long, aspectRatio*1000.0));
status = DVPSHelper::putStringValue(dataset, DCM_PixelAspectRatio, newuid);
}
DcmPolymorphOBOW *pxData = new DcmPolymorphOBOW(DCM_PixelData);
if (pxData)
{
status = pxData->putUint16Array(OFstatic_cast(Uint16 *, OFconst_cast(void *, pixelData)), OFstatic_cast(unsigned long, width*height));
if (EC_Normal==status) status = dataset->insert(pxData, OFTrue /*replaceOld*/); else delete pxData;
} else status = EC_MemoryExhausted;
// add Presentation LUT to hardcopy file if present, making it a Standard Extended SOP Class
if ((EC_Normal==status)&&(pState->getPresentationLUT() == DVPSP_table))
{
status = pState->writePresentationLUTforPrint(*dataset);
}
if (status != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save hardcopy grayscale image to file failed: invalid data structures.");
// save image file
if (EC_Normal == status)
{
status = DVPSHelper::saveFileFormat(filename, fileformat, explicitVR);
if (status != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save hardcopy grayscale image to file failed: could not write fileformat.");
}
} else {
status = EC_MemoryExhausted;
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save hardcopy grayscale image to file failed: memory exhausted.");
}
if (EC_Normal == status)
{
OFString reqImageTmp;
const char *reqImageSize = NULL;
DVPSPresentationLUT *presLUT = pState->getPresentationLUTData();
if (EC_Normal == pState->getPrintBitmapRequestedImageSize(reqImageTmp)) reqImageSize = reqImageTmp.c_str();
/* we don't pass the patient ID (available as pState->getPatientID()) here because then
* we could end up with multiple images being part of one study and one series, but having
* different patient IDs. This might confuse archives using the patient root query model.
*/
status = pPrint->addImageBox(getNetworkAETitle(), theInstanceUID.c_str(), reqImageSize, NULL, presLUT, pState->isMonochrome1Image());
}
delete fileformat;
return status;
}
OFCondition DVInterface::saveHardcopyGrayscaleImage(
const void *pixelData,
unsigned long width,
unsigned long height,
double aspectRatio)
{
// release database lock since we are using the DB module directly
releaseDatabase();
char uid[100];
dcmGenerateUniqueIdentifier(uid);
DcmQueryRetrieveDatabaseStatus dbStatus(STATUS_Success);
char imageFileName[MAXPATHLEN+1];
OFCondition result=EC_Normal;
DcmQueryRetrieveIndexDatabaseHandle handle(getDatabaseFolder(), PSTAT_MAXSTUDYCOUNT, PSTAT_STUDYSIZE, result);
if (result.bad())
{
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save hardcopy grayscale image to database failed: could not lock index file.");
return result;
}
if (handle.makeNewStoreFileName(UID_HardcopyGrayscaleImageStorage, uid, imageFileName).good())
{
result = saveHardcopyGrayscaleImage(imageFileName, pixelData, width, height, aspectRatio, OFTrue, uid);
if (EC_Normal==result)
{
if (handle.storeRequest(UID_HardcopyGrayscaleImageStorage, uid, imageFileName, &dbStatus).bad())
{
result = EC_IllegalCall;
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save hardcopy grayscale image to database failed: could not register in index file.");
if (verboseMode)
{
ostream &mycerr = logstream->lockCerr();
mycerr << "unable to register hardcopy grayscale image '" << imageFileName << "' in database." << endl;
logstream->unlockCerr();
}
}
}
}
return result;
}
OFCondition DVInterface::saveFileFormatToDB(DcmFileFormat &fileformat)
{
// release database lock since we are using the DB module directly
releaseDatabase();
// get SOP class and instance UID from dataset
char *classUID = NULL;
char *instanceUID = NULL;
DcmStack stack;
DcmDataset *dset = fileformat.getDataset();
if (dset)
{
if (EC_Normal == dset->search(DCM_SOPInstanceUID, stack, ESM_fromHere, OFFalse))
{
OFstatic_cast(DcmElement *, stack.top())->getString(instanceUID);
}
stack.clear();
if (EC_Normal == dset->search(DCM_SOPClassUID, stack, ESM_fromHere, OFFalse))
{
OFstatic_cast(DcmElement *, stack.top())->getString(classUID);
}
}
if ((instanceUID==NULL)||(classUID==NULL)) return EC_IllegalCall;
DcmQueryRetrieveDatabaseStatus dbStatus(STATUS_Success);
char imageFileName[MAXPATHLEN+1];
OFCondition result=EC_Normal;
DcmQueryRetrieveIndexDatabaseHandle handle(getDatabaseFolder(), PSTAT_MAXSTUDYCOUNT, PSTAT_STUDYSIZE, result);
if (result.bad())
{
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save fileformat to database failed: could not lock index file.");
return result;
}
if (handle.makeNewStoreFileName(classUID, instanceUID, imageFileName).good())
{
// save image file
result = DVPSHelper::saveFileFormat(imageFileName, &fileformat, OFTrue);
if (EC_Normal==result)
{
if (handle.storeRequest(classUID, instanceUID, imageFileName, &dbStatus).bad())
{
result = EC_IllegalCall;
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save fileformat to database failed: could not register in index file.");
if (verboseMode)
{
ostream &mycerr = logstream->lockCerr();
mycerr << "unable to register file '" << imageFileName << "' in database." << endl;
logstream->unlockCerr();
}
}
}
}
return result;
}
OFCondition DVInterface::loadStoredPrint(const char *studyUID, const char *seriesUID, const char *instanceUID, OFBool changeStatus)
{
OFCondition status = EC_IllegalCall;
if (studyUID && seriesUID && instanceUID)
{
if (lockDatabase() == EC_Normal)
{
const char *filename = getFilename(studyUID, seriesUID, instanceUID);
if (filename)
{
if ((status = loadStoredPrint(filename)) == EC_Normal)
{
if (changeStatus)
instanceReviewed(studyUID, seriesUID, instanceUID);
}
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load stored print from database failed: UIDs not in index file.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load stored print from database failed: could not lock index file.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load stored print from database failed: invalid UIDs.");
return status;
}
OFCondition DVInterface::loadStoredPrint(const char *filename)
{
OFCondition status = EC_IllegalCall;
DcmFileFormat *fileformat = NULL;
DVPSStoredPrint *print = new DVPSStoredPrint(getDefaultPrintIllumination(), getDefaultPrintReflection());
if (print==NULL)
{
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load stored print from file failed: memory exhausted.");
return EC_MemoryExhausted;
}
print->setLog(logstream, verboseMode, debugMode);
if ((status = DVPSHelper::loadFileFormat(filename, fileformat)) == EC_Normal)
{
if (fileformat)
{
DcmDataset *dataset = fileformat->getDataset();
if (dataset)
{
if (EC_Normal == (status = print->read(*dataset)))
{
delete pPrint;
pPrint = print;
clearFilmSessionSettings();
}
} else status = EC_CorruptedData;
delete fileformat;
} else status = EC_IllegalCall;
if (status != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load stored print from file failed: invalid data structures.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load stored print from file failed: could not read fileformat.");
if (status != EC_Normal)
{
delete print;
}
return status;
}
OFCondition DVInterface::saveStoredPrint(
const char *filename,
OFBool writeRequestedImageSize,
OFBool explicitVR,
const char *instanceUID)
{
if (pState == NULL) return EC_IllegalCall;
if (pPrint == NULL) return EC_IllegalCall;
if (filename == NULL) return EC_IllegalCall;
OFCondition status = EC_Normal;
DcmFileFormat *fileformat = new DcmFileFormat();
DcmDataset *dataset = NULL;
if (fileformat)
dataset = fileformat->getDataset();
char newuid[70];
char buf[32];
/* set annotation if active */
if (activateAnnotation)
{
OFString text;
OFString dummy;
if (prependDateTime)
{
OFDateTime::getCurrentDateTime().getISOFormattedDateTime(text, OFFalse /*showSeconds*/);
}
if (prependPrinterName)
{
text += currentPrinter;
text += " ";
}
if (prependLighting)
{
sprintf(buf, "%d/%d ", pPrint->getPrintIllumination(), pPrint->getPrintReflectedAmbientLight());
text += buf;
}
text += annotationText;
if (text.size() >64) text.erase(64); // limit to max annotation length
if (getTargetPrinterSupportsAnnotationBoxSOPClass(currentPrinter.c_str()))
{
const char *displayformat = getTargetPrinterAnnotationDisplayFormatID(currentPrinter.c_str(), dummy);
Uint16 position = getTargetPrinterAnnotationPosition(currentPrinter.c_str());
pPrint->setSingleAnnotation(displayformat, text.c_str(), position);
} else pPrint->deleteAnnotations();
if (getTargetPrinterSessionLabelAnnotation(currentPrinter.c_str()))
{
status = setPrinterFilmSessionLabel(text.c_str());
}
} else {
pPrint->deleteAnnotations();
}
if (dataset)
{
if (instanceUID) status = pPrint->setInstanceUID(instanceUID); else
{
dcmGenerateUniqueIdentifier(newuid);
status = pPrint->setInstanceUID(newuid);
}
if (EC_Normal == status) status = pPrint->write(*dataset, writeRequestedImageSize, OFTrue, OFTrue, OFFalse);
// save file
if (EC_Normal == status) status = DVPSHelper::saveFileFormat(filename, fileformat, explicitVR);
if (status != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save stored print to file failed: could not write fileformat.");
} else {
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save stored print to file failed: memory exhausted.");
status = EC_MemoryExhausted;
}
delete fileformat;
return status;
}
OFCondition DVInterface::saveStoredPrint(OFBool writeRequestedImageSize)
{
// release database lock since we are using the DB module directly
releaseDatabase();
char uid[100];
dcmGenerateUniqueIdentifier(uid);
DcmQueryRetrieveDatabaseStatus dbStatus(STATUS_Success);
char imageFileName[MAXPATHLEN+1];
OFCondition result=EC_Normal;
DcmQueryRetrieveIndexDatabaseHandle handle(getDatabaseFolder(), PSTAT_MAXSTUDYCOUNT, PSTAT_STUDYSIZE, result);
if (result.bad())
{
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save stored print to database failed: could not lock index file.");
return result;
}
if (handle.makeNewStoreFileName(UID_StoredPrintStorage, uid, imageFileName).good())
{
// now store stored print object as filename
result = saveStoredPrint(imageFileName, writeRequestedImageSize, OFTrue, uid);
if (EC_Normal==result)
{
if (handle.storeRequest(UID_StoredPrintStorage, uid, imageFileName, &dbStatus).bad())
{
result = EC_IllegalCall;
writeLogMessage(DVPSM_error, "DCMPSTAT", "Save stored print to database failed: could not register in index file.");
if (verboseMode)
{
ostream &mycerr = logstream->lockCerr();
mycerr << "unable to register stored print object '" << imageFileName << "' in database." << endl;
logstream->unlockCerr();
}
}
}
}
return result;
}
size_t DVInterface::getNumberOfPrintPreviews()
{
if (pPrint != NULL)
return pPrint->getNumberOfImages();
return 0;
}
OFCondition DVInterface::loadPrintPreview(size_t idx, OFBool printLUT, OFBool changeStatus)
{
OFCondition status = EC_IllegalCall;
if ((pPrint != NULL) && (maximumPrintPreviewWidth > 0) && (maximumPrintPreviewHeight > 0))
{
const char *studyUID;
const char *seriesUID;
const char *instanceUID;
if ((status = pPrint->getImageReference(idx, studyUID, seriesUID, instanceUID)) == EC_Normal)
{
status = EC_IllegalCall;
const char *filename = getFilename(studyUID, seriesUID, instanceUID);
if (filename)
{
DicomImage *image = new DicomImage(filename);
if (image != NULL)
{
if (image->getStatus() == EIS_Normal)
{
unsigned long width = maximumPrintPreviewWidth;
unsigned long height = maximumPrintPreviewHeight;
/* consider aspect ratio of the image and the display */
double ratio = image->getWidthHeightRatio();
const double mpWidth = getMonitorPixelWidth();
const double mpHeight = getMonitorPixelHeight();
if ((mpWidth > 0) && (mpHeight > 0))
ratio *= (mpWidth / mpHeight);
if (ratio == 0.0)
ratio = 1.0;
if (OFstatic_cast(double, image->getWidth()) / OFstatic_cast(double, width * ratio) <
OFstatic_cast(double, image->getHeight()) / OFstatic_cast(double, height))
{
width = 0;
} else
height = 0;
image->setWidthHeightRatio(ratio);
pHardcopyImage = image->createScaledImage(width, height, 0 /*interpolate*/, 1 /*aspect ratio*/);
if (pHardcopyImage != NULL)
{
if (pHardcopyImage->getStatus() == EIS_Normal)
{
/* set display function for calibrated output */
if (displayFunction != NULL)
pHardcopyImage->setDisplayFunction(displayFunction[DVPSD_GSDF]);
/* adapt polarity if necessary */
const char *polarity = pPrint->getImagePolarity(idx);
if ((polarity != NULL) && (strcmp(polarity, "REVERSE") == 0))
pHardcopyImage->setPolarity(EPP_Reverse);
/* set (print/display) presentation LUT */
DVPSPresentationLUT *plut = pPrint->getPresentationLUT(); // first check whether there's a global one
if (plut == NULL)
plut = pPrint->getImagePresentationLUT(idx); // ... then check for an image box specific
if (plut != NULL)
{
pHardcopyImage->setHardcopyParameters(pPrint->getMinDensityValue(), pPrint->getMaxDensityValue(),
pPrint->getPrintReflectedAmbientLight(), pPrint->getPrintIllumination());
plut->activate(pHardcopyImage, printLUT);
}
status = EC_Normal;
if (changeStatus)
instanceReviewed(studyUID, seriesUID, instanceUID);
} else
unloadPrintPreview();
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load hardcopy grayscale image for print preview failed: memory exhausted.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load hardcopy grayscale image for print preview failed: could not read image.");
delete image;
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load hardcopy grayscale image for print preview failed: memory exhausted.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load hardcopy grayscale image for print preview failed: UIDs not in index file.");
}
}
return status;
}
void DVInterface::unloadPrintPreview()
{
delete pHardcopyImage;
pHardcopyImage = NULL;
}
unsigned long DVInterface::getPrintPreviewSize()
{
unsigned long result = 0;
unsigned long width;
unsigned long height;
if (getPrintPreviewWidthHeight(width, height) == EC_Normal)
result = width * height;
return result;
}
void DVInterface::setMaxPrintPreviewWidthHeight(unsigned long width, unsigned long height)
{
if ((width != maximumPrintPreviewWidth) || (height != maximumPrintPreviewHeight))
{
unloadPrintPreview();
maximumPrintPreviewWidth = width;
maximumPrintPreviewHeight = height;
}
}
OFCondition DVInterface::getPrintPreviewWidthHeight(unsigned long &width, unsigned long &height)
{
OFCondition result = EC_IllegalCall;
if (pHardcopyImage != NULL)
{
width = pHardcopyImage->getWidth();
height = pHardcopyImage->getHeight();
if ((width > 0) && (height > 0))
result = EC_Normal;
} else {
width = 0;
height = 0;
}
return result;
}
OFCondition DVInterface::getPrintPreviewBitmap(void *bitmap, unsigned long size)
{
OFCondition status = EC_IllegalCall;
if ((pHardcopyImage != NULL) && (bitmap != NULL) && (size > 0))
{
if (pHardcopyImage->getOutputData(bitmap, size, 8 /*bits*/))
status = EC_Normal;
}
return status;
}
OFCondition DVInterface::setCurrentPrinter(const char *targetID)
{
if (targetID == NULL) return EC_IllegalCall;
if (getTargetHostname(targetID) == NULL) return EC_IllegalCall; // Printer seems to be unknown
activateAnnotation = getTargetPrinterSupportsAnnotation(targetID);
if (pPrint != NULL)
{
pPrint->setPrinterName(targetID);
pPrint->setDestination(getTargetAETitle(targetID));
}
currentPrinter = targetID;
return EC_Normal;
}
const char *DVInterface::getCurrentPrinter()
{
return currentPrinter.c_str();
}
OFCondition DVInterface::setPrinterMediumType(const char *value)
{
if (value) printerMediumType = value; else printerMediumType.clear();
return EC_Normal;
}
const char *DVInterface::getPrinterMediumType()
{
return printerMediumType.c_str();
}
OFCondition DVInterface::setPrinterFilmDestination(const char *value)
{
if (value) printerFilmDestination = value; else printerFilmDestination.clear();
return EC_Normal;
}
const char *DVInterface::getPrinterFilmDestination()
{
return printerFilmDestination.c_str();
}
OFCondition DVInterface::setPrinterFilmSessionLabel(const char *value)
{
if (value) printerFilmSessionLabel = value; else printerFilmSessionLabel.clear();
return EC_Normal;
}
const char *DVInterface::getPrinterFilmSessionLabel()
{
return printerFilmSessionLabel.c_str();
}
OFCondition DVInterface::setPrinterPriority(const char *value)
{
if (value) printerPriority = value; else printerPriority.clear();
return EC_Normal;
}
const char *DVInterface::getPrinterPriority()
{
return printerPriority.c_str();
}
OFCondition DVInterface::setPrinterOwnerID(const char *value)
{
if (value) printerOwnerID = value; else printerOwnerID.clear();
return EC_Normal;
}
const char *DVInterface::getPrinterOwnerID()
{
return printerOwnerID.c_str();
}
OFCondition DVInterface::setPrinterNumberOfCopies(unsigned long value)
{
printerNumberOfCopies = value;
return EC_Normal;
}
unsigned long DVInterface::getPrinterNumberOfCopies()
{
return printerNumberOfCopies;
}
OFCondition DVInterface::selectDisplayPresentationLUT(const char *lutID)
{
OFCondition result = EC_IllegalCall;
if (lutID && pState)
{
const char *lutfile = getLUTFilename(lutID);
if (lutfile)
{
OFString filename = getLUTFolder(); // never NULL.
filename += PATH_SEPARATOR;
filename += lutfile;
DcmFileFormat *fileformat = NULL;
if ((result = DVPSHelper::loadFileFormat(filename.c_str(), fileformat)) == EC_Normal)
{
if (fileformat)
{
DcmDataset *dataset = fileformat->getDataset();
if (dataset)
result = pState->setPresentationLookupTable(*dataset);
else
result = EC_IllegalCall;
if (EC_Normal == result)
displayCurrentLUTID = lutID;
else
displayCurrentLUTID.clear();
} else result = EC_IllegalCall;
if (result != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load display presentation LUT from file: invalid data structures.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load display presentation LUT from file: could not read fileformat.");
delete fileformat;
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load display presentation LUT from file: not specified in config file.");
}
return result;
}
const char *DVInterface::getDisplayPresentationLUTID()
{
return displayCurrentLUTID.c_str();
}
OFCondition DVInterface::selectPrintPresentationLUT(const char *lutID)
{
OFCondition result = EC_IllegalCall;
if (lutID && pPrint)
{
const char *lutfile = getLUTFilename(lutID);
if (lutfile)
{
OFString filename = getLUTFolder(); // never NULL.
filename += PATH_SEPARATOR;
filename += lutfile;
DcmFileFormat *fileformat = NULL;
if ((result = DVPSHelper::loadFileFormat(filename.c_str(), fileformat)) == EC_Normal)
{
if (fileformat)
{
DcmDataset *dataset = fileformat->getDataset();
if (dataset)
result = pPrint->setPresentationLookupTable(*dataset);
else
result = EC_IllegalCall;
if (EC_Normal == result)
printCurrentLUTID = lutID;
else
printCurrentLUTID.clear();
} else result = EC_IllegalCall;
if (result != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load print presentation LUT from file: invalid data structures.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load print presentation LUT from file: could not read fileformat.");
delete fileformat;
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load print presentation LUT from file: not specified in config file.");
}
return result;
}
const char *DVInterface::getPrintPresentationLUTID()
{
return printCurrentLUTID.c_str();
}
OFCondition DVInterface::spoolPrintJob(OFBool deletePrintedImages)
{
if (pPrint==NULL) return EC_IllegalCall;
if (currentPrinter.size()==0) return EC_IllegalCall;
OFCondition result = saveStoredPrint(getTargetPrinterSupportsRequestedImageSize(currentPrinter.c_str()));
if (EC_Normal == result)
{
result = spoolStoredPrintFromDB(pPrint->getStudyInstanceUID(), pPrint->getSeriesInstanceUID(), pPrint->getSOPInstanceUID());
}
if ((EC_Normal == result) && deletePrintedImages) result = pPrint->deleteSpooledImages();
return result;
}
OFCondition DVInterface::startPrintSpooler()
{
const char *spooler_application = getSpoolerName();
if (spooler_application==NULL) return EC_IllegalCall;
if (configPath.length()==0) return EC_IllegalCall;
const char *printer = NULL;
unsigned long sleepingTime = getSpoolerSleep();
if (sleepingTime==0) sleepingTime=1; // default
char sleepStr[20];
sprintf(sleepStr, "%lu", sleepingTime);
OFBool detailedLog = getDetailedLog();
OFCondition result = EC_Normal;
writeLogMessage(DVPSM_informational, "DCMPSTAT", "Starting print spooler process ...");
DVPSHelper::cleanChildren(logstream); // clean up old child processes before creating new ones
Uint32 numberOfPrinters = getNumberOfTargets(DVPSE_printAny);
if (numberOfPrinters > 0) for (Uint32 i=0; i < numberOfPrinters; i++)
{
printer = getTargetID(i, DVPSE_printAny);
#ifdef HAVE_FORK
// Unix version - call fork() and execl()
pid_t pid = fork();
if (pid < 0) result = EC_IllegalCall; // fork failed - return error code
else if (pid==0)
{
// we are the child process
if (detailedLog)
{
if (execl(spooler_application, spooler_application, "--verbose", "--dump", "--spool", printJobIdentifier.c_str(),
"--printer", printer, "--config", configPath.c_str(), "--sleep", sleepStr, NULL) < 0)
{
if (verboseMode)
{
logstream->lockCerr() << "error: unable to execute '" << spooler_application << "'" << endl;
logstream->unlockCerr();
}
}
} else {
if (execl(spooler_application, spooler_application, "--spool", printJobIdentifier.c_str(),
"--printer", printer, "--config", configPath.c_str(), "--sleep", sleepStr, NULL) < 0)
{
if (verboseMode)
{
logstream->lockCerr() << "error: unable to execute '" << spooler_application << "'" << endl;
logstream->unlockCerr();
}
}
}
// if execl succeeds, this part will not get executed.
// if execl fails, there is not much we can do except bailing out.
abort();
}
#else
// Windows version - call CreateProcess()
// initialize startup info
PROCESS_INFORMATION procinfo;
STARTUPINFO sinfo;
OFBitmanipTemplate<char>::zeroMem((char *)&sinfo, sizeof(sinfo));
sinfo.cb = sizeof(sinfo);
char commandline[4096];
if (detailedLog)
{
sprintf(commandline, "%s --verbose --dump --spool %s --printer %s --config %s --sleep %s", spooler_application,
printJobIdentifier.c_str(), printer, configPath.c_str(), sleepStr);
} else {
sprintf(commandline, "%s --spool %s --printer %s --config %s --sleep %s", spooler_application,
printJobIdentifier.c_str(), printer, configPath.c_str(), sleepStr);
}
#ifdef DEBUG
if (0 == CreateProcess(NULL, commandline, NULL, NULL, 0, 0, NULL, NULL, &sinfo, &procinfo))
#else
if (0 == CreateProcess(NULL, commandline, NULL, NULL, 0, DETACHED_PROCESS, NULL, NULL, &sinfo, &procinfo))
#endif
{
if (verboseMode)
{
logstream->lockCerr() << "error: unable to execute '" << spooler_application << "'" << endl;
logstream->unlockCerr();
}
result = EC_IllegalCall;
}
#endif
}
return result;
}
OFCondition DVInterface::createPrintJobFilenames(const char *printer, OFString& tempname, OFString& jobname)
{
tempname.clear();
jobname.clear();
if (printer==NULL) return EC_IllegalCall;
char buf[20];
sprintf(buf, "%04lu", printJobCounter++);
jobname = getSpoolFolder();
jobname += PATH_SEPARATOR;
jobname += printJobIdentifier;
jobname += '_';
jobname += printer;
jobname += '_';
jobname += buf;
tempname = jobname;
jobname += PRINTJOB_SUFFIX;
tempname += PRINTJOB_TEMP_SUFFIX;
return EC_Normal;
}
OFCondition DVInterface::terminatePrintSpooler()
{
if (getSpoolerName()==NULL) return EC_IllegalCall;
if (configPath.length()==0) return EC_IllegalCall;
DVPSHelper::cleanChildren(logstream); // clean up old child processes before creating new ones
OFString spoolFilename;
OFString tempFilename;
const char *prt = NULL;
writeLogMessage(DVPSM_informational, "DCMPSTAT", "Terminating print spooler process ...");
Uint32 numberOfPrinters = getNumberOfTargets(DVPSE_printAny);
if (numberOfPrinters > 0) for (Uint32 i=0; i < numberOfPrinters; i++)
{
prt = getTargetID(i, DVPSE_printAny);
if (EC_Normal != createPrintJobFilenames(prt, tempFilename, spoolFilename)) return EC_IllegalCall;
FILE *outf = fopen(tempFilename.c_str(),"wb");
if (outf)
{
OFString timeString;
OFDateTime::getCurrentDateTime().getISOFormattedDateTime(timeString);
fprintf(outf,"#\n# print job created %s\n", timeString.c_str());
fprintf(outf,"# target printer: [%s]\n#\n", (prt ? prt : "none"));
fprintf(outf,"terminate\n");
fclose(outf);
if (0 != rename(tempFilename.c_str(), spoolFilename.c_str()))
{
if (verboseMode)
{
logstream->lockCerr() << "error: unable to activate spooler termination request '" << spoolFilename.c_str() << "'" << endl;
logstream->unlockCerr();
}
return EC_IllegalCall;
}
} else {
if (verboseMode)
{
logstream->lockCerr() << "error: unable to create spooler termination request '" << tempFilename.c_str() << "'" << endl;
logstream->unlockCerr();
}
return EC_IllegalCall;
}
}
return EC_Normal;
}
OFCondition DVInterface::startPrintServer()
{
const char *application = getPrintServerName();
if (application==NULL) return EC_IllegalCall;
if (configPath.length()==0) return EC_IllegalCall;
const char *printer = NULL;
OFBool detailedLog = getDetailedLog();
OFCondition result = EC_Normal;
writeLogMessage(DVPSM_informational, "DCMPSTAT", "Starting print server process ...");
DVPSHelper::cleanChildren(); // clean up old child processes before creating new ones
Uint32 numberOfPrinters = getNumberOfTargets(DVPSE_printLocal);
if (numberOfPrinters > 0) for (Uint32 i=0; i < numberOfPrinters; i++)
{
printer = getTargetID(i, DVPSE_printLocal);
#ifdef HAVE_FORK
// Unix version - call fork() and execl()
pid_t pid = fork();
if (pid < 0) result = EC_IllegalCall; // fork failed - return error code
else if (pid==0)
{
// we are the child process
if (detailedLog)
{
if (execl(application, application, "--logfile", "--verbose", "--dump", "--printer", printer, "--config",
configPath.c_str(), NULL) < 0)
{
if (verboseMode)
{
logstream->lockCerr() << "error: unable to execute '" << application << "'" << endl;
logstream->unlockCerr();
}
}
} else {
if (execl(application, application, "--logfile", "--printer", printer, "--config", configPath.c_str(), NULL) < 0)
{
if (verboseMode)
{
logstream->lockCerr() << "error: unable to execute '" << application << "'" << endl;
logstream->unlockCerr();
}
}
}
// if execl succeeds, this part will not get executed.
// if execl fails, there is not much we can do except bailing out.
abort();
}
#else
// Windows version - call CreateProcess()
// initialize startup info
PROCESS_INFORMATION procinfo;
STARTUPINFO sinfo;
OFBitmanipTemplate<char>::zeroMem((char *)&sinfo, sizeof(sinfo));
sinfo.cb = sizeof(sinfo);
char commandline[4096];
if (detailedLog)
{
sprintf(commandline, "%s --logfile --verbose --dump --printer %s --config %s", application, printer, configPath.c_str());
} else {
sprintf(commandline, "%s --logfile --printer %s --config %s", application, printer, configPath.c_str());
}
#ifdef DEBUG
if (0 == CreateProcess(NULL, commandline, NULL, NULL, 0, 0, NULL, NULL, &sinfo, &procinfo))
#else
if (0 == CreateProcess(NULL, commandline, NULL, NULL, 0, DETACHED_PROCESS, NULL, NULL, &sinfo, &procinfo))
#endif
{
if (verboseMode)
{
logstream->lockCerr() << "error: unable to execute '" << application << "'" << endl;
logstream->unlockCerr();
}
result = EC_IllegalCall;
}
#endif
}
return result; // result of last process only
}
OFCondition DVInterface::terminatePrintServer()
{
if (getPrintServerName()==NULL) return EC_IllegalCall;
if (configPath.length()==0) return EC_IllegalCall;
#ifdef HAVE_GUSI_H
GUSISetup(GUSIwithSIOUXSockets);
GUSISetup(GUSIwithInternetSockets);
#endif
#ifdef HAVE_WINSOCK_H
WSAData winSockData;
/* we need at least version 1.1 */
WORD winSockVersionNeeded = MAKEWORD( 1, 1 );
WSAStartup(winSockVersionNeeded, &winSockData);
#endif
OFCondition result = EC_Normal;
T_ASC_Network *net=NULL;
T_ASC_Parameters *params=NULL;
DIC_NODENAME localHost;
DIC_NODENAME peerHost;
T_ASC_Association *assoc=NULL;
const char *target = NULL;
OFBool useTLS = OFFalse;
writeLogMessage(DVPSM_informational, "DCMPSTAT", "Terminating print server process ...");
#ifdef WITH_OPENSSL
/* TLS directory */
const char *current = NULL;
const char *tlsFolder = getTLSFolder();
if (tlsFolder==NULL) tlsFolder = ".";
/* key file format */
int keyFileFormat = SSL_FILETYPE_PEM;
if (! getTLSPEMFormat()) keyFileFormat = SSL_FILETYPE_ASN1;
#endif
Uint32 numberOfPrinters = getNumberOfTargets(DVPSE_printLocal);
if (numberOfPrinters > 0) for (Uint32 i=0; i < numberOfPrinters; i++)
{
target = getTargetID(i, DVPSE_printLocal);
useTLS = getTargetUseTLS(target);
OFCondition cond = ASC_initializeNetwork(NET_REQUESTOR, 0, 30, &net);
if (cond.good())
{
cond = ASC_createAssociationParameters(¶ms, DEFAULT_MAXPDU);
if (cond.good())
{
if (useTLS)
{
#ifdef WITH_OPENSSL
/* certificate file */
OFString tlsCertificateFile(tlsFolder);
tlsCertificateFile += PATH_SEPARATOR;
current = getTargetCertificate(target);
if (current) tlsCertificateFile += current; else tlsCertificateFile += "sitecert.pem";
/* private key file */
OFString tlsPrivateKeyFile(tlsFolder);
tlsPrivateKeyFile += PATH_SEPARATOR;
current = getTargetPrivateKey(target);
if (current) tlsPrivateKeyFile += current; else tlsPrivateKeyFile += "sitekey.pem";
/* private key password */
const char *tlsPrivateKeyPassword = getTargetPrivateKeyPassword(target);
/* DH parameter file */
OFString tlsDHParametersFile;
current = getTargetDiffieHellmanParameters(target);
if (current)
{
tlsDHParametersFile = tlsFolder;
tlsDHParametersFile += PATH_SEPARATOR;
tlsDHParametersFile += current;
}
/* random seed file */
OFString tlsRandomSeedFile(tlsFolder);
tlsRandomSeedFile += PATH_SEPARATOR;
current = getTargetRandomSeed(target);
if (current) tlsRandomSeedFile += current; else tlsRandomSeedFile += "siteseed.bin";
/* CA certificate directory */
const char *tlsCACertificateFolder = getTLSCACertificateFolder();
if (tlsCACertificateFolder==NULL) tlsCACertificateFolder = ".";
/* ciphersuites */
#if OPENSSL_VERSION_NUMBER >= 0x0090700fL
OFString tlsCiphersuites(TLS1_TXT_RSA_WITH_AES_128_SHA ":" SSL3_TXT_RSA_DES_192_CBC3_SHA);
#else
OFString tlsCiphersuites(SSL3_TXT_RSA_DES_192_CBC3_SHA);
#endif
Uint32 tlsNumberOfCiphersuites = getTargetNumberOfCipherSuites(target);
if (tlsNumberOfCiphersuites > 0)
{
tlsCiphersuites.clear();
OFString currentSuite;
const char *currentOpenSSL;
for (Uint32 ui=0; ui<tlsNumberOfCiphersuites; ui++)
{
getTargetCipherSuite(target, ui, currentSuite);
if (NULL != (currentOpenSSL = DcmTLSTransportLayer::findOpenSSLCipherSuiteName(currentSuite.c_str())))
{
if (tlsCiphersuites.length() > 0) tlsCiphersuites += ":";
tlsCiphersuites += currentOpenSSL;
}
}
}
DcmTLSTransportLayer *tLayer = new DcmTLSTransportLayer(DICOM_APPLICATION_REQUESTOR, tlsRandomSeedFile.c_str());
if (tLayer)
{
if (tlsCACertificateFolder) tLayer->addTrustedCertificateDir(tlsCACertificateFolder, keyFileFormat);
if (tlsDHParametersFile.size() > 0) tLayer->setTempDHParameters(tlsDHParametersFile.c_str());
tLayer->setPrivateKeyPasswd(tlsPrivateKeyPassword); // never prompt on console
tLayer->setPrivateKeyFile(tlsPrivateKeyFile.c_str(), keyFileFormat);
tLayer->setCertificateFile(tlsCertificateFile.c_str(), keyFileFormat);
tLayer->setCipherSuites(tlsCiphersuites.c_str());
tLayer->setCertificateVerification(DCV_ignoreCertificate);
ASC_setTransportLayer(net, tLayer, 1);
}
#else
// we cannot shutdown a TLS process since we're compiled without OpenSSL support
cond = EC_IllegalCall;
#endif
}
ASC_setAPTitles(params, getNetworkAETitle(), getTargetAETitle(target), NULL);
gethostname(localHost, sizeof(localHost) - 1);
sprintf(peerHost, "%s:%d", getTargetHostname(target), OFstatic_cast(int, getTargetPort(target)));
ASC_setPresentationAddresses(params, localHost, peerHost);
if (cond.good()) cond = ASC_setTransportLayerType(params, useTLS);
const char* transferSyntaxes[] = { UID_LittleEndianImplicitTransferSyntax };
if (cond.good()) cond = ASC_addPresentationContext(params, 1, UID_PrivateShutdownSOPClass, transferSyntaxes, 1);
if (cond.good())
{
cond = ASC_requestAssociation(net, params, &assoc);
if (cond.good()) ASC_abortAssociation(assoc); // tear down association if necessary
ASC_dropAssociation(assoc);
ASC_destroyAssociation(&assoc);
}
} else result = EC_IllegalCall;
ASC_dropNetwork(&net);
} else result = EC_IllegalCall;
}
#ifdef HAVE_WINSOCK_H
WSACleanup();
#endif
return result; // result of last process only
}
OFCondition DVInterface::addToPrintHardcopyFromDB(const char *studyUID, const char *seriesUID, const char *instanceUID)
{
OFCondition result = EC_IllegalCall;
if (pPrint)
{
if (studyUID && seriesUID && instanceUID)
{
if (EC_Normal == (result = lockDatabase()))
{
DcmUniqueIdentifier sopclassuid(DCM_SOPClassUID);
const char *filename = getFilename(studyUID, seriesUID, instanceUID);
if (filename)
{
DcmFileFormat *ff = NULL;
if ((result = DVPSHelper::loadFileFormat(filename, ff)) == EC_Normal)
{
if (ff)
{
DcmDataset *dataset = ff->getDataset();
if (dataset)
{
DcmStack stack;
DVPSPresentationLUT presentationLUT;
if (EC_Normal != presentationLUT.read(*dataset, OFFalse)) presentationLUT.setType(DVPSP_identity);
result = dataset->search(sopclassuid.getTag(), stack, ESM_fromHere, OFFalse);
if (EC_Normal == result)
{
char *sopclass = NULL;
sopclassuid = *OFstatic_cast(DcmUniqueIdentifier *, stack.top());
if (EC_Normal == sopclassuid.getString(sopclass))
result = pPrint->addImageBox(getNetworkAETitle(), studyUID, seriesUID,
sopclass, instanceUID, NULL, NULL, &presentationLUT, OFFalse);
else
result = EC_IllegalCall;
}
} else result = EC_CorruptedData;
} else result = EC_IllegalCall;
if (result != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load hardcopy grayscale image from file failed: invalid data structures.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load hardcopy grayscale image from file failed: could not read fileformat.");
if (ff) delete ff;
} else {
result = EC_IllegalCall;
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load hardcopy grayscale image from database failed: UIDs not in index file.");
}
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load hardcopy grayscale image from database failed: could not lock index file.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Load hardcopy grayscale image from database failed: invalid UIDs.");
}
releaseDatabase();
return result;
}
OFCondition DVInterface::spoolStoredPrintFromDB(const char *studyUID, const char *seriesUID, const char *instanceUID)
{
if ((studyUID==NULL)||(seriesUID==NULL)||(instanceUID==NULL)||(configPath.length()==0)) return EC_IllegalCall;
OFString spoolFilename;
OFString tempFilename;
const char *prt = getCurrentPrinter();
if (EC_Normal != createPrintJobFilenames(prt, tempFilename, spoolFilename)) return EC_IllegalCall;
FILE *outf = fopen(tempFilename.c_str(),"wb");
if (outf)
{
OFString timeString;
OFDateTime::getCurrentDateTime().getISOFormattedDateTime(timeString);
fprintf(outf, "#\n# print job created %s\n", timeString.c_str());
fprintf(outf, "# target printer: [%s]\n#\n", (prt ? prt : "none"));
fprintf(outf, "study %s\nseries %s\ninstance %s\n", studyUID, seriesUID, instanceUID);
if (printerMediumType.size() >0) fprintf(outf,"mediumtype %s\n", printerMediumType.c_str());
if (printerFilmDestination.size() >0) fprintf(outf,"destination %s\n", printerFilmDestination.c_str());
if (printerFilmSessionLabel.size() >0) fprintf(outf,"label %s\n", printerFilmSessionLabel.c_str());
if (printerPriority.size() >0) fprintf(outf,"priority %s\n", printerPriority.c_str());
if (printerOwnerID.size() >0) fprintf(outf,"owner_id %s\n", printerOwnerID.c_str());
if (printerNumberOfCopies >0) fprintf(outf,"copies %lu\n", printerNumberOfCopies);
fclose(outf);
if (0 != rename(tempFilename.c_str(), spoolFilename.c_str()))
{
if (verboseMode)
{
logstream->lockCerr() << "error: unable to activate print job '" << spoolFilename.c_str() << "'" << endl;
logstream->unlockCerr();
}
return EC_IllegalCall;
}
} else {
if (verboseMode)
{
logstream->lockCerr() << "error: unable to create print job '" << tempFilename.c_str() << "'" << endl;
logstream->unlockCerr();
}
return EC_IllegalCall;
}
return EC_Normal;
}
OFCondition DVInterface::printSCUcreateBasicFilmSession(DVPSPrintMessageHandler& printHandler, OFBool plutInSession)
{
if (!pPrint) return EC_IllegalCall;
OFCondition result = EC_Normal;
DcmDataset dset;
DcmElement *delem = NULL;
char buf[20];
if ((EC_Normal==result)&&(printerMediumType.size() > 0))
{
delem = new DcmCodeString(DCM_MediumType);
if (delem) result = delem->putString(printerMediumType.c_str()); else result=EC_IllegalCall;
if (EC_Normal==result) result = dset.insert(delem, OFTrue /*replaceOld*/);
}
if ((EC_Normal==result)&&(printerFilmDestination.size() > 0))
{
delem = new DcmCodeString(DCM_FilmDestination);
if (delem) result = delem->putString(printerFilmDestination.c_str()); else result=EC_IllegalCall;
if (EC_Normal==result) result = dset.insert(delem, OFTrue /*replaceOld*/);
}
if ((EC_Normal==result)&&(printerFilmSessionLabel.size() > 0))
{
delem = new DcmLongString(DCM_FilmSessionLabel);
if (delem) result = delem->putString(printerFilmSessionLabel.c_str()); else result=EC_IllegalCall;
if (EC_Normal==result) result = dset.insert(delem, OFTrue /*replaceOld*/);
}
if ((EC_Normal==result)&&(printerPriority.size() > 0))
{
delem = new DcmCodeString(DCM_PrintPriority);
if (delem) result = delem->putString(printerPriority.c_str()); else result=EC_IllegalCall;
if (EC_Normal==result) result = dset.insert(delem, OFTrue /*replaceOld*/);
}
if ((EC_Normal==result)&&(printerOwnerID.size() > 0))
{
delem = new DcmShortString(DCM_OwnerID);
if (delem) result = delem->putString(printerOwnerID.c_str()); else result=EC_IllegalCall;
if (EC_Normal==result) result = dset.insert(delem, OFTrue /*replaceOld*/);
}
if ((EC_Normal==result)&&(printerNumberOfCopies > 0))
{
sprintf(buf, "%lu", printerNumberOfCopies);
delem = new DcmIntegerString(DCM_NumberOfCopies);
if (delem) result = delem->putString(buf); else result=EC_IllegalCall;
if (EC_Normal==result) result = dset.insert(delem, OFTrue /*replaceOld*/);
}
if (EC_Normal==result) result = pPrint->printSCUcreateBasicFilmSession(printHandler, dset, plutInSession);
return result;
}
void DVInterface::clearFilmSessionSettings()
{
printerMediumType.clear();
printerFilmDestination.clear();
printerFilmSessionLabel.clear();
printerPriority.clear();
printerOwnerID.clear();
printerNumberOfCopies = 0;
return;
}
void DVInterface::setLog(OFConsole *stream, OFBool verbMode, OFBool dbgMode)
{
DVConfiguration::setLog(stream, verbMode, dbgMode);
if (pPrint) pPrint->setLog(stream, verbMode, dbgMode);
if (pReport && dbgMode)
pReport->setLogStream(stream);
}
void DVInterface::setLogFilter(DVPSLogMessageLevel level)
{
if (logFile != NULL)
logFile->setFilter(OFstatic_cast(OFLogFile::LF_Level, OFstatic_cast(int, level)));
}
OFCondition DVInterface::writeLogMessage(DVPSLogMessageLevel level, const char *module, const char *message)
{
if ((logFile != NULL) && (logFile->good()))
{
if (logFile->checkFilter(OFstatic_cast(OFLogFile::LF_Level, OFstatic_cast(int, level))))
{
logFile->lockFile(OFstatic_cast(OFLogFile::LF_Level, OFstatic_cast(int, level)), module);
logFile->writeMessage(message);
logFile->unlockFile();
}
return EC_Normal;
}
return EC_IllegalCall;
}
void DVInterface::setAnnotationText(const char *value)
{
if (value) annotationText=value; else annotationText.clear();
return;
}
OFCondition DVInterface::startExternalApplication(const char *application, const char *filename)
{
if ((filename==NULL)||(application==NULL)) return EC_IllegalCall;
DVPSHelper::cleanChildren(logstream); // clean up old child processes before creating new ones
#ifdef HAVE_FORK
// Unix version - call fork() and execl()
pid_t pid = fork();
if (pid < 0) return EC_IllegalCall; // fork failed - return error code
else if (pid > 0) return EC_Normal; // we are the parent process
else
{
// we are the child process
if (execl(application, application, filename, NULL) < 0)
{
if (verboseMode)
{
logstream->lockCerr() << "error: unable to execute '" << application << "'" << endl;
logstream->unlockCerr();
}
}
// if execl succeeds, this part will not get executed.
// if execl fails, there is not much we can do except bailing out.
abort();
}
#else
// Windows version - call CreateProcess()
// initialize startup info
PROCESS_INFORMATION procinfo;
STARTUPINFO sinfo;
OFBitmanipTemplate<char>::zeroMem((char *)&sinfo, sizeof(sinfo));
sinfo.cb = sizeof(sinfo);
char commandline[4096];
sprintf(commandline, "%s %s", application, filename);
#ifdef DEBUG
if (CreateProcess(NULL, commandline, NULL, NULL, 0, 0, NULL, NULL, &sinfo, &procinfo))
#else
if (CreateProcess(NULL, commandline, NULL, NULL, 0, DETACHED_PROCESS, NULL, NULL, &sinfo, &procinfo))
#endif
{
return EC_Normal;
} else {
if (verboseMode)
{
logstream->lockCerr() << "error: unable to execute '" << application << "'" << endl;
logstream->unlockCerr();
}
}
#endif
return EC_IllegalCall;
}
OFCondition DVInterface::dumpIOD(const char *filename)
{
OFCondition result = startExternalApplication(getDumpToolName(), filename);
if (result != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Dump IOD failed: could not start dump application.");
return result;
}
OFCondition DVInterface::dumpIOD(const char *studyUID, const char *seriesUID, const char *instanceUID)
{
OFCondition result = EC_IllegalCall;
if (studyUID && seriesUID && instanceUID)
{
if (EC_Normal == (result = lockDatabase()))
{
const char *filename = getFilename(studyUID, seriesUID, instanceUID);
if (filename)
result = dumpIOD(filename);
else
{
result = EC_IllegalCall;
writeLogMessage(DVPSM_error, "DCMPSTAT", "Dump IOD from database failed: could not lock index file.");
}
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Dump IOD from database failed: UIDs not in index file.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Dump IOD from database failed: invalid UIDs.");
return result;
}
OFCondition DVInterface::checkIOD(const char *filename)
{
OFCondition result = startExternalApplication(getCheckToolName(), filename);
if (result != EC_Normal)
writeLogMessage(DVPSM_error, "DCMPSTAT", "Check IOD failed: could not start evaluator application.");
return result;
}
OFCondition DVInterface::checkIOD(const char *studyUID, const char *seriesUID, const char *instanceUID)
{
OFCondition result = EC_IllegalCall;
if (studyUID && seriesUID && instanceUID)
{
if (EC_Normal == (result = lockDatabase()))
{
const char *filename = getFilename(studyUID, seriesUID, instanceUID);
if (filename)
result = checkIOD(filename);
else
{
result = EC_IllegalCall;
writeLogMessage(DVPSM_error, "DCMPSTAT", "Check IOD from database failed: could not lock index file.");
}
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Check IOD from database failed: UIDs not in index file.");
} else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Check IOD from database failed: invalid UIDs.");
return result;
}
#ifdef WITH_OPENSSL
/* buf : buffer to write password into
* size : length of buffer in bytes
* rwflag : nonzero if the password will be used as a new password, i.e. user should be asked to repeat the password
* userdata: arbitrary pointer that can be set with SSL_CTX_set_default_passwd_cb_userdata()
* returns : number of bytes written to password buffer, -1 upon error
*/
extern "C" int DVInterfacePasswordCallback(char *buf, int size, int rwflag, void *userdata);
int DVInterfacePasswordCallback(char *buf, int size, int /* rwflag */, void *userdata)
{
if (userdata == NULL) return -1;
OFString *password = (OFString *)userdata;
int passwordSize = password->length();
if (passwordSize > size) passwordSize = size;
strncpy(buf, password->c_str(), passwordSize);
return passwordSize;
}
#endif
#ifdef WITH_OPENSSL
OFBool DVInterface::verifyUserPassword(const char *userID, const char *passwd)
#else
OFBool DVInterface::verifyUserPassword(const char * /*userID*/, const char * /*passwd*/)
#endif
{
OFBool result = OFFalse;
#ifdef WITH_OPENSSL
OFString filename;
OFString privateKeyPasswd;
if (passwd) privateKeyPasswd = passwd;
OFBool isPEMFormat = getTLSPEMFormat();
const char *userKey = getUserPrivateKey(userID);
if (userKey == NULL) writeLogMessage(DVPSM_error, "DCMPSTAT", "Cannot verify user password: Unknown user or undefined private key file.");
else
{
const char *userDir = getUserCertificateFolder();
if (userDir)
{
filename = userDir;
filename += PATH_SEPARATOR;
}
filename += userKey;
/* attempt to load the private key with the given password*/
EVP_PKEY *pkey = NULL;
BIO *in = BIO_new(BIO_s_file_internal());
if (in)
{
if (BIO_read_filename(in, filename.c_str()) > 0)
{
if (isPEMFormat)
{
pkey = PEM_read_bio_PrivateKey(in, NULL, DVInterfacePasswordCallback, &privateKeyPasswd);
if (pkey) result = OFTrue;
} else {
// ASN.1/DER encoded keys are never encrypted, thus no callback here.
pkey = d2i_PrivateKey_bio(in, NULL);
if (pkey) result = OFTrue;
}
} else writeLogMessage(DVPSM_error, "DCMPSTAT", "Cannot verify user password: private key file not found.");
BIO_free(in);
}
if (pkey) EVP_PKEY_free(pkey);
}
#else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Cannot verify user password: Not compiled with OpenSSL support.");
#endif
return result;
}
#ifdef WITH_OPENSSL
OFCondition DVInterface::verifyAndSignStructuredReport(const char *userID, const char *passwd, DVPSVerifyAndSignMode mode)
#else
OFCondition DVInterface::verifyAndSignStructuredReport(const char *userID, const char * /*passwd*/, DVPSVerifyAndSignMode mode)
#endif
{
OFCondition result = EC_IllegalCall;
if ((pReport != NULL) && (userID != NULL))
{
OFString userName(getUserDICOMName(userID));
OFString userOrg(getUserOrganization(userID));
OFString userCV, userCSD, userCSV, userCM;
DSRCodedEntryValue userCode(getUserCodeValue(userID, userCV), getUserCodingSchemeDesignator(userID, userCSD),
getUserCodingSchemeVersion(userID, userCSV), getUserCodeMeaning(userID, userCM));
/* verify document */
if (pReport->verifyDocument(userName, userCode, userOrg) == EC_Normal)
{
if ((mode == DVPSY_verifyAndSign) || (mode == DVPSY_verifyAndSign_finalize))
{
#ifdef WITH_OPENSSL
if (pSignatureHandler)
{
DcmStack stack;
DcmItem dataset;
if (pReport->write(dataset, &stack) == EC_Normal)
{
DcmAttributeTag tagList(DcmTag(0, 0) /* irrelevant value */);
if (mode == DVPSY_verifyAndSign)
{
/* do not sign particular attributes */
tagList.putTagVal(DCM_SOPInstanceUID, 0);
tagList.putTagVal(DCM_VerifyingObserverSequence, 1);
tagList.putTagVal(DCM_InstanceCreationDate, 2);
tagList.putTagVal(DCM_InstanceCreationTime, 3);
tagList.putTagVal(DCM_InstanceCreatorUID, 4);
}
else if (mode == DVPSY_verifyAndSign_finalize)
{
/* always sign the entire document */
stack.clear();
}
/* if no item is marked, sign entire dataset */
if (stack.empty())
stack.push(&dataset);
/* digitally sign document */
if (pSignatureHandler->createSignature(dataset, stack, tagList, userID, passwd) == EC_Normal)
{
DSRDocument *newReport = new DSRDocument();
if (newReport != NULL)
{
if (newReport->read(dataset, DSRTypes::RF_readDigitalSignatures) == EC_Normal)
{
/* replace report in memory */
delete pReport;
pReport = newReport;
pSignatureHandler->updateDigitalSignatureInformation(dataset, DVPSS_structuredReport, OFFalse /* onRead? */);
if (mode == DVPSY_verifyAndSign_finalize)
result = pReport->finalizeDocument();
else
result = EC_Normal;
}
} else
result = EC_MemoryExhausted;
}
}
}
#else
writeLogMessage(DVPSM_error, "DCMPSTAT", "Cannot sign structured report: Not compiled with OpenSSL support.");
#endif
} else
result= EC_Normal;
}
}
return result;
}
const char *DVInterface::getCurrentSignatureValidationHTML(DVPSObjectType objtype) const
{
return pSignatureHandler->getCurrentSignatureValidationHTML(objtype);
}
const char *DVInterface::getCurrentSignatureValidationOverview() const
{
return pSignatureHandler->getCurrentSignatureValidationOverview();
}
DVPSSignatureStatus DVInterface::getCurrentSignatureStatus(DVPSObjectType objtype) const
{
return pSignatureHandler->getCurrentSignatureStatus(objtype);
}
DVPSSignatureStatus DVInterface::getCombinedImagePStateSignatureStatus() const
{
return pSignatureHandler->getCombinedImagePStateSignatureStatus();
}
unsigned long DVInterface::getNumberOfCorrectSignatures(DVPSObjectType objtype) const
{
return pSignatureHandler->getNumberOfCorrectSignatures(objtype);
}
unsigned long DVInterface::getNumberOfUntrustworthySignatures(DVPSObjectType objtype) const
{
return pSignatureHandler->getNumberOfUntrustworthySignatures(objtype);
}
unsigned long DVInterface::getNumberOfCorruptSignatures(DVPSObjectType objtype) const
{
return pSignatureHandler->getNumberOfCorruptSignatures(objtype);
}
void DVInterface::disableImageAndPState()
{
pSignatureHandler->disableImageAndPState();
}
/*
* CVS/RCS Log:
* $Log: dviface.cc,v $
* Revision 1.154 2005/12/08 15:46:15 meichel
* Changed include path schema for all DCMTK header files
*
* Revision 1.153 2005/11/23 16:10:34 meichel
* Added support for AES ciphersuites in TLS module. All TLS-enabled
* tools now support the "AES TLS Secure Transport Connection Profile".
*
* Revision 1.152 2005/11/16 14:58:24 meichel
* Set association timeout in ASC_initializeNetwork to 30 seconds. This improves
* the responsiveness of the tools if the peer blocks during assoc negotiation.
*
* Revision 1.151 2005/04/04 10:11:59 meichel
* Module dcmpstat now uses the dcmqrdb API instead of imagectn for maintaining
* the index database
*
* Revision 1.150 2004/08/03 11:43:18 meichel
* Headers libc.h and unistd.h are now included via ofstdinc.h
*
* Revision 1.149 2004/02/13 11:49:36 joergr
* Adapted code for changed tag names (e.g. PresentationLabel -> ContentLabel).
*
* Revision 1.148 2004/02/04 15:57:48 joergr
* Removed acknowledgements with e-mail addresses from CVS log.
*
* Revision 1.147 2003/12/19 14:57:04 meichel
* Completed support for terminating TLS-based print server processes
*
* Revision 1.146 2003/12/19 13:49:57 meichel
* DVInterface::terminatePrintServer now also correctly terminates
* TLS-based print server processes.
*
* Revision 1.145 2003/11/03 10:56:07 joergr
* Modified static type casts on DVPSLogMessageLevel variables to compile with
* gcc 2.95.
*
* Revision 1.144 2003/09/18 11:52:18 joergr
* Call addPrivateDcmtkCodingScheme() when saving a structured report.
* Fixed wrong "assert" (pointer check) statement in saveStructuredReport().
* Adapted type casts to new-style typecast operators defined in ofcast.h.
*
* Revision 1.143 2003/06/04 12:30:28 meichel
* Added various includes needed by MSVC5 with STL
*
* Revision 1.142 2003/04/29 10:13:56 meichel
* Moved configuration file parser from module dcmpstat to ofstd and renamed
* class to OFConfigFile. Cleaned up implementation (no more friend declarations).
*
* Revision 1.141 2002/12/20 14:51:58 wilkens
* Modified name clash resulting in a compiler error on Solaris 2.5.1 using
* compiler SC 2.0.1.
*
* Revision 1.140 2002/11/29 13:16:32 meichel
* Introduced new command line option --timeout for controlling the
* connection request timeout.
*
* Revision 1.139 2002/11/27 15:48:05 meichel
* Adapted module dcmpstat to use of new header file ofstdinc.h
*
* Revision 1.138 2002/04/16 14:02:20 joergr
* Added configurable support for C++ ANSI standard includes (e.g. streams).
*
* Revision 1.137 2002/04/11 13:13:43 joergr
* Replaced direct call of system routines by new standard date and time
* functions.
*
* Revision 1.136 2002/01/08 10:37:34 joergr
* Corrected spelling of function dcmGenerateUniqueIdentifier().
* Changed prefix of UIDs created for series and studies (now using constants
* SITE_SERIES_UID_ROOT and SITE_STUDY_UID_ROOT which are supposed to be used
* in these cases).
*
* Revision 1.135 2001/11/28 13:56:50 joergr
* Check return value of DcmItem::insert() statements where appropriate to
* avoid memory leaks when insert procedure fails.
*
* Revision 1.134 2001/10/12 13:46:54 meichel
* Adapted dcmpstat to OFCondition based dcmnet module (supports strict mode).
*
* Revision 1.133 2001/09/26 15:36:21 meichel
* Adapted dcmpstat to class OFCondition
*
* Revision 1.132 2001/06/05 10:30:55 joergr
* Replaced some #ifdef _WIN32 statements by #ifdef HAVE_WINDOWS_H or #ifdef
* __CYGWIN__ respectively to reflect the fact that the latest Cygwin/gcc
* version does not define _WIN32 any more.
*
* Revision 1.131 2001/05/10 16:44:53 joergr
* Added dcmsr as a standard library to dcmpstat (removed preprecessor #ifdef).
*
* Revision 1.130 2001/05/07 16:04:47 joergr
* Adapted read SR method call to new parameter scheme (integer flag instead of
* boolean mode).
*
* Revision 1.129 2001/02/23 14:57:55 joergr
* Update signature status when signing a structured report (not only when
* saving/storing the report).
*
* Revision 1.128 2001/02/23 13:31:10 joergr
* Changed behaviour of method verifyAndSignStructuredReport() with 'finalize'.
* Now the entire document is always signed independently from the tree items
* marked.
*
* Revision 1.127 2001/01/29 17:34:41 joergr
* Added method to verify and digitally sign structured reports.
*
* Revision 1.126 2001/01/29 14:55:46 meichel
* Added new methods for creating signatures and checking the signature
* status in module dcmpstat.
*
* Revision 1.125 2001/01/25 15:18:09 meichel
* Added initial support for verification of digital signatures
* in presentation states, images and structured reports to module dcmpstat.
*
* Revision 1.124 2000/12/13 13:30:22 joergr
* Added explicit typecast to keep gcc 2.5.8 (NeXTSTEP) quiet.
*
* Revision 1.123 2000/12/13 13:24:23 meichel
* Removed unused local variables
*
* Revision 1.122 2000/12/11 18:18:24 joergr
* Removed name of (conditionally) unused method parameters to avoid compiler
* warnings (SunCC 2.0.1).
*
* Revision 1.121 2000/12/08 12:46:35 joergr
* Separated module dcmsr from dcmpstat (use #define WITH_DCMSR to re-include
* it - probably also requires modification of makefiles).
*
* Revision 1.120 2000/11/20 13:22:41 joergr
* Fixed minor bugs (string related memory problems when used with JNI).
*
* Revision 1.119 2000/11/14 16:35:21 joergr
* Added creation of new UIDs and setting of content date/time when starting
* a new SR document from a "template".
*
* Revision 1.118 2000/11/14 13:25:59 meichel
* Imagectn was always invoked in debug mode from class DVInterface
* on Unix platforms. Fixed.
*
* Revision 1.117 2000/11/13 15:50:45 meichel
* Added dcmpstat support methods for creating image references
* in SR documents.
*
* Revision 1.116 2000/11/13 11:52:43 meichel
* Added support for user logins and certificates.
*
* Revision 1.115 2000/11/13 10:43:20 joergr
* Added support for Structured Reporting "templates".
*
* Revision 1.114 2000/11/10 16:21:17 meichel
* Fixed problem with DICOMscope being unable to shut down receiver processes
* that are operating with TLS encryption by adding a special shutdown mode to
* dcmpsrcv.
*
* Revision 1.113 2000/10/16 11:46:45 joergr
* Added support for new structured reports.
* Added method allowing to select an instance by instance UID and SOP class
* UID (without series and study UID). Required for composite references in
* DICOM SR.
*
* Revision 1.112 2000/10/10 12:24:39 meichel
* Added extensions for IPC message communication
*
* Revision 1.111 2000/08/31 15:56:14 joergr
* Switched off interpolation for scaling of print preview images (this caused
* problems with "scrambled" presentation LUTs in stored print objects).
* Correct bug: pixel aspect ratio and photometric interpretation were ignored
* for print preview.
*
* Revision 1.110 2000/07/18 16:05:08 joergr
* Moved method convertODtoLum/PValue from class DVInterface to DVPSStoredPrint
* and corrected implementation.
* Changed behaviour of methods getMin/MaxDensityValue (return default value if
* attribute empty/absent).
*
* Revision 1.109 2000/07/17 14:48:21 joergr
* Added support for presentation states referencing to hardcopy grayscale
* images.
*
* Revision 1.108 2000/07/17 12:05:29 joergr
* Added methods to select objects from the database directly.
*
* Revision 1.107 2000/07/14 17:10:10 joergr
* Added changeStatus parameter to all methods loading instances from the
* database.
*
* Revision 1.106 2000/07/14 11:59:05 joergr
* Fixed bug in getNumberOfPStates(study,series,instance) method.
*
* Revision 1.105 2000/07/12 12:52:00 joergr
* Fixed bug in loadPrintPreview routine.
*
* Revision 1.104 2000/07/07 14:15:13 joergr
* Added support for LIN OD presentation LUT shape.
*
* Revision 1.103 2000/07/06 09:41:17 joergr
* Added flag to loadPrintPreview() method allowing to choose how to interpret
* the presentation LUT (hardcopy or softcopy definition).
*
* Revision 1.102 2000/07/05 12:32:21 joergr
* Added check whether external processes were actually started before
* terminating them.
* Fixed bug concerning the termination of external processes.
*
* Revision 1.101 2000/07/05 09:00:02 joergr
* Added new log output messages.
*
* Revision 1.100 2000/07/04 16:06:28 joergr
* Added support for overriding the presentation LUT settings made for the
* image boxes.
* Added new log output messages.
*
* Revision 1.99 2000/06/22 10:46:47 joergr
* Fixed bug creating config file for Q/R server when Q/R server name was not
* specified in application config file.
*
* Revision 1.98 2000/06/21 15:41:00 meichel
* Added DICOMscope support for calling the Presentation State Checker.
*
* Revision 1.97 2000/06/09 10:14:55 joergr
* Added method to get number of presentation states referencing an image
* (specified by the three UIDs).
*
* Revision 1.96 2000/06/08 17:38:01 joergr
* Corrected bug and added log messages in addImageReferenceToPState().
* Added method convertODtoLum().
*
* Revision 1.95 2000/06/07 14:25:38 joergr
* Added configuration file entry "LogLevel" to filter log messages.
* Added flag to constructor specifying whether the general log file should be
* used (default: off).
* Added missing transformations (polarity, GSDF, presentation LUT, aspect
* ratio) to print preview rendering.
* Added log message output to I/O routines.
*
* Revision 1.94 2000/06/07 13:17:26 meichel
* added binary and textual log facilities to Print SCP.
*
* Revision 1.93 2000/06/06 09:43:25 joergr
* Moved configuration file entry "LogDirectory" from "[PRINT]" to new
* (more general) section "[APPLICATION]".
*
* Revision 1.92 2000/06/05 16:24:27 joergr
* Implemented log message methods.
* Added method allowing to specify the current presentation state to be used
* for resetting the pstate.
*
* Revision 1.91 2000/06/02 16:00:55 meichel
* Adapted all dcmpstat classes to use OFConsole for log and error output
*
* Revision 1.90 2000/06/02 13:54:35 joergr
* Implemented start/terminatePrintServer methods.
*
* Revision 1.89 2000/05/31 12:58:13 meichel
* Added initial Print SCP support
*
* Revision 1.88 2000/05/31 07:56:20 joergr
* Added support for Stored Print attributes Originator and Destination
* application entity title.
*
* Revision 1.87 2000/05/30 14:22:13 joergr
* Renamed some variables to avoid compiler warnings (reported by gcc 2.9x with
* additional compiler flags).
*
* Revision 1.86 2000/05/30 13:56:23 joergr
* Renamed GrayscaleHardcopy to HardcopyGrayscale (which is the correct term
* according to the DICOM standard).
* Added support for multi-frame images and multiple references from a single
* presentation to a number of images.
* Removed methods which were already marked as "retired".
* Added support for the folowwing new features:
* - start/terminate query/retrieve server
* - load stored print objects
* - create print preview from hardcopy grayscale images
*
* Revision 1.85 2000/03/08 16:29:00 meichel
* Updated copyright header.
*
* Revision 1.84 2000/02/29 12:16:19 meichel
* Fixed bug in dcmpstat library that caused Monochrome1 images
* to be printed inverse if a Presentation LUT was applied.
*
* Revision 1.83 1999/11/25 11:41:10 joergr
* Changed config file entry "HighEndSystem" to "HighResolutionGraphics".
*
* Revision 1.82 1999/11/18 18:23:06 meichel
* Corrected various memory leaks. DcmFileFormat can be instantiated
* with a DcmDataset* as a parameter, but in this case the dataset is
* copied and not taken over by the DcmFileFormat. The pointer must
* be freed explicitly by the caller.
*
* Revision 1.81 1999/11/03 13:05:33 meichel
* Added support for transmitting annotations in the film session label.
* Added support for dump tool launched from DVInterface.
*
* Revision 1.80 1999/10/21 15:31:45 joergr
* Fixed bug in method addToPrintHardcopyFromDB().
*
* Revision 1.79 1999/10/20 10:54:13 joergr
* Added support for a down-scaled preview image of the current DICOM image
* (e.g. useful for online-windowing or print preview).
* Corrected bug concerning the minimum and maximum print bitmap size (first
* presentation state created in the constructor of DVInterface never used the
* correct values from the config file).
*
* Revision 1.78 1999/10/19 16:24:56 meichel
* Corrected handling of MONOCHROME1 images when used with P-LUTs
*
* Revision 1.77 1999/10/19 14:48:21 meichel
* added support for the Basic Annotation Box SOP Class
* as well as access methods for Max Density and Min Density.
*
* Revision 1.76 1999/10/13 14:11:59 meichel
* Added config file entries and access methods
* for user-defined VOI presets, log directory, verbatim logging
* and an explicit list of image display formats for each printer.
*
* Revision 1.75 1999/10/13 06:44:17 joergr
* Fixed bug in get/setAmbientLightValue()
*
* Revision 1.74 1999/10/07 17:21:56 meichel
* Reworked management of Presentation LUTs in order to create tighter
* coupling between Softcopy and Print.
*
* Revision 1.73 1999/09/27 10:41:56 meichel
* Print interface now copies current printer name, avoids JNI problems.
*
* Revision 1.72 1999/09/24 15:24:32 meichel
* Added support for CP 173 (Presentation LUT clarifications)
*
* Revision 1.71 1999/09/23 17:37:15 meichel
* Added support for Basic Film Session options to dcmpstat print code.
*
* Revision 1.70 1999/09/17 14:33:50 meichel
* Completed print spool functionality including Supplement 22 support
*
* Revision 1.69 1999/09/15 17:43:31 meichel
* Implemented print job dispatcher code for dcmpstat, adapted dcmprtsv
* and dcmpsprt applications.
*
* Revision 1.68 1999/09/13 15:19:13 meichel
* Added implementations for a number of further print API methods.
*
* Revision 1.67 1999/09/10 12:46:53 meichel
* Added implementations for a number of print API methods.
*
* Revision 1.66 1999/09/10 09:36:28 joergr
* Added support for CIELAB display function. New methods to handle display
* functions. Old methods are marked as retired and should be removed asap.
*
* Revision 1.64 1999/09/08 17:11:43 joergr
* Added support for new instance types in database (grayscale hardcopy and
* stored print).
*
* Revision 1.63 1999/09/08 16:41:41 meichel
* Moved configuration file evaluation to separate class.
*
* Revision 1.62 1999/09/01 16:15:06 meichel
* Added support for requested image size to print routines
*
* Revision 1.61 1999/08/31 16:54:46 meichel
* Added new sample application that allows to create simple print jobs.
*
* Revision 1.60 1999/08/31 14:02:08 meichel
* Added print related config file methods
*
* Revision 1.59 1999/08/27 15:57:48 meichel
* Added methods for saving hardcopy images and stored print objects
* either in file or in the local database.
*
* Revision 1.58 1999/07/22 16:39:54 meichel
* Adapted dcmpstat data structures and API to supplement 33 letter ballot text.
*
* Revision 1.57 1999/07/14 12:03:43 meichel
* Updated data dictionary for supplement 29, 39, 33_lb, CP packet 4 and 5.
* Corrected dcmtk applications for changes in attribute name constants.
*
* Revision 1.56 1999/05/05 14:26:21 joergr
* Modified parameter of CreateProcess call to avoid creation of new command
* line window under Windows.
* Added optional parameter to method loadPState (from database) to change
* instance reviewed flag for pstate and image.
*
* Revision 1.55 1999/05/04 16:05:49 joergr
* Added releaseDatabase to savePState to avoid deadlocks.
* Change status of variable imageInDatabase in savePState to avoid unnecessary
* saving of (probabaly large) image files.
*
* Revision 1.54 1999/05/04 10:53:08 meichel
* Added test for struct utimbuf declaration, absent on some platforms
*
* Revision 1.53 1999/05/03 14:15:58 joergr
* Enhanced check in savePState() method whether image file is already stored
* in database.
*
* Revision 1.52 1999/05/03 11:01:36 joergr
* Minor code purifications to keep Sun CC 2.0.1 quiet.
*
* Revision 1.51 1999/04/29 15:26:14 joergr
* Added PresentationLabel to index file.
*
* Revision 1.50 1999/04/28 17:00:17 joergr
* Removed additional declaration of local variable (hides first declaration)
* to avoid compiler warnings reported by gcc 2.7.2.1 (Linux).
*
* Revision 1.49 1999/04/27 11:25:31 joergr
* Added new entry to index file: Presentation Description.
* Enhanced savePState() method: now image file is also added to index file
* and stored in image directory (if not already there).
*
* Revision 1.48 1999/03/22 09:52:40 meichel
* Reworked data dictionary based on the 1998 DICOM edition and the latest
* supplement versions. Corrected dcmtk applications for minor changes
* in attribute name constants.
*
* Revision 1.47 1999/03/03 13:29:33 joergr
* Added methods to get and set ambient light value (re: Barten transformation).
* Moved method 'isBartenTransformPossible()' from presentation state class to
* interface class.
*
* Revision 1.46 1999/03/02 13:38:17 joergr
* Corrected typo (E_Normal instead of EC_Normal).
*
* Revision 1.45 1999/03/02 13:02:20 joergr
* Added parameter to selectPState() specifying whether to change the review
* status of the loaded presentation state.
*
* Revision 1.44 1999/02/27 16:59:20 joergr
* Changed implementation of deleteImageFile (imagectn method doesn't function
* under Window NT).
* Removed bug in createPStateCache (cache was reported invalid on second call).
* Modified method selectPState (image file is now implicitly loaded if
* necessary).
*
* Revision 1.43 1999/02/25 18:44:08 joergr
* Renamed methods enable/disablePState().
* Performed some modifications in the implementation of enable/disablePState
* to avoid dmalloc warnings (not yet finished).
*
* Revision 1.42 1999/02/24 20:23:05 joergr
* Added methods to get a list of presentation states referencing the
* currently selected image.
* Added support for exchanging current presentation state (load from file)
* without deleting the current image.
* Report an error when loading a presentation state and the referenced image
* file is absent.
* Removed bug concerning newInstancesReceived (Windows NT behaves different to
* Unix when closing/unlocking a file).
*
* Revision 1.41 1999/02/23 11:45:24 joergr
* Added check whether new instances have been received before resetting
* database reference time (affects delete and instance reviewed methods).
*
* Revision 1.40 1999/02/22 14:21:59 joergr
* Added deletion of image files (depending on directory where the file is
* stored).
* Reset reference time for file modification checking after the index file
* has been changed internally (delete and change status methods).
* Removed debug messages when creating and clearing index cache.
*
* Revision 1.39 1999/02/19 19:15:21 joergr
* Corrected bug in disablePresentationState().
*
* Revision 1.38 1999/02/19 19:03:04 joergr
* Added methods to disable and (re-)enable PresentationStates.
* Added (private) helper methods to reduce redundant lines of code.
* Removed bug concerning method newInstancesReceived (databaseFilename was
* never set).
* Implemented main part of delete methods (image files are not yet deleted).
* Removed implicit application of a shared lock to the database file when
* unlock an exclusive lock.
*
* Revision 1.37 1999/02/19 09:48:27 joergr
* Added method getFilename() to get filename of currently selected instance.
* Modified implementation of instanceReviewed.
*
* Revision 1.36 1999/02/18 18:48:01 joergr
* Re-implemented methods to access index file (delete methods are still
* missing).
* Removed parameter 'deletefile' from delete methods. This parameter is
* not necessary because the decision whether a images file is deleted only
* depends on the directory where the file is stored (see comments).
*
* Revision 1.35 1999/02/18 11:07:28 meichel
* Added new parameter explicitVR to interface methods savePState,
* saveDICOMImage. Allows to choose between explicit VR and implicit VR
* little endian format. Added new method saveCurrentImage that allows to
* save the current image to file.
*
* Revision 1.34 1999/02/17 12:46:10 vorwerk
* bug fixed in strippidxarray.
*
* Revision 1.33 1999/02/17 10:05:33 meichel
* Moved creation of Display Function object from DVPresentationState to
* DVInterface to avoid unnecessary re-reads.
*
* Revision 1.32 1999/02/16 16:36:08 meichel
* Added method newInstancesReceived() to DVInterface class.
*
* Revision 1.31 1999/02/12 10:04:13 vorwerk
* added cache , changed delete methods.
*
* Revision 1.30 1999/02/10 16:01:40 meichel
* Fixed memory leak in dviface.cc - Config file contents were never deleted.
*
* Revision 1.29 1999/02/09 15:58:10 meichel
* Implemented methods that save images and presentation states in the DB.
*
* Revision 1.28 1999/02/08 10:52:35 meichel
* Updated documentation of dviface.h in Doc++ style.
* Removed dummy parameter from constructor.
*
* Revision 1.27 1999/02/05 17:45:37 meichel
* Added config file entry for monitor characteristics file. Monitor charac-
* teristics are passed to dcmimage if present to activate Barten transform.
*
* Revision 1.26 1999/02/05 12:45:12 vorwerk
* actualised version: comments see previous version.
*
* Revision 1.24 1999/01/29 16:01:02 meichel
* Reworked index file handle acquisition and locking code.
*
* Revision 1.23 1999/01/29 09:51:28 vorwerk
* locking bug removed.
*
* Revision 1.22 1999/01/28 15:27:23 vorwerk
* Exclusive and shared locking mechanism in all browser-methods added.
*
* Revision 1.21 1999/01/27 15:31:28 vorwerk
* record deletion bug removed. Errorhandling for indexfiles with length zero added.
*
* Revision 1.20 1999/01/27 14:59:26 meichel
* Implemented DICOM network receive application "dcmpsrcv" which receives
* images and presentation states and stores them in the local database.
*
* Revision 1.19 1999/01/25 18:18:22 meichel
* Defined private SOP class UID for network receiver
* shutdown function. Cleanup up some code.
*
* Revision 1.18 1999/01/25 16:48:37 vorwerk
* Bug in getaninstance removed. getNumberOfSeries and getNumberOfInstances results
* are correct now. getStudyStatus bug removed. Error handling routines added.
*
* Revision 1.17 1999/01/25 13:05:57 meichel
* Implemented DVInterface::startReceiver()
* and several config file related methods.
*
* Revision 1.16 1999/01/20 19:25:30 meichel
* Implemented sendIOD method which creates a separate process for trans-
* mitting images from the local database to a remote communication peer.
*
* Revision 1.15 1999/01/19 15:13:41 vorwerk
* Additional methods for attributes in the indexfile added.
* Method getFilename implemented.
*
* Revision 1.14 1999/01/18 17:30:48 meichel
* minor syntax purifications to keep VC++ happy
*
* Revision 1.13 1999/01/18 16:15:17 vorwerk
* Bug in isPresentationstateSeries() corrected.
*
* Revision 1.12 1999/01/15 17:27:17 meichel
* added DVInterface method resetPresentationState() which allows to reset a
* presentation state to the initial state (after loading).
*
* Revision 1.11 1999/01/14 17:50:27 meichel
* added new method saveDICOMImage() to class DVInterface.
* Allows to store a bitmap as a DICOM image.
*
* Revision 1.10 1999/01/14 16:19:46 vorwerk
* getNumberOfSeries bug corrected. Error handling in deletion and reviewed methods added.
*
* Revision 1.8 1999/01/11 10:10:18 vorwerk
* error handling for getNumberofStudies and selectStudy implemented.
*
* Revision 1.7 1999/01/07 16:40:04 vorwerk
* getSeriesDescription implemented
*
* Revision 1.5 1999/01/04 13:28:11 vorwerk
* line inserted
*
* Revision 1.4 1999/01/04 13:10:30 vorwerk
* getSeriesPerformingPhysicainsName() changed in getSeriesPerformingPhysiciansName()
*
* Revision 1.3 1998/12/22 17:57:13 meichel
* Implemented Presentation State interface for overlays,
* VOI LUTs, VOI windows, curves. Added test program that
* allows to add curve data to DICOM images.
*
* Revision 1.2 1998/12/22 15:52:45 vorwerk
* - browser methods implemented
* - methods added for index.dat
*
* Revision 1.1 1998/11/27 14:50:38 meichel
* Initial Release.
*
*
*/
| [
"[email protected]"
] | |
183ca642fdbfeaf1e68bc222c54ac9615fbf9f9e | 6f48c285a873cd7b9c1a448baa21b98436c9cb07 | /workspace_cpp_book/Book15.11/Essay.cpp | 8318c64aaa8c841e21b79b245f04fb685602be48 | [] | no_license | ZaneMSaul/CS-Foundations-II | dc195b4c5126e3acfea4add8a81b04b930eab0a0 | 875486ac9b5f3b7dbd79b9db02100d22b0de3703 | refs/heads/master | 2020-04-05T05:23:17.412601 | 2018-11-07T18:49:01 | 2018-11-07T18:49:01 | 156,592,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,430 | cpp | // Implementation file for the Essay class
#include <iostream>
#include "Essay.h"
using namespace std;
//******************************************
// setGrammerPoints member function *
//******************************************
void Essay::setGrammerPoints(double p)
{
// Validate the points.
if (p < 0 || p > 30)
{
// Invalid data
cout << "Invalid number of grammar points.\n";
// exit(EXIT_FAILURE);
return;
}
// Assign the points.
grammerPoints = p;
}
//******************************************
// setSpellingPoints member function *
//******************************************
void Essay::setSpellingPoints(double p)
{
// Validate the points.
if (p < 0 || p > 20)
{
// Invalid data
cout << "Invalid number of spelling points.\n";
// exit(EXIT_FAILURE);
return;
}
// Assign the points.
spellingPoints = p;
}
//******************************************
// setLengthPoints member function *
//******************************************
void Essay::setLengthPoints(double p)
{
// Validate the points
if (p < 0 || p > 20)
{
// Invalid data
cout << "Invalid number of length points.\n";
// exit(EXIT_FAILURE);
return;
}
// Assign the points.
lengthPoints = p;
}
//******************************************
// setContentPoints member function *
//******************************************
void Essay::setContentPoints(double p)
{
// Validate the points.
if (p < 0 || p > 30)
{
// Invalid data
cout << "Invalid number of content points.\n";
// exit(EXIT_FAILURE);
return;
}
// Assign the points.
contentPoints = p;
}
//*********************************************************
// getScore *
//*********************************************************
double Essay::getScore() const
{
int totalPoints = grammerPoints + spellingPoints +
lengthPoints + contentPoints;
return totalPoints;
}
//*********************************************************
// getLetterGrade *
//*********************************************************
char Essay::getLetterGrade()
{
// Add up all the points.
score = getScore();
// Return the letter grade as reported from
// the base class function.
return GradedActivity::getLetterGrade();
}
| [
"[email protected]"
] | |
d39586c6325f4a612fa795b18e5c8df71200dd30 | f110b798e9c243873f0b64d19f560e8c323d5910 | /Westons_Project/Westons_Solution/sound_data.cpp | da5b11bfcf72811ce491bd4df74b5d56a58fc722 | [] | no_license | westonsfiala/EE590B | 8cdfa7937e3d6ff9f8a02a0a6b522202e7945b0c | 311ade7267a7d1e711f800d55cb7ed63bff9b81c | refs/heads/master | 2021-05-09T02:09:15.764308 | 2018-03-06T21:45:12 | 2018-03-06T21:45:12 | 119,199,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,525 | cpp | #include "sound_data.h"
#include <cassert>
/**
* \brief Adds the given note to the sound.
* \param new_note Note added to the sound.
*/
void sound_data::add_note(const note_data& new_note)
{
m_notes.emplace_back(new_note);
calculate_note_volume();
}
/**
* \brief Removes all the notes with the given frequency from the sound.
* \param frequency Frequency of the notes to remove from the sound.
*/
void sound_data::remove_notes(const float frequency)
{
std::vector<note_data> reap_notes;
// Iterate over our list and reap what needs reaping.
for (const auto& note : m_notes)
{
if (note.m_frequency == frequency)
{
reap_notes.push_back(note);
}
}
for (auto reap_note : reap_notes)
{
m_notes.remove(reap_note);
}
calculate_note_volume();
}
/**
* \brief Processes all of the contained notes in the sound. If any notes duration drops below 0, it is removed.
* \param sample_rate Sample rate of the sound. Used to calculate time advancement.
* \param num_samples Number of samples processed since last process call. Used to calculate time advancement.
*/
void sound_data::process(const int sample_rate, const int num_samples)
{
std::vector<note_data> reap_notes;
// Go through all of the notes and advance their duration
for (auto& note : m_notes)
{
// Only care about positive timed notes.
if (note.m_duration > 0.0f)
{
// Subtract away the milliseconds that passed.
note.m_duration -= 1000.0f * static_cast<float>(num_samples) / static_cast<float>(sample_rate);
if (note.m_duration < 0.0f)
{
reap_notes.push_back(note);
}
}
}
// Remove them after the processing block.
for (auto reap_note : reap_notes)
{
m_notes.remove(reap_note);
}
calculate_note_volume();
}
/**
* \brief Calculates the volume that should be applied to all notes in this sound to ensure no clipping.
*/
void sound_data::calculate_note_volume()
{
auto max_volume = 1.0f;
auto volume_sum = 0.0f;
for (auto note : m_notes)
{
volume_sum += note.m_volume;
}
// If we have more than 1.0 combined volume, then lower down the note volume.
if (volume_sum > max_volume)
{
max_volume = max_volume / volume_sum;
}
// Should never be able to have these happen.
assert(max_volume >= 0.0 && max_volume <= 1.0);
m_note_volume = max_volume;
}
| [
"[email protected]"
] | |
01edd88b0ba78bda1310827ca08564088a98a9de | 210d757836216b1a1d491564ef9c7e6d84ee947e | /src/protocol/CryptoNoteProtocolHandler.cpp | 22000a9909169ad69236006d6f3d32691dbf3565 | [
"MIT"
] | permissive | sunnymiesta/adina | 85a77ed48795cdd67793b645db9f9958b59ed361 | 5b77f6248ef1cb75bd0451b1e4884c5f2c89ecee | refs/heads/master | 2020-03-19T15:56:02.554698 | 2018-06-11T04:10:43 | 2018-06-11T04:10:43 | 136,007,337 | 0 | 0 | MIT | 2018-06-04T21:54:24 | 2018-06-04T10:10:26 | C++ | UTF-8 | C++ | false | false | 29,204 | cpp | #include "CryptoNoteProtocolHandler.h"
#include <future>
#include <boost/scope_exit.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <System/Dispatcher.h>
#include "base/CryptoNoteBasicImpl.h"
#include "base/CryptoNoteFormatUtils.h"
#include "base/CryptoNoteTools.h"
#include "core/Currency.h"
#include "VerificationContext.h"
#include "p2p/LevinProtocol.h"
using namespace Logging;
using namespace Common;
namespace CryptoNote {
namespace {
template<class t_parametr>
bool post_notify(IP2pEndpoint& p2p, typename t_parametr::request& arg, const CryptoNoteConnectionContext& context) {
return p2p.invoke_notify_to_peer(t_parametr::ID, LevinProtocol::encode(arg), context);
}
template<class t_parametr>
void relay_post_notify(IP2pEndpoint& p2p, typename t_parametr::request& arg, const net_connection_id* excludeConnection = nullptr) {
p2p.relay_notify_to_all(t_parametr::ID, LevinProtocol::encode(arg), excludeConnection);
}
}
CryptoNoteProtocolHandler::CryptoNoteProtocolHandler(const Currency& currency, System::Dispatcher& dispatcher, ICore& rcore, IP2pEndpoint* p_net_layout, Logging::ILogger& log) :
m_dispatcher(dispatcher),
m_currency(currency),
m_core(rcore),
m_p2p(p_net_layout),
m_synchronized(false),
m_stop(false),
m_observedHeight(0),
m_peersCount(0),
logger(log, "protocol") {
if (!m_p2p) {
m_p2p = &m_p2p_stub;
}
}
size_t CryptoNoteProtocolHandler::getPeerCount() const {
return m_peersCount;
}
void CryptoNoteProtocolHandler::set_p2p_endpoint(IP2pEndpoint* p2p) {
if (p2p)
m_p2p = p2p;
else
m_p2p = &m_p2p_stub;
}
void CryptoNoteProtocolHandler::onConnectionOpened(CryptoNoteConnectionContext& context) {
}
void CryptoNoteProtocolHandler::onConnectionClosed(CryptoNoteConnectionContext& context) {
bool updated = false;
{
std::lock_guard<std::mutex> lock(m_observedHeightMutex);
uint64_t prevHeight = m_observedHeight;
recalculateMaxObservedHeight(context);
if (prevHeight != m_observedHeight) {
updated = true;
}
}
if (updated) {
logger(TRACE) << "Observed height updated: " << m_observedHeight;
m_observerManager.notify(&ICryptoNoteProtocolObserver::lastKnownBlockHeightUpdated, m_observedHeight);
}
if (context.m_state != CryptoNoteConnectionContext::state_befor_handshake) {
m_peersCount--;
m_observerManager.notify(&ICryptoNoteProtocolObserver::peerCountUpdated, m_peersCount.load());
}
}
void CryptoNoteProtocolHandler::stop() {
m_stop = true;
}
bool CryptoNoteProtocolHandler::start_sync(CryptoNoteConnectionContext& context) {
logger(Logging::TRACE) << context << "Starting synchronization";
if (context.m_state == CryptoNoteConnectionContext::state_synchronizing) {
assert(context.m_needed_objects.empty());
assert(context.m_requested_objects.empty());
NOTIFY_REQUEST_CHAIN::request r = boost::value_initialized<NOTIFY_REQUEST_CHAIN::request>();
r.block_ids = m_core.buildSparseChain();
logger(Logging::TRACE) << context << "-->>NOTIFY_REQUEST_CHAIN: m_block_ids.size()=" << r.block_ids.size();
post_notify<NOTIFY_REQUEST_CHAIN>(*m_p2p, r, context);
}
return true;
}
bool CryptoNoteProtocolHandler::get_stat_info(core_stat_info& stat_inf) {
return m_core.get_stat_info(stat_inf);
}
void CryptoNoteProtocolHandler::log_connections() {
std::stringstream ss;
ss << std::setw(25) << std::left << "Remote Host"
<< std::setw(20) << "Peer id"
<< std::setw(25) << "Recv/Sent (inactive,sec)"
<< std::setw(25) << "State"
<< std::setw(20) << "Lifetime(seconds)" << ENDL;
m_p2p->for_each_connection([&](const CryptoNoteConnectionContext& cntxt, PeerIdType peer_id) {
ss << std::setw(25) << std::left << std::string(cntxt.m_is_income ? "[INC]" : "[OUT]") +
Common::ipAddressToString(cntxt.m_remote_ip) + ":" + std::to_string(cntxt.m_remote_port)
<< std::setw(20) << std::hex << peer_id
// << std::setw(25) << std::to_string(cntxt.m_recv_cnt) + "(" + std::to_string(time(NULL) - cntxt.m_last_recv) + ")" + "/" + std::to_string(cntxt.m_send_cnt) + "(" + std::to_string(time(NULL) - cntxt.m_last_send) + ")"
<< std::setw(25) << get_protocol_state_string(cntxt.m_state)
<< std::setw(20) << std::to_string(time(NULL) - cntxt.m_started) << ENDL;
});
logger(INFO) << "Connections: " << ENDL << ss.str();
}
uint32_t CryptoNoteProtocolHandler::get_current_blockchain_height() {
uint32_t height;
Crypto::Hash blockId;
m_core.get_blockchain_top(height, blockId);
return height;
}
bool CryptoNoteProtocolHandler::process_payload_sync_data(const CORE_SYNC_DATA& hshd, CryptoNoteConnectionContext& context, bool is_inital) {
if (context.m_state == CryptoNoteConnectionContext::state_befor_handshake && !is_inital)
return true;
if (context.m_state == CryptoNoteConnectionContext::state_synchronizing) {
} else if (m_core.have_block(hshd.top_id)) {
if (is_inital) {
on_connection_synchronized();
context.m_state = CryptoNoteConnectionContext::state_pool_sync_required;
} else {
context.m_state = CryptoNoteConnectionContext::state_normal;
}
} else {
int64_t diff = static_cast<int64_t>(hshd.current_height) - static_cast<int64_t>(get_current_blockchain_height());
logger(diff >= 0 ? (is_inital ? Logging::INFO : Logging::DEBUGGING) : Logging::TRACE, Logging::BRIGHT_YELLOW) << context <<
"Sync data returned unknown top block: " << get_current_blockchain_height() << " -> " << hshd.current_height
<< " [" << std::abs(diff) << " blocks (" << std::abs(diff) / (24 * 60 * 60 / m_currency.difficultyTarget()) << " days) "
<< (diff >= 0 ? std::string("behind") : std::string("ahead")) << "] " << std::endl << "SYNCHRONIZATION started";
logger(Logging::DEBUGGING) << "Remote top block height: " << hshd.current_height << ", id: " << hshd.top_id;
//let the socket to send response to handshake, but request callback, to let send request data after response
logger(Logging::TRACE) << context << "requesting synchronization";
context.m_state = CryptoNoteConnectionContext::state_sync_required;
}
updateObservedHeight(hshd.current_height, context);
context.m_remote_blockchain_height = hshd.current_height;
if (is_inital) {
m_peersCount++;
m_observerManager.notify(&ICryptoNoteProtocolObserver::peerCountUpdated, m_peersCount.load());
}
return true;
}
bool CryptoNoteProtocolHandler::get_payload_sync_data(CORE_SYNC_DATA& hshd) {
uint32_t current_height;
m_core.get_blockchain_top(current_height, hshd.top_id);
hshd.current_height = current_height;
hshd.current_height += 1;
return true;
}
template <typename Command, typename Handler>
int notifyAdaptor(const BinaryArray& reqBuf, CryptoNoteConnectionContext& ctx, Handler handler) {
typedef typename Command::request Request;
int command = Command::ID;
Request req = boost::value_initialized<Request>();
if (!LevinProtocol::decode(reqBuf, req)) {
throw std::runtime_error("Failed to load_from_binary in command " + std::to_string(command));
}
return handler(command, req, ctx);
}
#define HANDLE_NOTIFY(CMD, Handler) case CMD::ID: { ret = notifyAdaptor<CMD>(in, ctx, std::bind(Handler, this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3)); break; }
int CryptoNoteProtocolHandler::handleCommand(bool is_notify, int command, const BinaryArray& in, BinaryArray& out, CryptoNoteConnectionContext& ctx, bool& handled) {
int ret = 0;
handled = true;
switch (command) {
HANDLE_NOTIFY(NOTIFY_NEW_BLOCK, &CryptoNoteProtocolHandler::handle_notify_new_block)
HANDLE_NOTIFY(NOTIFY_NEW_TRANSACTIONS, &CryptoNoteProtocolHandler::handle_notify_new_transactions)
HANDLE_NOTIFY(NOTIFY_REQUEST_GET_OBJECTS, &CryptoNoteProtocolHandler::handle_request_get_objects)
HANDLE_NOTIFY(NOTIFY_RESPONSE_GET_OBJECTS, &CryptoNoteProtocolHandler::handle_response_get_objects)
HANDLE_NOTIFY(NOTIFY_REQUEST_CHAIN, &CryptoNoteProtocolHandler::handle_request_chain)
HANDLE_NOTIFY(NOTIFY_RESPONSE_CHAIN_ENTRY, &CryptoNoteProtocolHandler::handle_response_chain_entry)
HANDLE_NOTIFY(NOTIFY_REQUEST_TX_POOL, &CryptoNoteProtocolHandler::handleRequestTxPool)
default:
handled = false;
}
return ret;
}
#undef HANDLE_NOTIFY
int CryptoNoteProtocolHandler::handle_notify_new_block(int command, NOTIFY_NEW_BLOCK::request& arg, CryptoNoteConnectionContext& context) {
logger(Logging::TRACE) << context << "NOTIFY_NEW_BLOCK (hop " << arg.hop << ")";
updateObservedHeight(arg.current_blockchain_height, context);
context.m_remote_blockchain_height = arg.current_blockchain_height;
if (context.m_state != CryptoNoteConnectionContext::state_normal) {
return 1;
}
for (auto tx_blob_it = arg.b.txs.begin(); tx_blob_it != arg.b.txs.end(); tx_blob_it++) {
CryptoNote::tx_verification_context tvc = boost::value_initialized<decltype(tvc)>();
auto transactionBinary = asBinaryArray(*tx_blob_it);
Crypto::Hash transactionHash = Crypto::cn_fast_hash(transactionBinary.data(), transactionBinary.size());
logger(DEBUGGING) << "transaction " << transactionHash << " came in NOTIFY_NEW_BLOCK";
m_core.handle_incoming_tx(transactionBinary, tvc, true);
if (tvc.m_verification_failed) {
logger(Logging::INFO) << context << "Block verification failed: transaction verification failed, dropping connection";
context.m_state = CryptoNoteConnectionContext::state_shutdown;
return 1;
}
}
block_verification_context bvc = boost::value_initialized<block_verification_context>();
m_core.handle_incoming_block_blob(asBinaryArray(arg.b.block), bvc, true, false);
if (bvc.m_verification_failed) {
logger(Logging::DEBUGGING) << context << "Block verification failed, dropping connection";
context.m_state = CryptoNoteConnectionContext::state_shutdown;
return 1;
}
if (bvc.m_added_to_main_chain) {
++arg.hop;
//TODO: Add here announce protocol usage
relay_post_notify<NOTIFY_NEW_BLOCK>(*m_p2p, arg, &context.m_connection_id);
// relay_block(arg, context);
if (bvc.m_switched_to_alt_chain) {
requestMissingPoolTransactions(context);
}
} else if (bvc.m_marked_as_orphaned) {
context.m_state = CryptoNoteConnectionContext::state_synchronizing;
NOTIFY_REQUEST_CHAIN::request r = boost::value_initialized<NOTIFY_REQUEST_CHAIN::request>();
r.block_ids = m_core.buildSparseChain();
logger(Logging::TRACE) << context << "-->>NOTIFY_REQUEST_CHAIN: m_block_ids.size()=" << r.block_ids.size();
post_notify<NOTIFY_REQUEST_CHAIN>(*m_p2p, r, context);
}
return 1;
}
int CryptoNoteProtocolHandler::handle_notify_new_transactions(int command, NOTIFY_NEW_TRANSACTIONS::request& arg, CryptoNoteConnectionContext& context) {
logger(Logging::TRACE) << context << "NOTIFY_NEW_TRANSACTIONS";
if (context.m_state != CryptoNoteConnectionContext::state_normal)
return 1;
for (auto tx_blob_it = arg.txs.begin(); tx_blob_it != arg.txs.end();) {
auto transactionBinary = asBinaryArray(*tx_blob_it);
Crypto::Hash transactionHash = Crypto::cn_fast_hash(transactionBinary.data(), transactionBinary.size());
logger(DEBUGGING) << "transaction " << transactionHash << " came in NOTIFY_NEW_TRANSACTIONS";
CryptoNote::tx_verification_context tvc = boost::value_initialized<decltype(tvc)>();
m_core.handle_incoming_tx(transactionBinary, tvc, false);
if (tvc.m_verification_failed) {
logger(Logging::INFO) << context << "Tx verification failed";
}
if (!tvc.m_verification_failed && tvc.m_should_be_relayed) {
++tx_blob_it;
} else {
tx_blob_it = arg.txs.erase(tx_blob_it);
}
}
if (arg.txs.size()) {
//TODO: add announce usage here
relay_post_notify<NOTIFY_NEW_TRANSACTIONS>(*m_p2p, arg, &context.m_connection_id);
}
return true;
}
int CryptoNoteProtocolHandler::handle_request_get_objects(int command, NOTIFY_REQUEST_GET_OBJECTS::request& arg, CryptoNoteConnectionContext& context) {
logger(Logging::TRACE) << context << "NOTIFY_REQUEST_GET_OBJECTS";
NOTIFY_RESPONSE_GET_OBJECTS::request rsp;
if (!m_core.handle_get_objects(arg, rsp)) {
logger(Logging::ERROR) << context << "failed to handle request NOTIFY_REQUEST_GET_OBJECTS, dropping connection";
context.m_state = CryptoNoteConnectionContext::state_shutdown;
}
logger(Logging::TRACE) << context << "-->>NOTIFY_RESPONSE_GET_OBJECTS: blocks.size()=" << rsp.blocks.size() << ", txs.size()=" << rsp.txs.size()
<< ", rsp.m_current_blockchain_height=" << rsp.current_blockchain_height << ", missed_ids.size()=" << rsp.missed_ids.size();
post_notify<NOTIFY_RESPONSE_GET_OBJECTS>(*m_p2p, rsp, context);
return 1;
}
int CryptoNoteProtocolHandler::handle_response_get_objects(int command, NOTIFY_RESPONSE_GET_OBJECTS::request& arg, CryptoNoteConnectionContext& context) {
logger(Logging::TRACE) << context << "NOTIFY_RESPONSE_GET_OBJECTS";
if (context.m_last_response_height > arg.current_blockchain_height) {
logger(Logging::ERROR) << context << "sent wrong NOTIFY_HAVE_OBJECTS: arg.m_current_blockchain_height=" << arg.current_blockchain_height
<< " < m_last_response_height=" << context.m_last_response_height << ", dropping connection";
context.m_state = CryptoNoteConnectionContext::state_shutdown;
return 1;
}
updateObservedHeight(arg.current_blockchain_height, context);
context.m_remote_blockchain_height = arg.current_blockchain_height;
size_t count = 0;
for (const block_complete_entry& block_entry : arg.blocks) {
++count;
Block b;
if (!fromBinaryArray(b, asBinaryArray(block_entry.block))) {
logger(Logging::ERROR) << context << "sent wrong block: failed to parse and validate block: \r\n"
<< toHex(asBinaryArray(block_entry.block)) << "\r\n dropping connection";
context.m_state = CryptoNoteConnectionContext::state_shutdown;
return 1;
}
//to avoid concurrency in core between connections, suspend connections which delivered block later then first one
if (count == 2) {
if (m_core.have_block(get_block_hash(b))) {
context.m_state = CryptoNoteConnectionContext::state_idle;
context.m_needed_objects.clear();
context.m_requested_objects.clear();
logger(Logging::DEBUGGING) << context << "Connection set to idle state.";
return 1;
}
}
auto blockHash = get_block_hash(b);
auto req_it = context.m_requested_objects.find(blockHash);
if (req_it == context.m_requested_objects.end()) {
logger(Logging::ERROR) << context << "sent wrong NOTIFY_RESPONSE_GET_OBJECTS: block with id=" << Common::podToHex(blockHash)
<< " wasn't requested, dropping connection";
context.m_state = CryptoNoteConnectionContext::state_shutdown;
return 1;
}
if (b.transactionHashes.size() != block_entry.txs.size()) {
logger(Logging::ERROR) << context << "sent wrong NOTIFY_RESPONSE_GET_OBJECTS: block with id=" << Common::podToHex(blockHash)
<< ", transactionHashes.size()=" << b.transactionHashes.size() << " mismatch with block_complete_entry.m_txs.size()=" << block_entry.txs.size() << ", dropping connection";
context.m_state = CryptoNoteConnectionContext::state_shutdown;
return 1;
}
context.m_requested_objects.erase(req_it);
}
if (context.m_requested_objects.size()) {
logger(Logging::ERROR, Logging::BRIGHT_RED) << context <<
"returned not all requested objects (context.m_requested_objects.size()="
<< context.m_requested_objects.size() << "), dropping connection";
context.m_state = CryptoNoteConnectionContext::state_shutdown;
return 1;
}
{
m_core.pause_mining();
BOOST_SCOPE_EXIT_ALL(this) { m_core.update_block_template_and_resume_mining(); };
int result = processObjects(context, arg.blocks);
if (result != 0) {
return result;
}
}
uint32_t height;
Crypto::Hash top;
m_core.get_blockchain_top(height, top);
logger(DEBUGGING, BRIGHT_GREEN) << "Local blockchain updated, new height = " << height;
if (!m_stop && context.m_state == CryptoNoteConnectionContext::state_synchronizing) {
request_missing_objects(context, true);
}
return 1;
}
int CryptoNoteProtocolHandler::processObjects(CryptoNoteConnectionContext& context, const std::vector<block_complete_entry>& blocks) {
for (const block_complete_entry& block_entry : blocks) {
if (m_stop) {
break;
}
//process transactions
for (auto& tx_blob : block_entry.txs) {
auto transactionBinary = asBinaryArray(tx_blob);
Crypto::Hash transactionHash = Crypto::cn_fast_hash(transactionBinary.data(), transactionBinary.size());
logger(DEBUGGING) << "transaction " << transactionHash << " came in processObjects";
tx_verification_context tvc = boost::value_initialized<decltype(tvc)>();
m_core.handle_incoming_tx(transactionBinary, tvc, true);
if (tvc.m_verification_failed) {
logger(Logging::ERROR) << context << "transaction verification failed on NOTIFY_RESPONSE_GET_OBJECTS, \r\ntx_id = "
<< Common::podToHex(getBinaryArrayHash(asBinaryArray(tx_blob))) << ", dropping connection";
context.m_state = CryptoNoteConnectionContext::state_shutdown;
return 1;
}
}
// process block
block_verification_context bvc = boost::value_initialized<block_verification_context>();
m_core.handle_incoming_block_blob(asBinaryArray(block_entry.block), bvc, false, false);
if (bvc.m_verification_failed) {
logger(Logging::DEBUGGING) << context << "Block verification failed, dropping connection";
context.m_state = CryptoNoteConnectionContext::state_shutdown;
return 1;
} else if (bvc.m_marked_as_orphaned) {
logger(Logging::INFO) << context << "Block received at sync phase was marked as orphaned, dropping connection";
context.m_state = CryptoNoteConnectionContext::state_shutdown;
return 1;
} else if (bvc.m_already_exists) {
logger(Logging::DEBUGGING) << context << "Block already exists, switching to idle state";
context.m_state = CryptoNoteConnectionContext::state_idle;
context.m_needed_objects.clear();
context.m_requested_objects.clear();
return 1;
}
m_dispatcher.yield();
}
return 0;
}
bool CryptoNoteProtocolHandler::on_idle() {
return m_core.on_idle();
}
int CryptoNoteProtocolHandler::handle_request_chain(int command, NOTIFY_REQUEST_CHAIN::request& arg, CryptoNoteConnectionContext& context) {
logger(Logging::TRACE) << context << "NOTIFY_REQUEST_CHAIN: m_block_ids.size()=" << arg.block_ids.size();
if (arg.block_ids.empty()) {
logger(Logging::ERROR, Logging::BRIGHT_RED) << context << "Failed to handle NOTIFY_REQUEST_CHAIN. block_ids is empty";
context.m_state = CryptoNoteConnectionContext::state_shutdown;
return 1;
}
if (arg.block_ids.back() != m_core.getBlockIdByHeight(0)) {
logger(Logging::ERROR) << context << "Failed to handle NOTIFY_REQUEST_CHAIN. block_ids doesn't end with genesis block ID";
context.m_state = CryptoNoteConnectionContext::state_shutdown;
return 1;
}
NOTIFY_RESPONSE_CHAIN_ENTRY::request r;
r.m_block_ids = m_core.findBlockchainSupplement(arg.block_ids, BLOCKS_IDS_SYNCHRONIZING_DEFAULT_COUNT, r.total_height, r.start_height);
logger(Logging::TRACE) << context << "-->>NOTIFY_RESPONSE_CHAIN_ENTRY: m_start_height=" << r.start_height << ", m_total_height=" << r.total_height << ", m_block_ids.size()=" << r.m_block_ids.size();
post_notify<NOTIFY_RESPONSE_CHAIN_ENTRY>(*m_p2p, r, context);
return 1;
}
bool CryptoNoteProtocolHandler::request_missing_objects(CryptoNoteConnectionContext& context, bool check_having_blocks) {
if (context.m_needed_objects.size()) {
//we know objects that we need, request this objects
NOTIFY_REQUEST_GET_OBJECTS::request req;
size_t count = 0;
auto it = context.m_needed_objects.begin();
while (it != context.m_needed_objects.end() && count < BLOCKS_SYNCHRONIZING_DEFAULT_COUNT) {
if (!(check_having_blocks && m_core.have_block(*it))) {
req.blocks.push_back(*it);
++count;
context.m_requested_objects.insert(*it);
}
it = context.m_needed_objects.erase(it);
}
logger(Logging::TRACE) << context << "-->>NOTIFY_REQUEST_GET_OBJECTS: blocks.size()=" << req.blocks.size() << ", txs.size()=" << req.txs.size();
post_notify<NOTIFY_REQUEST_GET_OBJECTS>(*m_p2p, req, context);
} else if (context.m_last_response_height < context.m_remote_blockchain_height - 1) {//we have to fetch more objects ids, request blockchain entry
NOTIFY_REQUEST_CHAIN::request r = boost::value_initialized<NOTIFY_REQUEST_CHAIN::request>();
r.block_ids = m_core.buildSparseChain();
logger(Logging::TRACE) << context << "-->>NOTIFY_REQUEST_CHAIN: m_block_ids.size()=" << r.block_ids.size();
post_notify<NOTIFY_REQUEST_CHAIN>(*m_p2p, r, context);
} else {
if (!(context.m_last_response_height ==
context.m_remote_blockchain_height - 1 &&
!context.m_needed_objects.size() &&
!context.m_requested_objects.size())) {
logger(Logging::ERROR, Logging::BRIGHT_RED)
<< "request_missing_blocks final condition failed!"
<< "\r\nm_last_response_height=" << context.m_last_response_height
<< "\r\nm_remote_blockchain_height=" << context.m_remote_blockchain_height
<< "\r\nm_needed_objects.size()=" << context.m_needed_objects.size()
<< "\r\nm_requested_objects.size()=" << context.m_requested_objects.size()
<< "\r\non connection [" << context << "]";
return false;
}
requestMissingPoolTransactions(context);
context.m_state = CryptoNoteConnectionContext::state_normal;
logger(Logging::INFO, Logging::BRIGHT_GREEN) << context << "SYNCHRONIZED OK";
on_connection_synchronized();
}
return true;
}
bool CryptoNoteProtocolHandler::on_connection_synchronized() {
bool val_expected = false;
if (m_synchronized.compare_exchange_strong(val_expected, true)) {
logger(Logging::INFO) << ENDL << "**********************************************************************" << ENDL
<< "You are now synchronized with the network. You may now start simplewallet." << ENDL
<< ENDL
<< "Please note, that the blockchain will be saved only after you quit the daemon with \"exit\" command or if you use \"save\" command." << ENDL
<< "Otherwise, you will possibly need to synchronize the blockchain again." << ENDL
<< ENDL
<< "Use \"help\" command to see the list of available commands." << ENDL
<< "**********************************************************************";
m_core.on_synchronized();
uint32_t height;
Crypto::Hash hash;
m_core.get_blockchain_top(height, hash);
m_observerManager.notify(&ICryptoNoteProtocolObserver::blockchainSynchronized, height);
}
return true;
}
int CryptoNoteProtocolHandler::handle_response_chain_entry(int command, NOTIFY_RESPONSE_CHAIN_ENTRY::request& arg, CryptoNoteConnectionContext& context) {
logger(Logging::TRACE) << context << "NOTIFY_RESPONSE_CHAIN_ENTRY: m_block_ids.size()=" << arg.m_block_ids.size()
<< ", m_start_height=" << arg.start_height << ", m_total_height=" << arg.total_height;
if (!arg.m_block_ids.size()) {
logger(Logging::ERROR) << context << "sent empty m_block_ids, dropping connection";
context.m_state = CryptoNoteConnectionContext::state_shutdown;
return 1;
}
if (!m_core.have_block(arg.m_block_ids.front())) {
logger(Logging::ERROR)
<< context << "sent m_block_ids starting from unknown id: "
<< Common::podToHex(arg.m_block_ids.front())
<< " , dropping connection";
context.m_state = CryptoNoteConnectionContext::state_shutdown;
return 1;
}
context.m_remote_blockchain_height = arg.total_height;
context.m_last_response_height = arg.start_height + static_cast<uint32_t>(arg.m_block_ids.size()) - 1;
if (context.m_last_response_height > context.m_remote_blockchain_height) {
logger(Logging::ERROR)
<< context
<< "sent wrong NOTIFY_RESPONSE_CHAIN_ENTRY, with \r\nm_total_height="
<< arg.total_height << "\r\nm_start_height=" << arg.start_height
<< "\r\nm_block_ids.size()=" << arg.m_block_ids.size();
context.m_state = CryptoNoteConnectionContext::state_shutdown;
}
for (auto& bl_id : arg.m_block_ids) {
if (!m_core.have_block(bl_id))
context.m_needed_objects.push_back(bl_id);
}
request_missing_objects(context, false);
return 1;
}
int CryptoNoteProtocolHandler::handleRequestTxPool(int command, NOTIFY_REQUEST_TX_POOL::request& arg,
CryptoNoteConnectionContext& context) {
logger(Logging::TRACE) << context << "NOTIFY_REQUEST_TX_POOL: txs.size() = " << arg.txs.size();
std::vector<Transaction> addedTransactions;
std::vector<Crypto::Hash> deletedTransactions;
m_core.getPoolChanges(arg.txs, addedTransactions, deletedTransactions);
if (!addedTransactions.empty()) {
NOTIFY_NEW_TRANSACTIONS::request notification;
for (auto& tx : addedTransactions) {
notification.txs.push_back(asString(toBinaryArray(tx)));
}
bool ok = post_notify<NOTIFY_NEW_TRANSACTIONS>(*m_p2p, notification, context);
if (!ok) {
logger(Logging::WARNING, Logging::BRIGHT_YELLOW) << "Failed to post notification NOTIFY_NEW_TRANSACTIONS to " << context.m_connection_id;
}
}
return 1;
}
void CryptoNoteProtocolHandler::relay_block(NOTIFY_NEW_BLOCK::request& arg) {
auto buf = LevinProtocol::encode(arg);
m_p2p->externalRelayNotifyToAll(NOTIFY_NEW_BLOCK::ID, buf);
}
void CryptoNoteProtocolHandler::relay_transactions(NOTIFY_NEW_TRANSACTIONS::request& arg) {
auto buf = LevinProtocol::encode(arg);
m_p2p->externalRelayNotifyToAll(NOTIFY_NEW_TRANSACTIONS::ID, buf);
}
void CryptoNoteProtocolHandler::requestMissingPoolTransactions(const CryptoNoteConnectionContext& context) {
if (context.version < P2PProtocolVersion::V1) {
return;
}
auto poolTxs = m_core.getPoolTransactions();
NOTIFY_REQUEST_TX_POOL::request notification;
for (auto& tx : poolTxs) {
notification.txs.emplace_back(getObjectHash(tx));
}
bool ok = post_notify<NOTIFY_REQUEST_TX_POOL>(*m_p2p, notification, context);
if (!ok) {
logger(Logging::WARNING, Logging::BRIGHT_YELLOW) << "Failed to post notification NOTIFY_REQUEST_TX_POOL to " << context.m_connection_id;
}
}
void CryptoNoteProtocolHandler::updateObservedHeight(uint32_t peerHeight, const CryptoNoteConnectionContext& context) {
bool updated = false;
{
std::lock_guard<std::mutex> lock(m_observedHeightMutex);
uint32_t height = m_observedHeight;
if (peerHeight > context.m_remote_blockchain_height) {
m_observedHeight = std::max(m_observedHeight, peerHeight);
if (m_observedHeight != height) {
updated = true;
}
} else if (peerHeight != context.m_remote_blockchain_height && context.m_remote_blockchain_height == m_observedHeight) {
//the client switched to alternative chain and had maximum observed height. need to recalculate max height
recalculateMaxObservedHeight(context);
if (m_observedHeight != height) {
updated = true;
}
}
}
if (updated) {
logger(TRACE) << "Observed height updated: " << m_observedHeight;
m_observerManager.notify(&ICryptoNoteProtocolObserver::lastKnownBlockHeightUpdated, m_observedHeight);
}
}
void CryptoNoteProtocolHandler::recalculateMaxObservedHeight(const CryptoNoteConnectionContext& context) {
//should be locked outside
uint32_t peerHeight = 0;
m_p2p->for_each_connection([&peerHeight, &context](const CryptoNoteConnectionContext& ctx, PeerIdType peerId) {
if (ctx.m_connection_id != context.m_connection_id) {
peerHeight = std::max(peerHeight, ctx.m_remote_blockchain_height);
}
});
uint32_t localHeight = 0;
Crypto::Hash ignore;
m_core.get_blockchain_top(localHeight, ignore);
m_observedHeight = std::max(peerHeight, localHeight + 1);
}
uint32_t CryptoNoteProtocolHandler::getObservedHeight() const {
std::lock_guard<std::mutex> lock(m_observedHeightMutex);
return m_observedHeight;
};
bool CryptoNoteProtocolHandler::addObserver(ICryptoNoteProtocolObserver* observer) {
return m_observerManager.add(observer);
}
bool CryptoNoteProtocolHandler::removeObserver(ICryptoNoteProtocolObserver* observer) {
return m_observerManager.remove(observer);
}
};
| [
"[email protected]"
] | |
128f85557eeca63b466c48c93b11112b015d4449 | 6744ae67538488acc2f3f2e5256a7174ab377d93 | /xmltooling/validation/ValidatorSuite.cpp | 05b484a21082b16a92f08ed2fe31592de5525df9 | [] | no_license | janetuk/shibboleth-xmltooling | 3b9fa64cc8fa7ccf89249c55d323326896141ba5 | 630865c301cb48461c332cd5629b9dfac2c15ee8 | refs/heads/master | 2021-01-01T20:27:23.976235 | 2008-03-18T03:06:52 | 2008-03-18T03:06:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,170 | cpp | /*
* Copyright 2001-2007 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* ValidatorSuite.cpp
*
* Groups of rule checkers of XMLObjects based on type or element name.
*/
#include "internal.h"
#include "validation/ValidatorSuite.h"
#include "util/XMLHelper.h"
using namespace xmltooling;
using namespace std;
ValidatorSuite xmltooling::SchemaValidators("SchemaValidators");
void ValidatorSuite::deregisterValidators(const QName& key)
{
pair<multimap<QName,Validator*>::iterator,multimap<QName,Validator*>::iterator> range=m_map.equal_range(key);
for_each(range.first, range.second, xmltooling::cleanup_pair<QName,Validator>());
m_map.erase(range.first, range.second);
}
void ValidatorSuite::destroyValidators()
{
for_each(m_map.begin(),m_map.end(),xmltooling::cleanup_pair<QName,Validator>());
m_map.clear();
}
void ValidatorSuite::validate(const XMLObject* xmlObject) const
{
if (!xmlObject)
return;
pair<multimap<QName,Validator*>::const_iterator,multimap<QName,Validator*>::const_iterator> range;
if (xmlObject->getSchemaType()) {
range=m_map.equal_range(*(xmlObject->getSchemaType()));
while (range.first!=range.second) {
range.first->second->validate(xmlObject);
++range.first;
}
}
range=m_map.equal_range(xmlObject->getElementQName());
while (range.first!=range.second) {
range.first->second->validate(xmlObject);
++range.first;
}
const list<XMLObject*>& kids=xmlObject->getOrderedChildren();
for (list<XMLObject*>::const_iterator j=kids.begin(); j!=kids.end(); j++)
validate(*j);
}
| [
"cantor@de75baf8-a10c-0410-a50a-987c0e22f00f"
] | cantor@de75baf8-a10c-0410-a50a-987c0e22f00f |
7ae7438aa8a957764838edef501c1866aadf28f2 | 8834a7b26b8bd442efb6b5b0a704b188ae9bc966 | /main.cpp | 46fefdf2a26f73310bb99e7d6ac66b9aefea4548 | [] | no_license | DwaipayanPaul/recovery | b06c43b47b62bdc3b595eb4cbf273074c7664c71 | 75bcb26aba7a1a14e531cdce15c26dc4d71f52b8 | refs/heads/master | 2020-03-28T16:56:19.876529 | 2018-11-01T05:33:03 | 2018-11-01T05:33:03 | 148,742,844 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | cpp | /******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <iostream>
using namespace std;
int main()
{
double h;
for(int a=1;a<=100;a++)
{
for(int m=1;m<=100;m++)
{
for(int b=1;b<=100;b++)
{
h=a+(m*3)+(b/2.0);
if(h==100 && a+m+b==100)
cout<<"1.apple="<<a<<" mangoes="<<m<<" banana="<<b<<endl;
}
}
}
return 0;
}
| [
"[email protected]"
] | |
9691ab82d35519f476816f0f3d97534da2ba10a3 | 90b4b92b1c77517c9b855e2126c40b5bf94912ab | /东方山寨/图形_三维.cpp | a1b82767487b9ffbc0efe85ddf054bafe2e74ead | [
"MIT"
] | permissive | myhololens/dfsz | 941154a5884a36cde48a5f415e9c547ee727ca52 | 35f50797e9f73507809ff051fef1318132a53373 | refs/heads/master | 2020-05-16T06:56:19.371566 | 2019-03-10T01:16:39 | 2019-03-10T01:16:39 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,611 | cpp | #include "图形_三维.h"
#include "游戏.h"
#include "程序.h"
#include "图形引擎.h"
namespace 东方山寨 {
//=============================================================================
// 模型
//=============================================================================
C模型::C模型(const S三维顶点 *p顶点, size_t p顶点数, const uint16_t *p索引, size_t p索引数):
m顶点(new S三维顶点[p顶点数]), m索引(new uint16_t[p索引数]), m顶点数(p顶点数), m索引数(p索引数) {
memcpy(m顶点, p顶点, sizeof(S三维顶点) * p顶点数);
memcpy(m索引, p索引, sizeof(uint16_t) * p索引数);
}
C模型::C模型(C模型 &&p):
m顶点(p.m顶点), m索引(p.m索引), m顶点数(p.m顶点数), m索引数(p.m索引数) {
assert(p.m顶点);
assert(p.m索引);
p.m顶点 = nullptr;
p.m索引 = nullptr;
}
C模型::~C模型() {
delete[] m顶点;
delete[] m索引;
}
C模型 &C模型::operator =(C模型 &&p) {
assert(p.m顶点);
assert(p.m索引);
m顶点 = p.m顶点;
m索引 = p.m索引;
m顶点数 = p.m顶点数;
m索引数 = p.m索引数;
p.m顶点 = nullptr;
p.m索引 = nullptr;
return *this;
}
//=============================================================================
// 场景循环
//=============================================================================
C场景循环::C场景循环(float p移动, float p间隔, float p近, float p远) :
m间隔(p间隔), m远(p远), m长(p远 - p近), m位置(数学::f求余<float>(p移动, p间隔)) {
}
void C场景循环::f循环控制_自增() {
m位置 += m间隔;
}
bool C场景循环::f循环控制_i继续() const {
return m位置 < m长;
}
float C场景循环::f循环控制_解引用() {
return m远 - m位置;
}
//=============================================================================
// 画三维
//=============================================================================
C画三维::C画三维(C图形引擎 &a引擎, 三维::C三维 &a三维):
m缓冲(a三维), m渲染控制(&a三维.fg渲染控制()) {
m缓冲.m顶点缓冲.f初始化(sizeof(VS_3D), c顶点缓冲数量);
m缓冲.m索引缓冲.f初始化(sizeof(uint16_t), c索引缓冲数量);
m缓冲.mf刷新回调 = [this]() {
f自动准备();
f更新常量缓冲();
m渲染控制->fs纹理(0, m纹理.Get());
};
三维::C顶点格式 v顶点格式;
v顶点格式.f添加(三维::C顶点格式::e位置, 4);
v顶点格式.f添加(三维::C顶点格式::e纹理, 2);
三维::S图形管线参数 v图形管线;
v图形管线.fs输入布局(v顶点格式);
着色器::tp着色器 vs, ps;
auto v着色器工厂 = a引擎.fg着色器工厂();
v着色器工厂.f读取着色器(vs, C程序::f计算路径(L"~/shader/vs_stage0.cso").c_str());
v着色器工厂.f读取着色器(ps, C程序::f计算路径(L"~/shader/ps_stage0.cso").c_str());
v图形管线.fs顶点着色器(着色器::fc跨度(vs));
v图形管线.fs像素着色器(着色器::fc跨度(ps));
三维::C渲染状态 &v渲染状态 = a三维.fg渲染状态();
v图形管线.fs光栅化(v渲染状态.m光栅化.m默认.Get());
v图形管线.fs混合(v渲染状态.m混合.m开启透明.Get());
v图形管线.fs深度模板(v渲染状态.m深度模板.m正常深度r.Get());
a三维.f创建图形管线(m图形管线, v图形管线);
m采样器 = v渲染状态.m采样器.m纹理.Get();
//常量缓冲v
const t向量2 v窗口大小 = a三维.fg窗口大小();
数学::S投影 v投影{v窗口大小.x, v窗口大小.y, 数学::c半π<float>, 0.0001f, 10000};
m常量v.m投影 = v投影.ft矩阵4r();
三维::C缓冲工厂 &v缓冲工厂 = a三维.fg缓冲工厂();
v缓冲工厂.f创建缓冲(m常量缓冲v, &m常量v, sizeof(m常量v), 三维::E缓冲::e常量);
//常量缓冲p
v缓冲工厂.f创建缓冲(m常量缓冲p, &m常量p, sizeof(m常量p), 三维::E缓冲::e常量);
}
void C画三维::f准备() {
m渲染控制->fs图形管线(*m图形管线);
m渲染控制->fs常量缓冲v(0, m常量缓冲v.Get());
m渲染控制->fs常量缓冲p(0, m常量缓冲p.Get());
m渲染控制->fs图元拓扑(三维::E图元拓扑::e列表三角形);
m渲染控制->fs采样器(0, m采样器.Get());
}
void C画三维::f刷新() {
m缓冲.f刷新();
}
void C画三维::f更新常量缓冲() {
if (m更新v) {
m渲染控制->f更新资源(m常量缓冲v.Get(), &m常量v);
m更新v = false;
}
if (m更新p) {
m渲染控制->f更新资源(m常量缓冲p.Get(), &m常量p);
m更新p = false;
}
}
void C画三维::fs世界矩阵(const 数学::S矩阵4 &a) {
f刷新();
m常量v.m世界 = a;
m更新v = true;
}
void C画三维::fs视图矩阵(const 数学::S矩阵4 &a) {
f刷新();
m常量v.m视图 = a;
m更新v = true;
}
void C画三维::fs物体矩阵(const 数学::S矩阵4 &a) {
m物体矩阵 = a;
}
void C画三维::fs相机(const 数学::S相机 &a) {
f刷新();
m常量v.m视图 = a.ft矩阵4r();
m更新v = true;
m常量p.m眼睛位置 = a.m坐标;
m更新p = true;
}
void C画三维::fs雾颜色(const 数学::S颜色 &a) {
f刷新();
m常量p.m雾颜色 = a;
m更新p = true;
}
void C画三维::fs雾范围(float a开始, float a范围) {
f刷新();
m常量p.m雾开始 = a开始;
m常量p.m雾范围 = a范围;
m更新p = true;
}
void C画三维::fs纹理(三维::tp纹理 a纹理) {
if (m纹理 != a纹理) {
m缓冲.f刷新();
m纹理 = a纹理;
}
}
void C画三维::f画模型(const C模型 &p) {
assert(&p);
VS_3D *vp顶点 = m顶点空间.f分配(4);
size_t v顶点数量 = p.m顶点数;
for (size_t i = 0; i != v顶点数量; ++i) {
const S三维顶点 &v输入 = p.m顶点[i];
VS_3D &v输出 = vp顶点[i];
v输出.m坐标0 = v输入.m坐标.ft向量4(1) * m物体矩阵;
v输出.m纹理 = v输入.m纹理;
}
m缓冲.f复制(vp顶点, v顶点数量 * sizeof(VS_3D), p.m索引, p.m索引数 * sizeof(uint16_t));
}
void C画三维::f画平面(int x, int y) {
const uint16_t c平面索引[] = {
0, 1, 2,
1, 3, 2
};
VS_3D *vp顶点 = m顶点空间.f分配(4);
const float v半x = (float)x / 2;
const float v半y = (float)y / 2;
const auto f赋值 = [&](int i, float px, float py, float u, float v) {
VS_3D &v输出 = vp顶点[i];
const 数学::S向量2 v坐标(px, py);
v输出.m坐标0 = v坐标.ft向量4(0, 1) * m物体矩阵;
v输出.m纹理.x = u;
v输出.m纹理.y = v;
};
f赋值(0, -v半x, v半y, 0, 0);
f赋值(1, v半x, v半y, 1, 0);
f赋值(2, -v半x, -v半y, 0, 1);
f赋值(3, v半x, -v半y, 1, 1);
m缓冲.f复制(vp顶点, 4 * sizeof(VS_3D), c平面索引, sizeof(c平面索引));
}
} //namespace 东方山寨 | [
"[email protected]"
] | |
520f244e81f54c2078c47cf03f33c008e096450b | 828390fe5c5c5ac723eaa7c5854f94ad3328ee7a | /PlatformIO/lib/myUart/myUart.h | 87e3e1a0ea2f5c8714c576b0dea4fb2c343e9ccb | [] | no_license | Ulli2k/HomeControl | 64f58a1cd1978a0c5e1b51d0d58b13785a7c0759 | 767b1e6700ed48bb8bafac450952f7b2e018053b | refs/heads/master | 2021-06-22T01:50:15.473632 | 2019-07-07T19:16:30 | 2019-07-07T19:16:30 | 110,287,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,630 | h |
#ifndef MYDISPLAY_h
#define MYDISPLAY_h
#include "myBaseModule.h"
#include "Print.h"
//#include <SoftwareSerial.h>
#define HW_UART 0
#define SW_UART 1
#define MAX_UART_BUFFER (MAX_RING_DATA_SIZE) // Achtung auf Ringbuffergröße
#define UART_HEX_INTERPRETER '#'
class myUart : public myBaseModule {
public:
myUart(long baudrate, byte type);
//~mySerial() {};
void initialize();
void send(char *cmd, uint8_t typecode=0);
bool poll();
//void displayData(RecvData *DataBuffer);
//static char* subStr(char* str, char *delim, int index);
// Wrap Serial Functions to myRemote Class
/* size_t println(const __FlashStringHelper *ifsh) { return pSerial->println(ifsh); }
size_t println(void) { return pSerial->println(); }
size_t println(const String &s) { return pSerial->println(s); }
size_t println(const char c[]) { return pSerial->println(c); }
size_t println(char c) { return pSerial->println(c); }
size_t println(unsigned char b, int base = DEC) { return pSerial->println(b,base); }
size_t println(int num, int base = DEC) { return pSerial->println(num,base); }
size_t println(unsigned int num, int base = DEC) { return pSerial->println(num, base); }
size_t println(long num, int base = DEC) { return pSerial->println(num,base); }
size_t println(unsigned long num, int base = DEC) { return pSerial->println(num,base); }
size_t println(double num, int digits = DEC) { return pSerial->println(num, digits); }
size_t println(const Printable& x) { return pSerial->println(x); }
size_t print(const __FlashStringHelper *ifsh) { return pSerial->print(ifsh); }
size_t print(const String &s) { return pSerial->print(s); }
size_t print(const char str[]) { return pSerial->print(str); }
size_t print(char c) { return pSerial->print(c); }
size_t print(unsigned char b, int base = DEC) { return pSerial->print(b, base); }
size_t print(int n, int base = DEC) { return pSerial->print(n, base); }
size_t print(unsigned int n, int base = DEC) { return pSerial->print( n, base); }
size_t print(long n, int base = DEC) { return pSerial->print(n,base); }
size_t print(unsigned long n, int base = DEC) { return pSerial->print(n,base); }
size_t print(double n, int digits = DEC) { return pSerial->print(n, digits); }
size_t print(const Printable& x) { return pSerial->print(x); }
*/
size_t print(char c) { return pSerial->print(c); }
static void flush() { Serial.flush(); }
private:
// Print* pSerial; //global initialize in ino Project file
#ifdef SWUART
byte Type;
#endif
long BaudRate;
uint8_t indexBuffer;
char UartBuffer[MAX_UART_BUFFER];
uint8_t hexInterpreter;
};
#endif
| [
"[email protected]"
] | |
5f8052dfe526c7349dde8ad914de44fd9e471081 | 1fc6a2b1d6a382127c24540bb922e675e3efb52e | /src/Parser.cpp | 71340ab754dffaba76b9a4dd4f844da68171c36a | [] | no_license | machinamentum/htn | 56d24352792545a28c0927211163fd64860a0a87 | 6a748f106fb1657651c6ff34dfff6673a1b17e26 | refs/heads/vita | 2021-03-13T04:12:15.598875 | 2015-06-21T00:36:17 | 2015-06-21T00:36:17 | 32,373,826 | 5 | 3 | null | 2015-06-19T22:35:50 | 2015-03-17T05:40:37 | C++ | UTF-8 | C++ | false | false | 21,338 | cpp |
#include <cstdio>
#include <string>
#include <fstream>
#include <streambuf>
#include <vector>
#include <cstdint>
#include <stack>
#include <cstring>
#include <fstream>
#include <string>
#include <stdio.h>
#include <sstream>
#include <iostream>
#include "Parser.h"
#include "Code_Gen.h"
static std::stack<std::string> source_code_stack;
std::stack<std::string> source_file_name;
std::string load_file(const std::string pathname);
std::string load_file_with_include(const std::string pathname);
int file_exists_with_include(const std::string pathname);
void print_token(Token tok) {
printf("%s", (tok.pretty_string() + " ; ").c_str());
}
int error_count = 0;
static void print_line_with_arrow(int line_number, int offset) {
std::string line;
std::stringstream ss(source_code_stack.top());
for (int i = 0; i < line_number; i++) {
getline(ss, line);
}
std::cout << line << std::endl;
for (int i = 0; i < offset; i++) {
std::cout << " ";
}
std::cout << "^" << std::endl;
}
static void compiler_warning(std::string msg, Token &tok) {
std::cout << source_file_name.top() << ":" << tok.line_number << ":" << tok.line_offset << ": warning: " << msg << std::endl;
print_line_with_arrow(tok.line_number, tok.line_offset);
}
static void compiler_error(std::string msg, Token &tok) {
std::cout << source_file_name.top() << ":" << tok.line_number << ":" << tok.line_offset << ": error: " << msg << std::endl;
print_line_with_arrow(tok.line_number, tok.line_offset);
error_count++;
if (error_count > 5) {
exit(-1);
}
}
Conditional Parser::parse_conditional(Scope &scope) {
Conditional cond;
Token tok = lex.next_token();
if (tok.type == Token::ID) {
std::string name = tok.string;
Variable *lvar = scope.getVarByName(name);
if (lvar) {
cond.left = *lvar;
} else if (name.compare("true") == 0) {
cond.is_always_true = true;
tok = lex.next_token();
if (tok.type != ')') {
compiler_error(std::string("Conditional laziness error"), tok);
}
return cond;
} else {
compiler_error(std::string("use of undeclared identifier '") + tok.pretty_string() + "'", tok);
}
}
tok = lex.next_token();
if (tok.type == '<') {
cond.condition = Conditional::LESS_THAN;
}
tok = lex.next_token();
if (tok.type == Token::INTLIT) {
Variable var;
var.type = Variable::INT_32BIT;
var.pvalue = tok.int_number;
var.is_type_const = true;
cond.right = var;
}
tok = lex.next_token();
if (tok.type != ')') {
compiler_error(std::string("expected token ')' before token '") + tok.pretty_string() + "'", tok);
}
return cond;
}
void Parser::parse_while_loop(Scope &scope) {
Token tok = lex.next_token();
if (tok.type != '(') {
compiler_error(std::string("expected token '(' before token '") + tok.pretty_string() + "'", tok);
}
Expression expr;
expr.scope->parent = &scope;
Conditional cond = parse_conditional(scope);
if (!cond.is_always_true) {
Expression jump_forward;
Instruction instr;
instr.type = Instruction::SUBROUTINE_JUMP;
instr.is_conditional_jump = true;
instr.condition = cond;
instr.func_call_name = "EOS_JUMP"; //End-Of-Scope
jump_forward.instructions.push_back(instr);
expr.scope->expressions.push_back(jump_forward);
}
tok = lex.next_token();
if (tok.type != '{') {
compiler_error(std::string("expected token '{' before token '") + tok.pretty_string() + "'", tok);
}
parse_scope(std::string(), *expr.scope, '}');
scope.expressions.push_back(expr);
{
Expression jump_back;
Instruction instr;
instr.type = Instruction::SUBROUTINE_JUMP;
instr.is_conditional_jump = false;
instr.condition = cond;
instr.func_call_name = "SOS_JUMP"; //End-Of-Scope
jump_back.instructions.push_back(instr);
expr.scope->expressions.push_back(jump_back);
}
}
void Parser::parse_preincrement(Scope &scope) {
Token tok = lex.next_token();
if (tok.type == Token::ID) {
std::string name = tok.string;
Variable *var = scope.getVarByName(name);
if (!var) {
compiler_error(std::string("use of undeclared identifier '") + tok.pretty_string() + "'", tok);
} else {
printf("Found\n");
Expression expr;
expr.scope->parent = &scope;
Instruction instr;
instr.type = Instruction::INCREMENT;
instr.lvalue_data = *var;
expr.instructions.push_back(instr);
scope.expressions.push_back(expr);
printf("Found\n");
}
} else {
compiler_error(std::string("expected an identifier before token '") + tok.pretty_string() + "'", tok);
}
tok = lex.next_token();
if (tok.type != ';') {
compiler_error(std::string("expected token ';' before token '") + tok.pretty_string() + "'", tok);
}
printf("Found\n");
}
void Parser::parse_return(Scope &scope, Token &tok) {
// tok = lex.next_token();
printf("START_RETURN\n\n");
Expression expr = parse_expression("return", scope, tok, false);
scope.expressions.push_back(expr);
printf("\n\nEND_RETURN\n");
}
void Parser::parse_scope(std::string name_str, Scope &scope, long delim_token) {
printf("START_SCOPE\n\n");
bool deref = false;
Token tok = lex.next_token();
while (tok.type != Token::EOF) {
if (tok.type == delim_token) {
break;
}
if (tok.type == '*') {
deref = true;
} else if (tok.type == Token::PLUSPLUS) {
printf("preinc \n");
parse_preincrement(scope);
} else if(tok.type == Token::ID) {
std::string name = tok.string;
if (name.compare("import") == 0) {
tok = lex.next_token();
if (tok.type == Token::DQSTRING) {
std::string import_str = tok.string;
std::string import_src = load_file(import_str);
if (!file_exists_with_include(import_str)) {
import_str = source_file_name.top().substr(0, source_file_name.top().find_last_of('/')) + "/" + import_str;
if (!file_exists_with_include(import_str)) {
printf("File not found: %s\n", import_str.c_str());
exit(-1);
}
}
import_src = load_file_with_include(import_str);
printf("Loaded :%s\n", import_str.c_str());
source_code_stack.push(import_src);
source_file_name.push(import_str);
Parser par = Parser(import_src);
par.parse_scope(name_str, scope, Token::EOF);
source_code_stack.pop();
source_file_name.pop();
tok = lex.next_token();
if (tok.type != ';') {
compiler_error(std::string("expected token ';' before token '") + tok.pretty_string() + "'", tok);
}
}
} else if (name.compare("cdebug") == 0) {
tok = lex.next_token();
if (tok.type == Token::DQSTRING) {
std::string pstr = tok.string;
printf("%s\n", pstr.c_str());
tok = lex.next_token();
if (tok.type != ';') {
compiler_error(std::string("expected token ';' before token '") + tok.pretty_string() + "'", tok);
}
}
} else if (name.compare("while") == 0) {
parse_while_loop(scope);
} else if (name.compare("return") == 0) {
parse_return(scope, tok);
} else if (!scope.contains_symbol(name)) {
tok = lex.next_token();
if(tok.type == ':') {
if (deref) {
compiler_error("attempt to dereference variable in declaration.", tok);
} else {
parse_declaration(name, scope);
}
} else {
compiler_error(std::string("use of undeclared identifier '") + name + "'", tok);
}
} else {
tok = lex.next_token();
if(tok.type == ':') {
compiler_error("identifier already declared.", tok);
} else {
//printf("parsing expression\n");
scope.expressions.push_back(parse_expression(name, scope, tok, deref));
deref = false;
}
}
} else {
print_token(tok);
printf(" ");
}
tok = lex.next_token();
}
printf("\n\nEND_SCOPE\n");
}
static Variable::VType get_vtype(std::string t) {
if (t.compare("void") == 0) {
return Variable::VOID;
} else if (t.compare("char") == 0) {
return Variable::CHAR;
} else if (t.compare("tiny") == 0) {
return Variable::INT_8BIT;
} else if (t.compare("small") == 0) {
return Variable::INT_16BIT;
} else if (t.compare("int") == 0) {
return Variable::INT_32BIT;
} else if (t.compare("big") == 0) {
return Variable::INT_64BIT;
}
return Variable::UNKNOWN;
}
Variable Parser::parse_const_assign(Variable dst, Scope &scope, Token &tok) {
Variable var;
while (tok.type != ';') {
if (tok.type == Token::INTLIT) {
var.type = dst.type;
var.pvalue = tok.int_number;
} else {
}
tok = lex.next_token();
}
return var;
}
Variable Parser::parse_variable(std::string name, Scope &scope, Token &tok, char delim_token, char opt_delim_token) {
Variable var;
var.name = name;
bool is_pointer = false;
bool push = true;
while (tok.type != delim_token) {
if (tok.type == '*') {
is_pointer = true;
var.type = Variable::POINTER;
} else if (tok.type == Token::ID) {
std::string vtype = tok.string;
if (vtype.compare("const") == 0) {
if (is_pointer) {
var.is_ptype_const = true;
} else {
var.is_type_const = true;
}
} else if (is_pointer) {
var.ptype = get_vtype(vtype);
} else {
var.type = get_vtype(vtype);
}
} else if (tok.type == '=') {
if (var.is_type_const) {
var.pvalue = parse_const_assign(var, scope, tok).pvalue;
break;
} else {
scope.variables.push_back(var);
push = false;
Expression expr;
expr.scope->parent = &scope;
std::vector<Instruction> instrs = parse_rvalue(var, scope, tok);
for (auto &in : instrs) {
expr.instructions.push_back(in);
}
scope.expressions.push_back(expr);
break;
}
}
if (tok.type == opt_delim_token) break;
tok = lex.next_token();
}
if (push) {
scope.variables.push_back(var);
}
return var;
}
std::vector<Instruction> Parser::parse_rvalue(Variable dst, Scope &scope, Token &tok) {
std::vector<Instruction> instructions;
tok = lex.next_token();
Instruction::IType itype = Instruction::ASSIGN;
while (tok.type != ';') {
if (tok.type == '|') {
itype = Instruction::BIT_OR;
} else if (tok.type == Token::INTLIT) {
Instruction in;
in.type = itype;
in.lvalue_data = dst;
in.lvalue_data.name = dst.name;
in.rvalue_data.type = Variable::INT_32BIT;
in.rvalue_data.pvalue = tok.int_number;
in.rvalue_data.is_type_const = true;
instructions.push_back(in);
tok = lex.next_token();
break;
} else if (tok.type == Token::DQSTRING) {
if (itype != Instruction::ASSIGN) {
compiler_warning("using string literal for operations other than assignment is undefined.", tok);
}
Instruction in;
in.type = itype;
in.lvalue_data = dst;
in.lvalue_data.name = dst.name;
in.rvalue_data.dqstring = tok.string;
in.rvalue_data.type = Variable::DQString;
instructions.push_back(in);
tok = lex.next_token();
if (tok.type != ';') {
compiler_error("Expected token ';'", tok);
}
break;
} else if(tok.type == Token::ID) {
std::string name = tok.string;
Variable *rvar = scope.getVarByName(name);
if (!rvar) {
tok = lex.next_token();
if (tok.type == '(') {
Function *func = scope.getFuncByName(name);
if (func) {
Instruction in;
in.type = Instruction::FUNC_CALL;
in.func_call_name = name;
in.call_target_params = parse_parameter_list(scope, tok);
instructions.push_back(in);
in = Instruction();
in.type = itype;
in.lvalue_data = dst;
in.rvalue_data = REG_RETURN;
instructions.push_back(in);
} else {
compiler_error(std::string("use of undeclared identifier '") + tok.pretty_string() + "'", tok);
}
}
} else {
Instruction in;
in.type = itype;
in.lvalue_data = dst;
in.rvalue_data = *rvar;
instructions.push_back(in);
}
}
tok = lex.next_token();
}
return instructions;
}
void Parser::parse_declaration(std::string name, Scope &scope) {
Token tok = lex.next_token();
if(tok.type == '(') {
parse_function(name, scope, tok);
} else if(tok.type == Token::ID) {
std::string tname = tok.string;
if (tname.compare("inline") == 0) {
tok = lex.next_token();
if(tok.type == '(') {
parse_function(name, scope, tok, true);
}
} else if (tname.compare("plain") == 0) {
tok = lex.next_token();
if(tok.type == '(') {
parse_function(name, scope, tok, false, true);
}
} else {
parse_variable(name, scope, tok);
}
} else {
parse_variable(name, scope, tok);
}
}
std::vector<Variable> Parser::parse_parameter_list(Scope &scope, Token &tok) {
tok = lex.next_token();
std::vector<Variable> plist;
while (tok.type != ')') {
// print_token(&lex);
if (tok.type == Token::DQSTRING) {
Variable var;
var.type = Variable::DQString;
var.dqstring = tok.string;
plist.push_back(var);
tok = lex.next_token();
if (tok.type != ',' && tok.type != ')') {
compiler_error(std::string("expected token ',' or ')' before token '") + tok.pretty_string() + "'", tok);
}
//printf("DQString %s\n", var.dqstring.c_str());
if (tok.type == ')') break;
} else if (tok.type == Token::FLOATLIT) {
Variable var;
var.type = Variable::FLOAT_32BIT;
// var.ptype = ;
//printf("Int param %ld\n", tok.int_number * mul);
var.fvalue = tok.real_number;
var.is_type_const = true;
plist.push_back(var);
tok = lex.next_token();
if (tok.type != ',' && tok.type != ')') {
compiler_error(std::string("expected token ',' or ')' before token '") + tok.pretty_string() + "'", tok);
}
} else if (tok.type == '-' || tok.type == Token::INTLIT) {
int mul = 1;
if (tok.type == '-') {
mul = -1;
tok = lex.next_token();
if (tok.type != Token::INTLIT) {
compiler_error(std::string("expected int literal before token '") + tok.pretty_string() + "'", tok);
}
}
//printf("IntLit\n");
Variable var;
var.type = Variable::INT_32BIT;
// var.ptype = ;
//printf("Int param %ld\n", tok.int_number * mul);
var.pvalue = tok.int_number * mul;
var.is_type_const = true;
plist.push_back(var);
tok = lex.next_token();
if (tok.type != ',' && tok.type != ')') {
compiler_error(std::string("expected token ',' or ')' before token '") + tok.pretty_string() + "'", tok);
}
} else if (tok.type == Token::ID) {
std::string name = tok.string;
tok = lex.next_token();
//printf("name %s\n", name.c_str());
if (tok.type == ':') {
Variable var = parse_variable(name, scope, tok, ',', ')');
plist.push_back(var);
continue;
} else {
Variable *var_ref = scope.getVarByName(name);
if (var_ref) {
plist.push_back(*var_ref);
} else {
compiler_error(std::string("488: use of undeclared identifier '") + name + "'", tok);
}
}
}
if (tok.type == ')') break;
tok = lex.next_token();
}
return plist;
}
void Parser::parse_function(std::string name, Scope &scope, Token &tok, bool should_inline, bool is_plain) {
Function func;
func.should_inline = should_inline;
func.plain_instructions = is_plain;
func.name = name;
func.scope->parent = &scope;
if (tok.type != ')') {
func.parameters = parse_parameter_list(*func.scope, tok);
}
tok = lex.next_token();
if (tok.type != Token::ARROW) {
compiler_error(std::string("expected token '->' before token '") + tok.pretty_string() + "'", tok);
}
tok = lex.next_token();
if (tok.type != Token::ID) {
compiler_error(std::string("unexpected token '") + tok.pretty_string() + "'", tok);
} else {
std::string type_name = tok.string;
Variable return_type;
return_type.type = Variable::POINTER;
return_type.ptype = get_vtype(type_name);
func.return_info = return_type;
}
tok = lex.next_token();
if (tok.type != '{') {
if (tok.type == ';') {
func.is_not_definition = true;
scope.functions.push_back(func);
return;
} else {
compiler_error(std::string("unexpected token '") + tok.pretty_string() + "'", tok);
}
}
parse_scope(name, *func.scope, '}');
scope.functions.push_back(func);
}
Expression Parser::parse_expression(std::string name, Scope &scope, Token &tok, bool deref) {
Expression expr;
expr.scope->parent = &scope;
if (tok.type == '(') {
Function *tfunc = scope.getFuncByName(name);
if (tfunc) {
if (tfunc->should_inline) {
parse_parameter_list(scope, tok); //TODO(josh)
for (Expression &expr : tfunc->scope->expressions) {
scope.expressions.push_back(expr);
}
tok = lex.next_token();
if (tok.type != ';') {
compiler_error(std::string("expected token ';' before token '") + tok.pretty_string() + "'", tok);
}
} else {
Instruction instr;
instr.type = Instruction::FUNC_CALL;
instr.func_call_name = name;
instr.call_target_params = parse_parameter_list(scope, tok);
tok = lex.next_token();
if (tok.type != ';') {
compiler_error(std::string("expected token ';' before token '") + tok.pretty_string() + "'", tok);
}
expr.instructions.push_back(instr);
}
} else {
compiler_error(std::string("use of undeclared identifier '") + name + "'", tok);
}
}
/*else if (tok.type == ':') {
scope.variables.push_back(parse_variable(name, scope, lex));
}*/
else if (tok.type == '=' || name.compare("return") == 0) {
Instruction instr;
instr.type = Instruction::ASSIGN;
Variable *var = scope.getVarByName(name);
if (var) {
if (var->is_type_const && !deref) {
compiler_error("read-only variable is not assignable", tok);
}
instr.lvalue_data = *var;
instr.lvalue_data.type = (deref ? Variable::DEREFERENCED_POINTER : Variable::POINTER);
} else if (name.compare("return") == 0) {
instr.lvalue_data.name = name;
if (scope.is_function) {
instr.lvalue_data = scope.function->return_info;
instr.lvalue_data.name = name;
instr.lvalue_data.type = Variable::POINTER;
}
} else {
compiler_error("Error: undefined reference to " + name, tok);
}
std::vector<Instruction> instrs = parse_rvalue(instr.lvalue_data, scope, tok);
// tok = lex.next_token();
if (tok.type != ';') {
compiler_error(std::string("expected token ';' before token '") + tok.pretty_string() + "'", tok);
}
for (auto &in : instrs) {
expr.instructions.push_back(in);
}
}
//scope.expressions.push_back(expr);
return expr;
}
Function asmInlineFunc() {
Function func;
func.name = "__asm__";
Variable dqs;
dqs.type = Variable::DQString;
func.parameters.push_back(dqs);
return func;
}
Scope Parser::parse(std::string src) {
source_code_stack.push(src);
Parser par = Parser(src);
Scope globalScope;
globalScope.functions.push_back(asmInlineFunc());
par.parse_scope(std::string(), globalScope, Token::EOF);
source_code_stack.pop();
return globalScope;
}
| [
"[email protected]"
] | |
cfc60d4b4c7b3ec54ecff08afccebd4f04c7f99f | 6d956f8f60c58a927ed64d3757da385162cda500 | /11 Blending/RenderStates.cpp | ef0c9cdd8afa57f63f33a34ceabb2813409728b1 | [
"MIT"
] | permissive | jingshaoqi/DirectX11-With-Windows-SDK | f41d46f2c8593f6160ce56f798e4cc247e7374f3 | a0892892376b2d9c9c7cba21bdadb9aeb3bbe655 | refs/heads/master | 2020-05-29T20:20:41.699342 | 2019-05-22T14:37:32 | 2019-05-22T14:37:32 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,415 | cpp | #include "RenderStates.h"
#include "d3dUtil.h"
#include "DXTrace.h"
using namespace Microsoft::WRL;
ComPtr<ID3D11RasterizerState> RenderStates::RSNoCull = nullptr;
ComPtr<ID3D11RasterizerState> RenderStates::RSWireframe = nullptr;
ComPtr<ID3D11SamplerState> RenderStates::SSLinearWrap = nullptr;
ComPtr<ID3D11SamplerState> RenderStates::SSAnistropicWrap = nullptr;
ComPtr<ID3D11BlendState> RenderStates::BSAlphaToCoverage = nullptr;
ComPtr<ID3D11BlendState> RenderStates::BSNoColorWrite = nullptr;
ComPtr<ID3D11BlendState> RenderStates::BSTransparent = nullptr;
bool RenderStates::IsInit()
{
// 一般来说初始化操作会把所有的状态都创建出来
return RSWireframe != nullptr;
}
void RenderStates::InitAll(ID3D11Device * device)
{
// 先前初始化过的话就没必要重来了
if (IsInit())
return;
// ******************
// 初始化光栅化器状态
//
D3D11_RASTERIZER_DESC rasterizerDesc;
ZeroMemory(&rasterizerDesc, sizeof(rasterizerDesc));
// 线框模式
rasterizerDesc.FillMode = D3D11_FILL_WIREFRAME;
rasterizerDesc.CullMode = D3D11_CULL_NONE;
rasterizerDesc.FrontCounterClockwise = false;
rasterizerDesc.DepthClipEnable = true;
HR(device->CreateRasterizerState(&rasterizerDesc, RSWireframe.GetAddressOf()));
// 无背面剔除模式
rasterizerDesc.FillMode = D3D11_FILL_SOLID;
rasterizerDesc.CullMode = D3D11_CULL_NONE;
rasterizerDesc.FrontCounterClockwise = false;
rasterizerDesc.DepthClipEnable = true;
HR(device->CreateRasterizerState(&rasterizerDesc, RSNoCull.GetAddressOf()));
// ******************
// 初始化采样器状态
//
D3D11_SAMPLER_DESC sampDesc;
ZeroMemory(&sampDesc, sizeof(sampDesc));
// 线性过滤模式
sampDesc.Filter = D3D11_FILTER_MIN_MAG_MIP_LINEAR;
sampDesc.AddressU = D3D11_TEXTURE_ADDRESS_WRAP;
sampDesc.AddressV = D3D11_TEXTURE_ADDRESS_WRAP;
sampDesc.AddressW = D3D11_TEXTURE_ADDRESS_WRAP;
sampDesc.ComparisonFunc = D3D11_COMPARISON_NEVER;
sampDesc.MinLOD = 0;
sampDesc.MaxLOD = D3D11_FLOAT32_MAX;
HR(device->CreateSamplerState(&sampDesc, SSLinearWrap.GetAddressOf()));
// 各向异性过滤模式
sampDesc.Filter = D3D11_FILTER_ANISOTROPIC;
sampDesc.AddressU = D3D11_TEXTURE_ADDRESS_WRAP;
sampDesc.AddressV = D3D11_TEXTURE_ADDRESS_WRAP;
sampDesc.AddressW = D3D11_TEXTURE_ADDRESS_WRAP;
sampDesc.ComparisonFunc = D3D11_COMPARISON_NEVER;
sampDesc.MaxAnisotropy = 4;
sampDesc.MinLOD = 0;
sampDesc.MaxLOD = D3D11_FLOAT32_MAX;
HR(device->CreateSamplerState(&sampDesc, SSAnistropicWrap.GetAddressOf()));
// ******************
// 初始化混合状态
//
D3D11_BLEND_DESC blendDesc;
ZeroMemory(&blendDesc, sizeof(blendDesc));
auto& rtDesc = blendDesc.RenderTarget[0];
// Alpha-To-Coverage模式
blendDesc.AlphaToCoverageEnable = true;
blendDesc.IndependentBlendEnable = false;
rtDesc.BlendEnable = false;
rtDesc.RenderTargetWriteMask = D3D11_COLOR_WRITE_ENABLE_ALL;
HR(device->CreateBlendState(&blendDesc, BSAlphaToCoverage.GetAddressOf()));
// 透明混合模式
// Color = SrcAlpha * SrcColor + (1 - SrcAlpha) * DestColor
// Alpha = SrcAlpha
blendDesc.AlphaToCoverageEnable = false;
blendDesc.IndependentBlendEnable = false;
rtDesc.BlendEnable = true;
rtDesc.SrcBlend = D3D11_BLEND_SRC_ALPHA;
rtDesc.DestBlend = D3D11_BLEND_INV_SRC_ALPHA;
rtDesc.BlendOp = D3D11_BLEND_OP_ADD;
rtDesc.SrcBlendAlpha = D3D11_BLEND_ONE;
rtDesc.DestBlendAlpha = D3D11_BLEND_ZERO;
rtDesc.BlendOpAlpha = D3D11_BLEND_OP_ADD;
HR(device->CreateBlendState(&blendDesc, BSTransparent.GetAddressOf()));
// 无颜色写入混合模式
// Color = DestColor
// Alpha = DestAlpha
rtDesc.SrcBlend = D3D11_BLEND_ZERO;
rtDesc.DestBlend = D3D11_BLEND_ONE;
rtDesc.BlendOp = D3D11_BLEND_OP_ADD;
rtDesc.SrcBlendAlpha = D3D11_BLEND_ZERO;
rtDesc.DestBlendAlpha = D3D11_BLEND_ONE;
rtDesc.BlendOpAlpha = D3D11_BLEND_OP_ADD;
HR(device->CreateBlendState(&blendDesc, BSNoColorWrite.GetAddressOf()));
// ******************
// 设置调试对象名
//
D3D11SetDebugObjectName(RSNoCull.Get(), "RSNoCull");
D3D11SetDebugObjectName(RSWireframe.Get(), "RSWireframe");
D3D11SetDebugObjectName(SSAnistropicWrap.Get(), "SSAnistropicWrap");
D3D11SetDebugObjectName(SSLinearWrap.Get(), "SSLinearWrap");
D3D11SetDebugObjectName(BSAlphaToCoverage.Get(), "BSAlphaToCoverage");
D3D11SetDebugObjectName(BSNoColorWrite.Get(), "BSNoColorWrite");
D3D11SetDebugObjectName(BSTransparent.Get(), "BSTransparent");
}
| [
"[email protected]"
] | |
d7be36199371500a6539ec80b0fa12d153748d9f | 7f3e95e825b894a8d015b5905592757a0040220f | /2014/inc/AcDbAssocArrayItem.h | c1cd0f431294c6f0b6098c697399aabc168f2310 | [
"MIT"
] | permissive | AliClouds/ObjectARXCore | b06e2d4bb59df2b45e56ec76d3abb843c7131009 | ce09e150aa7d87675ca15c9416497c0487e3d4d4 | refs/heads/master | 2021-05-28T05:19:12.593781 | 2014-05-08T01:23:33 | 2014-05-08T01:23:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,438 | h | //////////////////////////////////////////////////////////////////////////////
//
// Copyright 2013 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies this software in either electronic or hard copy form.
//
//////////////////////////////////////////////////////////////////////////////
//
// CREATED BY: Sharad Jaiswal March 2010
//
// DESCRIPTION:
//
//////////////////////////////////////////////////////////////////////////////
#pragma once
/// <summary>
/// AcDbItemLocator, represents spatial index of an item in a 3D array
/// i.e an item index{i,j,k} for rectangular array.
/// </summary>
///
class ACDB_PORT AcDbItemLocator
{
public:
/// <summary>
/// Enum to define index type for a 3D item index.
/// </summary>
///
enum IndexType
{
/// <summary>
/// Index type indicating item position relative to the first item.
/// </summary>
///
kItemIndex,
/// <summary>
/// Index type indicating item position relative to the first row.
/// </summary>
///
kRowIndex,
/// <summary>
/// Index type indicating item position relative to the first level.
/// </summary>
///
kLevelIndex,
};
/// <summary>
/// Default constructor. Object constructed using this constructor remains
/// uninitialized.
/// </summary>
///
AcDbItemLocator();
/// <summary>
/// Parameterized constructor, this initializes all indices of the object.
/// The cannonical form of AcDbItemLocator always uses +ve value for
/// indices, but clients may use -ve values for indices subjected to their
/// own interpretation of -ve vlaues.
/// </summary>
/// <param name="itemIndex"> The input Index relative to the first item.
/// </param>
/// <param name="rowIndex"> The input Index relative to the first row.
/// </param>
/// <param name="levelIndex"> The input Index relative to the first level.
/// </param>
///
AcDbItemLocator(int itemIndex, int rowIndex, int levelIndex);
/// <summary>
/// Copy constructor, this copies all indices of the other object to this
/// object.
/// </summary>
/// <param name="other"> The other AcDbItemLocator object intended to copy from. </param>
///
AcDbItemLocator(const AcDbItemLocator& other);
/// <summary>
/// Index operator, this returns index of a particular index type.
/// </summary>
/// <param name="i"> The input Index type. </param>
/// <returns> The index of given Index type. </returns>
///
int operator [] (IndexType i) const { return mIndices[i]; }
/// <summary>
/// Assignment operator, this copies all indices of the other object to
/// this object.
/// </summary>
///
AcDbItemLocator& operator = (const AcDbItemLocator& other);
/// <summary>
/// Subtraction operator, this returns difference from other object.
/// </summary>
///
AcDbItemLocator operator - (const AcDbItemLocator& other) const;
/// <summary>
/// Addition operator, this combines indices of other object and
/// this object to return a new object.
/// </summary>
///
AcDbItemLocator operator + (const AcDbItemLocator& other) const;
/// <summary>
/// Equal to operator, checks if the other object is same as this object.
/// </summary>
///
bool operator == (const AcDbItemLocator& other) const;
/// <summary>
/// Not equal to operator, checks if the other object is different than
/// this object.
/// </summary>
///
bool operator != (const AcDbItemLocator& other) const;
/// <summary>
/// Less operator, checks if this object is less than the other object.
/// </summary>
///
bool operator < (const AcDbItemLocator& other) const;
/// <summary>
/// Greator operator, checks if this object is less than the other object.
/// </summary>
///
bool operator > (const AcDbItemLocator& other) const { return compareWith(other) > 0; }
/// <summary>
/// Compares this with other object, returns 0 if the two objects are same
/// -ve value if this is smaller than the other, +ve value if this is
/// greater than other object.
/// </summary>
///
int compareWith(const AcDbItemLocator& other) const;
private:
int mIndices[3];
};
class AcDbImpAssocArrayItem;
/// <summary>
/// AcDbAssocArrayItem class represents transformation and other meta data of
/// an item in an array. This class provides interface to obtain item transform,
/// it's locator (spatial index), relative transform etc.
/// </summary>
/// <remarks> This class is currently for internal use only. </remarks>
///
class ACDB_PORT AcDbAssocArrayItem : public AcRxObject
{
public:
ACRX_DECLARE_MEMBERS(AcDbAssocArrayItem);
/// <summary>
/// Default constructor.
/// </summary>
///
AcDbAssocArrayItem();
/// <summary>
/// Parameterized constructor, initializes locator and default transform.
/// </summary>
/// <param name="locator"> The input AcDbItemLocator. </param>
/// <param name="transform"> The input transformation matrix. </param>
///
AcDbAssocArrayItem(AcDbItemLocator& locator, const AcGeMatrix3d& transform);
/// <summary>
/// Default destructor.
/// </summary>
///
virtual ~AcDbAssocArrayItem();
/// transformation specific query methods.
/// <summary>
/// Obtains default or compounded transform of this item. Default transform
/// defines original transform for the item in the array. Compounded
/// transform includes relative transformation (if any) applied to the item.
/// </summary>
/// <param name="transform"> Returned transformation matrix. </param>
/// <param name="bCompounded"> A flag to indicate whether compounded or
/// default transform to be obtained. </param>
/// <returns> Acad::ErrorStatus </returns>
///
Acad::ErrorStatus getTransform(AcGeMatrix3d& transform, bool bCompounded = true) const;
/// <summary>
/// Checks if this items has a relative transform.
/// </summary>
/// <returns> true, if item has a relative transform. </returns>
///
bool hasRelativeTransform() const;
/// <summary>
/// Applies relative transform to this item.
/// </summary>
/// <param name="transform"> Input transformation matrix. </param>
/// <returns> Acad::ErrorStatus </returns>
///
Acad::ErrorStatus transformBy(const AcGeMatrix3d& transform);
/// <summary>
/// Sets default transform of this item.
/// </summary>
/// <param name="transform"> Input transformation matrix. </param>
/// <returns> Acad::ErrorStatus </returns>
///
Acad::ErrorStatus setDefaultTransform(const AcGeMatrix3d& transform);
/// Query methods for other properties.
/// <summary>
/// Marks the item erased.
/// </summary>
/// <param name="bErased"> Input flag to mark erased. </param>
/// <returns> Acad::ErrorStatus </returns>
///
Acad::ErrorStatus setErased(bool bErased);
/// <summary>
/// Checks if the item is erased.
/// </summary>
/// <returns> true, if this item is erased. </returns>
///
bool isErased() const;
/// <summary>
/// Obtains item's spatial index/locator.
/// </summary>
/// <returns> AcDbItemLocator, spatial index of the item. </returns>
///
const AcDbItemLocator& locator() const;
/// <summary>
/// Obtains entity provider for this item.
/// </summary>
/// <returns> Object id of entity provider. </returns>
///
const AcDbObjectId& entityProvider() const;
/// <summary>
/// Sets entity provider for this item.
/// </summary>
/// <param name="provider"> Input Object id of entity provider. </param>
///
void setEntityProvider(AcDbObjectId provider);
/// <summary>
/// Copies item's content from other object.
/// </summary>
/// <param name="other"> Pointer to other item. </param>
/// <returns> Acad::ErrorStatus </returns>
///
virtual Acad::ErrorStatus copyFrom(const AcRxObject* other);
/// <summary> This function is called by dwgIn().
/// Its purpose is to allow the object to read in its data.
/// </summary>
/// <param name="pFiler"> Input pointer to filer to use to read in
/// the object's data. </param>
/// <returns> Acad::ErrorStatus </returns>
///
virtual Acad::ErrorStatus dwgInFields(AcDbDwgFiler* pFiler);
/// <summary> This function is called by dwgOut().
/// Its purpose is to allow the object to write out its data.
/// </summary>
/// <param name="pFiler"> Input pointer to filer to use to write out
/// the object's data. </param>
/// <returns> Acad::ErrorStatus </returns>
///
virtual Acad::ErrorStatus dwgOutFields(AcDbDwgFiler* pFiler) const;
/// <summary> This function is called by dxfIn().
/// Its purpose is to allow the object to read in its data.
/// </summary>
/// <param name="pFiler"> Input pointer to filer to use to read in
/// the object's data. </param>
/// <returns> Acad::ErrorStatus </returns>
///
virtual Acad::ErrorStatus dxfInFields (AcDbDxfFiler* pFiler);
/// <summary> This function is called by dxfOut().
/// Its purpose is to allow the object to write out its data.
/// </summary>
/// <param name="pFiler"> Input pointer to filer to use to write out
/// the object's data. </param>
/// <returns> Acad::ErrorStatus </returns>
///
virtual Acad::ErrorStatus dxfOutFields(AcDbDxfFiler* pFiler) const;
private:
AcDbAssocArrayItem(const AcDbAssocArrayItem& other); //Copy constructor.
friend class AcDbImpAssocArrayItem;
AcDbImpAssocArrayItem* mpSelf;
};
| [
"[email protected]"
] | |
9c246bab2c98bc6b2041f34e3ccf563b55ba56cb | c3869ba42919ce534216a7585931c0e0a8216955 | /upp/bazaar/ProtectEncrypt/ProtectEncrypt.cpp | 3e2f1fc20d0afb5e36e0b93d268f1941b6349335 | [] | no_license | RanJi0128/Chromium-customization | 018c977c26a270387a2d9b3c1855a0668691b477 | 89b3550d7fc6f1b61f5e6023c293b82c521c509d | refs/heads/master | 2020-07-13T01:31:26.499121 | 2019-08-29T07:07:17 | 2019-08-29T07:07:17 | 204,954,330 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,579 | cpp | #include <Core/Core.h>
#include <Protect/Protect.h>
using namespace Upp;
// search a buffer for a matching pattern
// returns position of pattern
byte *ProtectSearchBuf(byte *buf, byte *bufEnd, const byte *pattern, size_t patternLen)
{
while(buf < bufEnd - patternLen)
{
if(*buf != *pattern)
{
buf++;
continue;
}
if(!memcmp(buf, pattern, patternLen))
return buf;
buf++;
}
return NULL;
}
// encrypts code inside buffer
int CryptBuf(byte *buf, byte *bufEnd, String const &key)
{
int patches = 0;
byte *bStart = buf;
while( (bStart = ProtectSearchBuf(bStart, bufEnd, (const byte *)PROTECT_START_MARKER, strlen(PROTECT_START_MARKER))) != NULL)
{
// overwrite start pattern, just to fool a bit
// simple pattern search and use it as the encrypt init vector
byte *nonce = bStart;
for(unsigned i = 0; i < strlen(PROTECT_START_MARKER); i++)
*bStart++ = (byte)(Random() & 0xff);
// locate end pattern
byte *bEnd = ProtectSearchBuf(bStart, bufEnd, (const byte *)PROTECT_END_MARKER, strlen(PROTECT_END_MARKER));
if(!bEnd)
{
Cerr() << "Missing PROTECT_END_MARKER block\n";
return 0;
}
// get size of chunk to patch
size_t size = bEnd - bStart;
// overwrite end pattern, just to fool a bit
// symple pattern search
for(unsigned i = 0; i < strlen(PROTECT_END_MARKER); i++)
*bEnd++ = (byte)(Random() & 0xff);
// crypt buffer
Snow2 snow2((byte const *)~key, key.GetCount(), nonce, strlen(PROTECT_START_MARKER));
snow2(bStart, size);
patches++;
}
return patches;
}
// obfuscates code inside buffer
int ObfuscateBuf(byte *buf, byte *bufEnd)
{
int patches = 0;
byte *bStart = buf;
while( (bStart = ProtectSearchBuf(bStart, bufEnd, (const byte *)OBFUSCATE_START_MARKER, strlen(OBFUSCATE_START_MARKER))) != NULL)
{
// builds a random key, overwriting start pattern and following 10 bytes
String key;
for(unsigned i = 0; i < strlen(OBFUSCATE_START_MARKER) + 10; i++)
{
byte k = (byte)(Random() & 0xff);
*bStart++ = k;
key += (char)k;
}
// locate end pattern
byte *bEnd = ProtectSearchBuf(bStart, bufEnd, (const byte *)OBFUSCATE_END_MARKER, strlen(OBFUSCATE_END_MARKER));
if(!bEnd)
return 0;
// get size of chunk to patch
size_t size = bEnd - bStart;
// overwrite end pattern, just to fool a bit
// symple pattern search
for(unsigned i = 0; i < strlen(OBFUSCATE_END_MARKER); i++)
*bEnd++ = (byte)(Random() & 0xff);
// obfuscate buffer
Snow2 snow2(key, "12345678");
snow2(bStart, size);
patches++;
}
return patches;
}
CONSOLE_APP_MAIN
{
// setup exit code for errors
SetExitCode(1);
// command line parameters are :
// 1) file to encrypt (full path)
// 2) key, in hex ascii format (AABB001122CCDD....)
if(CommandLine().GetCount() != 2)
{
Cerr() << "USAGE : ProtectEncrypt filename key\n";
return;
}
// gets key, check it and convert to HEX String
// string must contain an even number of digits
// and they must be hax ones (0-9, A-F)
String key0 = ToUpper(CommandLine()[1]);
if(key0.GetCount() != 32 && key0.GetCount() != 64)
{
Cerr() << "Error: key MUST be 32 or 64 chars (16 or 32 bytes) long, not " << key0.GetCount() << "\n";
return;
}
String key;
for(int i = 0; i < key0.GetCount()-1;)
{
byte b;
char c = key0[i++];
if(c >= '0' && c <= '9')
b = c - '0';
else if(c >= 'A' && c <= 'F')
b = c - 'A' + 10;
else
{
Cerr() << "Invalid hex digit '" << c << "' in key\n";
return;
}
b <<= 4;
c = key0[i++];
if(c >= '0' && c <= '9')
b += c - '0';
else if(c >= 'A' && c <= 'F')
b += c - 'A' + 10;
else
{
Cerr() << "Invalid hex digit '" << c << "' in key\n";
return;
}
key.Cat(b);
}
Cerr() << "ENCRYPTION KEY : " << HexString(key) << "\n";
// loads file into buffer
String fName = CommandLine()[0];
if(!FileExists(fName))
{
Cerr() << "File '" << fName << "' not found\n";
return;
}
FileIn f(fName);
dword size = (dword)f.GetSize();
Buffer<byte>buf(size);
f.GetAll(buf, size);
f.Close();
// crypt part
int cryptPoints = CryptBuf(buf, buf + size, key);
if(cryptPoints)
Cerr() << "Successfully encrypted " << cryptPoints << " functions\n";
else
Cerr() << "No encrypt points found\n";
// obfuscation part
int obfuscatePoints = ObfuscateBuf(buf, buf + size);
if(obfuscatePoints)
Cerr() << "Successfully obfuscated " << obfuscatePoints << " functions\n";
else
Cerr() << "No obfuscate points found\n";
if(cryptPoints || obfuscatePoints)
{
FileOut f(fName);
f.Put(buf, size);
}
// sets up exit code
SetExitCode(0);
}
| [
"[email protected]"
] | |
848362ec49ef13046872b69773a5d078a4562731 | 1472dcb5a3244a51154f798666d0330ff32c68f5 | /src/xxCommandObject.cpp | 36e9b6e21caa6569085c3e8d74ec319231d77c98 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | Osprey-DPD/osprey-dpd | 3961ca5c0fe89514299812ded9c8c16a5f049987 | d6e9bb6771e36c36811ef2d9405f9e287bb5f1c5 | refs/heads/main | 2023-06-11T08:49:06.866378 | 2023-06-08T14:23:39 | 2023-06-08T14:23:39 | 308,352,022 | 22 | 3 | NOASSERTION | 2023-06-08T14:23:41 | 2020-10-29T14:23:30 | C++ | UTF-8 | C++ | false | false | 4,575 | cpp | /* **********************************************************************
Copyright 2020 Dr. J. C. Shillcock and Prof. Dr. R. Lipowsky, Director at the Max Planck Institute (MPI) of Colloids and Interfaces; Head of Department Theory and Bio-Systems.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
********************************************************************** */
// xxCommandObject.cpp: implementation of the xxCommandObject class.
//
//////////////////////////////////////////////////////////////////////
#include "StdAfx.h"
#include "SimDefs.h"
#include "xxCommandObject.h"
#include "xxCommand.h"
#include "acfCommandFactory.h"
//////////////////////////////////////////////////////////////////////
// Global functions
//////////////////////////////////////////////////////////////////////
// Function to write out the command data to file. We pass the
// stream output operator to the contained xxCommand-derived object.
zOutStream& operator<<(zOutStream& os, const xxCommandObject& ComOb)
{
if(ComOb.IsCommandValid())
os << *(ComOb.m_pCommand);
return os;
}
// Function to read the command data from file. We pass the stream input
// operator to the contained xxCommand-derived object. We also check that
// the data is read correctly and set the local flag appropriately.
//
zInStream& operator>>(zInStream& is, xxCommandObject& ComOb)
{
if(ComOb.IsCommandValid())
{
is >> *(ComOb.m_pCommand);
ComOb.SetCommandValid(ComOb.m_pCommand->IsCommandValid());
}
return is;
}
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
// The constructor uses the "type" argument to determine which xxCommand
// object to create and to read the data into. The xxCommand-derived classes
// each have a static member variable that corresponds to the entry in the control
// data file used to identify the command. This entry is accessed using the static
// function GetType(). The acfCommandFactory object uses this type identifier to
// call a function implemented by each xxCommand-derived class to create an
// instance of the class.
//
// If the command type is not recognised a flag is set showing that data cannot be read.
xxCommandObject::xxCommandObject(const zString type, long executionTime) : m_bCommandValid(true)
{
m_pCommand = acfCommandFactory::Instance()->Create(type, executionTime);
if(!m_pCommand)
{
m_bCommandValid = false;
}
}
xxCommandObject::~xxCommandObject()
{
// Only delete the contained command if it exists
if(m_pCommand)
delete m_pCommand;
}
bool xxCommandObject::IsCommandValid() const
{
return m_bCommandValid;
}
void xxCommandObject::SetCommandValid(bool bValid)
{
m_bCommandValid = bValid;
}
long xxCommandObject::GetExecutionTime() const
{
if(m_pCommand)
return m_pCommand->GetExecutionTime();
else
return 0;
}
// Function to pass a request for command object pointer to the appropriate derived
// class so that a copy of the command can be created and returned.
const xxCommand* xxCommandObject::GetCommand() const
{
if(m_pCommand)
return m_pCommand->GetCommand();
else
return NULL;
}
| [
"[email protected]"
] | |
6638fe2292b62496babcf4613d0d874ba02f142b | 0c11b29d4b55757ba93f7176fbba88f17c5c45dd | /src/runtime/runtime_base.h | 10a6c5e74df0ee19d4139d2d57de33b3b8750853 | [
"Apache-2.0"
] | permissive | sufeidechabei/dgl | c7c115c5cc113e9b3a77f46c94bb1a1b4d615b7a | f9f92803b422c04b6d8e3f95b18f71cf158f3b1f | refs/heads/master | 2020-04-09T02:02:50.338663 | 2018-12-04T18:03:19 | 2018-12-04T18:03:19 | 159,926,802 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | h | /*!
* Copyright (c) 2016 by Contributors
* \file runtime_base.h
* \brief Base of all C APIs
*/
#ifndef DGL_RUNTIME_RUNTIME_BASE_H_
#define DGL_RUNTIME_RUNTIME_BASE_H_
#include <dgl/runtime/c_runtime_api.h>
#include <stdexcept>
/*! \brief macro to guard beginning and end section of all functions */
#define API_BEGIN() try {
/*! \brief every function starts with API_BEGIN();
and finishes with API_END() or API_END_HANDLE_ERROR */
#define API_END() } catch(std::runtime_error &_except_) { return TVMAPIHandleException(_except_); } return 0; // NOLINT(*)
/*!
* \brief every function starts with API_BEGIN();
* and finishes with API_END() or API_END_HANDLE_ERROR
* The finally clause contains procedure to cleanup states when an error happens.
*/
#define API_END_HANDLE_ERROR(Finalize) } catch(std::runtime_error &_except_) { Finalize; return TVMAPIHandleException(_except_); } return 0; // NOLINT(*)
/*!
* \brief handle exception throwed out
* \param e the exception
* \return the return value of API after exception is handled
*/
inline int TVMAPIHandleException(const std::runtime_error &e) {
TVMAPISetLastError(e.what());
return -1;
}
#endif // DGL_RUNTIME_RUNTIME_BASE_H_
| [
"[email protected]"
] | |
cecadde3667be4e0588b8c2f7c5a57f2d33d693c | d799ab6f5c64bf33fcd6999e3ce82bddfc0d035a | /TaskLevelTest/src/PODOGUI/BasicFiles/SensorDialog.h | 7c720fa2263b6d98f66a92d070c5d064716a213e | [] | no_license | chosaihim/PODOMotionPractice | 242784f98932c09e53957c4dfcd09079d7e262fe | afef0aa1ea0d822af3c98efc9a60a6772ad08691 | refs/heads/master | 2020-03-26T15:42:04.880110 | 2019-07-31T08:32:30 | 2019-07-31T08:32:30 | 145,059,353 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,003 | h | #ifndef SENSORDIALOG_H
#define SENSORDIALOG_H
#include <QDialog>
#include "CommonHeader.h"
namespace Ui {
class SensorDialog;
}
class SensorDialog : public QDialog
{
Q_OBJECT
public:
explicit SensorDialog(QWidget *parent = 0);
~SensorDialog();
private slots:
void on_BTN_SENSOR_ENABLE_clicked();
void on_BTN_SENSOR_DISABLE_clicked();
void on_BTN_SENSOR_FT_NULL_clicked();
void on_BTN_SENSOR_IMU_NULL_clicked();
void on_BTN_CIMU_GET_OFFSET_clicked();
void on_BTN_CIMU_SET_OFFSET_clicked();
void on_BTN_SENSOR_FOG_ZERO_clicked();
void on_BTN_SENSOR_FOG_NULL_clicked();
void on_BTN_OPTZERO_clicked();
void UpdateSensors();
void on_BTN_OPT_LAMP_ON_clicked();
void on_BTN_OPT_LAMP_OFF_clicked();
void on_BTN_SENSOR_FOG_USB_RESET_clicked();
void on_BTN_NEW_IMU_ENABLE_clicked();
void on_BTN_NEW_IMU_NULL_clicked();
void on_BTN_NEW_IMU_RESET_clicked();
private:
Ui::SensorDialog *ui;
};
#endif // SENSORDIALOG_H
| [
"[email protected]"
] | |
2b413a0a0b2712f33cc19f81a282234085fa9eb6 | 34af1d961437ea02c492aa9efc812cc8df695dbc | /quicknotedialog.h | 4d86cff5b1a9693e9d7921fa5fa6417a4df2ee7f | [] | no_license | trentzhou/quick-note | 1103e0e3a67b417a4f8a78e6b4573ee359e15ad8 | 779632b553ef3b7c8241cb463199973a2d570c5e | refs/heads/master | 2021-01-14T19:38:22.461891 | 2020-03-24T06:47:00 | 2020-03-24T06:47:00 | 242,733,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598 | h | #ifndef QUICKNOTEDIALOG_H
#define QUICKNOTEDIALOG_H
#include <QDialog>
#include <QAudioRecorder>
#include <QListWidgetItem>
#include "quicknote.h"
namespace Ui {
class QuickNoteDialog;
}
class QuickNoteDialog : public QDialog
{
Q_OBJECT
public:
explicit QuickNoteDialog(QWidget *parent = 0);
~QuickNoteDialog();
public slots:
void toggleRecord();
void saveText();
void addTodo();
void refreshTodoList();
void finishTodo(QListWidgetItem* item);
private:
Ui::QuickNoteDialog *ui;
bool recording;
QuickNote* quickNote;
};
#endif // QUICKNOTEDIALOG_H
| [
"[email protected]"
] | |
38788bf1868ac8be17f958145efdfce17c17e225 | c3e1db92182c69268f9d324788249a8f44862957 | /flog/flogx.h | 37c19258bf36738007de388a69578c4cc0bc8f6f | [
"LicenseRef-scancode-public-domain",
"CC-PDDC"
] | permissive | bilken/Flog | c58cf3391a8d57f1598e611383f28acf9e79e55b | 51770cc6497c4ef92002119a7f5a16945a25bbf1 | refs/heads/master | 2021-01-18T16:31:18.531014 | 2012-04-20T23:14:51 | 2012-04-20T23:14:51 | 3,943,329 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,784 | h | #ifndef __FLOGX_H__
#define __FLOGX_H__
/*
The dollar elements are placeholders for auto-generated content.
If the X-macro-only method is used, those features are ignored.
*/
/* $sevDefs */
/* $modDefs */
#if !defined(FLOG_SEVERITY_LIST) || !defined(FLOG_MODULE_LIST)
#error "Missing FLOG_SEVERITIES/FLOG_MODULES defintion"
#endif
#ifndef FLOG_FORMAT_LIST
#define FLOG_FORMAT_LIST(NA0,NA1,NA2)
#endif
enum {
FLOG_SVR_INVALID = -1,
#define FLOG_SEVERITY_LIST_ITEM(SVR) FLOG_SVR_##SVR,
FLOG_SEVERITY_LIST
#undef FLOG_SEVERITY_LIST_ITEM
FLOG_SVR_NONE,
FLOG_SVR_NUM_ELEMENTS,
#define FLOG_MODULE_LIST_ITEM(MOD, MAX, DEF) FLOG_MOD_MAX_##MOD = FLOG_SVR_##MAX,
FLOG_MODULE_LIST
#undef FLOG_MODULE_LIST_ITEM
};
enum {
FLOG_MOD_INVALID = -1,
#define FLOG_MODULE_LIST_ITEM(MOD, MAX, DEF) FLOG_MOD_##MOD,
FLOG_MODULE_LIST
#undef FLOG_MODULE_LIST_ITEM
FLOG_MOD_NUM_ELEMENTS,
FLOG_MOD_ALL = FLOG_MOD_NUM_ELEMENTS,
};
enum {
FLOG_FLAGBIT_ZERO = 0,
#define FLOG_FORMAT_LIST_ITEM(NAME, CFG, FMT, ARG, DISARG, FA) FLOG_FLAGBIT_##NAME,
FLOG_FORMAT_LIST(na, na, na)
#undef FLOG_FORMAT_LIST_ITEM
FLOG_FLAG_ZERO = 0,
#define FLOG_FORMAT_LIST_ITEM(NAME, CFG, FMT, ARG, DISARG, FA) FLOG_FLAG_##NAME = 1 << FLOG_FLAGBIT_##NAME,
FLOG_FORMAT_LIST(na, na, na)
#undef FLOG_FORMAT_LIST_ITEM
FLOG_FLAGS_NONCONFIG = 0
#define FLOG_ARG_ON(NAME, ARG, DISARG) | FLOG_FLAG_##NAME
#define FLOG_ARG_CON(NAME, ARG, DISARG)
#define FLOG_ARG_COFF(NAME, ARG, DISARG)
#define FLOG_FORMAT_LIST_ITEM(NAME, CFG, FMT, ARG, DISARG, FA) FLOG_ARG_##CFG(NAME, ARG, DISARG)
FLOG_FORMAT_LIST(na, na, na),
#undef FLOG_ARG_ON
#undef FLOG_ARG_CON
#undef FLOG_ARG_COFF
#undef FLOG_FORMAT_LIST_ITEM
FLOG_FLAGS_DEFAULT = 0
#define FLOG_ARG_ON(NAME, ARG, DISARG)
#define FLOG_ARG_CON(NAME, ARG, DISARG) | FLOG_FLAG_##NAME
#define FLOG_ARG_COFF(NAME, ARG, DISARG)
#define FLOG_FORMAT_LIST_ITEM(NAME, CFG, FMT, ARG, DISARG, FA) FLOG_ARG_##CFG(NAME, ARG, DISARG)
FLOG_FORMAT_LIST(na, na, na),
#undef FLOG_ARG_ON
#undef FLOG_ARG_CON
#undef FLOG_ARG_COFF
#undef FLOG_FORMAT_LIST_ITEM
};
#define FLOG_FLAG(FF) (flog_flags & FLOG_FLAG_##FF)
/* This mess provides each part of the format feature in turn. Look away. */
#define FLOG_ARGA_CON(NAME, FMT, ARG, DISARG) , FLOG_FLAG(NAME) ? ARG : DISARG
#define FLOG_ARGA_COFF(NAME, FMT, ARG, DISARG) , FLOG_FLAG(NAME) ? ARG : DISARG
#define FLOG_ARGA_ON(NAME, FMT, ARG, DISARG) , ARG
#define FLOG_ARGF_CON(NAME, FMT, ARG, DISARG) FMT
#define FLOG_ARGF_COFF(NAME, FMT, ARG, DISARG) FMT
#define FLOG_ARGF_ON(NAME, FMT, ARG, DISARG) FMT
#define FLOG_ARGC_CON(NAME, FMT, ARG, DISARG) {#NAME, FLOG_FLAG_##NAME},
#define FLOG_ARGC_COFF(NAME, FMT, ARG, DISARG) {#NAME, FLOG_FLAG_##NAME},
#define FLOG_ARGC_ON(NAME, FMT, ARG, DISARG) {#NAME, FLOG_FLAG_##NAME},
#define FLOG_FORMAT_LIST_ITEM(NAME, CFG, FMT, ARG, DISARG, FA) FLOG_ARG##FA##_##CFG(NAME, FMT, ARG, DISARG)
#ifdef __cplusplus
#include <sstream>
#endif
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
void flog_init(void);
typedef int flog_severity_t;
typedef int flog_module_t;
typedef int flog_sev_mod_t;
extern int flog_interact_s(const char *arg, char *outStr, size_t outStrLen);
extern int flog_set(flog_severity_t s, flog_module_t m);
typedef struct
{
char * buf;
size_t size;
} psn_t;
extern int flog_psnprintf( psn_t * psn, const char *format, ... );
extern int flog_ms_is_set(flog_sev_mod_t ms);
extern int flog_flags;
extern const char *flog_file_name_shorten(const char *fn);
#ifdef __cplusplus
}
#endif
#ifndef FLOG_PRINTF
#include <stdio.h>
#define FLOG_PRINTF printf
#endif
#ifndef FLOG_FORMAT_DEC
#define FLOG_FORMAT_DEC
#endif
#define LINE2STR(X) #X
#define LINETOSTRING(X) "[" LINE2STR(X) "] "
#define FLOG_VA_NONE 0
#define FLOG_VA_GCC 1
#define FLOG_VA_C99 2
#if defined(__GNUC__) || defined(__clang__)
# define FLOG_VA_TYPE FLOG_VA_GCC
#elif 0 /* C-99 compiler */
# define FLOG_VA_TYPE FLOG_VA_C99
#else /* No variadic macros */
#error "not supported"
# define FLOG_VA_TYPE FLOG_VA_NONE
#endif
#ifndef FLOG_STATIC
#define FLOG_ENCODE_SEV_BITS 4
#define FLOG_ENCODE(S, M) \
( (flog_sev_mod_t) ( ( (M) << FLOG_ENCODE_SEV_BITS ) | (S) ) )
#define FLOG_DECODE(MS, S, M) \
do { \
(S) = (MS) & ((1 << FLOG_ENCODE_SEV_BITS) - 1); \
(M) = (MS) >> FLOG_ENCODE_SEV_BITS; \
} while (0)
#ifdef FLOGX
#define IF_FLOG_SET(S, M) if ((FLOG_SVR_##S >= FLOG_MOD_MAX_##M) && flog_ms_is_set(FLOG_ENCODE(FLOG_SVR_##S, FLOG_MOD_##M)))
#else
#define IF_FLOG_SET(S, M) if (flog_ms_is_set(FLOG_ENCODE(FLOG_SVR_##S, FLOG_MOD_##M)))
#endif
#else
#ifdef FLOGX
#define IF_FLOG_SET(S, M) if (FLOG_SVR_##S >= FLOG_MOD_MAX_##M)
#else
#define IF_FLOG_SET(S, M)
#endif
#endif
#define FLOGSTRING(SEVERITY, MODULE, STR) FLOG(SEVERITY, MODULE, "%s", (STR).c_str())
#ifdef FLOGX
#define FLOGS(SEVERITY, MODULE, SSTR) _FLOGS_CHKDO(SEVERITY, MODULE, SSTR)
#else
#define FLOGS(SEVERITY, MODULE, SSTR) FLOGS_##SEVERITY##_##MODULE(SSTR)
#endif
#if FLOG_VA_TYPE == FLOG_VA_GCC
#ifdef FLOGX
#define FLOG(SEVERITY, MODULE, FMT, ARGS...) _FLOG_CHKDO(SEVERITY, MODULE, FMT , ##ARGS)
#else
#define FLOG(SEVERITY, MODULE, FMT, ARGS...) FLOG_##SEVERITY##_##MODULE(FMT , ##ARGS)
#endif
#define _FLOG_DO(SEVERITY, MODULE, FMT, ARGS...) \
FLOG_FORMAT_DEC FLOG_PRINTF(FLOG_FORMAT_LIST(F, na, na) FMT FLOG_FORMAT_LIST(A, SEVERITY, MODULE) , ##ARGS)
#define _FLOG_CHKDO(SEVERITY, MODULE, FMT, ARGS...) \
do { IF_FLOG_SET(SEVERITY, MODULE) { _FLOG_DO( SEVERITY, MODULE, FMT , ##ARGS ); } } while (0)
#define _FLOGS_CHKDO(SEVERITY, MODULE, SSTR) \
do { IF_FLOG_SET(SEVERITY, MODULE) { \
std::ostringstream _mSSTR; _mSSTR << SSTR; \
_FLOG_DO(SEVERITY, MODULE, "%s", _mSSTR.str().c_str()); \
} } while (0)
/* $gccDefs */
#endif /* FLOG_VA_TYPE == GCC */
#if FLOG_VA_TYPE == FLOG_VA_C99
/* Note, the extra "" arg lets fmt-only FLOG() calls work */
#ifdef FLOGX
#define FLOG(SEVERITY, MODULE, ...) _FLOG_CHKDO(SEVERITY, MODULE, __VA_ARGS__, "")
#else
#define FLOG(SEVERITY, MODULE, ...) FLOG_##SEVERITY##_##MODULE(__VA_ARGS__)
#endif
#define _FLOG_DO(SEVERITY, MODULE, FMT, ...) \
FLOG_FORMAT_DEC FLOG_PRINTF(FLOG_FORMAT_LIST(F, na, na) FMT "%s" FLOG_FORMAT_LIST(A, SEVERITY, MODULE), __VA_ARGS__)
#define _FLOG_CHKDO(SEVERITY, MODULE, FMT, ...) \
do { IF_FLOG_SET(SEVERITY, MODULE) { _FLOG_DO( SEVERITY, MODULE, FMT, __VA_ARGS__); } } while (0)
#define _FLOGS_CHKDO(SEVERITY, MODULE, SSTR) \
do { IF_FLOG_SET(SEVERITY, MODULE) { \
std::ostringstream _mSSTR; _mSSTR << SSTR; \
_FLOG_DO(SEVERITY, MODULE, "%s", _mSSTR.str().c_str(), ""); \
} } while (0)
/* $c99Defs */
#endif /* FLOG_VA_TYPE == C99 */
/* $strDefs */
/* $testDefs */
#endif /* __FLOGX_H__ */
| [
"[email protected]"
] | |
945303e8ff0f4b148a15ce51573cef21c7864cab | c10a275471b875229abc6b6e91abb4d7949c787b | /modules/simulation/SimulatedMag.h | 1bce9c0a6d09c76bed2cc472867fd6ef4b0d7395 | [] | no_license | udacity-fcnd/FCND-AllTogether-CPP | 8d8042f9be431d881b7a11611fb7779d119d8d67 | f4c9e9597bd43c7794e130ca2d61e0c547e21ba6 | refs/heads/master | 2020-05-05T11:49:33.606346 | 2019-05-12T18:00:49 | 2019-05-12T18:00:49 | 180,005,444 | 0 | 0 | null | 2019-05-12T18:00:50 | 2019-04-07T18:20:57 | C++ | UTF-8 | C++ | false | false | 2,250 | h | #pragma once
#include "modules/simulation/SimulatedQuadSensor.h"
#include "modules/simulation/QuadDynamics.h"
#include "modules/math/Random.h"
#include "modules/estimation/BaseQuadEstimator.h"
class SimulatedMag : public SimulatedQuadSensor
{
public:
SimulatedMag(string config, string name) : SimulatedQuadSensor(config, name) { Init(); }
virtual void Init()
{
SimulatedQuadSensor::Init();
ParamsHandle paramSys = SimpleConfig::GetInstance();
_magStd = paramSys->Get(_config + ".Std", 0);
_measDT = paramSys->Get(_config + ".dt", .01f);
_magYaw = 0;
}
// if it's time, generates a new sensor measurement, saves it internally (for graphing), and calls appropriate estimator update function
virtual void Update(QuadDynamics& quad, shared_ptr<BaseQuadEstimator> estimator, float dt, int& idum)
{
_timeAccum += dt;
if (_timeAccum < _measDT)
{
return;
}
_timeAccum = (_timeAccum - _measDT);
// position
float magError = gasdev_f(idum) * _magStd;
_magYaw = quad.Attitude().Yaw() + magError;
if (_magYaw > F_PI) _magYaw -= 2.f*F_PI;
if (_magYaw < -F_PI) _magYaw += 2.f*F_PI;
_freshMeas = true;
if (estimator)
{
estimator->UpdateFromMag(_magYaw);
}
};
// Access functions for graphing variables
// note that GetData will only return true if a fresh measurement was generated last Update()
virtual bool GetData(const string& name, float& ret) const
{
if (!_freshMeas) return false;
if (name.find_first_of(".") == string::npos) return false;
string leftPart = LeftOf(name, '.');
string rightPart = RightOf(name, '.');
if (ToUpper(leftPart) == ToUpper(_name))
{
#define GETTER_HELPER(A,B) if (SLR::ToUpper(rightPart) == SLR::ToUpper(A)){ ret=(B); return true; }
GETTER_HELPER("magYaw", _magYaw);
#undef GETTER_HELPER
}
return false;
};
virtual vector<string> GetFields() const
{
vector<string> ret = SimulatedQuadSensor::GetFields();
ret.push_back(_name + ".MagYaw");
return ret;
};
float _magYaw; // last yaw measurement from magnetometer
float _magStd; // std deviation of noise for magnetometer measurements
float _measDT; // time (in seconds) between measurements
};
| [
"[email protected]"
] | |
6a345e76abbc2395d9ec81ae3a5b6f8dc94df88d | ce3e344d18272381a1f7671b0cfcbc246ac80c2d | /ShaderProgram.h | 26fc59be49565125a7b6375f376dc0f6f590ad6e | [] | no_license | superoirNathan/4mans | b43e62551bdfaaaef988ce7d8911d604045376f4 | 8daecd7d8454bb3e5b60c87d1d06cc4805cb9885 | refs/heads/master | 2021-08-08T15:05:03.299361 | 2017-11-10T14:57:08 | 2017-11-10T14:57:08 | 109,861,829 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,741 | h | #pragma once
#include <GL/glew.h>
#include <glm/glm.hpp>
#include <string>
class ShaderProgram
{
public:
ShaderProgram();
~ShaderProgram();
//Load a vertex shader and a fragment shader and place them in a program
bool load(const std::string &vertFile, const std::string &fragFile);
bool isLoaded() const;
//Unload Shader sata from OpenGL
void unload();
bool linkProgram();
//Use the shader
void bind() const;
//Detach the shader
void unbind();
//Requires a re-linnk before OpenGL will register the change
void addAttribute(unsigned int index, const std::string &attribName);
//Returns -1 if the attribute doesnt exist
int getAttribLocation(const std::string &attribName);
//Returns -1 if the uniform doesnt exist
int getUniformLocation(const std::string &uniformName);
//Send uniform data to the shaders
void sendUniform(const std::string &name, int integer);
void sendUniform(const std::string &name, unsigned int unsignedInteger);
void sendUniform(const std::string &name, float scalar);
void sendUniform(const std::string &name, const glm::vec2 &vector);
void sendUniform(const std::string &name, const glm::vec3 &vector);
void sendUniform(const std::string &name, const glm::vec4 &vector);
void sendUniformMat3(const std::string &name, float *matrix, bool transpose);
void sendUniformMat4(const std::string &name, float *matrix, bool transpose);
private:
bool loaded = false;
GLuint vertexShader = 0;
GLuint fragShader = 0;
GLuint program = 0;
std::string readfile(const std::string &fileName) const;
bool compileShader(GLuint shader) const;
void outputShaderLog(GLuint shader) const;
void outoutProgramLog() const;
}; | [
"[email protected]"
] | |
4b6207b9cd296e84543e45be953c3d7b9e2df3a8 | a8d14282a34c3227b25159f7b561ce309b345bde | /src/module/ObstacleDetector/ObstacleDetector/kernel/detect_positive_obstacle.cpp | c524598acb71ba7f43b8f0fa0c7a60326dfd70cf | [] | no_license | yangdaiyu123/LidarObstacle | e22b0f1135108c5f4c7c37cd52cd04a24cab186c | b3d00348cd07ed37c337623f338f5cd877a80ea2 | refs/heads/master | 2020-03-27T13:01:07.373344 | 2018-06-27T12:26:38 | 2018-06-27T12:26:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,026 | cpp | /* Created : Linhui
* Date : 2016-08-05
* Usage :
*/
#include "detect_positive_obstacle.h"
#include <opencv/cv.h>
#include <opencv2/highgui/highgui.hpp>
#include <algorithm>
using namespace std;
using namespace cv;
POSITIVE_DETECTOR * POSITIVE_DETECTOR::p_instance = nullptr;
static std::mutex n_lock; // 线程锁,防止多个线程同时访问 POSITIVE_DETECTOR::p_instance
POSITIVE_DETECTOR * POSITIVE_DETECTOR::get_instance()
{
if(p_instance == nullptr)
{
n_lock.lock(); // prevent multi-thread ambiguous
if(p_instance == nullptr)
p_instance = new POSITIVE_DETECTOR;
n_lock.unlock();
}
return p_instance;
}
POSITIVE_DETECTOR::POSITIVE_DETECTOR(){}
POSITIVE_DETECTOR::~POSITIVE_DETECTOR(){}
void POSITIVE_DETECTOR::mark_car_area(ALV_DATA *alv_data)
{
const PARA_TABLE ¶ = alv_data->para_table;// alv_data->para_table包含了指针申请的动态内存,所以要么用引用的形式,要么自定义=重载,否则形参析构时会将实参的动态内存释放掉!!!
GRID **grids = alv_data->grid_map.grids;
// mark car area
for(int row = para.grid_center_row - (para.car_length/2)/para.grid_size;
row <= para.grid_center_row + (para.car_length/2)/para.grid_size;
row++)
{
for(int col = para.grid_center_col - (para.car_width/2)/para.grid_size;
col <= para.grid_center_col + (para.car_width/2)/para.grid_size;
col++)
{
grids[row][col].attribute = GRID_CAR_AREA;
grids[row][col].known = true;
}
}
}
void POSITIVE_DETECTOR::update_grids(ALV_DATA *alv_data, const alv_Point3f **pointcloud, const int BEAM_NUM, const int BEAM_POINTSIZE)
{
const PARA_TABLE ¶ = alv_data->para_table;
GRID **grids = alv_data->grid_map.grids;
// update grids
for(int beam = 0; beam < BEAM_NUM; beam++)
{
for(int cnt = 0; cnt < BEAM_POINTSIZE; cnt++)
{
const alv_Point3f *pt = (alv_Point3f *)pointcloud + beam*BEAM_POINTSIZE+cnt;
if(!pt->valid)
continue;
int row = (pt->y + para.map_range_rear)/para.grid_size;
int col = (pt->x + para.map_range_left)/para.grid_size;
if(!(row >= 0 && row < para.grid_rows && col >= 0 && col < para.grid_cols))
continue;
if(grids[row][col].attribute == GRID_CAR_AREA)
continue;
if(grids[row][col].known == false)
{
grids[row][col].known =true;
grids[row][col].max_height = grids[row][col].min_height = pt->z;
grids[row][col].ground_height = grids[row][col].min_height;
}
else
{
grids[row][col].max_height = pt->z > grids[row][col].max_height? pt->z:grids[row][col].max_height;
grids[row][col].min_height = pt->z < grids[row][col].min_height? pt->z:grids[row][col].min_height;
grids[row][col].ground_height = grids[row][col].min_height;
}
grids[row][col].ptNum++;
grids[row][col].points.push_back(*pt);
if(pt->intensity > 0 && pt->intensity < para.weak_flatness_threshold)
grids[row][col].weak_intensity_cnt++;
}
}
for(int row=0; row<para.grid_rows; row++)
{
for(int col=0; col<para.grid_cols; col++)
{
grids[row][col].dis_height = grids[row][col].max_height - grids[row][col].min_height;
}
}
}
void POSITIVE_DETECTOR::process_lidar1_data(ALV_DATA *alv_data)
{
PARA_TABLE ¶ = alv_data->para_table;
GRID **grids = alv_data->grid_map.grids;
// process LIDAR 1 data
for(int row=0;row<para.grid_rows;row++){
for(int col=0;col<para.grid_cols;col++){
if (grids[row][col].attribute == GRID_CAR_AREA)
continue;
if(alv_data->lidar1_grids[row][col] == 255){
grids[row][col].known = true;
grids[row][col].attribute = GRID_POS_OBS;
double old = (double)grids[row][col].dis_height;
grids[row][col].dis_height =std::max(50.0,old);// lidar1 default height 50cm
}
}
}
}
void POSITIVE_DETECTOR::remove_suspended_obs(ALV_DATA *alv_data) // 滤除悬空障碍物
{
const PARA_TABLE ¶ = alv_data->para_table;
GRID **grids = alv_data->grid_map.grids;
int Rows = alv_data->para_table.grid_rows;
int Cols = alv_data->para_table.grid_cols;
// 估计地面高度
const int estimate_grid_front = 1500/para.grid_size;
const int estimate_grid_rear = 1000/para.grid_size;
const int estimate_grid_left = 500/para.grid_size;
const int estimate_grid_right = 500/para.grid_size;
int win_size = 2;
for(int row = para.grid_center_row-estimate_grid_rear; row<=para.grid_center_row+estimate_grid_front; row++)
{
for(int col = para.grid_center_col-estimate_grid_left; col<=para.grid_center_col+estimate_grid_right; col++)
{
if(grids[row][col].attribute == GRID_CAR_AREA || grids[row][col].attribute == GRID_TRAVESABLE)
continue;
int validNum = 0;
float neighbor_height = 0.0;
for(int i = row-win_size; i <= row+win_size; i++)
{
for(int j = col-win_size; j <= col+win_size; j++)
{
if(grids[i][j].attribute == GRID_CAR_AREA)
continue;
if(grids[i][j].attribute == GRID_TRAVESABLE || (grids[i][j].attribute != GRID_TRAVESABLE && grids[i][j].update_ground))
{
neighbor_height += grids[i][j].ground_height;
validNum++;
}
}
}
if(validNum)
{
grids[row][col].ground_height = neighbor_height/(float)validNum;
grids[row][col].update_ground = true;
}
}
}
// 标记悬空障碍物栅格
for(int row = 0; row < Rows; row++)
{
for(int col = 0; col < Cols; col++)
{
if(grids[row][col].attribute == GRID_POS_OBS/* && grids[row][col].dis_height > (float)para.suspend_obs_ths*/)
{
// 障碍栅格内点云根据z轴按递增排序
sort(grids[row][col].points.begin(), grids[row][col].points.end(), [](const alv_Point3f &p1, const alv_Point3f &p2)->bool{return p1.z < p2.z;});
// 初始化prev_height为ground_height,然后依次检查后一个点是否比前一个点高度差超过阈值,若是,则标记为悬空障碍物
float prev_height = grids[row][col].ground_height;
for(int i=0; i<grids[row][col].points.size(); i++)
{
if(grids[row][col].points[i].z - prev_height > (float)para.suspend_obs_ths)
{
grids[row][col].attribute = GRID_SUSPEND_OBS;
break;
}
prev_height = grids[row][col].points[i].z;
}
}
}
}
// 再次过滤一部分障碍物栅格
win_size = 2;
int ths = 1;
for(int row = win_size; row < Rows-win_size; row++)
{
for(int col = win_size; col < Cols-win_size; col++)
{
if(grids[row][col].attribute == GRID_POS_OBS)
{
int susp_cnt = 0;
for(int i=row-win_size; i<=row+win_size; i++)
{
for(int j = col-win_size; j <= col+win_size; j++)
{
if(grids[row][col].attribute == GRID_SUSPEND_OBS)
susp_cnt++;
}
}
if(susp_cnt >= ths)
grids[row][col].attribute = GRID_SUSPEND_OBS;
}
}
}
}
void POSITIVE_DETECTOR::classify_unknown_grid(ALV_DATA *alv_data)
{
const int *angle_grid_num = alv_data->para_table.polar_table.angle_grid_num;
PIXEL **polar_table = alv_data->para_table.polar_table.table;
GRID **grids = alv_data->grid_map.grids;
int Rows = alv_data->para_table.grid_rows;
int Cols = alv_data->para_table.grid_cols;
const float lidar_height = alv_data->para_table.lidar32_expara.T[2];
// occulusion
for(int angle_cnt = 0; angle_cnt < POLAR_ANGLE_NUM; angle_cnt++){
int grid_shadowtop = 0;
for (int i = 5; i < angle_grid_num[angle_cnt]-1; i++){
int row = polar_table[angle_cnt][i].row;
int col = polar_table[angle_cnt][i].col;
if (grids[row][col].attribute == GRID_POS_OBS){
//calculate shadow top and update
int grid_height = grids[row][col].max_height;
int top;
if(lidar_height > grid_height)
top = (int)((lidar_height * i) / (lidar_height - grid_height));
else
top = angle_grid_num[angle_cnt];
if (top > grid_shadowtop)
grid_shadowtop = top;
}
else if(i <= grid_shadowtop)
grids[row][col].attribute = GRID_OCCULUSION;
}
}
// dangerous
for(int row = 0; row < Rows; row++)
{
for(int col = 0; col < Cols; col++)
{
if(grids[row][col].attribute != GRID_UNKNOWN)
{
int beam = alv_data->para_table.grid_2_polar_beam[row][col];
int angle = alv_data->para_table.grid_2_polar_angle[row][col];
alv_data->polar_grids[beam][angle].valid++;
}
}
}
int win_size = 1;
for(int beam = win_size; beam < POLAR_BEAM_NUM_2-win_size; beam++)
{
for(int angle = win_size; angle < POLAR_ANGLE_NUM_2-win_size; angle++)
{
int validCnt = 0;
for(int i = beam-win_size; i <= beam + win_size; i++)
{
for(int j = angle-win_size; j <= angle + win_size; j++)
{
if(alv_data->polar_grids[i][j].valid != 0)
validCnt++;
}
}
if(validCnt > 5)
alv_data->polar_grids[beam][angle].valid = 1;
}
}
filt_dangerous(alv_data);
}
void POSITIVE_DETECTOR::filt_dangerous(ALV_DATA *alv_data)
{
int Rows = alv_data->para_table.grid_rows;
int Cols = alv_data->para_table.grid_cols;
int area_ths = alv_data->para_table.dangerous_area_threshold;
Mat dangerous = Mat::zeros(Rows, Cols, CV_8U);
for(int row = 0; row < Rows; row++)
{
uint8_t* di = dangerous.ptr<uint8_t>(row);
for(int col = 0; col < Cols; col++)
{
if(row >= alv_data->para_table.grid_center_row - 600/ alv_data->para_table.grid_size &&
row <= alv_data->para_table.grid_center_row + 600/ alv_data->para_table.grid_size &&
col >= alv_data->para_table.grid_center_col - 600/ alv_data->para_table.grid_size &&
col <= alv_data->para_table.grid_center_col + 600/ alv_data->para_table.grid_size)
continue;
int beam = alv_data->para_table.grid_2_polar_beam[row][col];
int angle = alv_data->para_table.grid_2_polar_angle[row][col];
if(alv_data->polar_grids[beam][angle].valid == 0)
di[col] = 255;
}
}
// flip(dangerous, dangerous, 0);
// imshow("dangerous", dangerous);
// waitKey(1);
// find contours
vector<vector<Point> > contours;
findContours(dangerous, contours, CV_RETR_EXTERNAL, CV_CHAIN_APPROX_SIMPLE);
int n = contours.size();
//find big area
Mat img_tmp = Mat::zeros(Rows, Cols, CV_8U);
Scalar color( 255, 255, 255);
for (int i=0; i<n; ++i) {
vector<Point>& contour = contours[i];
int m = contour.size();
double area = contourArea(contour, false);
if(area > area_ths){
int mark = 0;
for(int j = 0; j < m; j++){
if((contour[j].x-75)*(contour[j].x-75) + (contour[j].y-75-12)*(contour[j].y-75-12) < 150*150)
mark = 1;
}
if(mark == 1)
drawContours( img_tmp, contours, i, color, CV_FILLED);
}
}
GRID_ATTRIBUTE **known = new GRID_ATTRIBUTE*[Rows];
for(int i=0; i<Rows; i++)
known[i] = new GRID_ATTRIBUTE[Cols];
for(int row = 0; row < Rows; row++){
for(int col = 0; col < Cols; col++){
known[row][col] = alv_data->grid_map.grids[row][col].attribute;
}
}
for(int row = 0; row < Rows; row ++){
uint8_t* di = img_tmp.ptr<uint8_t>(row);
for(int col = 0; col < Cols; col ++){
if(di[col] == 255)
alv_data->grid_map.grids[row][col].attribute = GRID_DANGEROUS;
}
}
// // 将被抹掉的非危险区域重新填入
// for(row = 0; row < row_max; row ++){
// for(col = 0; col < col_max; col ++){
// if(known[row][col] != 4)
// lidar_grids[row][col].grid_prop_feature.known = known[row][col];
// }
// }
// free memory
for(int i=0; i<Rows; i++)
delete[] known[i];
delete[] known;
}
void POSITIVE_DETECTOR::filt_grid(ALV_DATA *alv_data, int win_size, int ths)
{
GRID **grids = alv_data->grid_map.grids;
int Rows = alv_data->para_table.grid_rows;
int Cols = alv_data->para_table.grid_cols;
for(int row = win_size; row<Rows-win_size; row++)
{
for(int col = win_size; col<Cols-win_size; col++)
{
if(grids[row][col].attribute != GRID_POS_OBS)
continue;
int obs_cnt = 0;
for(int i=row-win_size; i<=row+win_size; i++)
{
for(int j=col-win_size; j<=col+win_size; j++)
{
if(grids[i][j].attribute == GRID_POS_OBS)
obs_cnt++;
}
}
if(obs_cnt <= ths)
grids[row][col].attribute = GRID_TRAVESABLE;
}
}
}
void POSITIVE_DETECTOR::detect_obstacle_grid(ALV_DATA *alv_data)
{
mark_car_area(alv_data);
cout<<HDL32_BEAM_NUM<<" "<<HDL32_BEAM_POINTSIZE<<endl;
update_grids(alv_data, (const alv_Point3f**)alv_data->lidar32_pointcloud, HDL32_BEAM_NUM, HDL32_BEAM_POINTSIZE);
update_grids(alv_data, (const alv_Point3f**)alv_data->lidar16_pointcloud_L, VLP16_BEAM_NUM, VLP16_BEAM_POINTSIZE);
update_grids(alv_data, (const alv_Point3f**)alv_data->lidar16_pointcloud_R, VLP16_BEAM_NUM, VLP16_BEAM_POINTSIZE);
update_grids(alv_data, (const alv_Point3f**)alv_data->lidar4_pointcloud, LIDAR4_BEAM_NUM, LIDAR4_BEAM_POINTSIZE);
GRID **grids = alv_data->grid_map.grids;
int Rows = alv_data->para_table.grid_rows;
int Cols = alv_data->para_table.grid_cols;
for(int row = 0; row < Rows; row++)
{
for(int col = 0; col < Cols; col++)
{
if( !grids[row][col].known || grids[row][col].attribute == GRID_CAR_AREA)
continue;
if(grids[row][col].dis_height >= alv_data->para_table.obs_threshold)
{
grids[row][col].attribute = GRID_POS_OBS;
if(row>=alv_data->para_table.grid_center_row
&& row <= alv_data->para_table.grid_center_row+35
&& col >= alv_data->para_table.grid_center_col-7
&& col <= alv_data->para_table.grid_center_col+7
&& grids[row][col].dis_height < alv_data->para_table.near_obstacle_threshold)
grids[row][col].attribute = GRID_TRAVESABLE;
}
else
grids[row][col].attribute = GRID_TRAVESABLE;
}
}
//#ifndef OFF_LINE
process_lidar1_data(alv_data);
//#endif
// single point filter
filt_grid(alv_data, 1, 1);
// std::cout<<grids[1][1].points[5].x<<std::endl;
}
void POSITIVE_DETECTOR::detect_water_surface(ALV_DATA *alv_data)
{
GRID **grids = alv_data->grid_map.grids;
int Rows = alv_data->para_table.grid_rows;
int Cols = alv_data->para_table.grid_cols;
for(int row = 0; row<Rows; row++)
{
for(int col = 0; col<Cols; col++)
{
if(row>=alv_data->para_table.grid_center_row + 10
&& row <= alv_data->para_table.grid_center_row+35
&& col >= alv_data->para_table.grid_center_col-7
&& col <= alv_data->para_table.grid_center_col+7
&& grids[row][col].attribute == GRID_TRAVESABLE)
{
if(grids[row][col].weak_intensity_cnt >= WATER_GRID_THRESHOLD)
grids[row][col].attribute = GRID_WATER;
}
}
}
int win_size = 2;
for(int row = alv_data->para_table.grid_center_row + 10; row <= alv_data->para_table.grid_center_row+35; row++)
{
for(int col = alv_data->para_table.grid_center_col-7; col <= alv_data->para_table.grid_center_col+7; col++)
{
int neighbor = 0;
if(grids[row][col].attribute != GRID_WATER)
continue;
for(int i=row-win_size; i<=row+win_size; i++)
{
for(int j = col-win_size; j <= col+win_size; j++)
{
if(grids[i][j].attribute == GRID_WATER)
neighbor++;
}
}
if(neighbor < 3)
grids[row][col].attribute = GRID_TRAVESABLE;
}
}
}
/* 正障碍检测 */
void POSITIVE_DETECTOR::detect(ALV_DATA *alv_data)
{
detect_obstacle_grid(alv_data); // 标记出障碍物栅格、车体范围
detect_water_surface(alv_data);
remove_suspended_obs(alv_data); // 标记悬空障碍物
classify_unknown_grid(alv_data);// 标记阴影区、危险区域
}
| [
"[email protected]"
] | |
c41a110c1585edf2048eeaeffc01db28b3f8f5ba | 522abb59a0355f78bbdc6eb0b00149c0d0f9e511 | /MyProjects/NICE1/nice13/StdAfx.cpp | e4d91df3420f81630ce6d98d6c9e96599aaf7a6c | [] | no_license | 97classmate/aihao | eed89ad2aea28a89fc0b0a19b586698f9e9d915e | a32b83fd5093ab59bf1883da4e90ab4e3b637fc4 | refs/heads/master | 2021-01-21T01:26:54.561425 | 2017-08-30T12:55:00 | 2017-08-30T12:55:00 | 101,874,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | cpp | // stdafx.cpp : source file that includes just the standard includes
// nice13.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"[email protected]"
] | |
76da722a9e8ab03705bc3af5849b91c4663a1350 | c01bd0a9f24f7850cd6afba1c454d330e978aa38 | /Core/ieditor.h | b6e380f98c873c6505b22445b8a12e708aa36773 | [] | no_license | ABBAPOH/qmpq | c4f5eb14a0088c0830b2152787718c6c124dfce9 | c67a05499dc085167ab9ba8a9e143a89730a5b51 | HEAD | 2016-09-15T23:11:32.143164 | 2010-08-02T19:16:01 | 2010-08-02T19:16:01 | 34,389,570 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | h | #ifndef IEDITOR_H
#define IEDITOR_H
#include <QtCore/QObject>
#include <QtCore/QString>
#include "core.h"
//#include "ieditorfactory.h"
class QToolBar;
class QWidget;
class IEditor : public QObject
{
Q_OBJECT
public:
IEditor() {}
virtual ~IEditor() {}
virtual bool canHandle(const QString & /*filePath*/) { return false; }
virtual bool canSave() { return false; }
virtual void close() {}
virtual QString currentFile() = 0;
virtual bool isModified() { return false; }
virtual bool open(const QString & /*filePath*/) = 0;
virtual void save(const QString & /*filePath*/) {}
virtual QToolBar * toolBar () = 0;
virtual QWidget * widget() = 0;
signals:
void changed();
};
//QT_BEGIN_NAMESPACE
//Q_DECLARE_INTERFACE(IEditor, "IEditor/1.0")
//QT_END_NAMESPACE
#endif // IEDITOR_H
| [
"[email protected]"
] | |
8e400aac17fb8326a5cf5982d771eee25a01dda8 | 7b7c1d9dbb9d2da7be522ea3b858066d7c527845 | /LOJ/6226. 「网络流 24 题」骑士共存问题.cpp | 27ccd74ab5dd328ea9afac91e3904c77f34e5ac7 | [] | no_license | cyyself/OILife | 97893cf7e1d3de61517b0ddd5e6a064700886667 | 9190e45c6a660bf2e1db6d08d84ddf26eccd85dc | refs/heads/master | 2021-06-03T10:02:33.627522 | 2021-04-17T09:27:49 | 2021-04-17T09:27:49 | 101,148,852 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,145 | cpp | #include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
struct Edge{
int f,v,next;
}e[800005];
int ecnt = 0;
int head[40005];
void _AddEdge(int u,int v,int c) {
e[ecnt].v = v;
e[ecnt].f = c;
e[ecnt].next = head[u];
head[u] = ecnt;
ecnt ++;
}
void AddEdge(int u,int v,int c) {
_AddEdge(u,v,c);
_AddEdge(v,u,0);
}
int dis[40005];
bool bfs(int s,int t) {
memset(dis,0x3f,sizeof(dis));
dis[s] = 1;
queue <int> q;
q.push(s);
while(!q.empty()) {
int u = q.front();
q.pop();
if (u == t) return 1;
for (int i=head[u];i!=-1;i = e[i].next) {
int v = e[i].v;
if (e[i].f != 0 && dis[v] == INF) {
dis[v] = dis[u] + 1;
q.push(v);
}
}
}
return dis[t] != INF;
}
int dfs(int u,int t,int curflow) {
if (curflow == 0 || u == t) return curflow;
if (dis[u] >= dis[t]) return 0;
int ret = 0;
for (int i=head[u];i!=-1 && ret < curflow;i=e[i].next) {
int v = e[i].v;
int f = e[i].f;
if (dis[v] == dis[u] + 1 && f != 0) {
int pushflow = min(curflow-ret,f);
int chflow = dfs(v,t,pushflow);
if (chflow > 0) {
e[ i ].f -= chflow;
e[i^1].f += chflow;
ret += chflow;
}
else dis[v] = -1;
}
}
if (ret == 0) dis[u] = -1;
return ret;
}
int dinic(int s,int t) {
int ans = 0;
while(bfs(s,t)) ans += dfs(s,t,INF);
return ans;
}
const int dx[8] = {-2,-2,-1,-1,1,1,2,2};
const int dy[8] = {1,-1,2,-2,2,-2,1,-1};
bool ban[200][200];
int n,m;
inline int get_id(int x,int y) {
return x * n + y + 1;
}
int main() {
memset(head,-1,sizeof(head));
scanf("%d%d",&n,&m);
int ans = n * n;
for (int i=0;i<m;i++) {
int x,y;
scanf("%d%d",&x,&y);
if (!ban[x-1][y-1]) ans --;
ban[x-1][y-1] = true;
}
for (int x=0;x<n;x++) for (int y=0;y<n;y++) if (((x + y) & 1) && !ban[x][y]) {
AddEdge(0,get_id(x,y),1);
for (int k=0;k<8;k++) {
int nx = x + dx[k];
int ny = y + dy[k];
if (nx < 0 || ny < 0 || nx >= n || ny >= n) continue;
if (ban[nx][ny]) continue;
AddEdge(get_id(x,y),get_id(nx,ny),1);
}
}
for (int x=0;x<n;x++) for (int y=0;y<n;y++) if (!((x + y) & 1) && !ban[x][y]) {
AddEdge(get_id(x,y),n*n+1,1);
}
ans -= dinic(0,n*n+1);
printf("%d\n",ans);
}
| [
"[email protected]"
] | |
33e39e7fae7512fe06ae2640eb97796423d45c0d | 97a3171176b5043149429e0fea99815b436f3a8c | /globin.h | 4c52968168e8e3d44c7f3797be38da29eecfe59d | [] | no_license | RyanDJSee/CC3k | ffadf96b4ca3be488faecd2bb5e6976234875c26 | 6b97ff8f98f96cd4058e1c7ca44c6e2f199b12be | refs/heads/master | 2021-03-30T17:44:30.542278 | 2017-04-03T05:05:02 | 2017-04-03T05:05:02 | 86,274,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | h | #ifndef _GLOBIN_H_
#define _GLOBIN_H_
#include "pc.h"
class Subject;
class Globin: public PC {
public:
Globin(int r, int c);
void notify(Subject& whoNotified) override;
void attackedBy(Orc& orc) override;
~Globin();
};
#endif
| [
"[email protected]"
] | |
0121c2fb90fb7866431b3fca04aa9d22dd12c9ac | 77632de89fa907c9e80630959f7635690c1c4496 | /Restaurant Sim/Final Project/Final Project/FileLog.cpp | 74f869acd0db2fd0c746962ba5474eec4c04dcb1 | [] | no_license | A-Pos-DJ/Restaurant-Simulator | c3cfbfe158a4df52ccc72afc06f4c7d9692a6dc1 | 462867ed0096565ba4ab82f073ec817dc205a284 | refs/heads/master | 2020-04-19T22:03:36.106185 | 2019-01-31T04:18:24 | 2019-01-31T04:18:24 | 168,429,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,984 | cpp | #include "FileLog.h"
//constructor
FileLog::FileLog()
{
}
//desconstructor
FileLog::~FileLog()
{
}
//singleton Instance
FileLog* FileLog::getInstance()
{
if (_instance == NULL)
_instance = new FileLog;
return _instance;
}
//other functions
vector<string> FileLog::loadFirstNames() //loads all of the first names into a vector and returns it
{
int numItems = 0; //create int for reading number of items
string name = ""; //create a string to hold names
vector <string> firstNames; //create a vector of strings to hold the names
ifstream firstNamesFile; //input file object for getting first names
firstNamesFile.open("First.txt", ios::out); //open the file for output
firstNamesFile >> numItems; //set the first item in the file to the number of items in the file
for (int idx = 0; idx < numItems; idx++) //loop based on the number of items in the file
{
firstNamesFile >> name; //set the string to the current name
firstNames.push_back(name); //add the string to the vector
}
firstNamesFile.close(); //close the file
return firstNames; //return the reference to first names
}
vector<string> FileLog::loadLastNames() //loads all of the last names into a vector and returns it
{
int numItems = 0; //create int for reading number of items
string name = ""; //create a string to hold names
vector <string> lastNames; //create a vector of strings to hold the names
ifstream lastNamesFile; //input file object for getting last names
lastNamesFile.open("Last.txt", ios::out); //open the file for output
lastNamesFile >> numItems; //set the first item in the file to the number of items in the file
for (int idx = 0; idx < numItems; idx++) //loop based on the number of items in the file
{
lastNamesFile >> name; //set the string to the current name
lastNames.push_back(name); //add the string to the vector
}
lastNamesFile.close(); //close the file
return lastNames; //return the reference to first names
}
vector <DrinkMenuItem> FileLog::loadDrinkMenu(int style) //loads all of the drinks into the drink menu based on which style of restaurant is chosen and returns it
{
int numItems = 0; //create int for reading number of items
string n = ""; //create a string for storing name
double dp = 0.00, //create a double for storing price
dc = 0.00; //create a double for storing cost
int p = 0, //create an int for storing prep time
boolval = 0; //create a value to convert to a bool
bool c = false; //create a bool for storing a chef bool
vector <DrinkMenuItem> drinkMenu; //a vector of drink menu items
ifstream drinkItemsFile; //input file object for getting drink items
drinkItemsFile.open("Drink.txt", ios::out); //open the file for output
drinkItemsFile >> numItems; //set the first item in the file to the number of items in the file
for (int idxS = 0; idxS < style; idxS++) //loop based on the type of restaurant in the file
{
for (int idxD = 0; idxD < numItems; idxD++) //loop based on the number of items in the file
{
DrinkMenuItem drink; //create a drinkmenu item to hold drink values
getline(drinkItemsFile, n); //call getline function to get current drink name
if (n == "") //if it got a \n instead...
getline(drinkItemsFile, n); //call getline function again to get current drink name
drinkItemsFile >> dp; //set the double to the current drink price
drinkItemsFile >> dc; //set the double to the current drink item cost
drinkItemsFile >> p; //set the int to the current prep time
drinkItemsFile >> boolval; //set the bool placeholder to the current chef bool
c = boolval; //set the bool to the placeholder
drink.setName(n); //set the drink item values
drink.setPrice(dp);
drink.setExpense(dc);
drink.setPrepTime(p);
drink.setNeedChef(c);
if (style == (idxS + 1)) //if the current loop matches our style
drinkMenu.push_back(drink); //add the drink to the vector
}
}
drinkItemsFile.close(); //close the file
return drinkMenu; //return the created drink menu
}
vector <FoodMenuItem> FileLog::loadFoodMenu(int style) //loads all of the food into the food menu based on which style of restauarnt is chosen and returns it
{
int numItems = 0; //create int for reading number of items
string n = ""; //create a string for storing name
double dp = 0.00, //create a double for storing price
dc = 0.00; //create a double for storing cost
int p = 0, //create an int for storing prep time
ct = 0, //create an int for storing cook time
boolval = 0; //create a value to convert to a bool
bool c = false; //create a bool for storing a chef bool
vector <FoodMenuItem> foodMenu; //a vector of food menu items
ifstream foodItemsFile; //input file object for getting food items
foodItemsFile.open("Food.txt", ios::out); //open the file for output
foodItemsFile >> numItems; //set the first item in the file to the number of items in the file
for (int idxS = 0; idxS < style; idxS++) //loop based on the type of restaurant in the file
{
for (int idxD = 0; idxD < numItems; idxD++) //loop based on the number of items in the file
{
FoodMenuItem food; //create a foodmenu item to hold food values
getline(foodItemsFile, n); //call getline function to get current food name
if(n == "") //if it got a \n instead...
getline(foodItemsFile, n); //call getline function again to get current food name
foodItemsFile >> dp; //set the double to the current food price
foodItemsFile >> dc; //set the double to the current food item cost
foodItemsFile >> p; //set the int to the current prep time
foodItemsFile >> ct; //set the int to the current cook time
foodItemsFile >> boolval; //set the bool placeholder to the current chef bool
c = boolval; //set the bool to the placeholder
food.setName(n); //set the food item values
food.setPrice(dp);
food.setExpense(dc);
food.setPrepTime(p);
food.setCookTime(ct);
food.setNeedChef(c);
if (style == (idxS + 1)) //if the current loop matches our style
foodMenu.push_back(food); //add the food item to the vector
}
}
foodItemsFile.close(); //close the file
return foodMenu; //return the created drink menu
}
//log actions
vector <string>* FileLog::getLog() //gets the log
{
return &log; //returns reference to the log
}
void FileLog::addLog(string message) //adds a message to the log of strings
{
FileLog::getInstance()->getLog()->push_back(message); //adds a message into the log of strings
}
void FileLog::saveLog() //saves all messages in the log to Log.txt and clears the log for more text
{
dataLogFile.open("Log.txt", ios::in| ios::app); //open the file in append mode for input
for (int idx = 0; idx < static_cast<int>(FileLog::getInstance()->getLog()->size()); idx++) //loop through the log
{
dataLogFile << FileLog::getInstance()->getLog()->at(idx); //add the indexxed string to the datalog
}
FileLog::getInstance()->getLog()->clear(); //clear out the log for more inputs
dataLogFile.close(); //close the file so that it gets saved no matter what
} | [
"[email protected]"
] | |
7bfe1e7c3eddeee0b972d0458e762a998f7e0c34 | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/components/exo/surface_unittest.cc | 935596ff3a64433203fb9ff15f8c00716d3e2cd8 | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,248 | cc | // 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.
#include "base/bind.h"
#include "components/exo/buffer.h"
#include "components/exo/surface.h"
#include "components/exo/test/exo_test_base.h"
#include "components/exo/test/exo_test_helper.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/gpu_memory_buffer.h"
namespace exo {
namespace {
using SurfaceTest = test::ExoTestBase;
void ReleaseBuffer(int* release_buffer_call_count) {
(*release_buffer_call_count)++;
}
TEST_F(SurfaceTest, Attach) {
gfx::Size buffer_size(256, 256);
scoped_ptr<Buffer> buffer(
new Buffer(exo_test_helper()->CreateGpuMemoryBuffer(buffer_size)));
// Set the release callback that will be run when buffer is no longer in use.
int release_buffer_call_count = 0;
buffer->set_release_callback(
base::Bind(&ReleaseBuffer, base::Unretained(&release_buffer_call_count)));
scoped_ptr<Surface> surface(new Surface);
// Attach the buffer to surface1.
surface->Attach(buffer.get());
surface->Commit();
// Commit without calling Attach() should have no effect.
surface->Commit();
EXPECT_EQ(0, release_buffer_call_count);
// Attach a null buffer to surface, this should release the previously
// attached buffer.
surface->Attach(nullptr);
surface->Commit();
ASSERT_EQ(1, release_buffer_call_count);
}
TEST_F(SurfaceTest, Damage) {
gfx::Size buffer_size(256, 256);
scoped_ptr<Buffer> buffer(
new Buffer(exo_test_helper()->CreateGpuMemoryBuffer(buffer_size)));
scoped_ptr<Surface> surface(new Surface);
// Attach the buffer to the surface. This will update the pending bounds of
// the surface to the buffer size.
surface->Attach(buffer.get());
// Mark areas inside the bounds of the surface as damaged. This should result
// in pending damage.
surface->Damage(gfx::Rect(0, 0, 10, 10));
surface->Damage(gfx::Rect(10, 10, 10, 10));
EXPECT_TRUE(surface->HasPendingDamageForTesting(gfx::Rect(0, 0, 10, 10)));
EXPECT_TRUE(surface->HasPendingDamageForTesting(gfx::Rect(10, 10, 10, 10)));
EXPECT_FALSE(surface->HasPendingDamageForTesting(gfx::Rect(5, 5, 10, 10)));
}
void SetFrameTime(base::TimeTicks* result, base::TimeTicks frame_time) {
*result = frame_time;
}
TEST_F(SurfaceTest, RequestFrameCallback) {
scoped_ptr<Surface> surface(new Surface);
base::TimeTicks frame_time;
surface->RequestFrameCallback(
base::Bind(&SetFrameTime, base::Unretained(&frame_time)));
surface->Commit();
// Callback should not run synchronously.
EXPECT_TRUE(frame_time.is_null());
}
TEST_F(SurfaceTest, SetOpaqueRegion) {
scoped_ptr<Surface> surface(new Surface);
// Setting a non-empty opaque region should succeed.
surface->SetOpaqueRegion(SkRegion(SkIRect::MakeWH(256, 256)));
// Setting an empty opaque region should succeed.
surface->SetOpaqueRegion(SkRegion(SkIRect::MakeEmpty()));
}
TEST_F(SurfaceTest, SetInputRegion) {
scoped_ptr<Surface> surface(new Surface);
// Setting a non-empty input region should succeed.
surface->SetInputRegion(SkRegion(SkIRect::MakeWH(256, 256)));
// Setting an empty input region should succeed.
surface->SetInputRegion(SkRegion(SkIRect::MakeEmpty()));
}
TEST_F(SurfaceTest, SetBufferScale) {
gfx::Size buffer_size(512, 512);
scoped_ptr<Buffer> buffer(
new Buffer(exo_test_helper()->CreateGpuMemoryBuffer(buffer_size)));
scoped_ptr<Surface> surface(new Surface);
// This will update the bounds of the surface and take the buffer scale into
// account.
const float kBufferScale = 2.0f;
surface->Attach(buffer.get());
surface->SetBufferScale(kBufferScale);
surface->Commit();
EXPECT_EQ(
gfx::ScaleToFlooredSize(buffer_size, 1.0f / kBufferScale).ToString(),
surface->bounds().size().ToString());
}
TEST_F(SurfaceTest, SetViewport) {
gfx::Size buffer_size(1, 1);
scoped_ptr<Buffer> buffer(
new Buffer(exo_test_helper()->CreateGpuMemoryBuffer(buffer_size)));
scoped_ptr<Surface> surface(new Surface);
// This will update the bounds of the surface and take the viewport into
// account.
surface->Attach(buffer.get());
gfx::Size viewport(256, 256);
surface->SetViewport(viewport);
surface->Commit();
EXPECT_EQ(viewport.ToString(), surface->bounds().size().ToString());
}
TEST_F(SurfaceTest, SetOnlyVisibleOnSecureOutput) {
gfx::Size buffer_size(1, 1);
scoped_ptr<Buffer> buffer(
new Buffer(exo_test_helper()->CreateGpuMemoryBuffer(buffer_size)));
scoped_ptr<Surface> surface(new Surface);
surface->Attach(buffer.get());
surface->SetOnlyVisibleOnSecureOutput(true);
surface->Commit();
cc::TextureMailbox mailbox;
scoped_ptr<cc::SingleReleaseCallback> release_callback;
bool rv = surface->layer()->PrepareTextureMailbox(&mailbox, &release_callback,
false);
ASSERT_TRUE(rv);
EXPECT_TRUE(mailbox.secure_output_only());
release_callback->Run(gpu::SyncToken(), false);
}
TEST_F(SurfaceTest, Commit) {
scoped_ptr<Surface> surface(new Surface);
// Calling commit without a buffer should succeed.
surface->Commit();
}
} // namespace
} // namespace exo
| [
"[email protected]"
] | |
723a8af2c58ef461a81f3825d08fcce7bdb4dbf1 | 3434e03820417c4591dff8640c2532dfa88afd9d | /include/WordBank.hpp | 780feb71d9cafe0dc50335872ab76bc0d1d6b17e | [
"MIT"
] | permissive | Ro6afF/hangman | 89adc1a6d29bc831bd94fabb13827894a6a353a5 | b209b5093d9588a9f7b293adbf80abd15a715477 | refs/heads/main | 2023-05-28T13:48:03.225955 | 2021-06-11T09:58:29 | 2021-06-11T09:58:29 | 374,556,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 264 | hpp | #ifndef __WORD_BANK_HPP
#define __WORD_BANK_HPP
#include <string>
class WordBank {
private:
static int wordCount(std::ifstream &db);
public:
static void addWord(const char *word);
static std::string getRandomWord();
};
#endif // __WORD_BANK_HPP | [
"[email protected]"
] | |
de57319c913f885ae8fbb66145d66d7e7ffacfa9 | aab4b7f31a0ac03b6ec8b9745f0119582e01fec0 | /jogodavelha.cpp | f902e5416efbc18fac6c23fe7c9c3db0afd2484d | [] | no_license | anders0n05/Jogo-da-velha | 22ffb3ed15642a71253b813c222ba4e5b90e9daf | c096f752dfb97b060cac2b687fa663d586989f4e | refs/heads/master | 2021-01-20T22:46:02.784772 | 2018-04-02T16:24:11 | 2018-04-02T16:24:11 | 101,825,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 144 | cpp | // jogodavelha.cpp: Define o ponto de entrada para a aplicação de console.
//
#include "stdafx.h"
int main()
{
return 0;
}
| [
"[email protected]"
] | |
8c9df68211283e2227bba8fed6fbd7d1c1e0d5e5 | eb86a1aba27855c46cf5286ecf183f156ad78372 | /trunk/avr/arduino/libraries/Motor298/Motor298.h | 7ceb12966f6c399099f08ac4e35b5ad45d84b2d4 | [] | no_license | BGCX067/fabtronics-svn-to-git | 1ecd2081fc2ad1003b44fe993840a1ffb4894267 | 138eab83d3a39c9d6c7cff2151dbb0549f7528c4 | refs/heads/master | 2016-09-01T08:53:38.518785 | 2015-12-28T14:24:59 | 2015-12-28T14:24:59 | 48,871,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | h | // Motor.h - Library for powering robot motors.
// Created by Maen Artimy, September 30, 2012.
// Copyright (c) 2012 Maen Artimy
#ifndef Motor298_h
#define Motor298_h
#include "Arduino.h"
class Motor298{
public:
static const int Motor_LR = 0;
static const int Motor_R = 1;
static const int Motor_L = 2;
Motor298();
void onFwd(int, int);
void onRev(int, int);
void off(int);
void stop(int);
void fwdRight(int);
void fwdLeft(int);
void revRight(int);
void revLeft(int);
void turnRight(int);
void turnLeft(int);
private:
//Right Motor (A)
static const int fwdPinA = 4;
static const int bkdPinA = 7;
static const int enbPinA = 6;
//Left Motor (B)
static const int fwdPinB = 2;
static const int bkdPinB = 3;
static const int enbPinB = 5;
};
#endif | [
"[email protected]"
] | |
aa6a99101126dec0648116aa9baf0b1049b544e9 | cc225c6a9f0f63d0a18213710b36bdda79480e29 | /2_8.cpp | 2b3eb80239e013c17a09c8b03c73b3fb1e52d707 | [] | no_license | nikox94/FMI_UP_1 | 60854e60fe49cb9e5272baa72d0737398dafff61 | 1ff4d1ad2cfe48b3b7e78b06af4da0442f2d54cc | refs/heads/master | 2020-11-26T09:43:14.677848 | 2014-12-18T17:03:02 | 2014-12-18T17:03:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | cpp | #include <iostream>
using namespace std;
int main(){
cout<<"Vuvedete broi i simvol za da se izobrazi triugulnik."<<endl;
int n; char sym; cin>>n>>sym;
//Purvi red
for(int i=1;i<2*n;++i){
if(i%2==0)
cout<<" ";
else
cout<<sym;
}
cout<<endl;
for(int i=1;i<n;++i){
for(int j=1; j<2*n;++j){
if(j==i+1 || j==2*n-i-1)
cout<<sym;
else
cout<<" ";
}
cout<<endl;
}
return 0;
}
| [
"[email protected]"
] | |
7b7d9e047c4ba7fdb6899588308c1bd423132b74 | 4be0c66d6ea72bc8d38a9640932589e1ce989e58 | /MFC/GDI/CGDIMainWindow.h | 5161fca57ac433c30c2e3bf08f8680e960a97241 | [] | no_license | rockchar/MFC | 3a94b9ff36d669c485ec67bd00444772544eeeb2 | 1f4b26854a316f041c9435164b84a388aa40e71a | refs/heads/master | 2020-05-24T07:32:32.236454 | 2019-05-18T22:13:37 | 2019-05-18T22:13:37 | 187,162,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | h | #pragma once
#include <afxwin.h>
class CGDIMainWindow : public CFrameWnd
{
public:
CGDIMainWindow();
~CGDIMainWindow();
protected:
DECLARE_MESSAGE_MAP()
afx_msg void OnPaint();
};
| [
"[email protected]"
] | |
1c0950665a4be95b95d09abd9967dc28b737fa8f | 548d772fe1b745b4b47143312201ddebfbd8bc88 | /external/scintilla/src/ScintillaBase.cxx | dc154ec6d5660c19c1f65abdc6c5ac484449d63d | [
"LicenseRef-scancode-scintilla"
] | permissive | t4th/win32-gui-wrapper | f88c8badd19652a95aeeea3490a576ad4f0e6fa3 | 3cf54dbc9e9c0607686edd261f2de12aefd3b0c5 | refs/heads/master | 2022-12-26T17:34:21.256812 | 2022-12-17T16:27:08 | 2022-12-17T16:27:08 | 152,134,371 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 26,209 | cxx | // Scintilla source code edit control
/** @file ScintillaBase.cxx
** An enhanced subclass of Editor with calltips, autocomplete and context menu.
**/
// Copyright 1998-2003 by Neil Hodgson <[email protected]>
// The License.txt file describes the conditions under which this software may be distributed.
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include <assert.h>
#include <string>
#include <vector>
#include <map>
#include <algorithm>
#include "Platform.h"
#include "ILexer.h"
#include "Scintilla.h"
#include "PropSetSimple.h"
#ifdef SCI_LEXER
#include "SciLexer.h"
#include "LexerModule.h"
#include "Catalogue.h"
#endif
#include "SplitVector.h"
#include "Partitioning.h"
#include "RunStyles.h"
#include "ContractionState.h"
#include "CellBuffer.h"
#include "CallTip.h"
#include "KeyMap.h"
#include "Indicator.h"
#include "XPM.h"
#include "LineMarker.h"
#include "Style.h"
#include "ViewStyle.h"
#include "AutoComplete.h"
#include "CharClassify.h"
#include "Decoration.h"
#include "CaseFolder.h"
#include "Document.h"
#include "Selection.h"
#include "PositionCache.h"
#include "Editor.h"
#include "ScintillaBase.h"
#ifdef SCI_NAMESPACE
using namespace Scintilla;
#endif
ScintillaBase::ScintillaBase() {
displayPopupMenu = true;
listType = 0;
maxListWidth = 0;
}
ScintillaBase::~ScintillaBase() {
}
void ScintillaBase::Finalise() {
Editor::Finalise();
popup.Destroy();
}
void ScintillaBase::AddCharUTF(char *s, unsigned int len, bool treatAsDBCS) {
bool isFillUp = ac.Active() && ac.IsFillUpChar(*s);
if (!isFillUp) {
Editor::AddCharUTF(s, len, treatAsDBCS);
}
if (ac.Active()) {
AutoCompleteCharacterAdded(s[0]);
// For fill ups add the character after the autocompletion has
// triggered so containers see the key so can display a calltip.
if (isFillUp) {
Editor::AddCharUTF(s, len, treatAsDBCS);
}
}
}
void ScintillaBase::Command(int cmdId) {
switch (cmdId) {
case idAutoComplete: // Nothing to do
break;
case idCallTip: // Nothing to do
break;
case idcmdUndo:
WndProc(SCI_UNDO, 0, 0);
break;
case idcmdRedo:
WndProc(SCI_REDO, 0, 0);
break;
case idcmdCut:
WndProc(SCI_CUT, 0, 0);
break;
case idcmdCopy:
WndProc(SCI_COPY, 0, 0);
break;
case idcmdPaste:
WndProc(SCI_PASTE, 0, 0);
break;
case idcmdDelete:
WndProc(SCI_CLEAR, 0, 0);
break;
case idcmdSelectAll:
WndProc(SCI_SELECTALL, 0, 0);
break;
}
}
int ScintillaBase::KeyCommand(unsigned int iMessage) {
// Most key commands cancel autocompletion mode
if (ac.Active()) {
switch (iMessage) {
// Except for these
case SCI_LINEDOWN:
AutoCompleteMove(1);
return 0;
case SCI_LINEUP:
AutoCompleteMove(-1);
return 0;
case SCI_PAGEDOWN:
AutoCompleteMove(ac.lb->GetVisibleRows());
return 0;
case SCI_PAGEUP:
AutoCompleteMove(-ac.lb->GetVisibleRows());
return 0;
case SCI_VCHOME:
AutoCompleteMove(-5000);
return 0;
case SCI_LINEEND:
AutoCompleteMove(5000);
return 0;
case SCI_DELETEBACK:
DelCharBack(true);
AutoCompleteCharacterDeleted();
EnsureCaretVisible();
return 0;
case SCI_DELETEBACKNOTLINE:
DelCharBack(false);
AutoCompleteCharacterDeleted();
EnsureCaretVisible();
return 0;
case SCI_TAB:
AutoCompleteCompleted();
return 0;
case SCI_NEWLINE:
AutoCompleteCompleted();
return 0;
default:
AutoCompleteCancel();
}
}
if (ct.inCallTipMode) {
if (
(iMessage != SCI_CHARLEFT) &&
(iMessage != SCI_CHARLEFTEXTEND) &&
(iMessage != SCI_CHARRIGHT) &&
(iMessage != SCI_CHARRIGHTEXTEND) &&
(iMessage != SCI_EDITTOGGLEOVERTYPE) &&
(iMessage != SCI_DELETEBACK) &&
(iMessage != SCI_DELETEBACKNOTLINE)
) {
ct.CallTipCancel();
}
if ((iMessage == SCI_DELETEBACK) || (iMessage == SCI_DELETEBACKNOTLINE)) {
if (sel.MainCaret() <= ct.posStartCallTip) {
ct.CallTipCancel();
}
}
}
return Editor::KeyCommand(iMessage);
}
void ScintillaBase::AutoCompleteDoubleClick(void *p) {
ScintillaBase *sci = reinterpret_cast<ScintillaBase *>(p);
sci->AutoCompleteCompleted();
}
void ScintillaBase::AutoCompleteInsert(Position startPos, int removeLen, const char *text, int textLen) {
UndoGroup ug(pdoc);
pdoc->DeleteChars(startPos, removeLen);
pdoc->InsertString(startPos, text, textLen);
SetEmptySelection(startPos + textLen);
}
void ScintillaBase::AutoCompleteStart(int lenEntered, const char *list) {
//Platform::DebugPrintf("AutoComplete %s\n", list);
ct.CallTipCancel();
if (ac.chooseSingle && (listType == 0)) {
if (list && !strchr(list, ac.GetSeparator())) {
const char *typeSep = strchr(list, ac.GetTypesep());
int lenInsert = typeSep ?
static_cast<int>(typeSep-list) : static_cast<int>(strlen(list));
if (ac.ignoreCase) {
// May need to convert the case before invocation, so remove lenEntered characters
AutoCompleteInsert(sel.MainCaret() - lenEntered, lenEntered, list, lenInsert);
} else {
AutoCompleteInsert(sel.MainCaret(), 0, list + lenEntered, lenInsert - lenEntered);
}
ac.Cancel();
return;
}
}
ac.Start(wMain, idAutoComplete, sel.MainCaret(), PointMainCaret(),
lenEntered, vs.lineHeight, IsUnicodeMode(), technology);
PRectangle rcClient = GetClientRectangle();
Point pt = LocationFromPosition(sel.MainCaret() - lenEntered);
PRectangle rcPopupBounds = wMain.GetMonitorRect(pt);
if (rcPopupBounds.Height() == 0)
rcPopupBounds = rcClient;
int heightLB = ac.heightLBDefault;
int widthLB = ac.widthLBDefault;
if (pt.x >= rcClient.right - widthLB) {
HorizontalScrollTo(xOffset + pt.x - rcClient.right + widthLB);
Redraw();
pt = PointMainCaret();
}
if (wMargin.GetID()) {
Point ptOrigin = GetVisibleOriginInMain();
pt.x += ptOrigin.x;
pt.y += ptOrigin.y;
}
PRectangle rcac;
rcac.left = pt.x - ac.lb->CaretFromEdge();
if (pt.y >= rcPopupBounds.bottom - heightLB && // Wont fit below.
pt.y >= (rcPopupBounds.bottom + rcPopupBounds.top) / 2) { // and there is more room above.
rcac.top = pt.y - heightLB;
if (rcac.top < rcPopupBounds.top) {
heightLB -= (rcPopupBounds.top - rcac.top);
rcac.top = rcPopupBounds.top;
}
} else {
rcac.top = pt.y + vs.lineHeight;
}
rcac.right = rcac.left + widthLB;
rcac.bottom = Platform::Minimum(rcac.top + heightLB, rcPopupBounds.bottom);
ac.lb->SetPositionRelative(rcac, wMain);
ac.lb->SetFont(vs.styles[STYLE_DEFAULT].font);
unsigned int aveCharWidth = vs.styles[STYLE_DEFAULT].aveCharWidth;
ac.lb->SetAverageCharWidth(aveCharWidth);
ac.lb->SetDoubleClickAction(AutoCompleteDoubleClick, this);
ac.SetList(list ? list : "");
// Fiddle the position of the list so it is right next to the target and wide enough for all its strings
PRectangle rcList = ac.lb->GetDesiredRect();
int heightAlloced = rcList.bottom - rcList.top;
widthLB = Platform::Maximum(widthLB, rcList.right - rcList.left);
if (maxListWidth != 0)
widthLB = Platform::Minimum(widthLB, aveCharWidth*maxListWidth);
// Make an allowance for large strings in list
rcList.left = pt.x - ac.lb->CaretFromEdge();
rcList.right = rcList.left + widthLB;
if (((pt.y + vs.lineHeight) >= (rcPopupBounds.bottom - heightAlloced)) && // Wont fit below.
((pt.y + vs.lineHeight / 2) >= (rcPopupBounds.bottom + rcPopupBounds.top) / 2)) { // and there is more room above.
rcList.top = pt.y - heightAlloced;
} else {
rcList.top = pt.y + vs.lineHeight;
}
rcList.bottom = rcList.top + heightAlloced;
ac.lb->SetPositionRelative(rcList, wMain);
ac.Show(true);
if (lenEntered != 0) {
AutoCompleteMoveToCurrentWord();
}
}
void ScintillaBase::AutoCompleteCancel() {
if (ac.Active()) {
SCNotification scn = {};
scn.nmhdr.code = SCN_AUTOCCANCELLED;
scn.wParam = 0;
scn.listType = 0;
NotifyParent(scn);
}
ac.Cancel();
}
void ScintillaBase::AutoCompleteMove(int delta) {
ac.Move(delta);
}
void ScintillaBase::AutoCompleteMoveToCurrentWord() {
std::string wordCurrent = RangeText(ac.posStart - ac.startLen, sel.MainCaret());
ac.Select(wordCurrent.c_str());
}
void ScintillaBase::AutoCompleteCharacterAdded(char ch) {
if (ac.IsFillUpChar(ch)) {
AutoCompleteCompleted();
} else if (ac.IsStopChar(ch)) {
AutoCompleteCancel();
} else {
AutoCompleteMoveToCurrentWord();
}
}
void ScintillaBase::AutoCompleteCharacterDeleted() {
if (sel.MainCaret() < ac.posStart - ac.startLen) {
AutoCompleteCancel();
} else if (ac.cancelAtStartPos && (sel.MainCaret() <= ac.posStart)) {
AutoCompleteCancel();
} else {
AutoCompleteMoveToCurrentWord();
}
SCNotification scn = {};
scn.nmhdr.code = SCN_AUTOCCHARDELETED;
scn.wParam = 0;
scn.listType = 0;
NotifyParent(scn);
}
void ScintillaBase::AutoCompleteCompleted() {
int item = ac.GetSelection();
if (item == -1) {
AutoCompleteCancel();
return;
}
const std::string selected = ac.GetValue(item);
ac.Show(false);
SCNotification scn = {};
scn.nmhdr.code = listType > 0 ? SCN_USERLISTSELECTION : SCN_AUTOCSELECTION;
scn.message = 0;
scn.wParam = listType;
scn.listType = listType;
Position firstPos = ac.posStart - ac.startLen;
scn.position = firstPos;
scn.lParam = firstPos;
scn.text = selected.c_str();
NotifyParent(scn);
if (!ac.Active())
return;
ac.Cancel();
if (listType > 0)
return;
Position endPos = sel.MainCaret();
if (ac.dropRestOfWord)
endPos = pdoc->ExtendWordSelect(endPos, 1, true);
if (endPos < firstPos)
return;
AutoCompleteInsert(firstPos, endPos - firstPos, selected.c_str(), static_cast<int>(selected.length()));
SetLastXChosen();
}
int ScintillaBase::AutoCompleteGetCurrent() const {
if (!ac.Active())
return -1;
return ac.GetSelection();
}
int ScintillaBase::AutoCompleteGetCurrentText(char *buffer) const {
if (ac.Active()) {
int item = ac.GetSelection();
if (item != -1) {
const std::string selected = ac.GetValue(item);
if (buffer != NULL)
memcpy(buffer, selected.c_str(), selected.length()+1);
return static_cast<int>(selected.length());
}
}
if (buffer != NULL)
*buffer = '\0';
return 0;
}
void ScintillaBase::CallTipShow(Point pt, const char *defn) {
ac.Cancel();
// If container knows about STYLE_CALLTIP then use it in place of the
// STYLE_DEFAULT for the face name, size and character set. Also use it
// for the foreground and background colour.
int ctStyle = ct.UseStyleCallTip() ? STYLE_CALLTIP : STYLE_DEFAULT;
if (ct.UseStyleCallTip()) {
ct.SetForeBack(vs.styles[STYLE_CALLTIP].fore, vs.styles[STYLE_CALLTIP].back);
}
if (wMargin.GetID()) {
Point ptOrigin = GetVisibleOriginInMain();
pt.x += ptOrigin.x;
pt.y += ptOrigin.y;
}
PRectangle rc = ct.CallTipStart(sel.MainCaret(), pt,
vs.lineHeight,
defn,
vs.styles[ctStyle].fontName,
vs.styles[ctStyle].sizeZoomed,
CodePage(),
vs.styles[ctStyle].characterSet,
vs.technology,
wMain);
// If the call-tip window would be out of the client
// space
PRectangle rcClient = GetClientRectangle();
int offset = vs.lineHeight + rc.Height();
// adjust so it displays above the text.
if (rc.bottom > rcClient.bottom) {
rc.top -= offset;
rc.bottom -= offset;
}
// adjust so it displays below the text.
if (rc.top < rcClient.top) {
rc.top += offset;
rc.bottom += offset;
}
// Now display the window.
CreateCallTipWindow(rc);
ct.wCallTip.SetPositionRelative(rc, wMain);
ct.wCallTip.Show();
}
void ScintillaBase::CallTipClick() {
SCNotification scn = {};
scn.nmhdr.code = SCN_CALLTIPCLICK;
scn.position = ct.clickPlace;
NotifyParent(scn);
}
void ScintillaBase::ContextMenu(Point pt) {
if (displayPopupMenu) {
bool writable = !WndProc(SCI_GETREADONLY, 0, 0);
popup.CreatePopUp();
AddToPopUp("Undo", idcmdUndo, writable && pdoc->CanUndo());
AddToPopUp("Redo", idcmdRedo, writable && pdoc->CanRedo());
AddToPopUp("");
AddToPopUp("Cut", idcmdCut, writable && !sel.Empty());
AddToPopUp("Copy", idcmdCopy, !sel.Empty());
AddToPopUp("Paste", idcmdPaste, writable && WndProc(SCI_CANPASTE, 0, 0));
AddToPopUp("Delete", idcmdDelete, writable && !sel.Empty());
AddToPopUp("");
AddToPopUp("Select All", idcmdSelectAll);
popup.Show(pt, wMain);
}
}
void ScintillaBase::CancelModes() {
AutoCompleteCancel();
ct.CallTipCancel();
Editor::CancelModes();
}
void ScintillaBase::ButtonDownWithModifiers(Point pt, unsigned int curTime, int modifiers) {
CancelModes();
Editor::ButtonDownWithModifiers(pt, curTime, modifiers);
}
void ScintillaBase::ButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, bool alt) {
ButtonDownWithModifiers(pt, curTime, ModifierFlags(shift, ctrl, alt));
}
#ifdef SCI_LEXER
#ifdef SCI_NAMESPACE
namespace Scintilla {
#endif
class LexState : public LexInterface {
const LexerModule *lexCurrent;
void SetLexerModule(const LexerModule *lex);
PropSetSimple props;
int interfaceVersion;
public:
int lexLanguage;
explicit LexState(Document *pdoc_);
virtual ~LexState();
void SetLexer(uptr_t wParam);
void SetLexerLanguage(const char *languageName);
const char *DescribeWordListSets();
void SetWordList(int n, const char *wl);
int GetStyleBitsNeeded() const;
const char *GetName() const;
void *PrivateCall(int operation, void *pointer);
const char *PropertyNames();
int PropertyType(const char *name);
const char *DescribeProperty(const char *name);
void PropSet(const char *key, const char *val);
const char *PropGet(const char *key) const;
int PropGetInt(const char *key, int defaultValue=0) const;
int PropGetExpanded(const char *key, char *result) const;
int LineEndTypesSupported();
int AllocateSubStyles(int styleBase, int numberStyles);
int SubStylesStart(int styleBase);
int SubStylesLength(int styleBase);
int StyleFromSubStyle(int subStyle);
int PrimaryStyleFromStyle(int style);
void FreeSubStyles();
void SetIdentifiers(int style, const char *identifiers);
int DistanceToSecondaryStyles();
const char *GetSubStyleBases();
};
#ifdef SCI_NAMESPACE
}
#endif
LexState::LexState(Document *pdoc_) : LexInterface(pdoc_) {
lexCurrent = 0;
performingStyle = false;
interfaceVersion = lvOriginal;
lexLanguage = SCLEX_CONTAINER;
}
LexState::~LexState() {
if (instance) {
instance->Release();
instance = 0;
}
}
LexState *ScintillaBase::DocumentLexState() {
if (!pdoc->pli) {
pdoc->pli = new LexState(pdoc);
}
return static_cast<LexState *>(pdoc->pli);
}
void LexState::SetLexerModule(const LexerModule *lex) {
if (lex != lexCurrent) {
if (instance) {
instance->Release();
instance = 0;
}
interfaceVersion = lvOriginal;
lexCurrent = lex;
if (lexCurrent) {
instance = lexCurrent->Create();
interfaceVersion = instance->Version();
}
pdoc->LexerChanged();
}
}
void LexState::SetLexer(uptr_t wParam) {
lexLanguage = wParam;
if (lexLanguage == SCLEX_CONTAINER) {
SetLexerModule(0);
} else {
const LexerModule *lex = Catalogue::Find(lexLanguage);
if (!lex)
lex = Catalogue::Find(SCLEX_NULL);
SetLexerModule(lex);
}
}
void LexState::SetLexerLanguage(const char *languageName) {
const LexerModule *lex = Catalogue::Find(languageName);
if (!lex)
lex = Catalogue::Find(SCLEX_NULL);
if (lex)
lexLanguage = lex->GetLanguage();
SetLexerModule(lex);
}
const char *LexState::DescribeWordListSets() {
if (instance) {
return instance->DescribeWordListSets();
} else {
return 0;
}
}
void LexState::SetWordList(int n, const char *wl) {
if (instance) {
int firstModification = instance->WordListSet(n, wl);
if (firstModification >= 0) {
pdoc->ModifiedAt(firstModification);
}
}
}
int LexState::GetStyleBitsNeeded() const {
return lexCurrent ? lexCurrent->GetStyleBitsNeeded() : 5;
}
const char *LexState::GetName() const {
return lexCurrent ? lexCurrent->languageName : "";
}
void *LexState::PrivateCall(int operation, void *pointer) {
if (pdoc && instance) {
return instance->PrivateCall(operation, pointer);
} else {
return 0;
}
}
const char *LexState::PropertyNames() {
if (instance) {
return instance->PropertyNames();
} else {
return 0;
}
}
int LexState::PropertyType(const char *name) {
if (instance) {
return instance->PropertyType(name);
} else {
return SC_TYPE_BOOLEAN;
}
}
const char *LexState::DescribeProperty(const char *name) {
if (instance) {
return instance->DescribeProperty(name);
} else {
return 0;
}
}
void LexState::PropSet(const char *key, const char *val) {
props.Set(key, val);
if (instance) {
int firstModification = instance->PropertySet(key, val);
if (firstModification >= 0) {
pdoc->ModifiedAt(firstModification);
}
}
}
const char *LexState::PropGet(const char *key) const {
return props.Get(key);
}
int LexState::PropGetInt(const char *key, int defaultValue) const {
return props.GetInt(key, defaultValue);
}
int LexState::PropGetExpanded(const char *key, char *result) const {
return props.GetExpanded(key, result);
}
int LexState::LineEndTypesSupported() {
if (instance && (interfaceVersion >= lvSubStyles)) {
return static_cast<ILexerWithSubStyles *>(instance)->LineEndTypesSupported();
}
return 0;
}
int LexState::AllocateSubStyles(int styleBase, int numberStyles) {
if (instance && (interfaceVersion >= lvSubStyles)) {
return static_cast<ILexerWithSubStyles *>(instance)->AllocateSubStyles(styleBase, numberStyles);
}
return -1;
}
int LexState::SubStylesStart(int styleBase) {
if (instance && (interfaceVersion >= lvSubStyles)) {
return static_cast<ILexerWithSubStyles *>(instance)->SubStylesStart(styleBase);
}
return -1;
}
int LexState::SubStylesLength(int styleBase) {
if (instance && (interfaceVersion >= lvSubStyles)) {
return static_cast<ILexerWithSubStyles *>(instance)->SubStylesLength(styleBase);
}
return 0;
}
int LexState::StyleFromSubStyle(int subStyle) {
if (instance && (interfaceVersion >= lvSubStyles)) {
return static_cast<ILexerWithSubStyles *>(instance)->StyleFromSubStyle(subStyle);
}
return 0;
}
int LexState::PrimaryStyleFromStyle(int style) {
if (instance && (interfaceVersion >= lvSubStyles)) {
return static_cast<ILexerWithSubStyles *>(instance)->PrimaryStyleFromStyle(style);
}
return 0;
}
void LexState::FreeSubStyles() {
if (instance && (interfaceVersion >= lvSubStyles)) {
static_cast<ILexerWithSubStyles *>(instance)->FreeSubStyles();
}
}
void LexState::SetIdentifiers(int style, const char *identifiers) {
if (instance && (interfaceVersion >= lvSubStyles)) {
static_cast<ILexerWithSubStyles *>(instance)->SetIdentifiers(style, identifiers);
}
}
int LexState::DistanceToSecondaryStyles() {
if (instance && (interfaceVersion >= lvSubStyles)) {
return static_cast<ILexerWithSubStyles *>(instance)->DistanceToSecondaryStyles();
}
return 0;
}
const char *LexState::GetSubStyleBases() {
if (instance && (interfaceVersion >= lvSubStyles)) {
return static_cast<ILexerWithSubStyles *>(instance)->GetSubStyleBases();
}
return "";
}
#endif
void ScintillaBase::NotifyStyleToNeeded(int endStyleNeeded) {
#ifdef SCI_LEXER
if (DocumentLexState()->lexLanguage != SCLEX_CONTAINER) {
int lineEndStyled = pdoc->LineFromPosition(pdoc->GetEndStyled());
int endStyled = pdoc->LineStart(lineEndStyled);
DocumentLexState()->Colourise(endStyled, endStyleNeeded);
return;
}
#endif
Editor::NotifyStyleToNeeded(endStyleNeeded);
}
void ScintillaBase::NotifyLexerChanged(Document *, void *) {
#ifdef SCI_LEXER
int bits = DocumentLexState()->GetStyleBitsNeeded();
vs.EnsureStyle((1 << bits) - 1);
#endif
}
sptr_t ScintillaBase::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
switch (iMessage) {
case SCI_AUTOCSHOW:
listType = 0;
AutoCompleteStart(wParam, reinterpret_cast<const char *>(lParam));
break;
case SCI_AUTOCCANCEL:
ac.Cancel();
break;
case SCI_AUTOCACTIVE:
return ac.Active();
case SCI_AUTOCPOSSTART:
return ac.posStart;
case SCI_AUTOCCOMPLETE:
AutoCompleteCompleted();
break;
case SCI_AUTOCSETSEPARATOR:
ac.SetSeparator(static_cast<char>(wParam));
break;
case SCI_AUTOCGETSEPARATOR:
return ac.GetSeparator();
case SCI_AUTOCSTOPS:
ac.SetStopChars(reinterpret_cast<char *>(lParam));
break;
case SCI_AUTOCSELECT:
ac.Select(reinterpret_cast<char *>(lParam));
break;
case SCI_AUTOCGETCURRENT:
return AutoCompleteGetCurrent();
case SCI_AUTOCGETCURRENTTEXT:
return AutoCompleteGetCurrentText(reinterpret_cast<char *>(lParam));
case SCI_AUTOCSETCANCELATSTART:
ac.cancelAtStartPos = wParam != 0;
break;
case SCI_AUTOCGETCANCELATSTART:
return ac.cancelAtStartPos;
case SCI_AUTOCSETFILLUPS:
ac.SetFillUpChars(reinterpret_cast<char *>(lParam));
break;
case SCI_AUTOCSETCHOOSESINGLE:
ac.chooseSingle = wParam != 0;
break;
case SCI_AUTOCGETCHOOSESINGLE:
return ac.chooseSingle;
case SCI_AUTOCSETIGNORECASE:
ac.ignoreCase = wParam != 0;
break;
case SCI_AUTOCGETIGNORECASE:
return ac.ignoreCase;
case SCI_AUTOCSETCASEINSENSITIVEBEHAVIOUR:
ac.ignoreCaseBehaviour = wParam;
break;
case SCI_AUTOCGETCASEINSENSITIVEBEHAVIOUR:
return ac.ignoreCaseBehaviour;
case SCI_AUTOCSETORDER:
ac.autoSort = wParam;
break;
case SCI_AUTOCGETORDER:
return ac.autoSort;
case SCI_USERLISTSHOW:
listType = wParam;
AutoCompleteStart(0, reinterpret_cast<const char *>(lParam));
break;
case SCI_AUTOCSETAUTOHIDE:
ac.autoHide = wParam != 0;
break;
case SCI_AUTOCGETAUTOHIDE:
return ac.autoHide;
case SCI_AUTOCSETDROPRESTOFWORD:
ac.dropRestOfWord = wParam != 0;
break;
case SCI_AUTOCGETDROPRESTOFWORD:
return ac.dropRestOfWord;
case SCI_AUTOCSETMAXHEIGHT:
ac.lb->SetVisibleRows(wParam);
break;
case SCI_AUTOCGETMAXHEIGHT:
return ac.lb->GetVisibleRows();
case SCI_AUTOCSETMAXWIDTH:
maxListWidth = wParam;
break;
case SCI_AUTOCGETMAXWIDTH:
return maxListWidth;
case SCI_REGISTERIMAGE:
ac.lb->RegisterImage(wParam, reinterpret_cast<const char *>(lParam));
break;
case SCI_REGISTERRGBAIMAGE:
ac.lb->RegisterRGBAImage(wParam, sizeRGBAImage.x, sizeRGBAImage.y, reinterpret_cast<unsigned char *>(lParam));
break;
case SCI_CLEARREGISTEREDIMAGES:
ac.lb->ClearRegisteredImages();
break;
case SCI_AUTOCSETTYPESEPARATOR:
ac.SetTypesep(static_cast<char>(wParam));
break;
case SCI_AUTOCGETTYPESEPARATOR:
return ac.GetTypesep();
case SCI_CALLTIPSHOW:
CallTipShow(LocationFromPosition(wParam),
reinterpret_cast<const char *>(lParam));
break;
case SCI_CALLTIPCANCEL:
ct.CallTipCancel();
break;
case SCI_CALLTIPACTIVE:
return ct.inCallTipMode;
case SCI_CALLTIPPOSSTART:
return ct.posStartCallTip;
case SCI_CALLTIPSETPOSSTART:
ct.posStartCallTip = wParam;
break;
case SCI_CALLTIPSETHLT:
ct.SetHighlight(wParam, lParam);
break;
case SCI_CALLTIPSETBACK:
ct.colourBG = ColourDesired(wParam);
vs.styles[STYLE_CALLTIP].back = ct.colourBG;
InvalidateStyleRedraw();
break;
case SCI_CALLTIPSETFORE:
ct.colourUnSel = ColourDesired(wParam);
vs.styles[STYLE_CALLTIP].fore = ct.colourUnSel;
InvalidateStyleRedraw();
break;
case SCI_CALLTIPSETFOREHLT:
ct.colourSel = ColourDesired(wParam);
InvalidateStyleRedraw();
break;
case SCI_CALLTIPUSESTYLE:
ct.SetTabSize((int)wParam);
InvalidateStyleRedraw();
break;
case SCI_CALLTIPSETPOSITION:
ct.SetPosition(wParam != 0);
InvalidateStyleRedraw();
break;
case SCI_USEPOPUP:
displayPopupMenu = wParam != 0;
break;
#ifdef SCI_LEXER
case SCI_SETLEXER:
DocumentLexState()->SetLexer(wParam);
break;
case SCI_GETLEXER:
return DocumentLexState()->lexLanguage;
case SCI_COLOURISE:
if (DocumentLexState()->lexLanguage == SCLEX_CONTAINER) {
pdoc->ModifiedAt(wParam);
NotifyStyleToNeeded((lParam == -1) ? pdoc->Length() : lParam);
} else {
DocumentLexState()->Colourise(wParam, lParam);
}
Redraw();
break;
case SCI_SETPROPERTY:
DocumentLexState()->PropSet(reinterpret_cast<const char *>(wParam),
reinterpret_cast<const char *>(lParam));
break;
case SCI_GETPROPERTY:
return StringResult(lParam, DocumentLexState()->PropGet(reinterpret_cast<const char *>(wParam)));
case SCI_GETPROPERTYEXPANDED:
return DocumentLexState()->PropGetExpanded(reinterpret_cast<const char *>(wParam),
reinterpret_cast<char *>(lParam));
case SCI_GETPROPERTYINT:
return DocumentLexState()->PropGetInt(reinterpret_cast<const char *>(wParam), lParam);
case SCI_SETKEYWORDS:
DocumentLexState()->SetWordList(wParam, reinterpret_cast<const char *>(lParam));
break;
case SCI_SETLEXERLANGUAGE:
DocumentLexState()->SetLexerLanguage(reinterpret_cast<const char *>(lParam));
break;
case SCI_GETLEXERLANGUAGE:
return StringResult(lParam, DocumentLexState()->GetName());
case SCI_PRIVATELEXERCALL:
return reinterpret_cast<sptr_t>(
DocumentLexState()->PrivateCall(wParam, reinterpret_cast<void *>(lParam)));
case SCI_GETSTYLEBITSNEEDED:
return DocumentLexState()->GetStyleBitsNeeded();
case SCI_PROPERTYNAMES:
return StringResult(lParam, DocumentLexState()->PropertyNames());
case SCI_PROPERTYTYPE:
return DocumentLexState()->PropertyType(reinterpret_cast<const char *>(wParam));
case SCI_DESCRIBEPROPERTY:
return StringResult(lParam, DocumentLexState()->DescribeProperty(reinterpret_cast<const char *>(wParam)));
case SCI_DESCRIBEKEYWORDSETS:
return StringResult(lParam, DocumentLexState()->DescribeWordListSets());
case SCI_GETLINEENDTYPESSUPPORTED:
return DocumentLexState()->LineEndTypesSupported();
case SCI_ALLOCATESUBSTYLES:
return DocumentLexState()->AllocateSubStyles(wParam, lParam);
case SCI_GETSUBSTYLESSTART:
return DocumentLexState()->SubStylesStart(wParam);
case SCI_GETSUBSTYLESLENGTH:
return DocumentLexState()->SubStylesLength(wParam);
case SCI_GETSTYLEFROMSUBSTYLE:
return DocumentLexState()->StyleFromSubStyle(wParam);
case SCI_GETPRIMARYSTYLEFROMSTYLE:
return DocumentLexState()->PrimaryStyleFromStyle(wParam);
case SCI_FREESUBSTYLES:
DocumentLexState()->FreeSubStyles();
break;
case SCI_SETIDENTIFIERS:
DocumentLexState()->SetIdentifiers(wParam, reinterpret_cast<const char *>(lParam));
break;
case SCI_DISTANCETOSECONDARYSTYLES:
return DocumentLexState()->DistanceToSecondaryStyles();
case SCI_GETSUBSTYLEBASES:
return StringResult(lParam, DocumentLexState()->GetSubStyleBases());
#endif
default:
return Editor::WndProc(iMessage, wParam, lParam);
}
return 0l;
}
| [
"[email protected]"
] | |
2c1a439fb79c0d007e4ce711d20a698d8729e947 | 77780f9ccc465ae847c92c3a35c8933b0c63fa4e | /HDOJ/43241.cpp | 7311aab4cb7098f0cbe35aea340389ebd3a97fc9 | [] | no_license | changmu/StructureAndAlgorithm | 0e41cf43efba6136849193a0d45dfa9eb7c9c832 | d421179dece969bc1cd4e478e514f2de968c591a | refs/heads/master | 2021-07-18T04:04:46.512455 | 2020-05-17T11:50:26 | 2020-05-17T11:50:26 | 30,492,355 | 1 | 0 | null | null | null | null | ISO-8859-7 | C++ | false | false | 1,367 | cpp | ////////////////////System Comment////////////////////
////Welcome to Hangzhou Dianzi University Online Judge
////http://acm.hdu.edu.cn
//////////////////////////////////////////////////////
////Username: changmu
////Nickname: ³€ΔΎ
////Run ID:
////Submit time: 2014-08-02 11:13:20
////Compiler: GUN C++
//////////////////////////////////////////////////////
////Problem ID: 4324
////Problem Title:
////Run result: Accept
////Run time:203MS
////Run memory:4144KB
//////////////////System Comment End//////////////////
#include <stdio.h>
#include <string.h>
#define maxn 2002
bool map[maxn][maxn];
char buf[maxn];
int indegree[maxn], queue[maxn];
void addEdge(int n)
{
int i, j;
for(i = 0; i < n; ++i){
scanf("%s", buf);
for(j = 0; j < n; ++j)
if(buf[j] == '0') map[i][j] = 0;
else{
map[i][j] = 1;
++indegree[j];
}
}
}
bool topoSort(int n)
{
int i, u, front = 0, back = 0;
for(i = 0; i < n; ++i)
if(!indegree[i]) queue[back++] = i;
while(front != back){
u = queue[front++];
for(i = 0; i < n; ++i){
if(map[u][i] && !--indegree[i])
queue[back++] = i;
}
}
return back == n;
}
int main()
{
int t, n, cas = 1;
scanf("%d", &t);
while(t--){
memset(indegree, 0, sizeof(indegree));
scanf("%d", &n); addEdge(n);
printf("Case #%d: ", cas++);
if(!topoSort(n)) printf("Yes\n");
else printf("No\n");
}
return 0;
} | [
"[email protected]"
] | |
36dff4957de2327ed7a0d7c8704c947634f0fa24 | 19194c2f2c07ab3537f994acfbf6b34ea9b55ae7 | /android-33/android/telephony/CarrierConfigManager_ImsEmergency.hpp | 26f405443fcc9753bfacdd8b11cc84b871013a58 | [
"GPL-3.0-only"
] | permissive | YJBeetle/QtAndroidAPI | e372609e9db0f96602da31b8417c9f5972315cae | ace3f0ea2678967393b5eb8e4edba7fa2ca6a50c | refs/heads/Qt6 | 2023-08-05T03:14:11.842336 | 2023-07-24T08:35:31 | 2023-07-24T08:35:31 | 249,539,770 | 19 | 4 | Apache-2.0 | 2022-03-14T12:15:32 | 2020-03-23T20:42:54 | C++ | UTF-8 | C++ | false | false | 2,128 | hpp | #pragma once
#include "../../JString.hpp"
#include "./CarrierConfigManager_ImsEmergency.def.hpp"
namespace android::telephony
{
// Fields
inline JString CarrierConfigManager_ImsEmergency::KEY_EMERGENCY_CALLBACK_MODE_SUPPORTED_BOOL()
{
return getStaticObjectField(
"android.telephony.CarrierConfigManager$ImsEmergency",
"KEY_EMERGENCY_CALLBACK_MODE_SUPPORTED_BOOL",
"Ljava/lang/String;"
);
}
inline JString CarrierConfigManager_ImsEmergency::KEY_EMERGENCY_OVER_IMS_SUPPORTED_RATS_INT_ARRAY()
{
return getStaticObjectField(
"android.telephony.CarrierConfigManager$ImsEmergency",
"KEY_EMERGENCY_OVER_IMS_SUPPORTED_RATS_INT_ARRAY",
"Ljava/lang/String;"
);
}
inline JString CarrierConfigManager_ImsEmergency::KEY_EMERGENCY_QOS_PRECONDITION_SUPPORTED_BOOL()
{
return getStaticObjectField(
"android.telephony.CarrierConfigManager$ImsEmergency",
"KEY_EMERGENCY_QOS_PRECONDITION_SUPPORTED_BOOL",
"Ljava/lang/String;"
);
}
inline JString CarrierConfigManager_ImsEmergency::KEY_EMERGENCY_REGISTRATION_TIMER_MILLIS_INT()
{
return getStaticObjectField(
"android.telephony.CarrierConfigManager$ImsEmergency",
"KEY_EMERGENCY_REGISTRATION_TIMER_MILLIS_INT",
"Ljava/lang/String;"
);
}
inline JString CarrierConfigManager_ImsEmergency::KEY_PREFIX()
{
return getStaticObjectField(
"android.telephony.CarrierConfigManager$ImsEmergency",
"KEY_PREFIX",
"Ljava/lang/String;"
);
}
inline JString CarrierConfigManager_ImsEmergency::KEY_REFRESH_GEOLOCATION_TIMEOUT_MILLIS_INT()
{
return getStaticObjectField(
"android.telephony.CarrierConfigManager$ImsEmergency",
"KEY_REFRESH_GEOLOCATION_TIMEOUT_MILLIS_INT",
"Ljava/lang/String;"
);
}
inline JString CarrierConfigManager_ImsEmergency::KEY_RETRY_EMERGENCY_ON_IMS_PDN_BOOL()
{
return getStaticObjectField(
"android.telephony.CarrierConfigManager$ImsEmergency",
"KEY_RETRY_EMERGENCY_ON_IMS_PDN_BOOL",
"Ljava/lang/String;"
);
}
// Constructors
// Methods
} // namespace android::telephony
// Base class headers
#ifdef QT_ANDROID_API_AUTOUSE
using namespace android::telephony;
#endif
| [
"[email protected]"
] | |
262a12fa595f8e6965a86ec6bed490f49d7d7022 | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/admin/wmi/wbem/providers/win32provider/providers/modem.h | 16bdf798b77bbe39858ab75cf342114ffc753212 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,534 | h | ///////////////////////////////////////////////////////////////////////
//
// MOMODEM.h
//
// Copyright (c) 1995-2001 Microsoft Corporation, All Rights Reserved
//
// 9/05/96 jennymc Updated to meet current standards
//
///////////////////////////////////////////////////////////////////////
#define PROPSET_NAME_MODEM L"Win32_PotsModem"
/////////////////////////////////////////////////////////////////////
#define WIN95_MODEM_REGISTRY_KEY L"SYSTEM\\CurrentControlSet\\Services\\Class\\Modem"
#define WINNT_MODEM_REGISTRY_KEY L"SYSTEM\\CurrentControlSet\\Control\\Class\\{4D36E96D-E325-11CE-BFC1-08002BE10318}"
#define WINNT_MODEM_KEY L"SYSTEM\\CurrentControlSet\\Control\\Class\\"
#define WINNT_MODEM_CLSID L"{4D36E96D-E325-11CE-BFC1-08002BE10318}"
#define REFRESH_INSTANCE 1
#define ENUMERATE_INSTANCES 2
#define QUERY_KEYS_ONLY 4
#define MODEM_CLASS L"Modem"
#define CLASS L"Class"
#define NULL_MODEM L"Null Modem"
#define INTERNAL_MODEM L"Internal Modem"
#define EXTERNAL_MODEM L"External Modem"
#define PCMCIA_MODEM L"PCMCIA Modem"
#define UNKNOWN_MODEM L"Unknown"
#define DRIVER_DESC L"DriverDesc"
#define HARDWARE_ID L"HardwareID"
#define MFG L"Mfg"
#define MANUFACTURER L"Manufacturer"
#define FRIENDLY_NAME L"FriendlyName"
#define DEVICE_TYPE_STR L"DeviceType"
#define ID L"ID"
#define MODEM L"Modem"
#define ATTACHED_TO L"AttachedTo"
#define COMPATIBILITY_FLAGS L"CompatibilityFlags"
#define CONFIG_DIALOG L"ConfigDialog"
#define _DCB L"DCB"
#define DEFAULT L"Default"
#define INACTIVITY_SCALE L"InactivityScale"
#define INFPATH L"InfPath"
#define INFSECTION L"InfSection"
#define MODEL L"Model"
#define PORTSUBCLASS L"PortSubClass"
#define PROPERTIES L"Properties"
#define PROVIDERNAME L"ProviderName"
#define RESET L"Reset"
#define RESPONSESKEYNAME L"ResponsesKeyName"
#define INACTIVITYTIMEOUT L"InactivityTimeout"
#define MODULATION_BELL L"Modulation_Bell"
#define MODULATION_CCITT L"Modulation_CCITT"
#define PREFIX L"Prefix"
#define PULSE L"Pulse"
#define SPEAKERMODE_DIAL L"SpeakerMode_Dial"
#define SPEAKERMODE_OFF L"SpeakerMode_Off"
#define SPEAKERMODE_ON L"SpeakerMode_On"
#define SPEAKERMODE_SETUP L"SpeakerMode_Setup"
#define SPEAKERVOLUME_HIGH L"SpeakerVolume_High"
#define SPEAKERVOLUME_LOW L"SpeakerVolume_Low"
#define SPEAKERVOLUME_MED L"SpeakerVolume_Med"
#define TERMINATOR L"Terminator"
#define TONE L"Tone"
#define BLIND_OFF L"Blind_Off"
#define BLIND_ON L"Blind_On"
#define COMPRESSION_ON L"Compression_On"
#define COMPRESSION_OFF L"Compression_Off"
#define DIALPREFIX L"DialPrefix"
#define DIALSUFFIX L"DialSuffix"
#define ERRORCONTROL_FORCED L"ErrorControl_Forced"
#define ERRORCONTROL_OFF L"ErrorControl_Off"
#define ERRORCONTROL_ON L"ErrorControl_On"
#define FLOWCONTROL_HARD L"FlowControl_Hard"
#define FLOWCONTROL_OFF L"FlowControl_Off"
#define FLOWCONTROL_SOFT L"FlowControl_Soft"
#define ASCII_STRING L"ASCII string format"
#define DBCS_STRING L"DBCS string format"
#define UNICODE_STRING L"UNICODE string format"
#define CALLSETUPFAILTIMER L"CallSetupFailTimer"
#define SETTINGS L"\\Settings"
#define DRIVER_DATE L"DriverDate"
#define DEV_LOADER L"DevLoader"
#define VOICE_SWITCH_FEATURE L"VoiceSwitchFeatures"
#define FRIENDLY_DRIVER L"FriendlyDriver"
#define ERR_PLATFORM_NOT_SUPPORTED L"Platform not supported"
#define ERR_INSUFFICIENT_BUFFER L"Insufficient buffer"
#define ERR_TAPI_REINIT L"A telephony application need to relinquish its use of Telephony."
#define ERR_TAPI_INIT L"Error <0x%lX> in initializing TAPI API"
#define ERR_TAPI_NEGOTIATE L"Error <0x%lX> in negotiating API version for line #%d"
#define ERR_LOW_MEMORY L"Low in memory"
#define ERR_LINE_GET_DEVCAPS L"Error <0x%lX> in getting line device capabilities of line #%d"
#define ERR_TAPI_SHUTDOWN L"Error <0x%lX> in shutting down the applicatiomn usage of TAPI API"
#define ERR_INVALID_MODEM_DEVICE_TYPE L"Invalid Modem device type"
#define ERR_INVALID_MODEM_SPEAKER_MODE L"Invalid speaker mode <0x%lX>"
#define ERR_INVALID_MODEM_SPEAKER_VOLUME L"Invalid speaker volume <0x%lX>"
#define APIHIVERSION 0x00030000 // 2.2
#define APILOWVERSION 0x00010001 // 1.1
#define DT_NULL_MODEM L"\"00\""
#define DT_EXTERNAL_MODEM L"\"01\""
#define DT_INTERNAL_MODEM L"\"02\""
#define DT_PCMCIA_MODEM L"\"03\""
//////////////////////////////////////////////////////////////////////
class CWin32Modem: public Provider
{
private:
// Common to both platforms
BOOL AssignCommonDeviceType (
CInstance *pInstance,
CRegistry *pregPrimary,
CRegistry *pregSettings
);
BOOL AssignCommonFields(
CInstance *pInstance,
CRegistry *pregPrimary,
CRegistry *pregSettings
);
BOOL AssignCfgMgrFields(
CInstance *pInstance,
CConfigMgrDevice *pDevice
);
BOOL GetFieldsFromTAPI(
CTapi32Api &a_Tapi32Api ,
CInstance *pInstance
);
BOOL GetModemInfo(
CTapi32Api &a_Tapi32Api ,
DWORD dwWhatToDo,
MethodContext *pMethodContext,
CInstance *pInstance,
LPCWSTR szDeviceID
);
// Win95 Private
#ifdef WIN9XONLY
BOOL GetWin95Instance ( CInstance *pInstance ) ;
BOOL RefreshWin95Instance ( CInstance *pInstance ) ;
BOOL Win95SpecificRegistryValues (
CInstance *pInstance,
CRegistry *CPrimaryReg,
CRegistry *pregSettings);
#endif
#ifdef NTONLY
// WinNT Private
BOOL GetNTInstance(CInstance *pInstance);
BOOL RefreshNTInstance(CInstance *pInstance);
BOOL NTSpecificRegistryValues(
CInstance *pInstance,
CRegistry *CPrimaryReg,
CRegistry *pregSettings);
#endif
///////////////////////////////////////////////////////////////////////
// The TAPI Stuff
///////////////////////////////////////////////////////////////////////
BOOL InitializeTAPI ( CTapi32Api &a_Tapi32Api , HLINEAPP *hLineApp , DWORD &a_NumberOfTapiDevices ) ;
void ShutDownLine ( CTapi32Api &a_Tapi32Api , HLINEAPP *phLineApp ) ;
BOOL OpenClassInfo ();
BOOL GetModemInfoFromTAPI (
CTapi32Api &a_Tapi32Api ,
HLINEAPP *phLineApp,
CHString &a_DeviceIdentifier ,
DWORD &a_NumberOfTapiDevices,
LINEDEVCAPS *&pLineDevCaps
) ;
LINEDEVCAPS *GetModemCapabilityInfoFromTAPI (
CTapi32Api &a_Tapi32Api ,
HLINEAPP *phLineApp,
DWORD dwIndex,
DWORD dwVerAPI
);
BOOL HandleLineErr ( long lLineErr ) ;
// A utility function to convert from a "mm-dd-yyyy" format to WbemTime
BOOL ToWbemTime(LPCWSTR mmddyy, CHString &strRet);
public:
virtual HRESULT GetObject ( CInstance *pInstance, long lFlags, CFrameworkQuery &pQuery);// Refresh the property set propeties
virtual HRESULT EnumerateInstances ( MethodContext *pMethodContext, long lFlags = 0L);
virtual HRESULT ExecQuery ( MethodContext *pMethodContext, CFrameworkQuery &pQuery, long lFlags /*= 0L*/ );
// Constructor sets the name and description of the property set
// and initializes the properties to their startup values
CWin32Modem(LPCWSTR name, LPCWSTR pszNamespace);
~CWin32Modem();
};
| [
"[email protected]"
] | |
fd50bb3e6b68129f6554389002fa23d798b0c665 | 9fdf28136d9ba3b05b0e792fc178e1e352e3dc71 | /C++/PlusMinus.cc | a60f6ec67af99fd091d0e7469d515e57025b43eb | [] | no_license | shun-lin/Shun_Hackerrank_Solutions | 4220a7e18fbbef4a4bceb260b67bf26e362a9a73 | 0a36d08da6b454c4fca617546966c12df288f681 | refs/heads/master | 2020-05-25T13:08:25.252586 | 2017-10-23T01:10:05 | 2017-10-23T01:10:05 | 84,932,920 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | cc | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main(){
int n;
cin >> n;
vector<int> arr(n);
for(int arr_i = 0;arr_i < n;arr_i++){
cin >> arr[arr_i];
}
int pos = 0;
int neg = 0;
int zero = 0;
float pos_f = 0;
float neg_f = 0;
float zero_f = 0;
for (int i = 0; i < n; i += 1) {
if (arr[i] > 0) {
pos += 1;
}
else if (arr[i] == 0) {
zero += 1;
}
else if (arr[i] < 0) {
neg += 1;
}
}
pos_f = (float) pos / n;
neg_f = (float) neg / n;
zero_f = (float) zero / n;
cout << pos_f;
cout<<"\n";
cout << neg_f;
cout<<"\n";
cout << zero_f;
return 0;
}
| [
"[email protected]"
] | |
280cd8d03aed587f9e4020c493cf3baa67011f96 | 2f9a425e8f5d034da4d35c9f941ff609cb232883 | /poj/2485/POJ_2485_2370739_AC_250MS_444K.cc | 8551849681ed940d2980acdc5effe7cc4d48682a | [] | no_license | wangyongliang/nova | baac90cd8e7bdb03c6c5916fbab9675dabf49af5 | 86b00b1a12f1cc6291635f31a33e791f6fb19d1a | refs/heads/master | 2022-02-18T05:35:02.447764 | 2019-09-08T02:22:06 | 2019-09-08T02:22:06 | 10,247,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | cc | #include<stdio.h>
#define inf 66336
int minn(int x,int y)
{
return x>y?y:x;
}
int cost[510],a[510][510],n;
int prime()
{
int i,min,t,sum,vecter;
for(i=1;i<=n;i++)
cost[i]=minn(a[i][1],a[1][i]);
cost[1]=inf;
for(t=1,sum=0;t<n;t++)
{
for(i=1,min=inf;i<=n;i++)
{
if(cost[i]<min)
{
min=cost[i];
vecter=i;
}
}
cost[vecter]=inf;
sum=min>sum?min:sum;
for(i=1;i<=n;i++)
{
min=minn(a[i][vecter],a[vecter][i]);
if(cost[i]>min&&cost[i]!=inf) cost[i]=min;
}
}
return sum;
}
int main()
{
int t,i,j;
scanf("%d",&t);
while(t--)
{
scanf("%d",&n);
for(i=1;i<=n;i++)
{
for(j=1;j<=n;j++)
{
scanf("%d",&a[i][j]);
if(i==j)a[i][j]=inf;
}
}
printf("%d\n",prime());
}
return 0;
}
| [
"[email protected]"
] | |
681a9ed4e32dd5837a84accee90838159daa1812 | 910a373c54f00769d8adb97a3a6868fc2256917d | /Problems/Problem_7.cpp | a13d0426360a0a8d427679f070e9e5e8d2395e25 | [] | no_license | PARVEENSINGH/Project-Eular-Problems | 8e03ce66e013d548f00f246e23c5ada814642549 | 4175d68ba8347db35cef2644b68a4b1e0eabd60d | refs/heads/master | 2022-12-03T00:40:21.861095 | 2020-08-27T07:08:49 | 2020-08-27T07:08:49 | 279,009,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 905 | cpp |
#include <iostream>
#include<bits/stdc++.h>
using namespace std;
typedef unsigned long long ll;
int getPrime(int upper_limit)
{
vector<int> list;
list.push_back(2);
int i=3,s=0,count=1;
bool isprime=true;
while(count<upper_limit)
{
s=0;
isprime=true;
//Approach used if a number is not divisible by any of the prime number
//less than it. Then the number is itself is prime.
while(list[s]*list[s]<=i)
{
if(i%list[s]==0)
{
isprime=false;
break;
}
s++;
}
if(isprime)
{
list.push_back(i);
count++;
}
i+=2;
}
return list[list.size()-1];
}
ll solve()
{
int upper_limit=10001;
return getPrime(upper_limit);
}
int main(){
cout<<solve()<<endl;
return 0;
} | [
"[email protected]"
] | |
87d6f977662dceff75a320a1c33a00fc9eca0043 | 61255bb7724c45ff555497114fdd12941e5df6c9 | /Contest/Club algoritmia 2019-01/01/LunarNewYearAndNumberDivision.cpp | 1371711dfb053f903c1592b3c11de9c0ea7da29c | [] | no_license | eerick1997/Club | ddcc0a9d3706bb43723718079441fa227b61ea42 | 5ea13c3a22fafa82751fab25be5cb7f472fa5856 | refs/heads/master | 2021-11-24T00:17:42.270738 | 2021-10-28T02:12:40 | 2021-10-28T02:12:40 | 164,712,369 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int lli;
vector< lli > numbers;
int main(){
lli n, ans = 0;
cin >> n;
numbers.assign( n, 0 );
for( int i = 0; i < n; i++ )
cin >> numbers[ i ];
sort(numbers.begin(), numbers.end());
for( int i = 0; i < n / 2; i++ )
ans += ( numbers[ i ] + numbers[ n - 1 - i ] ) * ( numbers[ i ] + numbers[ n - 1 - i ] );
cout << ans << endl;
} | [
"[email protected]"
] | |
acbad949bab5b06fa2523e0b533de1046faaff0b | d6f4fe10f2b06486f166e8610a59f668c7a41186 | /Modules/vtkRigidIntensityRegistration/MutualInformation/vtkITKMutualInformationTransform.cxx | 8f31783e8a36d0718b5a2c2715ff06aa13edddc8 | [] | no_license | nagyistge/slicer2-nohistory | 8a765097be776cbaa4ed1a4dbc297b12b0f8490e | 2e3a0018010bf5ce9416aed5b5554868b24e9295 | refs/heads/master | 2021-01-18T10:55:51.892791 | 2011-02-23T16:49:01 | 2011-02-23T16:49:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,731 | cxx | /*=auto=========================================================================
(c) Copyright 2003 Massachusetts Institute of Technology (MIT) All Rights Reserved.
This software ("3D Slicer") is provided by The Brigham and Women's
Hospital, Inc. on behalf of the copyright holders and contributors.
Permission is hereby granted, without payment, to copy, modify, display
and distribute this software and its documentation, if any, for
research purposes only, provided that (1) the above copyright notice and
the following four paragraphs appear on all copies of this software, and
(2) that source code to any modifications to this software be made
publicly available under terms no more restrictive than those in this
License Agreement. Use of this software constitutes acceptance of these
terms and conditions.
3D Slicer Software has not been reviewed or approved by the Food and
Drug Administration, and is for non-clinical, IRB-approved Research Use
Only. In no event shall data or images generated through the use of 3D
Slicer Software be used in the provision of patient care.
IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE TO
ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
EVEN IF THE COPYRIGHT HOLDERS AND CONTRIBUTORS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
THE COPYRIGHT HOLDERS AND CONTRIBUTORS SPECIFICALLY DISCLAIM ANY EXPRESS
OR IMPLIED WARRANTIES INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
NON-INFRINGEMENT.
THE SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS." THE COPYRIGHT HOLDERS AND CONTRIBUTORS HAVE NO OBLIGATION TO
PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
=========================================================================auto=*/
#include "vtkITKMutualInformationTransform.h"
#include "vtkImageData.h"
#include "vtkObjectFactory.h"
#include "vtkImageExport.h"
#include "vtkTransform.h"
#include "vtkUnsignedIntArray.h"
#include "vtkDoubleArray.h"
#include "vtkMatrix4x4.h"
#include "vtkImageFlip.h"
#include "itkVTKImageImport.h"
#include "vtkITKUtility.h"
#include "itkExceptionObject.h"
// itk classes
// All the MI Registration Stuff
#include "MIRegistration.h"
//------------------------------------------------------------------------------
vtkITKMutualInformationTransform* vtkITKMutualInformationTransform::New()
{
// First try to create the object from the vtkObjectFactory
vtkObject* ret = vtkObjectFactory::CreateInstance("vtkITKMutualInformationTransform");
if(ret)
{
return (vtkITKMutualInformationTransform*)ret;
}
// If the factory was unable to create the object, then create it here.
return new vtkITKMutualInformationTransform;
}
//----------------------------------------------------------------------------
vtkITKMutualInformationTransform::vtkITKMutualInformationTransform()
{
}
//----------------------------------------------------------------------------
vtkITKMutualInformationTransform::~vtkITKMutualInformationTransform()
{
}
//----------------------------------------------------------------------------
void vtkITKMutualInformationTransform::PrintSelf(ostream& os, vtkIndent indent)
{
this->Superclass::PrintSelf(os, indent);
}
//----------------------------------------------------------------------------
// This templated function executes the filter for any type of data.
// But, actually we use only float...
template <class T>
static void vtkITKMutualInformationExecute(vtkITKMutualInformationTransform *self,
vtkImageData *source,
vtkImageData *target,
vtkMatrix4x4 *matrix,
T vtkNotUsed(dummy))
{
// Declare the input and output types
typedef itk::Image<T,3> OutputImageType;
// ----------------------------------------
// Sources to ITK MIRegistration
// ----------------------------------------
// Create the Registrator
typedef itk::MIRegistration<OutputImageType,OutputImageType> RegistratorType;
typename RegistratorType::Pointer MIRegistrator = RegistratorType::New();
MIRegistrator->Initialize(self,matrix);
// Set metric related parameters
MIRegistrator->SetMovingImageStandardDeviation(self->GetSourceStandardDeviation());
MIRegistrator->SetFixedImageStandardDeviation(self->GetTargetStandardDeviation());
MIRegistrator->SetNumberOfSpatialSamples(self->GetNumberOfSamples());
//
// Start registration
//
try { MIRegistrator->Execute(); }
catch( itk::ExceptionObject & err )
{
std::cout << "Caught an exception: " << std::endl;
std::cout << err << std::endl;
self->SetError(1);
return;
}
MIRegistrator->ResultsToMatrix(matrix);
// Get the Value of the agreement
self->SetMetricValue(MIRegistrator->GetMetricValue());
// self->SetMetricValue(optimizer->GetValue());
// the last iteration finished with no error
self->SetError(0);
self->Modified();
}
//----------------------------------------------------------------------------
// Update the 4x4 matrix. Updates are only done as necessary.
void vtkITKMutualInformationTransform::InternalUpdate()
{
if (this->Superclass::SourceImage == NULL ||
this->Superclass::TargetImage == NULL)
{
this->Matrix->Identity();
return;
}
if (MaxNumberOfIterations->GetNumberOfTuples() !=
LearningRate->GetNumberOfTuples())
vtkErrorMacro (<< MaxNumberOfIterations->GetNumberOfTuples()
<< "is the number of levels of iterations"
<< LearningRate->GetNumberOfTuples()
<< "is the number of levels of learning rates. "
<< "the two numbers should be the same");
if (this->SourceImage->GetScalarType() != VTK_FLOAT)
{
vtkErrorMacro (<< "Source type " << this->SourceImage->GetScalarType()
<< "must be float");
this->Matrix->Identity();
return;
}
if (this->TargetImage->GetScalarType() != VTK_FLOAT)
{
vtkErrorMacro (<< "Target type " << this->SourceImage->GetScalarType()
<< "must be float");
this->Matrix->Identity();
return;
}
float dummy = 0.0;
vtkITKMutualInformationExecute(this,
this->SourceImage,
this->TargetImage,
this->Matrix,
dummy);
}
//------------------------------------------------------------------------
unsigned long vtkITKMutualInformationTransform::GetMTime()
{
unsigned long result = this->Superclass::GetMTime();
return result;
}
//----------------------------------------------------------------------------
vtkAbstractTransform *vtkITKMutualInformationTransform::MakeTransform()
{
return vtkITKMutualInformationTransform::New();
}
//----------------------------------------------------------------------------
void vtkITKMutualInformationTransform::InternalDeepCopy(vtkAbstractTransform *transform)
{
this->Superclass::InternalDeepCopy(transform);
vtkITKMutualInformationTransform *t = (vtkITKMutualInformationTransform *)transform;
// nothing to copy
}
//----------------------------------------------------------------------------
int vtkITKMutualInformationTransform::TestMatrixInitialize(vtkMatrix4x4 *aMat)
{
// Initialize
typedef itk::Image<float,3> OutputImageType;
typedef itk::MIRegistration<OutputImageType,OutputImageType> RegistratorType;
RegistratorType::Pointer MIRegistrator = RegistratorType::New();
MIRegistrator->InitializeRegistration(aMat);
// A TEST!!!
{
vtkMatrix4x4 *matt = vtkMatrix4x4::New();
MIRegistrator->ParamToMatrix(MIRegistrator->GetInitialParameters(),matt);
double diff = 0.0;
for(int ii =0;ii<4;ii++)
for(int jj=0;jj<4;jj++)
diff += ((aMat->GetElement(ii,jj) - matt->GetElement(ii,jj))*
(aMat->GetElement(ii,jj) - matt->GetElement(ii,jj)));
if (diff > 1e-6)
{
MIRegistrator->Print(std::cout);
std::cout << "Was unable to set initial matricies accurately" << std::endl;
std::cout << "Error was : " << diff << std::endl;
std::cout << "Printing initially set matrix" << endl;
aMat->Print(std::cout);
std::cout << "Printing actually set matrix" << endl;
matt->Print(std::cout);
matt->Delete();
return -1;
}
}
return MIRegistrator->TestParamToMatrix();
}
//----------------------------------------------------------------------------
| [
"[email protected]"
] | |
b7c4cedb1ba1a6b20cf1260a034e9c72e18aa34a | e248f7c7696d1c3bd04350eb871e16eb9ce56b73 | /ios5/mozilla-central/media/webrtc/trunk/third_party/libyuv/source/planar_functions.cc | 7a1442d621cbff85057334022cc2d94ef3e4751c | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | redpanda321/Icefox | d64d289f54cf814941d7075ca4e6687e3442fe77 | 8fa976766399bb92b30899b1b851a0d2130c0032 | refs/heads/master | 2021-01-21T01:10:48.492724 | 2016-03-18T04:21:36 | 2016-03-18T04:21:36 | 3,667,868 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 69,661 | cc | /*
* Copyright (c) 2011 The LibYuv project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include "libyuv/planar_functions.h"
#include <string.h>
#include "libyuv/cpu_id.h"
#include "row.h"
#ifdef __cplusplus
namespace libyuv {
extern "C" {
#endif
#if defined(__ARM_NEON__) && !defined(YUV_DISABLE_ASM)
#define HAS_SPLITUV_NEON
// Reads 16 pairs of UV and write even values to dst_u and odd to dst_v
// Alignment requirement: 16 bytes for pointers, and multiple of 16 pixels.
static void SplitUV_NEON(const uint8* src_uv,
uint8* dst_u, uint8* dst_v, int pix) {
asm volatile (
"1: \n"
"vld2.u8 {q0,q1}, [%0]! \n" // load 16 pairs of UV
"vst1.u8 {q0}, [%1]! \n" // store U
"vst1.u8 {q1}, [%2]! \n" // Store V
"subs %3, %3, #16 \n" // 16 processed per loop
"bhi 1b \n"
: "+r"(src_uv),
"+r"(dst_u),
"+r"(dst_v),
"+r"(pix) // Output registers
: // Input registers
: "memory", "cc", "q0", "q1" // Clobber List
);
}
#elif defined(_M_IX86) && !defined(YUV_DISABLE_ASM)
#define HAS_SPLITUV_SSE2
__declspec(naked)
static void SplitUV_SSE2(const uint8* src_uv,
uint8* dst_u, uint8* dst_v, int pix) {
__asm {
push edi
mov eax, [esp + 4 + 4] // src_uv
mov edx, [esp + 4 + 8] // dst_u
mov edi, [esp + 4 + 12] // dst_v
mov ecx, [esp + 4 + 16] // pix
pcmpeqb xmm5, xmm5 // generate mask 0x00ff00ff
psrlw xmm5, 8
sub edi, edx
convertloop:
movdqa xmm0, [eax]
movdqa xmm1, [eax + 16]
lea eax, [eax + 32]
movdqa xmm2, xmm0
movdqa xmm3, xmm1
pand xmm0, xmm5 // even bytes
pand xmm1, xmm5
packuswb xmm0, xmm1
psrlw xmm2, 8 // odd bytes
psrlw xmm3, 8
packuswb xmm2, xmm3
movdqa [edx], xmm0
movdqa [edx + edi], xmm2
lea edx, [edx + 16]
sub ecx, 16
ja convertloop
pop edi
ret
}
}
#elif (defined(__x86_64__) || defined(__i386__)) && !defined(YUV_DISABLE_ASM)
#define HAS_SPLITUV_SSE2
static void SplitUV_SSE2(const uint8* src_uv,
uint8* dst_u, uint8* dst_v, int pix) {
asm volatile (
"pcmpeqb %%xmm5,%%xmm5 \n"
"psrlw $0x8,%%xmm5 \n"
"sub %1,%2 \n"
"1: \n"
"movdqa (%0),%%xmm0 \n"
"movdqa 0x10(%0),%%xmm1 \n"
"lea 0x20(%0),%0 \n"
"movdqa %%xmm0,%%xmm2 \n"
"movdqa %%xmm1,%%xmm3 \n"
"pand %%xmm5,%%xmm0 \n"
"pand %%xmm5,%%xmm1 \n"
"packuswb %%xmm1,%%xmm0 \n"
"psrlw $0x8,%%xmm2 \n"
"psrlw $0x8,%%xmm3 \n"
"packuswb %%xmm3,%%xmm2 \n"
"movdqa %%xmm0,(%1) \n"
"movdqa %%xmm2,(%1,%2) \n"
"lea 0x10(%1),%1 \n"
"sub $0x10,%3 \n"
"ja 1b \n"
: "+r"(src_uv), // %0
"+r"(dst_u), // %1
"+r"(dst_v), // %2
"+r"(pix) // %3
:
: "memory", "cc"
#if defined(__SSE2__)
, "xmm0", "xmm1", "xmm2", "xmm3", "xmm5"
#endif
);
}
#endif
static void SplitUV_C(const uint8* src_uv,
uint8* dst_u, uint8* dst_v, int pix) {
// Copy a row of UV.
for (int x = 0; x < pix; ++x) {
dst_u[0] = src_uv[0];
dst_v[0] = src_uv[1];
src_uv += 2;
dst_u += 1;
dst_v += 1;
}
}
// CopyRows copys 'count' bytes using a 16 byte load/store, 64 bytes at time
#if defined(_M_IX86) && !defined(YUV_DISABLE_ASM)
#define HAS_COPYROW_SSE2
__declspec(naked)
void CopyRow_SSE2(const uint8* src, uint8* dst, int count) {
__asm {
mov eax, [esp + 4] // src
mov edx, [esp + 8] // dst
mov ecx, [esp + 12] // count
sub edx, eax
convertloop:
movdqa xmm0, [eax]
movdqa xmm1, [eax + 16]
movdqa [eax + edx], xmm0
movdqa [eax + edx + 16], xmm1
lea eax, [eax + 32]
sub ecx, 32
ja convertloop
ret
}
}
#define HAS_COPYROW_X86
__declspec(naked)
void CopyRow_X86(const uint8* src, uint8* dst, int count) {
__asm {
mov eax, esi
mov edx, edi
mov esi, [esp + 4] // src
mov edi, [esp + 8] // dst
mov ecx, [esp + 12] // count
shr ecx, 2
rep movsd
mov edi, edx
mov esi, eax
ret
}
}
#elif (defined(__x86_64__) || defined(__i386__)) && !defined(YUV_DISABLE_ASM)
#define HAS_COPYROW_SSE2
void CopyRow_SSE2(const uint8* src, uint8* dst, int count) {
asm volatile (
"sub %0,%1 \n"
"1: \n"
"movdqa (%0),%%xmm0 \n"
"movdqa 0x10(%0),%%xmm1 \n"
"movdqa %%xmm0,(%0,%1) \n"
"movdqa %%xmm1,0x10(%0,%1) \n"
"lea 0x20(%0),%0 \n"
"sub $0x20,%2 \n"
"ja 1b \n"
: "+r"(src), // %0
"+r"(dst), // %1
"+r"(count) // %2
:
: "memory", "cc"
#if defined(__SSE2__)
, "xmm0", "xmm1"
#endif
);
}
#define HAS_COPYROW_X86
void CopyRow_X86(const uint8* src, uint8* dst, int width) {
size_t width_tmp = static_cast<size_t>(width);
asm volatile (
"shr $0x2,%2 \n"
"rep movsl \n"
: "+S"(src), // %0
"+D"(dst), // %1
"+c"(width_tmp) // %2
:
: "memory", "cc"
);
}
#endif
void CopyRow_C(const uint8* src, uint8* dst, int count) {
memcpy(dst, src, count);
}
// Copy a plane of data
void CopyPlane(const uint8* src_y, int src_stride_y,
uint8* dst_y, int dst_stride_y,
int width, int height) {
void (*CopyRow)(const uint8* src, uint8* dst, int width);
#if defined(HAS_COPYROW_SSE2)
if (TestCpuFlag(kCpuHasSSE2) &&
IS_ALIGNED(width, 32) &&
IS_ALIGNED(src_y, 16) && IS_ALIGNED(src_stride_y, 16) &&
IS_ALIGNED(dst_y, 16) && IS_ALIGNED(dst_stride_y, 16)) {
CopyRow = CopyRow_SSE2;
} else
#endif
#if defined(HAS_COPYROW_X86)
if (IS_ALIGNED(width, 4) &&
IS_ALIGNED(src_y, 4) && IS_ALIGNED(src_stride_y, 4) &&
IS_ALIGNED(dst_y, 4) && IS_ALIGNED(dst_stride_y, 4)) {
CopyRow = CopyRow_X86;
} else
#endif
{
CopyRow = CopyRow_C;
}
// Copy plane
for (int y = 0; y < height; ++y) {
CopyRow(src_y, dst_y, width);
src_y += src_stride_y;
dst_y += dst_stride_y;
}
}
// Copy I420 with optional flipping
int I420Copy(const uint8* src_y, int src_stride_y,
const uint8* src_u, int src_stride_u,
const uint8* src_v, int src_stride_v,
uint8* dst_y, int dst_stride_y,
uint8* dst_u, int dst_stride_u,
uint8* dst_v, int dst_stride_v,
int width, int height) {
if (!src_y || !src_u || !src_v ||
!dst_y || !dst_u || !dst_v ||
width <= 0 || height == 0) {
return -1;
}
// Negative height means invert the image.
if (height < 0) {
height = -height;
int halfheight = (height + 1) >> 1;
src_y = src_y + (height - 1) * src_stride_y;
src_u = src_u + (halfheight - 1) * src_stride_u;
src_v = src_v + (halfheight - 1) * src_stride_v;
src_stride_y = -src_stride_y;
src_stride_u = -src_stride_u;
src_stride_v = -src_stride_v;
}
int halfwidth = (width + 1) >> 1;
int halfheight = (height + 1) >> 1;
CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight);
CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight);
return 0;
}
// Copy ARGB with optional flipping
int ARGBCopy(const uint8* src_argb, int src_stride_argb,
uint8* dst_argb, int dst_stride_argb,
int width, int height) {
if (!src_argb ||
!dst_argb ||
width <= 0 || height == 0) {
return -1;
}
// Negative height means invert the image.
if (height < 0) {
height = -height;
src_argb = src_argb + (height - 1) * src_stride_argb;
src_stride_argb = -src_stride_argb;
}
CopyPlane(src_argb, src_stride_argb, dst_argb, dst_stride_argb,
width * 4, height);
return 0;
}
int I420Mirror(const uint8* src_y, int src_stride_y,
const uint8* src_u, int src_stride_u,
const uint8* src_v, int src_stride_v,
uint8* dst_y, int dst_stride_y,
uint8* dst_u, int dst_stride_u,
uint8* dst_v, int dst_stride_v,
int width, int height) {
if (!src_y || !src_u || !src_v ||
!dst_y || !dst_u || !dst_v ||
width <= 0 || height == 0) {
return -1;
}
int halfwidth = (width + 1) >> 1;
int halfheight = (height + 1) >> 1;
// Negative height means invert the image.
if (height < 0) {
height = -height;
halfheight = (height + 1) >> 1;
src_y = src_y + (height - 1) * src_stride_y;
src_u = src_u + (halfheight - 1) * src_stride_u;
src_v = src_v + (halfheight - 1) * src_stride_v;
src_stride_y = -src_stride_y;
src_stride_u = -src_stride_u;
src_stride_v = -src_stride_v;
}
void (*ReverseRow)(const uint8* src, uint8* dst, int width);
#if defined(HAS_REVERSE_ROW_NEON)
if (TestCpuFlag(kCpuHasNEON) &&
IS_ALIGNED(width, 32)) {
ReverseRow = ReverseRow_NEON;
} else
#endif
#if defined(HAS_REVERSE_ROW_SSSE3)
if (TestCpuFlag(kCpuHasSSSE3) &&
IS_ALIGNED(width, 32) &&
IS_ALIGNED(src_y, 16) && IS_ALIGNED(src_stride_y, 16) &&
IS_ALIGNED(src_u, 16) && IS_ALIGNED(src_stride_u, 16) &&
IS_ALIGNED(src_v, 16) && IS_ALIGNED(src_stride_v, 16) &&
IS_ALIGNED(dst_y, 16) && IS_ALIGNED(dst_stride_y, 16) &&
IS_ALIGNED(dst_u, 16) && IS_ALIGNED(dst_stride_u, 16) &&
IS_ALIGNED(dst_v, 16) && IS_ALIGNED(dst_stride_v, 16)) {
ReverseRow = ReverseRow_SSSE3;
} else
#endif
#if defined(HAS_REVERSE_ROW_SSE2)
if (TestCpuFlag(kCpuHasSSE2) &&
IS_ALIGNED(width, 32) &&
IS_ALIGNED(src_y, 16) && IS_ALIGNED(src_stride_y, 16) &&
IS_ALIGNED(src_u, 16) && IS_ALIGNED(src_stride_u, 16) &&
IS_ALIGNED(src_v, 16) && IS_ALIGNED(src_stride_v, 16) &&
IS_ALIGNED(dst_y, 16) && IS_ALIGNED(dst_stride_y, 16) &&
IS_ALIGNED(dst_u, 16) && IS_ALIGNED(dst_stride_u, 16) &&
IS_ALIGNED(dst_v, 16) && IS_ALIGNED(dst_stride_v, 16)) {
ReverseRow = ReverseRow_SSE2;
} else
#endif
{
ReverseRow = ReverseRow_C;
}
// Y Plane
int y;
for (y = 0; y < height; ++y) {
ReverseRow(src_y, dst_y, width);
src_y += src_stride_y;
dst_y += dst_stride_y;
}
// U Plane
for (y = 0; y < halfheight; ++y) {
ReverseRow(src_u, dst_u, halfwidth);
src_u += src_stride_u;
dst_u += dst_stride_u;
}
// V Plane
for (y = 0; y < halfheight; ++y) {
ReverseRow(src_v, dst_v, halfwidth);
src_v += src_stride_v;
dst_v += dst_stride_v;
}
return 0;
}
#if defined(_M_IX86) && !defined(YUV_DISABLE_ASM)
#define HAS_HALFROW_SSE2
__declspec(naked)
static void HalfRow_SSE2(const uint8* src_uv, int src_uv_stride,
uint8* dst_uv, int pix) {
__asm {
push edi
mov eax, [esp + 4 + 4] // src_uv
mov edx, [esp + 4 + 8] // src_uv_stride
mov edi, [esp + 4 + 12] // dst_v
mov ecx, [esp + 4 + 16] // pix
sub edi, eax
convertloop:
movdqa xmm0, [eax]
pavgb xmm0, [eax + edx]
movdqa [eax + edi], xmm0
lea eax, [eax + 16]
sub ecx, 16
ja convertloop
pop edi
ret
}
}
#elif (defined(__x86_64__) || defined(__i386__)) && !defined(YUV_DISABLE_ASM)
#define HAS_HALFROW_SSE2
static void HalfRow_SSE2(const uint8* src_uv, int src_uv_stride,
uint8* dst_uv, int pix) {
asm volatile (
"sub %0,%1 \n"
"1: \n"
"movdqa (%0),%%xmm0 \n"
"pavgb (%0,%3),%%xmm0 \n"
"movdqa %%xmm0,(%0,%1) \n"
"lea 0x10(%0),%0 \n"
"sub $0x10,%2 \n"
"ja 1b \n"
: "+r"(src_uv), // %0
"+r"(dst_uv), // %1
"+r"(pix) // %2
: "r"(static_cast<intptr_t>(src_uv_stride)) // %3
: "memory", "cc"
#if defined(__SSE2__)
, "xmm0"
#endif
);
}
#endif
void HalfRow_C(const uint8* src_uv, int src_uv_stride,
uint8* dst_uv, int pix) {
for (int x = 0; x < pix; ++x) {
dst_uv[x] = (src_uv[x] + src_uv[src_uv_stride + x] + 1) >> 1;
}
}
int I422ToI420(const uint8* src_y, int src_stride_y,
const uint8* src_u, int src_stride_u,
const uint8* src_v, int src_stride_v,
uint8* dst_y, int dst_stride_y,
uint8* dst_u, int dst_stride_u,
uint8* dst_v, int dst_stride_v,
int width, int height) {
// Negative height means invert the image.
if (height < 0) {
height = -height;
src_y = src_y + (height - 1) * src_stride_y;
src_u = src_u + (height - 1) * src_stride_u;
src_v = src_v + (height - 1) * src_stride_v;
src_stride_y = -src_stride_y;
src_stride_u = -src_stride_u;
src_stride_v = -src_stride_v;
}
int halfwidth = (width + 1) >> 1;
void (*HalfRow)(const uint8* src_uv, int src_uv_stride,
uint8* dst_uv, int pix);
#if defined(HAS_HALFROW_SSE2)
if (TestCpuFlag(kCpuHasSSE2) &&
IS_ALIGNED(halfwidth, 16) &&
IS_ALIGNED(src_u, 16) && IS_ALIGNED(src_stride_u, 16) &&
IS_ALIGNED(src_v, 16) && IS_ALIGNED(src_stride_v, 16) &&
IS_ALIGNED(dst_u, 16) && IS_ALIGNED(dst_stride_u, 16) &&
IS_ALIGNED(dst_v, 16) && IS_ALIGNED(dst_stride_v, 16)) {
HalfRow = HalfRow_SSE2;
} else
#endif
{
HalfRow = HalfRow_C;
}
// Copy Y plane
CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
// SubSample U plane.
int y;
for (y = 0; y < height - 1; y += 2) {
HalfRow(src_u, src_stride_u, dst_u, halfwidth);
src_u += src_stride_u * 2;
dst_u += dst_stride_u;
}
if (height & 1) {
HalfRow(src_u, 0, dst_u, halfwidth);
}
// SubSample V plane.
for (y = 0; y < height - 1; y += 2) {
HalfRow(src_v, src_stride_v, dst_v, halfwidth);
src_v += src_stride_v * 2;
dst_v += dst_stride_v;
}
if (height & 1) {
HalfRow(src_v, 0, dst_v, halfwidth);
}
return 0;
}
int I420ToI422(const uint8* src_y, int src_stride_y,
const uint8* src_u, int src_stride_u,
const uint8* src_v, int src_stride_v,
uint8* dst_y, int dst_stride_y,
uint8* dst_u, int dst_stride_u,
uint8* dst_v, int dst_stride_v,
int width, int height) {
// Negative height means invert the image.
if (height < 0) {
height = -height;
dst_y = dst_y + (height - 1) * dst_stride_y;
dst_u = dst_u + (height - 1) * dst_stride_u;
dst_v = dst_v + (height - 1) * dst_stride_v;
dst_stride_y = -dst_stride_y;
dst_stride_u = -dst_stride_u;
dst_stride_v = -dst_stride_v;
}
// Copy Y plane
CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
int halfwidth = (width + 1) >> 1;
// UpSample U plane.
int y;
for (y = 0; y < height - 1; y += 2) {
memcpy(dst_u, src_u, halfwidth);
memcpy(dst_u + dst_stride_u, src_u, halfwidth);
src_u += src_stride_u;
dst_u += dst_stride_u * 2;
}
if (height & 1) {
memcpy(dst_u, src_u, halfwidth);
}
// UpSample V plane.
for (y = 0; y < height - 1; y += 2) {
memcpy(dst_v, src_v, halfwidth);
memcpy(dst_v + dst_stride_v, src_v, halfwidth);
src_v += src_stride_v;
dst_v += dst_stride_v * 2;
}
if (height & 1) {
memcpy(dst_v, src_v, halfwidth);
}
return 0;
}
// Blends 32x2 pixels to 16x1
// source in scale.cc
#if defined(__ARM_NEON__) && !defined(YUV_DISABLE_ASM)
#define HAS_SCALEROWDOWN2_NEON
void ScaleRowDown2Int_NEON(const uint8* src_ptr, int src_stride,
uint8* dst, int dst_width);
#elif (defined(_M_IX86) || defined(__x86_64__) || defined(__i386__)) && \
!defined(YUV_DISABLE_ASM)
void ScaleRowDown2Int_SSE2(const uint8* src_ptr, int src_stride,
uint8* dst_ptr, int dst_width);
#endif
void ScaleRowDown2Int_C(const uint8* src_ptr, int src_stride,
uint8* dst_ptr, int dst_width);
int I444ToI420(const uint8* src_y, int src_stride_y,
const uint8* src_u, int src_stride_u,
const uint8* src_v, int src_stride_v,
uint8* dst_y, int dst_stride_y,
uint8* dst_u, int dst_stride_u,
uint8* dst_v, int dst_stride_v,
int width, int height) {
// Negative height means invert the image.
if (height < 0) {
height = -height;
src_y = src_y + (height - 1) * src_stride_y;
src_u = src_u + (height - 1) * src_stride_u;
src_v = src_v + (height - 1) * src_stride_v;
src_stride_y = -src_stride_y;
src_stride_u = -src_stride_u;
src_stride_v = -src_stride_v;
}
int halfwidth = (width + 1) >> 1;
void (*ScaleRowDown2)(const uint8* src_ptr, int src_stride,
uint8* dst_ptr, int dst_width);
#if defined(HAS_SCALEROWDOWN2_NEON)
if (TestCpuFlag(kCpuHasNEON) &&
IS_ALIGNED(halfwidth, 16)) {
ScaleRowDown2 = ScaleRowDown2Int_NEON;
} else
#endif
#if defined(HAS_SCALEROWDOWN2_SSE2)
if (TestCpuFlag(kCpuHasSSE2) &&
IS_ALIGNED(halfwidth, 16) &&
IS_ALIGNED(src_u, 16) && IS_ALIGNED(src_stride_u, 16) &&
IS_ALIGNED(src_v, 16) && IS_ALIGNED(src_stride_v, 16) &&
IS_ALIGNED(dst_u, 16) && IS_ALIGNED(dst_stride_u, 16) &&
IS_ALIGNED(dst_v, 16) && IS_ALIGNED(dst_stride_v, 16)) {
ScaleRowDown2 = ScaleRowDown2Int_SSE2;
#endif
{
ScaleRowDown2 = ScaleRowDown2Int_C;
}
// Copy Y plane
CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
// SubSample U plane.
int y;
for (y = 0; y < height - 1; y += 2) {
ScaleRowDown2(src_u, src_stride_u, dst_u, halfwidth);
src_u += src_stride_u * 2;
dst_u += dst_stride_u;
}
if (height & 1) {
ScaleRowDown2(src_u, 0, dst_u, halfwidth);
}
// SubSample V plane.
for (y = 0; y < height - 1; y += 2) {
ScaleRowDown2(src_v, src_stride_v, dst_v, halfwidth);
src_v += src_stride_v * 2;
dst_v += dst_stride_v;
}
if (height & 1) {
ScaleRowDown2(src_v, 0, dst_v, halfwidth);
}
return 0;
}
// use Bilinear for upsampling chroma
void ScalePlaneBilinear(int src_width, int src_height,
int dst_width, int dst_height,
int src_stride, int dst_stride,
const uint8* src_ptr, uint8* dst_ptr);
int I420ToI444(const uint8* src_y, int src_stride_y,
const uint8* src_u, int src_stride_u,
const uint8* src_v, int src_stride_v,
uint8* dst_y, int dst_stride_y,
uint8* dst_u, int dst_stride_u,
uint8* dst_v, int dst_stride_v,
int width, int height) {
// Negative height means invert the image.
if (height < 0) {
height = -height;
dst_y = dst_y + (height - 1) * dst_stride_y;
dst_u = dst_u + (height - 1) * dst_stride_u;
dst_v = dst_v + (height - 1) * dst_stride_v;
dst_stride_y = -dst_stride_y;
dst_stride_u = -dst_stride_u;
dst_stride_v = -dst_stride_v;
}
// Copy Y plane
CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
int halfwidth = (width + 1) >> 1;
int halfheight = (height + 1) >> 1;
// Upsample U plane.
ScalePlaneBilinear(halfwidth, halfheight,
width, height,
src_stride_u,
dst_stride_u,
src_u, dst_u);
// Upsample V plane.
ScalePlaneBilinear(halfwidth, halfheight,
width, height,
src_stride_v,
dst_stride_v,
src_v, dst_v);
return 0;
}
static void CopyPlane2(const uint8* src, int src_stride_0, int src_stride_1,
uint8* dst, int dst_stride_frame,
int width, int height) {
// Copy plane
for (int y = 0; y < height; y += 2) {
memcpy(dst, src, width);
src += src_stride_0;
dst += dst_stride_frame;
memcpy(dst, src, width);
src += src_stride_1;
dst += dst_stride_frame;
}
}
// Support converting from FOURCC_M420
// Useful for bandwidth constrained transports like USB 1.0 and 2.0 and for
// easy conversion to I420.
// M420 format description:
// M420 is row biplanar 420: 2 rows of Y and 1 row of VU.
// Chroma is half width / half height. (420)
// src_stride_m420 is row planar. Normally this will be the width in pixels.
// The UV plane is half width, but 2 values, so src_stride_m420 applies to
// this as well as the two Y planes.
static int X420ToI420(const uint8* src_y,
int src_stride_y0, int src_stride_y1,
const uint8* src_uv, int src_stride_uv,
uint8* dst_y, int dst_stride_y,
uint8* dst_u, int dst_stride_u,
uint8* dst_v, int dst_stride_v,
int width, int height) {
// Negative height means invert the image.
if (height < 0) {
height = -height;
int halfheight = (height + 1) >> 1;
dst_y = dst_y + (height - 1) * dst_stride_y;
dst_u = dst_u + (halfheight - 1) * dst_stride_u;
dst_v = dst_v + (halfheight - 1) * dst_stride_v;
dst_stride_y = -dst_stride_y;
dst_stride_u = -dst_stride_u;
dst_stride_v = -dst_stride_v;
}
int halfwidth = (width + 1) >> 1;
void (*SplitUV)(const uint8* src_uv, uint8* dst_u, uint8* dst_v, int pix);
#if defined(HAS_SPLITUV_NEON)
if (TestCpuFlag(kCpuHasNEON) &&
IS_ALIGNED(halfwidth, 16) &&
IS_ALIGNED(src_uv, 16) && IS_ALIGNED(src_stride_uv, 16) &&
IS_ALIGNED(dst_u, 16) && IS_ALIGNED(dst_stride_u, 16) &&
IS_ALIGNED(dst_v, 16) && IS_ALIGNED(dst_stride_v, 16)) {
SplitUV = SplitUV_NEON;
} else
#elif defined(HAS_SPLITUV_SSE2)
if (TestCpuFlag(kCpuHasSSE2) &&
IS_ALIGNED(halfwidth, 16) &&
IS_ALIGNED(src_uv, 16) && IS_ALIGNED(src_stride_uv, 16) &&
IS_ALIGNED(dst_u, 16) && IS_ALIGNED(dst_stride_u, 16) &&
IS_ALIGNED(dst_v, 16) && IS_ALIGNED(dst_stride_v, 16)) {
SplitUV = SplitUV_SSE2;
} else
#endif
{
SplitUV = SplitUV_C;
}
CopyPlane2(src_y, src_stride_y0, src_stride_y1, dst_y, dst_stride_y,
width, height);
int halfheight = (height + 1) >> 1;
for (int y = 0; y < halfheight; ++y) {
// Copy a row of UV.
SplitUV(src_uv, dst_u, dst_v, halfwidth);
dst_u += dst_stride_u;
dst_v += dst_stride_v;
src_uv += src_stride_uv;
}
return 0;
}
// Convert M420 to I420.
int M420ToI420(const uint8* src_m420, int src_stride_m420,
uint8* dst_y, int dst_stride_y,
uint8* dst_u, int dst_stride_u,
uint8* dst_v, int dst_stride_v,
int width, int height) {
return X420ToI420(src_m420, src_stride_m420, src_stride_m420 * 2,
src_m420 + src_stride_m420 * 2, src_stride_m420 * 3,
dst_y, dst_stride_y,
dst_u, dst_stride_u,
dst_v, dst_stride_v,
width, height);
}
// Convert NV12 to I420.
int NV12ToI420(const uint8* src_y, int src_stride_y,
const uint8* src_uv, int src_stride_uv,
uint8* dst_y, int dst_stride_y,
uint8* dst_u, int dst_stride_u,
uint8* dst_v, int dst_stride_v,
int width, int height) {
return X420ToI420(src_y, src_stride_y, src_stride_y,
src_uv, src_stride_uv,
dst_y, dst_stride_y,
dst_u, dst_stride_u,
dst_v, dst_stride_v,
width, height);
}
#if defined(_M_IX86) && !defined(YUV_DISABLE_ASM)
#define HAS_SPLITYUY2_SSE2
__declspec(naked)
static void SplitYUY2_SSE2(const uint8* src_yuy2,
uint8* dst_y, uint8* dst_u, uint8* dst_v, int pix) {
__asm {
push esi
push edi
mov eax, [esp + 8 + 4] // src_yuy2
mov edx, [esp + 8 + 8] // dst_y
mov esi, [esp + 8 + 12] // dst_u
mov edi, [esp + 8 + 16] // dst_v
mov ecx, [esp + 8 + 20] // pix
pcmpeqb xmm5, xmm5 // generate mask 0x00ff00ff
psrlw xmm5, 8
convertloop:
movdqa xmm0, [eax]
movdqa xmm1, [eax + 16]
lea eax, [eax + 32]
movdqa xmm2, xmm0
movdqa xmm3, xmm1
pand xmm2, xmm5 // even bytes are Y
pand xmm3, xmm5
packuswb xmm2, xmm3
movdqa [edx], xmm2
lea edx, [edx + 16]
psrlw xmm0, 8 // YUYV -> UVUV
psrlw xmm1, 8
packuswb xmm0, xmm1
movdqa xmm1, xmm0
pand xmm0, xmm5 // U
packuswb xmm0, xmm0
movq qword ptr [esi], xmm0
lea esi, [esi + 8]
psrlw xmm1, 8 // V
packuswb xmm1, xmm1
movq qword ptr [edi], xmm1
lea edi, [edi + 8]
sub ecx, 16
ja convertloop
pop edi
pop esi
ret
}
}
#elif (defined(__x86_64__) || defined(__i386__)) && !defined(YUV_DISABLE_ASM)
#define HAS_SPLITYUY2_SSE2
static void SplitYUY2_SSE2(const uint8* src_yuy2, uint8* dst_y,
uint8* dst_u, uint8* dst_v, int pix) {
asm volatile (
"pcmpeqb %%xmm5,%%xmm5 \n"
"psrlw $0x8,%%xmm5 \n"
"1: \n"
"movdqa (%0),%%xmm0 \n"
"movdqa 0x10(%0),%%xmm1 \n"
"lea 0x20(%0),%0 \n"
"movdqa %%xmm0,%%xmm2 \n"
"movdqa %%xmm1,%%xmm3 \n"
"pand %%xmm5,%%xmm2 \n"
"pand %%xmm5,%%xmm3 \n"
"packuswb %%xmm3,%%xmm2 \n"
"movdqa %%xmm2,(%1) \n"
"lea 0x10(%1),%1 \n"
"psrlw $0x8,%%xmm0 \n"
"psrlw $0x8,%%xmm1 \n"
"packuswb %%xmm1,%%xmm0 \n"
"movdqa %%xmm0,%%xmm1 \n"
"pand %%xmm5,%%xmm0 \n"
"packuswb %%xmm0,%%xmm0 \n"
"movq %%xmm0,(%2) \n"
"lea 0x8(%2),%2 \n"
"psrlw $0x8,%%xmm1 \n"
"packuswb %%xmm1,%%xmm1 \n"
"movq %%xmm1,(%3) \n"
"lea 0x8(%3),%3 \n"
"sub $0x10,%4 \n"
"ja 1b \n"
: "+r"(src_yuy2), // %0
"+r"(dst_y), // %1
"+r"(dst_u), // %2
"+r"(dst_v), // %3
"+r"(pix) // %4
:
: "memory", "cc"
#if defined(__SSE2__)
, "xmm0", "xmm1", "xmm2", "xmm3", "xmm5"
#endif
);
}
#endif
static void SplitYUY2_C(const uint8* src_yuy2,
uint8* dst_y, uint8* dst_u, uint8* dst_v, int pix) {
// Copy a row of YUY2.
for (int x = 0; x < pix; x += 2) {
dst_y[0] = src_yuy2[0];
dst_y[1] = src_yuy2[2];
dst_u[0] = src_yuy2[1];
dst_v[0] = src_yuy2[3];
src_yuy2 += 4;
dst_y += 2;
dst_u += 1;
dst_v += 1;
}
}
// Convert Q420 to I420.
// Format is rows of YY/YUYV
int Q420ToI420(const uint8* src_y, int src_stride_y,
const uint8* src_yuy2, int src_stride_yuy2,
uint8* dst_y, int dst_stride_y,
uint8* dst_u, int dst_stride_u,
uint8* dst_v, int dst_stride_v,
int width, int height) {
// Negative height means invert the image.
if (height < 0) {
height = -height;
int halfheight = (height + 1) >> 1;
dst_y = dst_y + (height - 1) * dst_stride_y;
dst_u = dst_u + (halfheight - 1) * dst_stride_u;
dst_v = dst_v + (halfheight - 1) * dst_stride_v;
dst_stride_y = -dst_stride_y;
dst_stride_u = -dst_stride_u;
dst_stride_v = -dst_stride_v;
}
void (*SplitYUY2)(const uint8* src_yuy2,
uint8* dst_y, uint8* dst_u, uint8* dst_v, int pix);
#if defined(HAS_SPLITYUY2_SSE2)
if (TestCpuFlag(kCpuHasSSE2) &&
IS_ALIGNED(width, 16) &&
IS_ALIGNED(src_yuy2, 16) && IS_ALIGNED(src_stride_yuy2, 16) &&
IS_ALIGNED(dst_y, 16) && IS_ALIGNED(dst_stride_y, 16) &&
IS_ALIGNED(dst_u, 8) && IS_ALIGNED(dst_stride_u, 8) &&
IS_ALIGNED(dst_v, 8) && IS_ALIGNED(dst_stride_v, 8)) {
SplitYUY2 = SplitYUY2_SSE2;
} else
#endif
{
SplitYUY2 = SplitYUY2_C;
}
for (int y = 0; y < height; y += 2) {
memcpy(dst_y, src_y, width);
dst_y += dst_stride_y;
src_y += src_stride_y;
// Copy a row of YUY2.
SplitYUY2(src_yuy2, dst_y, dst_u, dst_v, width);
dst_y += dst_stride_y;
dst_u += dst_stride_u;
dst_v += dst_stride_v;
src_yuy2 += src_stride_yuy2;
}
return 0;
}
#if defined(_M_IX86) && !defined(YUV_DISABLE_ASM)
#define HAS_YUY2TOI420ROW_SSE2
__declspec(naked)
void YUY2ToI420RowY_SSE2(const uint8* src_yuy2,
uint8* dst_y, int pix) {
__asm {
mov eax, [esp + 4] // src_yuy2
mov edx, [esp + 8] // dst_y
mov ecx, [esp + 12] // pix
pcmpeqb xmm5, xmm5 // generate mask 0x00ff00ff
psrlw xmm5, 8
convertloop:
movdqa xmm0, [eax]
movdqa xmm1, [eax + 16]
lea eax, [eax + 32]
pand xmm0, xmm5 // even bytes are Y
pand xmm1, xmm5
packuswb xmm0, xmm1
movdqa [edx], xmm0
lea edx, [edx + 16]
sub ecx, 16
ja convertloop
ret
}
}
__declspec(naked)
void YUY2ToI420RowUV_SSE2(const uint8* src_yuy2, int stride_yuy2,
uint8* dst_u, uint8* dst_y, int pix) {
__asm {
push esi
push edi
mov eax, [esp + 8 + 4] // src_yuy2
mov esi, [esp + 8 + 8] // stride_yuy2
mov edx, [esp + 8 + 12] // dst_u
mov edi, [esp + 8 + 16] // dst_v
mov ecx, [esp + 8 + 20] // pix
pcmpeqb xmm5, xmm5 // generate mask 0x00ff00ff
psrlw xmm5, 8
sub edi, edx
convertloop:
movdqa xmm0, [eax]
movdqa xmm1, [eax + 16]
movdqa xmm2, [eax + esi]
movdqa xmm3, [eax + esi + 16]
lea eax, [eax + 32]
pavgb xmm0, xmm2
pavgb xmm1, xmm3
psrlw xmm0, 8 // YUYV -> UVUV
psrlw xmm1, 8
packuswb xmm0, xmm1
movdqa xmm1, xmm0
pand xmm0, xmm5 // U
packuswb xmm0, xmm0
psrlw xmm1, 8 // V
packuswb xmm1, xmm1
movq qword ptr [edx], xmm0
movq qword ptr [edx + edi], xmm1
lea edx, [edx + 8]
sub ecx, 16
ja convertloop
pop edi
pop esi
ret
}
}
__declspec(naked)
void YUY2ToI420RowY_Unaligned_SSE2(const uint8* src_yuy2,
uint8* dst_y, int pix) {
__asm {
mov eax, [esp + 4] // src_yuy2
mov edx, [esp + 8] // dst_y
mov ecx, [esp + 12] // pix
pcmpeqb xmm5, xmm5 // generate mask 0x00ff00ff
psrlw xmm5, 8
convertloop:
movdqu xmm0, [eax]
movdqu xmm1, [eax + 16]
lea eax, [eax + 32]
pand xmm0, xmm5 // even bytes are Y
pand xmm1, xmm5
packuswb xmm0, xmm1
movdqu [edx], xmm0
lea edx, [edx + 16]
sub ecx, 16
ja convertloop
ret
}
}
__declspec(naked)
void YUY2ToI420RowUV_Unaligned_SSE2(const uint8* src_yuy2, int stride_yuy2,
uint8* dst_u, uint8* dst_y, int pix) {
__asm {
push esi
push edi
mov eax, [esp + 8 + 4] // src_yuy2
mov esi, [esp + 8 + 8] // stride_yuy2
mov edx, [esp + 8 + 12] // dst_u
mov edi, [esp + 8 + 16] // dst_v
mov ecx, [esp + 8 + 20] // pix
pcmpeqb xmm5, xmm5 // generate mask 0x00ff00ff
psrlw xmm5, 8
sub edi, edx
convertloop:
movdqu xmm0, [eax]
movdqu xmm1, [eax + 16]
movdqu xmm2, [eax + esi]
movdqu xmm3, [eax + esi + 16]
lea eax, [eax + 32]
pavgb xmm0, xmm2
pavgb xmm1, xmm3
psrlw xmm0, 8 // YUYV -> UVUV
psrlw xmm1, 8
packuswb xmm0, xmm1
movdqa xmm1, xmm0
pand xmm0, xmm5 // U
packuswb xmm0, xmm0
psrlw xmm1, 8 // V
packuswb xmm1, xmm1
movq qword ptr [edx], xmm0
movq qword ptr [edx + edi], xmm1
lea edx, [edx + 8]
sub ecx, 16
ja convertloop
pop edi
pop esi
ret
}
}
#define HAS_UYVYTOI420ROW_SSE2
__declspec(naked)
void UYVYToI420RowY_SSE2(const uint8* src_uyvy,
uint8* dst_y, int pix) {
__asm {
mov eax, [esp + 4] // src_uyvy
mov edx, [esp + 8] // dst_y
mov ecx, [esp + 12] // pix
convertloop:
movdqa xmm0, [eax]
movdqa xmm1, [eax + 16]
lea eax, [eax + 32]
psrlw xmm0, 8 // odd bytes are Y
psrlw xmm1, 8
packuswb xmm0, xmm1
movdqa [edx], xmm0
lea edx, [edx + 16]
sub ecx, 16
ja convertloop
ret
}
}
__declspec(naked)
void UYVYToI420RowUV_SSE2(const uint8* src_uyvy, int stride_uyvy,
uint8* dst_u, uint8* dst_y, int pix) {
__asm {
push esi
push edi
mov eax, [esp + 8 + 4] // src_yuy2
mov esi, [esp + 8 + 8] // stride_yuy2
mov edx, [esp + 8 + 12] // dst_u
mov edi, [esp + 8 + 16] // dst_v
mov ecx, [esp + 8 + 20] // pix
pcmpeqb xmm5, xmm5 // generate mask 0x00ff00ff
psrlw xmm5, 8
sub edi, edx
convertloop:
movdqa xmm0, [eax]
movdqa xmm1, [eax + 16]
movdqa xmm2, [eax + esi]
movdqa xmm3, [eax + esi + 16]
lea eax, [eax + 32]
pavgb xmm0, xmm2
pavgb xmm1, xmm3
pand xmm0, xmm5 // UYVY -> UVUV
pand xmm1, xmm5
packuswb xmm0, xmm1
movdqa xmm1, xmm0
pand xmm0, xmm5 // U
packuswb xmm0, xmm0
psrlw xmm1, 8 // V
packuswb xmm1, xmm1
movq qword ptr [edx], xmm0
movq qword ptr [edx + edi], xmm1
lea edx, [edx + 8]
sub ecx, 16
ja convertloop
pop edi
pop esi
ret
}
}
#elif (defined(__x86_64__) || defined(__i386__)) && !defined(YUV_DISABLE_ASM)
#define HAS_YUY2TOI420ROW_SSE2
static void YUY2ToI420RowY_SSE2(const uint8* src_yuy2,
uint8* dst_y, int pix) {
asm volatile (
"pcmpeqb %%xmm5,%%xmm5 \n"
"psrlw $0x8,%%xmm5 \n"
"1: \n"
"movdqa (%0),%%xmm0 \n"
"movdqa 0x10(%0),%%xmm1 \n"
"lea 0x20(%0),%0 \n"
"pand %%xmm5,%%xmm0 \n"
"pand %%xmm5,%%xmm1 \n"
"packuswb %%xmm1,%%xmm0 \n"
"movdqa %%xmm0,(%1) \n"
"lea 0x10(%1),%1 \n"
"sub $0x10,%2 \n"
"ja 1b \n"
: "+r"(src_yuy2), // %0
"+r"(dst_y), // %1
"+r"(pix) // %2
:
: "memory", "cc"
#if defined(__SSE2__)
, "xmm0", "xmm1", "xmm5"
#endif
);
}
static void YUY2ToI420RowUV_SSE2(const uint8* src_yuy2, int stride_yuy2,
uint8* dst_u, uint8* dst_y, int pix) {
asm volatile (
"pcmpeqb %%xmm5,%%xmm5 \n"
"psrlw $0x8,%%xmm5 \n"
"sub %1,%2 \n"
"1: \n"
"movdqa (%0),%%xmm0 \n"
"movdqa 0x10(%0),%%xmm1 \n"
"movdqa (%0,%4,1),%%xmm2 \n"
"movdqa 0x10(%0,%4,1),%%xmm3 \n"
"lea 0x20(%0),%0 \n"
"pavgb %%xmm2,%%xmm0 \n"
"pavgb %%xmm3,%%xmm1 \n"
"psrlw $0x8,%%xmm0 \n"
"psrlw $0x8,%%xmm1 \n"
"packuswb %%xmm1,%%xmm0 \n"
"movdqa %%xmm0,%%xmm1 \n"
"pand %%xmm5,%%xmm0 \n"
"packuswb %%xmm0,%%xmm0 \n"
"psrlw $0x8,%%xmm1 \n"
"packuswb %%xmm1,%%xmm1 \n"
"movq %%xmm0,(%1) \n"
"movq %%xmm1,(%1,%2) \n"
"lea 0x8(%1),%1 \n"
"sub $0x10,%3 \n"
"ja 1b \n"
: "+r"(src_yuy2), // %0
"+r"(dst_u), // %1
"+r"(dst_y), // %2
"+r"(pix) // %3
: "r"(static_cast<intptr_t>(stride_yuy2)) // %4
: "memory", "cc"
#if defined(__SSE2__)
, "xmm0", "xmm1", "xmm2", "xmm3", "xmm5"
#endif
);
}
static void YUY2ToI420RowY_Unaligned_SSE2(const uint8* src_yuy2,
uint8* dst_y, int pix) {
asm volatile (
"pcmpeqb %%xmm5,%%xmm5 \n"
"psrlw $0x8,%%xmm5 \n"
"1: \n"
"movdqu (%0),%%xmm0 \n"
"movdqu 0x10(%0),%%xmm1 \n"
"lea 0x20(%0),%0 \n"
"pand %%xmm5,%%xmm0 \n"
"pand %%xmm5,%%xmm1 \n"
"packuswb %%xmm1,%%xmm0 \n"
"movdqu %%xmm0,(%1) \n"
"lea 0x10(%1),%1 \n"
"sub $0x10,%2 \n"
"ja 1b \n"
: "+r"(src_yuy2), // %0
"+r"(dst_y), // %1
"+r"(pix) // %2
:
: "memory", "cc"
#if defined(__SSE2__)
, "xmm0", "xmm1", "xmm5"
#endif
);
}
static void YUY2ToI420RowUV_Unaligned_SSE2(const uint8* src_yuy2,
int stride_yuy2,
uint8* dst_u, uint8* dst_y,
int pix) {
asm volatile (
"pcmpeqb %%xmm5,%%xmm5 \n"
"psrlw $0x8,%%xmm5 \n"
"sub %1,%2 \n"
"1: \n"
"movdqu (%0),%%xmm0 \n"
"movdqu 0x10(%0),%%xmm1 \n"
"movdqu (%0,%4,1),%%xmm2 \n"
"movdqu 0x10(%0,%4,1),%%xmm3 \n"
"lea 0x20(%0),%0 \n"
"pavgb %%xmm2,%%xmm0 \n"
"pavgb %%xmm3,%%xmm1 \n"
"psrlw $0x8,%%xmm0 \n"
"psrlw $0x8,%%xmm1 \n"
"packuswb %%xmm1,%%xmm0 \n"
"movdqa %%xmm0,%%xmm1 \n"
"pand %%xmm5,%%xmm0 \n"
"packuswb %%xmm0,%%xmm0 \n"
"psrlw $0x8,%%xmm1 \n"
"packuswb %%xmm1,%%xmm1 \n"
"movq %%xmm0,(%1) \n"
"movq %%xmm1,(%1,%2) \n"
"lea 0x8(%1),%1 \n"
"sub $0x10,%3 \n"
"ja 1b \n"
: "+r"(src_yuy2), // %0
"+r"(dst_u), // %1
"+r"(dst_y), // %2
"+r"(pix) // %3
: "r"(static_cast<intptr_t>(stride_yuy2)) // %4
: "memory", "cc"
#if defined(__SSE2__)
, "xmm0", "xmm1", "xmm2", "xmm3", "xmm5"
#endif
);
}
#define HAS_UYVYTOI420ROW_SSE2
static void UYVYToI420RowY_SSE2(const uint8* src_uyvy,
uint8* dst_y, int pix) {
asm volatile (
"1: \n"
"movdqa (%0),%%xmm0 \n"
"movdqa 0x10(%0),%%xmm1 \n"
"lea 0x20(%0),%0 \n"
"psrlw $0x8,%%xmm0 \n"
"psrlw $0x8,%%xmm1 \n"
"packuswb %%xmm1,%%xmm0 \n"
"movdqa %%xmm0,(%1) \n"
"lea 0x10(%1),%1 \n"
"sub $0x10,%2 \n"
"ja 1b \n"
: "+r"(src_uyvy), // %0
"+r"(dst_y), // %1
"+r"(pix) // %2
:
: "memory", "cc"
#if defined(__SSE2__)
, "xmm0", "xmm1"
#endif
);
}
static void UYVYToI420RowUV_SSE2(const uint8* src_uyvy, int stride_uyvy,
uint8* dst_u, uint8* dst_y, int pix) {
asm volatile (
"pcmpeqb %%xmm5,%%xmm5 \n"
"psrlw $0x8,%%xmm5 \n"
"sub %1,%2 \n"
"1: \n"
"movdqa (%0),%%xmm0 \n"
"movdqa 0x10(%0),%%xmm1 \n"
"movdqa (%0,%4,1),%%xmm2 \n"
"movdqa 0x10(%0,%4,1),%%xmm3 \n"
"lea 0x20(%0),%0 \n"
"pavgb %%xmm2,%%xmm0 \n"
"pavgb %%xmm3,%%xmm1 \n"
"pand %%xmm5,%%xmm0 \n"
"pand %%xmm5,%%xmm1 \n"
"packuswb %%xmm1,%%xmm0 \n"
"movdqa %%xmm0,%%xmm1 \n"
"pand %%xmm5,%%xmm0 \n"
"packuswb %%xmm0,%%xmm0 \n"
"psrlw $0x8,%%xmm1 \n"
"packuswb %%xmm1,%%xmm1 \n"
"movq %%xmm0,(%1) \n"
"movq %%xmm1,(%1,%2) \n"
"lea 0x8(%1),%1 \n"
"sub $0x10,%3 \n"
"ja 1b \n"
: "+r"(src_uyvy), // %0
"+r"(dst_u), // %1
"+r"(dst_y), // %2
"+r"(pix) // %3
: "r"(static_cast<intptr_t>(stride_uyvy)) // %4
: "memory", "cc"
#if defined(__SSE2__)
, "xmm0", "xmm1", "xmm2", "xmm3", "xmm5"
#endif
);
}
#endif
// Filter 2 rows of YUY2 UV's (422) into U and V (420)
void YUY2ToI420RowUV_C(const uint8* src_yuy2, int src_stride_yuy2,
uint8* dst_u, uint8* dst_v, int pix) {
// Output a row of UV values, filtering 2 rows of YUY2
for (int x = 0; x < pix; x += 2) {
dst_u[0] = (src_yuy2[1] + src_yuy2[src_stride_yuy2 + 1] + 1) >> 1;
dst_v[0] = (src_yuy2[3] + src_yuy2[src_stride_yuy2 + 3] + 1) >> 1;
src_yuy2 += 4;
dst_u += 1;
dst_v += 1;
}
}
void YUY2ToI420RowY_C(const uint8* src_yuy2,
uint8* dst_y, int pix) {
// Copy a row of yuy2 Y values
for (int x = 0; x < pix; ++x) {
dst_y[0] = src_yuy2[0];
src_yuy2 += 2;
dst_y += 1;
}
}
void UYVYToI420RowUV_C(const uint8* src_uyvy, int src_stride_uyvy,
uint8* dst_u, uint8* dst_v, int pix) {
// Copy a row of uyvy UV values
for (int x = 0; x < pix; x += 2) {
dst_u[0] = (src_uyvy[0] + src_uyvy[src_stride_uyvy + 0] + 1) >> 1;
dst_v[0] = (src_uyvy[2] + src_uyvy[src_stride_uyvy + 2] + 1) >> 1;
src_uyvy += 4;
dst_u += 1;
dst_v += 1;
}
}
void UYVYToI420RowY_C(const uint8* src_uyvy,
uint8* dst_y, int pix) {
// Copy a row of uyvy Y values
for (int x = 0; x < pix; ++x) {
dst_y[0] = src_uyvy[1];
src_uyvy += 2;
dst_y += 1;
}
}
// Convert YUY2 to I420.
int YUY2ToI420(const uint8* src_yuy2, int src_stride_yuy2,
uint8* dst_y, int dst_stride_y,
uint8* dst_u, int dst_stride_u,
uint8* dst_v, int dst_stride_v,
int width, int height) {
// Negative height means invert the image.
if (height < 0) {
height = -height;
src_yuy2 = src_yuy2 + (height - 1) * src_stride_yuy2;
src_stride_yuy2 = -src_stride_yuy2;
}
void (*YUY2ToI420RowUV)(const uint8* src_yuy2, int src_stride_yuy2,
uint8* dst_u, uint8* dst_v, int pix);
void (*YUY2ToI420RowY)(const uint8* src_yuy2,
uint8* dst_y, int pix);
#if defined(HAS_YUY2TOI420ROW_SSE2)
if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(width, 16)) {
if (IS_ALIGNED(src_yuy2, 16) && IS_ALIGNED(src_stride_yuy2, 16)) {
YUY2ToI420RowUV = YUY2ToI420RowUV_SSE2;
} else {
YUY2ToI420RowUV = YUY2ToI420RowUV_Unaligned_SSE2;
}
if (IS_ALIGNED(src_yuy2, 16) && IS_ALIGNED(src_stride_yuy2, 16) &&
IS_ALIGNED(dst_y, 16) && IS_ALIGNED(dst_stride_y, 16)) {
YUY2ToI420RowY = YUY2ToI420RowY_SSE2;
} else {
YUY2ToI420RowY = YUY2ToI420RowY_Unaligned_SSE2;
}
} else
#endif
{
YUY2ToI420RowY = YUY2ToI420RowY_C;
YUY2ToI420RowUV = YUY2ToI420RowUV_C;
}
for (int y = 0; y < height - 1; y += 2) {
YUY2ToI420RowUV(src_yuy2, src_stride_yuy2, dst_u, dst_v, width);
dst_u += dst_stride_u;
dst_v += dst_stride_v;
YUY2ToI420RowY(src_yuy2, dst_y, width);
YUY2ToI420RowY(src_yuy2 + src_stride_yuy2, dst_y + dst_stride_y, width);
dst_y += dst_stride_y * 2;
src_yuy2 += src_stride_yuy2 * 2;
}
if (height & 1) {
YUY2ToI420RowUV(src_yuy2, 0, dst_u, dst_v, width);
YUY2ToI420RowY(src_yuy2, dst_y, width);
}
return 0;
}
// Convert UYVY to I420.
int UYVYToI420(const uint8* src_uyvy, int src_stride_uyvy,
uint8* dst_y, int dst_stride_y,
uint8* dst_u, int dst_stride_u,
uint8* dst_v, int dst_stride_v,
int width, int height) {
// Negative height means invert the image.
if (height < 0) {
height = -height;
src_uyvy = src_uyvy + (height - 1) * src_stride_uyvy;
src_stride_uyvy = -src_stride_uyvy;
}
void (*UYVYToI420RowUV)(const uint8* src_uyvy, int src_stride_uyvy,
uint8* dst_u, uint8* dst_v, int pix);
void (*UYVYToI420RowY)(const uint8* src_uyvy,
uint8* dst_y, int pix);
#if defined(HAS_UYVYTOI420ROW_SSE2)
if (TestCpuFlag(kCpuHasSSE2) &&
IS_ALIGNED(width, 16) &&
IS_ALIGNED(src_uyvy, 16) && IS_ALIGNED(src_stride_uyvy, 16) &&
IS_ALIGNED(dst_y, 16) && IS_ALIGNED(dst_stride_y, 16) &&
IS_ALIGNED(dst_u, 8) && IS_ALIGNED(dst_stride_u, 8) &&
IS_ALIGNED(dst_v, 8) && IS_ALIGNED(dst_stride_v, 8)) {
UYVYToI420RowY = UYVYToI420RowY_SSE2;
UYVYToI420RowUV = UYVYToI420RowUV_SSE2;
} else
#endif
{
UYVYToI420RowY = UYVYToI420RowY_C;
UYVYToI420RowUV = UYVYToI420RowUV_C;
}
for (int y = 0; y < height - 1; y += 2) {
UYVYToI420RowUV(src_uyvy, src_stride_uyvy, dst_u, dst_v, width);
dst_u += dst_stride_u;
dst_v += dst_stride_v;
UYVYToI420RowY(src_uyvy, dst_y, width);
UYVYToI420RowY(src_uyvy + src_stride_uyvy, dst_y + dst_stride_y, width);
dst_y += dst_stride_y * 2;
src_uyvy += src_stride_uyvy * 2;
}
if (height & 1) {
UYVYToI420RowUV(src_uyvy, 0, dst_u, dst_v, width);
UYVYToI420RowY(src_uyvy, dst_y, width);
}
return 0;
}
// Convert I420 to ARGB.
int I420ToARGB(const uint8* src_y, int src_stride_y,
const uint8* src_u, int src_stride_u,
const uint8* src_v, int src_stride_v,
uint8* dst_argb, int dst_stride_argb,
int width, int height) {
// Negative height means invert the image.
if (height < 0) {
height = -height;
dst_argb = dst_argb + (height - 1) * dst_stride_argb;
dst_stride_argb = -dst_stride_argb;
}
void (*FastConvertYUVToARGBRow)(const uint8* y_buf,
const uint8* u_buf,
const uint8* v_buf,
uint8* rgb_buf,
int width);
#if defined(HAS_FASTCONVERTYUVTOARGBROW_NEON)
if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 16)) {
FastConvertYUVToARGBRow = FastConvertYUVToARGBRow_NEON;
} else
#elif defined(HAS_FASTCONVERTYUVTOARGBROW_SSSE3)
if (TestCpuFlag(kCpuHasSSSE3) &&
IS_ALIGNED(width, 8) &&
IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) {
FastConvertYUVToARGBRow = FastConvertYUVToARGBRow_SSSE3;
} else
#endif
{
FastConvertYUVToARGBRow = FastConvertYUVToARGBRow_C;
}
for (int y = 0; y < height; ++y) {
FastConvertYUVToARGBRow(src_y, src_u, src_v, dst_argb, width);
dst_argb += dst_stride_argb;
src_y += src_stride_y;
if (y & 1) {
src_u += src_stride_u;
src_v += src_stride_v;
}
}
return 0;
}
// Convert I420 to BGRA.
int I420ToBGRA(const uint8* src_y, int src_stride_y,
const uint8* src_u, int src_stride_u,
const uint8* src_v, int src_stride_v,
uint8* dst_argb, int dst_stride_argb,
int width, int height) {
// Negative height means invert the image.
if (height < 0) {
height = -height;
dst_argb = dst_argb + (height - 1) * dst_stride_argb;
dst_stride_argb = -dst_stride_argb;
}
void (*FastConvertYUVToBGRARow)(const uint8* y_buf,
const uint8* u_buf,
const uint8* v_buf,
uint8* rgb_buf,
int width);
#if defined(HAS_FASTCONVERTYUVTOBGRAROW_NEON)
if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 16)) {
FastConvertYUVToBGRARow = FastConvertYUVToBGRARow_NEON;
} else
#elif defined(HAS_FASTCONVERTYUVTOBGRAROW_SSSE3)
if (TestCpuFlag(kCpuHasSSSE3) &&
IS_ALIGNED(width, 8) &&
IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) {
FastConvertYUVToBGRARow = FastConvertYUVToBGRARow_SSSE3;
} else
#endif
{
FastConvertYUVToBGRARow = FastConvertYUVToBGRARow_C;
}
for (int y = 0; y < height; ++y) {
FastConvertYUVToBGRARow(src_y, src_u, src_v, dst_argb, width);
dst_argb += dst_stride_argb;
src_y += src_stride_y;
if (y & 1) {
src_u += src_stride_u;
src_v += src_stride_v;
}
}
return 0;
}
// Convert I420 to ABGR.
int I420ToABGR(const uint8* src_y, int src_stride_y,
const uint8* src_u, int src_stride_u,
const uint8* src_v, int src_stride_v,
uint8* dst_argb, int dst_stride_argb,
int width, int height) {
// Negative height means invert the image.
if (height < 0) {
height = -height;
dst_argb = dst_argb + (height - 1) * dst_stride_argb;
dst_stride_argb = -dst_stride_argb;
}
void (*FastConvertYUVToABGRRow)(const uint8* y_buf,
const uint8* u_buf,
const uint8* v_buf,
uint8* rgb_buf,
int width);
#if defined(HAS_FASTCONVERTYUVTOABGRROW_NEON)
if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 16)) {
FastConvertYUVToABGRRow = FastConvertYUVToABGRRow_NEON;
} else
#elif defined(HAS_FASTCONVERTYUVTOABGRROW_SSSE3)
if (TestCpuFlag(kCpuHasSSSE3) &&
IS_ALIGNED(width, 8) &&
IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) {
FastConvertYUVToABGRRow = FastConvertYUVToABGRRow_SSSE3;
} else
#endif
{
FastConvertYUVToABGRRow = FastConvertYUVToABGRRow_C;
}
for (int y = 0; y < height; ++y) {
FastConvertYUVToABGRRow(src_y, src_u, src_v, dst_argb, width);
dst_argb += dst_stride_argb;
src_y += src_stride_y;
if (y & 1) {
src_u += src_stride_u;
src_v += src_stride_v;
}
}
return 0;
}
// Convert I422 to ARGB.
int I422ToARGB(const uint8* src_y, int src_stride_y,
const uint8* src_u, int src_stride_u,
const uint8* src_v, int src_stride_v,
uint8* dst_argb, int dst_stride_argb,
int width, int height) {
// Negative height means invert the image.
if (height < 0) {
height = -height;
dst_argb = dst_argb + (height - 1) * dst_stride_argb;
dst_stride_argb = -dst_stride_argb;
}
void (*FastConvertYUVToARGBRow)(const uint8* y_buf,
const uint8* u_buf,
const uint8* v_buf,
uint8* rgb_buf,
int width);
#if defined(HAS_FASTCONVERTYUVTOARGBROW_SSSE3)
if (TestCpuFlag(kCpuHasSSSE3) &&
IS_ALIGNED(width, 8) &&
IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) {
FastConvertYUVToARGBRow = FastConvertYUVToARGBRow_SSSE3;
} else
#endif
{
FastConvertYUVToARGBRow = FastConvertYUVToARGBRow_C;
}
for (int y = 0; y < height; ++y) {
FastConvertYUVToARGBRow(src_y, src_u, src_v, dst_argb, width);
dst_argb += dst_stride_argb;
src_y += src_stride_y;
src_u += src_stride_u;
src_v += src_stride_v;
}
return 0;
}
// Convert I444 to ARGB.
int I444ToARGB(const uint8* src_y, int src_stride_y,
const uint8* src_u, int src_stride_u,
const uint8* src_v, int src_stride_v,
uint8* dst_argb, int dst_stride_argb,
int width, int height) {
// Negative height means invert the image.
if (height < 0) {
height = -height;
dst_argb = dst_argb + (height - 1) * dst_stride_argb;
dst_stride_argb = -dst_stride_argb;
}
void (*FastConvertYUV444ToARGBRow)(const uint8* y_buf,
const uint8* u_buf,
const uint8* v_buf,
uint8* rgb_buf,
int width);
#if defined(HAS_FASTCONVERTYUV444TOARGBROW_SSSE3)
if (TestCpuFlag(kCpuHasSSSE3) &&
IS_ALIGNED(width, 8) &&
IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) {
FastConvertYUV444ToARGBRow = FastConvertYUV444ToARGBRow_SSSE3;
} else
#endif
{
FastConvertYUV444ToARGBRow = FastConvertYUV444ToARGBRow_C;
}
for (int y = 0; y < height; ++y) {
FastConvertYUV444ToARGBRow(src_y, src_u, src_v, dst_argb, width);
dst_argb += dst_stride_argb;
src_y += src_stride_y;
src_u += src_stride_u;
src_v += src_stride_v;
}
return 0;
}
// Convert I400 to ARGB.
int I400ToARGB_Reference(const uint8* src_y, int src_stride_y,
uint8* dst_argb, int dst_stride_argb,
int width, int height) {
// Negative height means invert the image.
if (height < 0) {
height = -height;
dst_argb = dst_argb + (height - 1) * dst_stride_argb;
dst_stride_argb = -dst_stride_argb;
}
void (*FastConvertYToARGBRow)(const uint8* y_buf,
uint8* rgb_buf,
int width);
#if defined(HAS_FASTCONVERTYTOARGBROW_SSE2)
if (TestCpuFlag(kCpuHasSSE2) &&
IS_ALIGNED(width, 8) &&
IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) {
FastConvertYToARGBRow = FastConvertYToARGBRow_SSE2;
} else
#endif
{
FastConvertYToARGBRow = FastConvertYToARGBRow_C;
}
for (int y = 0; y < height; ++y) {
FastConvertYToARGBRow(src_y, dst_argb, width);
dst_argb += dst_stride_argb;
src_y += src_stride_y;
}
return 0;
}
// Convert I400 to ARGB.
int I400ToARGB(const uint8* src_y, int src_stride_y,
uint8* dst_argb, int dst_stride_argb,
int width, int height) {
if (height < 0) {
height = -height;
src_y = src_y + (height - 1) * src_stride_y;
src_stride_y = -src_stride_y;
}
void (*I400ToARGBRow)(const uint8* src_y, uint8* dst_argb, int pix);
#if defined(HAS_I400TOARGBROW_SSE2)
if (TestCpuFlag(kCpuHasSSE2) &&
IS_ALIGNED(width, 8) &&
IS_ALIGNED(src_y, 8) && IS_ALIGNED(src_stride_y, 8) &&
IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) {
I400ToARGBRow = I400ToARGBRow_SSE2;
} else
#endif
{
I400ToARGBRow = I400ToARGBRow_C;
}
for (int y = 0; y < height; ++y) {
I400ToARGBRow(src_y, dst_argb, width);
src_y += src_stride_y;
dst_argb += dst_stride_argb;
}
return 0;
}
int ABGRToARGB(const uint8* src_abgr, int src_stride_abgr,
uint8* dst_argb, int dst_stride_argb,
int width, int height) {
if (height < 0) {
height = -height;
src_abgr = src_abgr + (height - 1) * src_stride_abgr;
src_stride_abgr = -src_stride_abgr;
}
void (*ABGRToARGBRow)(const uint8* src_abgr, uint8* dst_argb, int pix);
#if defined(HAS_ABGRTOARGBROW_SSSE3)
if (TestCpuFlag(kCpuHasSSSE3) &&
IS_ALIGNED(width, 4) &&
IS_ALIGNED(src_abgr, 16) && IS_ALIGNED(src_stride_abgr, 16) &&
IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) {
ABGRToARGBRow = ABGRToARGBRow_SSSE3;
} else
#endif
{
ABGRToARGBRow = ABGRToARGBRow_C;
}
for (int y = 0; y < height; ++y) {
ABGRToARGBRow(src_abgr, dst_argb, width);
src_abgr += src_stride_abgr;
dst_argb += dst_stride_argb;
}
return 0;
}
// Convert BGRA to ARGB.
int BGRAToARGB(const uint8* src_bgra, int src_stride_bgra,
uint8* dst_argb, int dst_stride_argb,
int width, int height) {
if (height < 0) {
height = -height;
src_bgra = src_bgra + (height - 1) * src_stride_bgra;
src_stride_bgra = -src_stride_bgra;
}
void (*BGRAToARGBRow)(const uint8* src_bgra, uint8* dst_argb, int pix);
#if defined(HAS_BGRATOARGBROW_SSSE3)
if (TestCpuFlag(kCpuHasSSSE3) &&
IS_ALIGNED(width, 4) &&
IS_ALIGNED(src_bgra, 16) && IS_ALIGNED(src_stride_bgra, 16) &&
IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) {
BGRAToARGBRow = BGRAToARGBRow_SSSE3;
} else
#endif
{
BGRAToARGBRow = BGRAToARGBRow_C;
}
for (int y = 0; y < height; ++y) {
BGRAToARGBRow(src_bgra, dst_argb, width);
src_bgra += src_stride_bgra;
dst_argb += dst_stride_argb;
}
return 0;
}
// Convert ARGB to I400.
int ARGBToI400(const uint8* src_argb, int src_stride_argb,
uint8* dst_y, int dst_stride_y,
int width, int height) {
if (height < 0) {
height = -height;
src_argb = src_argb + (height - 1) * src_stride_argb;
src_stride_argb = -src_stride_argb;
}
void (*ARGBToYRow)(const uint8* src_argb, uint8* dst_y, int pix);
#if defined(HAS_ARGBTOYROW_SSSE3)
if (TestCpuFlag(kCpuHasSSSE3) &&
IS_ALIGNED(width, 4) &&
IS_ALIGNED(src_argb, 16) && IS_ALIGNED(src_stride_argb, 16) &&
IS_ALIGNED(dst_y, 16) && IS_ALIGNED(dst_stride_y, 16)) {
ARGBToYRow = ARGBToYRow_SSSE3;
} else
#endif
{
ARGBToYRow = ARGBToYRow_C;
}
for (int y = 0; y < height; ++y) {
ARGBToYRow(src_argb, dst_y, width);
src_argb += src_stride_argb;
dst_y += dst_stride_y;
}
return 0;
}
// Convert RAW to ARGB.
int RAWToARGB(const uint8* src_raw, int src_stride_raw,
uint8* dst_argb, int dst_stride_argb,
int width, int height) {
if (height < 0) {
height = -height;
src_raw = src_raw + (height - 1) * src_stride_raw;
src_stride_raw = -src_stride_raw;
}
void (*RAWToARGBRow)(const uint8* src_raw, uint8* dst_argb, int pix);
#if defined(HAS_RAWTOARGBROW_SSSE3)
if (TestCpuFlag(kCpuHasSSSE3) &&
IS_ALIGNED(width, 16) &&
IS_ALIGNED(src_raw, 16) && IS_ALIGNED(src_stride_raw, 16) &&
IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) {
RAWToARGBRow = RAWToARGBRow_SSSE3;
} else
#endif
{
RAWToARGBRow = RAWToARGBRow_C;
}
for (int y = 0; y < height; ++y) {
RAWToARGBRow(src_raw, dst_argb, width);
src_raw += src_stride_raw;
dst_argb += dst_stride_argb;
}
return 0;
}
// Convert BG24 to ARGB.
int BG24ToARGB(const uint8* src_bg24, int src_stride_bg24,
uint8* dst_argb, int dst_stride_argb,
int width, int height) {
if (height < 0) {
height = -height;
src_bg24 = src_bg24 + (height - 1) * src_stride_bg24;
src_stride_bg24 = -src_stride_bg24;
}
void (*BG24ToARGBRow)(const uint8* src_bg24, uint8* dst_argb, int pix);
#if defined(HAS_BG24TOARGBROW_SSSE3)
if (TestCpuFlag(kCpuHasSSSE3) &&
IS_ALIGNED(width, 16) &&
IS_ALIGNED(src_bg24, 16) && IS_ALIGNED(src_stride_bg24, 16) &&
IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) {
BG24ToARGBRow = BG24ToARGBRow_SSSE3;
} else
#endif
{
BG24ToARGBRow = BG24ToARGBRow_C;
}
for (int y = 0; y < height; ++y) {
BG24ToARGBRow(src_bg24, dst_argb, width);
src_bg24 += src_stride_bg24;
dst_argb += dst_stride_argb;
}
return 0;
}
// SetRow8 writes 'count' bytes using a 32 bit value repeated
// SetRow32 writes 'count' words using a 32 bit value repeated
#if defined(__ARM_NEON__) && !defined(YUV_DISABLE_ASM)
#define HAS_SETROW_NEON
static void SetRow8_NEON(uint8* dst, uint32 v32, int count) {
asm volatile (
"vdup.u32 q0, %2 \n" // duplicate 4 ints
"1: \n"
"vst1.u32 {q0}, [%0]! \n" // store
"subs %1, %1, #16 \n" // 16 bytes per loop
"bhi 1b \n"
: "+r"(dst), // %0
"+r"(count) // %1
: "r"(v32) // %2
: "q0", "memory", "cc"
);
}
// TODO(fbarchard): Make fully assembler
static void SetRows32_NEON(uint8* dst, uint32 v32, int width,
int dst_stride, int height) {
for (int y = 0; y < height; ++y) {
SetRow8_NEON(dst, v32, width << 2);
dst += dst_stride;
}
}
#elif defined(_M_IX86) && !defined(YUV_DISABLE_ASM)
#define HAS_SETROW_X86
__declspec(naked)
static void SetRow8_X86(uint8* dst, uint32 v32, int count) {
__asm {
mov edx, edi
mov edi, [esp + 4] // dst
mov eax, [esp + 8] // v32
mov ecx, [esp + 12] // count
shr ecx, 2
rep stosd
mov edi, edx
ret
}
}
__declspec(naked)
static void SetRows32_X86(uint8* dst, uint32 v32, int width,
int dst_stride, int height) {
__asm {
push edi
push ebp
mov edi, [esp + 8 + 4] // dst
mov eax, [esp + 8 + 8] // v32
mov ebp, [esp + 8 + 12] // width
mov edx, [esp + 8 + 16] // dst_stride
mov ebx, [esp + 8 + 20] // height
lea ecx, [ebp * 4]
sub edx, ecx // stride - width * 4
convertloop:
mov ecx, ebp
rep stosd
add edi, edx
sub ebx, 1
ja convertloop
pop ebp
pop edi
ret
}
}
#elif (defined(__x86_64__) || defined(__i386__)) && !defined(YUV_DISABLE_ASM)
#define HAS_SETROW_X86
static void SetRow8_X86(uint8* dst, uint32 v32, int width) {
size_t width_tmp = static_cast<size_t>(width);
asm volatile (
"shr $0x2,%1 \n"
"rep stosl \n"
: "+D"(dst), // %0
"+c"(width_tmp) // %1
: "a"(v32) // %2
: "memory", "cc"
);
}
static void SetRows32_X86(uint8* dst, uint32 v32, int width,
int dst_stride, int height) {
for (int y = 0; y < height; ++y) {
size_t width_tmp = static_cast<size_t>(width);
uint32* d = reinterpret_cast<uint32*>(dst);
asm volatile (
"rep stosl \n"
: "+D"(d), // %0
"+c"(width_tmp) // %1
: "a"(v32) // %2
: "memory", "cc"
);
dst += dst_stride;
}
}
#endif
#if !defined(HAS_SETROW_X86)
static void SetRow8_C(uint8* dst, uint32 v8, int count) {
#ifdef _MSC_VER
for (int x = 0; x < count; ++x) {
dst[x] = v8;
}
#else
memset(dst, v8, count);
#endif
}
static void SetRows32_C(uint8* dst, uint32 v32, int width,
int dst_stride, int height) {
for (int y = 0; y < height; ++y) {
uint32* d = reinterpret_cast<uint32*>(dst);
for (int x = 0; x < width; ++x) {
d[x] = v32;
}
dst += dst_stride;
}
}
#endif
static void SetPlane(uint8* dst_y, int dst_stride_y,
int width, int height,
uint32 value) {
void (*SetRow)(uint8* dst, uint32 value, int pix);
#if defined(HAS_SETROW_NEON)
if (TestCpuFlag(kCpuHasNEON) &&
IS_ALIGNED(width, 16) &&
IS_ALIGNED(dst_y, 16) && IS_ALIGNED(dst_stride_y, 16)) {
SetRow = SetRow8_NEON;
} else
#elif defined(HAS_SETROW_SSE2)
if (TestCpuFlag(kCpuHasSSE2) &&
IS_ALIGNED(width, 16) &&
IS_ALIGNED(dst_y, 16) && IS_ALIGNED(dst_stride_y, 16)) {
SetRow = SetRow8_SSE2;
} else
#endif
{
#if defined(HAS_SETROW_X86)
SetRow = SetRow8_X86;
#else
SetRow = SetRow8_C;
#endif
}
uint32 v32 = value | (value << 8) | (value << 16) | (value << 24);
// Set plane
for (int y = 0; y < height; ++y) {
SetRow(dst_y, v32, width);
dst_y += dst_stride_y;
}
}
// Draw a rectangle into I420
int I420Rect(uint8* dst_y, int dst_stride_y,
uint8* dst_u, int dst_stride_u,
uint8* dst_v, int dst_stride_v,
int x, int y,
int width, int height,
int value_y, int value_u, int value_v) {
if (!dst_y || !dst_u || !dst_v ||
width <= 0 || height <= 0 ||
x < 0 || y < 0 ||
value_y < 0 || value_y > 255 ||
value_u < 0 || value_u > 255 ||
value_v < 0 || value_v > 255) {
return -1;
}
int halfwidth = (width + 1) >> 1;
int halfheight = (height + 1) >> 1;
uint8* start_y = dst_y + y * dst_stride_y + x;
uint8* start_u = dst_u + (y / 2) * dst_stride_u + (x / 2);
uint8* start_v = dst_v + (y / 2) * dst_stride_v + (x / 2);
SetPlane(start_y, dst_stride_y, width, height, value_y);
SetPlane(start_u, dst_stride_u, halfwidth, halfheight, value_u);
SetPlane(start_v, dst_stride_v, halfwidth, halfheight, value_v);
return 0;
}
// Draw a rectangle into ARGB
int ARGBRect(uint8* dst_argb, int dst_stride_argb,
int dst_x, int dst_y,
int width, int height,
uint32 value) {
if (!dst_argb ||
width <= 0 || height <= 0 ||
dst_x < 0 || dst_y < 0) {
return -1;
}
uint8* dst = dst_argb + dst_y * dst_stride_argb + dst_x * 4;
void (*SetRows)(uint8* dst, uint32 value, int width,
int dst_stride, int height);
#if defined(HAS_SETROW_NEON)
if (TestCpuFlag(kCpuHasNEON) &&
IS_ALIGNED(width, 16) &&
IS_ALIGNED(dst, 16) && IS_ALIGNED(dst_stride_argb, 16)) {
SetRows = SetRows32_NEON;
} else
#endif
{
#if defined(HAS_SETROW_X86)
SetRows = SetRows32_X86;
#else
SetRows = SetRows32_C;
#endif
}
SetRows(dst, value, width, dst_stride_argb, height);
return 0;
}
// I400 is greyscale typically used in MJPG
int I400ToI420(const uint8* src_y, int src_stride_y,
uint8* dst_y, int dst_stride_y,
uint8* dst_u, int dst_stride_u,
uint8* dst_v, int dst_stride_v,
int width, int height) {
// Negative height means invert the image.
if (height < 0) {
height = -height;
src_y = src_y + (height - 1) * src_stride_y;
src_stride_y = -src_stride_y;
}
int halfwidth = (width + 1) >> 1;
int halfheight = (height + 1) >> 1;
CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
SetPlane(dst_u, dst_stride_u, halfwidth, halfheight, 128);
SetPlane(dst_v, dst_stride_v, halfwidth, halfheight, 128);
return 0;
}
// Copy to I400. Source can be I420,422,444,400,NV12,NV21
int I400Copy(const uint8* src_y, int src_stride_y,
uint8* dst_y, int dst_stride_y,
int width, int height) {
// Negative height means invert the image.
if (height < 0) {
height = -height;
src_y = src_y + (height - 1) * src_stride_y;
src_stride_y = -src_stride_y;
}
CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
return 0;
}
#ifdef __cplusplus
} // extern "C"
} // namespace libyuv
#endif
| [
"[email protected]"
] | |
691611a99734db08cf41db4ecdd89fad48b49241 | fa88629073749cf936fe5f15168411f274c58e59 | /taglib/riff/wav/wavfile.cpp | 85c4ea68cf016949d841b22febe8501b1bf951c8 | [] | no_license | audioprog/AudioDatabaseForUsbAutoCopyMaster | dd6ebc00db8d68c3b7412642d0f7499b37285876 | c72603324946dca0601d654e020188d95f232aea | refs/heads/master | 2022-09-21T04:08:21.638725 | 2022-09-14T17:32:36 | 2022-09-14T17:32:36 | 38,965,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,537 | cpp | /***************************************************************************
copyright : (C) 2008 by Scott Wheeler
email : [email protected]
***************************************************************************/
/***************************************************************************
* 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. *
* *
* This library 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 *
* Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public *
* License along with this library; if not, write to the Free Software *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA *
* 02110-1301 USA *
* *
* Alternatively, this file is available under the Mozilla Public *
* License Version 1.1. You may obtain a copy of the License at *
* http://www.mozilla.org/MPL/ *
***************************************************************************/
#include "tbytevector.h"
#include "tdebug.h"
#include "tstringlist.h"
#include "tpropertymap.h"
#include "wavfile.h"
#include "id3v2tag.h"
#include "infotag.h"
#include "tagunion.h"
using namespace TagLib;
namespace
{
enum { ID3v2Index = 0, InfoIndex = 1 };
}
class RIFF::WAV::File::FilePrivate
{
public:
FilePrivate() :
properties(0),
tagChunkID("ID3 "),
hasID3v2(false),
hasInfo(false)
{
}
~FilePrivate()
{
delete properties;
}
Properties *properties;
ByteVector tagChunkID;
TagUnion tag;
bool hasID3v2;
bool hasInfo;
};
////////////////////////////////////////////////////////////////////////////////
// public members
////////////////////////////////////////////////////////////////////////////////
RIFF::WAV::File::File(FileName file, bool readProperties,
Properties::ReadStyle propertiesStyle) : RIFF::File(file, LittleEndian)
{
d = new FilePrivate;
if(isOpen())
read(readProperties, propertiesStyle);
}
RIFF::WAV::File::File(IOStream *stream, bool readProperties,
Properties::ReadStyle propertiesStyle) : RIFF::File(stream, LittleEndian)
{
d = new FilePrivate;
if(isOpen())
read(readProperties, propertiesStyle);
}
RIFF::WAV::File::~File()
{
delete d;
}
ID3v2::Tag *RIFF::WAV::File::tag() const
{
return ID3v2Tag();
}
ID3v2::Tag *RIFF::WAV::File::ID3v2Tag() const
{
return d->tag.access<ID3v2::Tag>(ID3v2Index, false);
}
RIFF::Info::Tag *RIFF::WAV::File::InfoTag() const
{
return d->tag.access<RIFF::Info::Tag>(InfoIndex, false);
}
PropertyMap RIFF::WAV::File::properties() const
{
return tag()->properties();
}
void RIFF::WAV::File::removeUnsupportedProperties(const StringList &unsupported)
{
tag()->removeUnsupportedProperties(unsupported);
}
PropertyMap RIFF::WAV::File::setProperties(const PropertyMap &properties)
{
return tag()->setProperties(properties);
}
RIFF::WAV::Properties *RIFF::WAV::File::audioProperties() const
{
return d->properties;
}
bool RIFF::WAV::File::save()
{
return RIFF::WAV::File::save(AllTags);
}
bool RIFF::WAV::File::save(TagTypes tags, bool stripOthers, int id3v2Version)
{
if(readOnly()) {
debug("RIFF::WAV::File::save() -- File is read only.");
return false;
}
if(!isValid()) {
debug("RIFF::WAV::File::save() -- Trying to save invalid file.");
return false;
}
if(stripOthers)
strip(static_cast<TagTypes>(AllTags & ~tags));
ID3v2::Tag *id3v2tag = d->tag.access<ID3v2::Tag>(ID3v2Index, false);
if(!id3v2tag->isEmpty()) {
if(tags & ID3v2) {
setChunkData(d->tagChunkID, id3v2tag->render(id3v2Version));
d->hasID3v2 = true;
}
}
Info::Tag *infotag = d->tag.access<Info::Tag>(InfoIndex, false);
if(!infotag->isEmpty()) {
if(tags & Info) {
int chunkId = findInfoTagChunk();
if(chunkId != -1)
setChunkData(chunkId, infotag->render());
else
setChunkData("LIST", infotag->render(), true);
d->hasInfo = true;
}
}
return true;
}
bool RIFF::WAV::File::hasID3v2Tag() const
{
return d->hasID3v2;
}
bool RIFF::WAV::File::hasInfoTag() const
{
return d->hasInfo;
}
////////////////////////////////////////////////////////////////////////////////
// private members
////////////////////////////////////////////////////////////////////////////////
void RIFF::WAV::File::read(bool readProperties, Properties::ReadStyle propertiesStyle)
{
ByteVector formatData;
uint streamLength = 0;
for(uint i = 0; i < chunkCount(); i++) {
String name = chunkName(i);
if(name == "ID3 " || name == "id3 ") {
d->tagChunkID = chunkName(i);
d->tag.set(ID3v2Index, new ID3v2::Tag(this, chunkOffset(i)));
d->hasID3v2 = true;
}
else if(name == "fmt " && readProperties)
formatData = chunkData(i);
else if(name == "data" && readProperties)
streamLength = chunkDataSize(i);
else if(name == "LIST") {
ByteVector data = chunkData(i);
ByteVector type = data.mid(0, 4);
if(type == "INFO") {
d->tag.set(InfoIndex, new RIFF::Info::Tag(data));
d->hasInfo = true;
}
}
}
if (!d->tag[ID3v2Index])
d->tag.set(ID3v2Index, new ID3v2::Tag);
if (!d->tag[InfoIndex])
d->tag.set(InfoIndex, new RIFF::Info::Tag);
if(!formatData.isEmpty())
d->properties = new Properties(formatData, streamLength, propertiesStyle);
}
void RIFF::WAV::File::strip(TagTypes tags)
{
if(tags & ID3v2)
removeChunk(d->tagChunkID);
if(tags & Info){
uint chunkId = findInfoTagChunk();
if(chunkId != uint(-1))
removeChunk(chunkId);
}
}
uint RIFF::WAV::File::findInfoTagChunk()
{
for(uint i = 0; i < chunkCount(); ++i) {
if(chunkName(i) == "LIST" && chunkData(i).mid(0, 4) == "INFO") {
return i;
}
}
return uint(-1);
}
| [
"[email protected]"
] | |
2f76caa5c76bd72a97c14970c4fdca32d50fce83 | a314c44ef5a8a4c94720501a212d509eadd98264 | /src/Magnum/Trade/SceneData.cpp | d62a7eb18d9b1b01b5cd2d396d05b2ad84949a60 | [
"MIT"
] | permissive | rockgong/magnum | 5c4ac7e189d02d9e0b9e1d0bc9367e2c82cc9fae | b937f3901e8dcb3f108769166fcf9d3be5a43fbc | refs/heads/master | 2020-05-16T09:44:54.922838 | 2019-04-22T12:29:24 | 2019-04-22T12:48:24 | 182,959,433 | 1 | 0 | NOASSERTION | 2019-04-23T07:30:40 | 2019-04-23T07:30:40 | null | UTF-8 | C++ | false | false | 1,846 | cpp | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019
Vladimír Vondruš <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
*/
#include "SceneData.h"
namespace Magnum { namespace Trade {
SceneData::SceneData(std::vector<UnsignedInt> children2D, std::vector<UnsignedInt> children3D, const void* const importerState): _children2D{std::move(children2D)}, _children3D{std::move(children3D)}, _importerState{importerState} {}
SceneData::SceneData(SceneData&&)
#if !defined(__GNUC__) || __GNUC__*100 + __GNUC_MINOR__ != 409
noexcept
#endif
= default;
SceneData& SceneData::operator=(SceneData&&)
#if !defined(__GNUC__) || __GNUC__*100 + __GNUC_MINOR__ != 409
noexcept
#endif
= default;
}}
| [
"[email protected]"
] | |
4907a82fdc13c439bde4e21fefb2640150ad9415 | b52ab043d503cf0ba386b831c5bab869524cfa93 | /src/support/allocators/zeroafterfree.h | ba90af0c53fbec4a6c6a2677139e669824f67942 | [
"MIT"
] | permissive | mirzaei-ce/linux-cocabit | f3a07968d96442ac2d94d0b72dc446bb1ec830de | ceadf6346ab64b6bd93927d93dc52007b5fbb5a2 | refs/heads/master | 2021-05-06T12:27:00.077551 | 2017-12-04T14:41:56 | 2017-12-04T14:41:56 | 113,054,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,716 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef COCABIT_SUPPORT_ALLOCATORS_ZEROAFTERFREE_H
#define COCABIT_SUPPORT_ALLOCATORS_ZEROAFTERFREE_H
#include "support/cleanse.h"
#include <memory>
#include <vector>
template <typename T>
struct zero_after_free_allocator : public std::allocator<T> {
// MSVC8 default copy constructor is broken
typedef std::allocator<T> base;
typedef typename base::size_type size_type;
typedef typename base::difference_type difference_type;
typedef typename base::pointer pointer;
typedef typename base::const_pointer const_pointer;
typedef typename base::reference reference;
typedef typename base::const_reference const_reference;
typedef typename base::value_type value_type;
zero_after_free_allocator() throw() {}
zero_after_free_allocator(const zero_after_free_allocator& a) throw() : base(a) {}
template <typename U>
zero_after_free_allocator(const zero_after_free_allocator<U>& a) throw() : base(a)
{
}
~zero_after_free_allocator() throw() {}
template <typename _Other>
struct rebind {
typedef zero_after_free_allocator<_Other> other;
};
void deallocate(T* p, std::size_t n)
{
if (p != NULL)
memory_cleanse(p, sizeof(T) * n);
std::allocator<T>::deallocate(p, n);
}
};
// Byte-vector that clears its contents before deletion.
typedef std::vector<char, zero_after_free_allocator<char> > CSerializeData;
#endif // COCABIT_SUPPORT_ALLOCATORS_ZEROAFTERFREE_H
| [
"[email protected]"
] | |
e4b91971a52bf642a1e61f779a620cae6f15bd75 | 583592f5fec065fe92be51f315f85ed61b48785f | /state.hpp | dcdd4b1d5e835280e1346d050ec52db7341294f8 | [] | no_license | bbalint2000/TicTacToe | 4168fed17d167d44694e854b61f6b26fd476368a | b8f9e184a602a0116b7bb73df796404f1ddd7e33 | refs/heads/main | 2023-03-25T21:28:48.097173 | 2021-03-19T19:07:10 | 2021-03-19T19:07:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 176 | hpp | //
// Created by Balint on 2020. 05. 17..
//
#ifndef NHF_STATE_HPP
#define NHF_STATE_HPP
enum State {
menu, play, loadgame, setmode, setmap, end
};
#endif //NHF_STATE_HPP
| [
"[email protected]"
] | |
e252db8111e224464eb572ee85ea042c97f2fcfe | 4e138c1aebe5872f6cc6af65605d02c592e9ccda | /Arduino/basic_serial_read_sg_multiplexer16_2/basic_serial_read_sg_multiplexer16_2.ino | fee7fd575893b6b7b991ab1838571aed5d53b086 | [] | no_license | kevinljw/sNail | 3057db19073e7bbd6bf36eab425c98eb94a9a8d6 | f03271f7a568f9e4700d7afa728a7260113e45f1 | refs/heads/master | 2021-01-10T19:25:56.056782 | 2015-09-22T17:50:44 | 2015-09-22T17:50:44 | 38,919,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 939 | ino | //boolean invert = LOW;
void setup() {
Serial.begin( 9600 );
for (int i = 2; i < 6; ++i)
{
pinMode( i, OUTPUT );
}
pinMode( 7, OUTPUT);
pinMode( A0, INPUT );
}
void loop() {
digitalWrite( 5, LOW );
digitalWrite( 7, HIGH);
for(int i=0; i<8; i++){
digitalWrite( 2, i & 1 );
digitalWrite( 3, ( i >> 1 ) & 1 );
digitalWrite( 4, ( i >> 2 ) & 1 );
Serial.print(analogRead(A0));
Serial.print("\t");
}
// if(invert)
// Serial.println();
// invert = !invert;
digitalWrite( 5, HIGH);
digitalWrite( 7, LOW );
for(int i=0; i<8; i++){
digitalWrite( 2, i & 1 );
digitalWrite( 3, ( i >> 1 ) & 1 );
digitalWrite( 4, ( i >> 2 ) & 1 );
Serial.print(analogRead(A0));
Serial.print("\t");
}
// digitalWrite( 2, 1);
// digitalWrite( 3, 0);
// digitalWrite( 4, 0);
// Serial.print(analogRead(A0));
Serial.println();
}
| [
"[email protected]"
] | |
ee7d89177aef6b509c619eb3b1bc95e86b58313c | 87b1fdb68e2d21b4c9124b0b2161a25519818b97 | /RobotBuilder/Source/RobotBuilder Source/dmvZScrewTxLinkData.cpp | e3ba2e8f6c1d465bdec08961fa9734877bb626a5 | [
"MIT"
] | permissive | mcmillan03/Robotbuilder | 5d5e37c5513c38b1ff5ab22b804537093d575ecc | 490d35fef532f1220519575021aa39764e3e1afd | refs/heads/master | 2021-07-10T02:25:40.334055 | 2017-10-09T17:55:57 | 2017-10-09T17:55:57 | 106,306,445 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,104 | cpp | // dmvZScrewTxLinkData.cpp: implementation of the CdmvZScrewTxLinkData class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "dmvZScrewTxLinkData.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CdmvZScrewTxLinkData::CdmvZScrewTxLinkData()
{
// init members
m_strtZScrewTxLinkParameters.fD = 0;
m_strtZScrewTxLinkParameters.fTheta = 0;
// set the link type
m_LinkType = ZSCREW_TX_LINK;
// Set the default name
m_strName = "ZScrew Transform";
}
CdmvZScrewTxLinkData::~CdmvZScrewTxLinkData()
{
}
CdmvZScrewTxLinkData::CdmvZScrewTxLinkData(Float fD, Float fTheta)
{
// init members
m_strtZScrewTxLinkParameters.fD = fD;
m_strtZScrewTxLinkParameters.fTheta = fTheta;
// set the link type
m_LinkType = ZSCREW_TX_LINK;
}
BOOL CdmvZScrewTxLinkData::GetLinkParameters(Float *pfMDHParameters)
{
// return the parameters
// the MDH parameters will be a, alpha, d, theta
*(pfMDHParameters + 0) = 0;
*(pfMDHParameters + 1) = 0;
*(pfMDHParameters + 2) = m_strtZScrewTxLinkParameters.fD;
*(pfMDHParameters + 3) = m_strtZScrewTxLinkParameters.fTheta;
return TRUE;
}
void CdmvZScrewTxLinkData::GetParameters(structZScrewTxLinkParameters *pstrtZScrewTxLinkParameters) const
{
pstrtZScrewTxLinkParameters->fD = m_strtZScrewTxLinkParameters.fD;
pstrtZScrewTxLinkParameters->fTheta = m_strtZScrewTxLinkParameters.fTheta;
}
void CdmvZScrewTxLinkData::SetParameters (const structZScrewTxLinkParameters* pstrtZScrewTxLinkParameters)
{
m_strtZScrewTxLinkParameters.fD = pstrtZScrewTxLinkParameters->fD;
m_strtZScrewTxLinkParameters.fTheta = pstrtZScrewTxLinkParameters->fTheta;
}
void CdmvZScrewTxLinkData::SetJointParameters(double dD, double dTheta)
{
m_strtZScrewTxLinkParameters.fD = dD;
m_strtZScrewTxLinkParameters.fTheta = dTheta;
}
| [
"[email protected]"
] | |
3fe620ca538fc65ffccfdb8583ea9ae0b127e6ab | d5887479289d2263cc659c700ece7af1b9b2c8fc | /src/watch.cpp | 24fda94666070e4197b77944306c6505f6080d42 | [
"MIT"
] | permissive | Coder-256/cadical | 62efe8a2f8db8ef140e3ba4c922f281d1caa4aff | cb89cbfa16f47cb7bf1ec6ad9855e7b6d5203c18 | refs/heads/master | 2020-07-14T20:32:59.437347 | 2019-07-12T20:22:02 | 2019-07-12T20:22:02 | 205,395,997 | 0 | 1 | MIT | 2019-08-30T14:14:42 | 2019-08-30T14:14:42 | null | UTF-8 | C++ | false | false | 2,752 | cpp | #include "internal.hpp"
namespace CaDiCaL {
void Internal::init_watches () {
assert (wtab.empty ());
while (wtab.size () < 2*vsize)
wtab.push_back (Watches ());
LOG ("initialized watcher tables");
}
void Internal::clear_watches () {
for (int idx = 1; idx <= max_var; idx++)
for (int sign = -1; sign <= 1; sign += 2)
watches (sign * idx).clear ();
}
void Internal::reset_watches () {
assert (!wtab.empty ());
erase_vector (wtab);
LOG ("reset watcher tables");
}
// This can be quite costly since lots of memory is accessed in a rather
// random fashion, and thus we optionally profile it.
void Internal::connect_watches (bool irredundant_only) {
START (connect);
assert (watching ());
LOG ("watching all %sclauses", irredundant_only ? "irredundant " : "");
// First connect binary clauses.
//
for (const auto & c : clauses) {
if (irredundant_only && c->redundant) continue;
if (c->garbage || c->size > 2) continue;
watch_clause (c);
}
// Then connect non-binary clauses.
//
for (const auto & c : clauses) {
if (irredundant_only && c->redundant) continue;
if (c->garbage || c->size == 2) continue;
watch_clause (c);
if (!level) {
int lit0 = c->literals[0];
int lit1 = c->literals[1];
int tmp0 = val (lit0);
int tmp1 = val (lit1);
if (tmp0 > 0) continue;
if (tmp1 > 0) continue;
if (tmp0 < 0) {
const size_t pos0 = var (lit0).trail;
if (pos0 < propagated) {
propagated = pos0;
LOG ("literal %d resets propagated to %zd", lit0, pos0);
}
}
if (tmp1 < 0) {
const size_t pos1 = var (lit1).trail;
if (pos1 < propagated) {
propagated = pos1;
LOG ("literal %d resets propagated to %zd", lit1, pos1);
}
}
}
}
STOP (connect);
}
void Internal::sort_watches () {
assert (watching ());
LOG ("sorting watches");
Watches saved;
for (int idx = 1; idx <= max_var; idx++) {
for (int sign = -1; sign <= 1; sign += 2) {
const int lit = sign * idx;
Watches & ws = watches (lit);
const const_watch_iterator end = ws.end ();
watch_iterator j = ws.begin ();
const_watch_iterator i;
assert (saved.empty ());
for (i = j; i != end; i++) {
const Watch w = *i;
if (w.binary ()) *j++ = w;
else saved.push_back (w);
}
ws.resize (j - ws.begin ());
for (const auto & w : saved)
ws.push_back (w);
saved.clear ();
}
}
}
void Internal::disconnect_watches () {
LOG ("disconnecting watches");
for (int idx = 1; idx <= max_var; idx++)
for (int sign = -1; sign <= 1; sign += 2)
watches (sign * idx).clear ();
}
}
| [
"[email protected]"
] | |
baccf633aa834a2eeeebd6262d1bb2039f0dfef0 | 728c558ad52e815a3239d200908a720f03426ba1 | /MqttService/MqttService.h | d927ffd3073fac507293ea5281ca7b129391fa63 | [] | no_license | logimic/shapeware | d3494e5ba9b9214973f7d4681a8153723c399d92 | 9af5f4dbea5b2c2a5e39d74bf8dbda3c7f0ae4c7 | refs/heads/master | 2023-09-01T09:26:57.337727 | 2023-08-29T07:54:42 | 2023-08-29T07:54:42 | 124,587,297 | 0 | 8 | null | 2023-07-20T19:33:18 | 2018-03-09T20:00:25 | C++ | UTF-8 | C++ | false | false | 3,272 | h | /**
* Copyright 2019 Logimic,s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#pragma once
#include "IMqttService.h"
#include "ShapeProperties.h"
#include "ILaunchService.h"
#include "ITraceService.h"
#include <string>
namespace shape {
class MqttService : public IMqttService
{
public:
MqttService();
virtual ~MqttService();
void create(const std::string& clientId, const ConnectionPars& cp = ConnectionPars()) override;
void destroy(const std::string& clientId) override;
void connect() override;
void connect(MqttOnConnectHandlerFunc onConnect) override;
void connect(MqttOnConnectHandlerFunc onConnect, MqttOnConnectFailureHandlerFunc onConnectFailure) override;
void disconnect() override;
void disconnect(MqttOnDisconnectHandlerFunc onDisconnect) override;
bool isReady() const override;
void subscribe(const std::string& topic, int qos = 0) override;
void subscribe(const std::string& topic, int qos
, MqttOnSubscribeQosHandlerFunc onSubscribe, MqttMessageStrHandlerFunc onMessage) override;
void unsubscribe(const std::string& topic, MqttOnUnsubscribeHandlerFunc onUnsubscribe) override;
void publish(const std::string& topic, const std::vector<uint8_t> & msg, int qos = 0) override;
void publish(const std::string& topic, const std::string & msg, int qos = 0) override;
void publish(const std::string& topic, int qos, const std::vector<uint8_t> & msg
, MqttOnSendHandlerFunc onSend, MqttOnDeliveryHandlerFunc onDelivery) override;
void publish(const std::string& topic, int qos, const std::string & msg
, MqttOnSendHandlerFunc onSend, MqttOnDeliveryHandlerFunc onDelivery) override;
void registerMessageHandler(MqttMessageHandlerFunc hndl) override;
void unregisterMessageHandler() override;
void registerMessageStrHandler(MqttMessageStrHandlerFunc hndl) override;
void unregisterMessageStrHandler() override;
void registerOnConnectHandler(MqttOnConnectHandlerFunc hndl) override;
void unregisterOnConnectHandler() override;
void registerOnSubscribeHandler(MqttOnSubscribeHandlerFunc hndl) override;
void unregisterOnSubscribeHandler() override;
void registerOnDisconnectHandler(MqttOnDisconnectHandlerFunc hndl) override;
void unregisterOnDisconnectHandler() override;
//////////////
void activate(const shape::Properties *props = 0);
void deactivate();
void modify(const shape::Properties *props);
void attachInterface(shape::ILaunchService* iface);
void detachInterface(shape::ILaunchService* iface);
void attachInterface(shape::ITraceService* iface);
void detachInterface(shape::ITraceService* iface);
private:
class Imp;
Imp* m_impl;
};
}
| [
"[email protected]"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.